Makefile.in: Rebuilt.
[official-gcc.git] / libstdc++-v3 / configure
blobd60c747e024392944d93354819719e0a235d0bab
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_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_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|c_global) ;;
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
6450 # Allow overrides to configure.host here.
6451 if test $enable_cheaders = c_global; then
6452 c_compatibility=yes
6455 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
6456 c_extra=yes
6466 # Check whether --enable-long-long or --disable-long-long was given.
6467 if test "${enable_long_long+set}" = set; then
6468 enableval="$enable_long_long"
6470 case "$enableval" in
6471 yes|no) ;;
6472 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6473 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6474 { (exit 1); exit 1; }; } ;;
6475 esac
6477 else
6478 enable_long_long=yes
6481 if test $enable_long_long = yes; then
6483 cat >>confdefs.h <<\_ACEOF
6484 #define _GLIBCXX_USE_LONG_LONG 1
6485 _ACEOF
6488 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6489 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6490 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6491 echo "${ECHO_T}$enable_long_long" >&6
6495 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6496 if test "${enable_wchar_t+set}" = set; then
6497 enableval="$enable_wchar_t"
6499 case "$enableval" in
6500 yes|no) ;;
6501 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6502 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6503 { (exit 1); exit 1; }; } ;;
6504 esac
6506 else
6507 enable_wchar_t=yes
6511 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6513 for ac_header in wchar.h
6515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6517 echo "$as_me:$LINENO: checking for $ac_header" >&5
6518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6524 else
6525 # Is the header compilable?
6526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6528 cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h. */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 $ac_includes_default
6535 #include <$ac_header>
6536 _ACEOF
6537 rm -f conftest.$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try='test -z "$ac_c_werror_flag"
6547 || test ! -s conftest.err'
6548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 (eval $ac_try) 2>&5
6550 ac_status=$?
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }; } &&
6553 { ac_try='test -s conftest.$ac_objext'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 (eval $ac_try) 2>&5
6556 ac_status=$?
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; }; then
6559 ac_header_compiler=yes
6560 else
6561 echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.$ac_ext >&5
6564 ac_header_compiler=no
6566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6568 echo "${ECHO_T}$ac_header_compiler" >&6
6570 # Is the header present?
6571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6573 cat >conftest.$ac_ext <<_ACEOF
6574 /* confdefs.h. */
6575 _ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 #include <$ac_header>
6580 _ACEOF
6581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6583 ac_status=$?
6584 grep -v '^ *+' conftest.er1 >conftest.err
6585 rm -f conftest.er1
6586 cat conftest.err >&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); } >/dev/null; then
6589 if test -s conftest.err; then
6590 ac_cpp_err=$ac_c_preproc_warn_flag
6591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6592 else
6593 ac_cpp_err=
6595 else
6596 ac_cpp_err=yes
6598 if test -z "$ac_cpp_err"; then
6599 ac_header_preproc=yes
6600 else
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.$ac_ext >&5
6604 ac_header_preproc=no
6606 rm -f conftest.err conftest.$ac_ext
6607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6608 echo "${ECHO_T}$ac_header_preproc" >&6
6610 # So? What about this header?
6611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6612 yes:no: )
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6617 ac_header_preproc=yes
6619 no:yes:* )
6620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6633 cat <<\_ASBOX
6634 ## ----------------------------------------- ##
6635 ## Report this to the package-unused lists. ##
6636 ## ----------------------------------------- ##
6637 _ASBOX
6639 sed "s/^/$as_me: WARNING: /" >&2
6641 esac
6642 echo "$as_me:$LINENO: checking for $ac_header" >&5
6643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 else
6647 eval "$as_ac_Header=\$ac_header_preproc"
6649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6654 cat >>confdefs.h <<_ACEOF
6655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656 _ACEOF
6657 ac_has_wchar_h=yes
6658 else
6659 ac_has_wchar_h=no
6662 done
6664 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6665 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 #include <wchar.h>
6674 main ()
6676 mbstate_t teststate;
6678 return 0;
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 have_mbstate_t=yes
6704 else
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 have_mbstate_t=no
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6711 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6712 echo "${ECHO_T}$have_mbstate_t" >&6
6713 if test x"$have_mbstate_t" = xyes; then
6715 cat >>confdefs.h <<\_ACEOF
6716 #define HAVE_MBSTATE_T 1
6717 _ACEOF
6721 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6722 # ac_has_wchar_h.
6724 for ac_header in wctype.h
6726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6728 echo "$as_me:$LINENO: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6735 else
6736 # Is the header compilable?
6737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6739 cat >conftest.$ac_ext <<_ACEOF
6740 /* confdefs.h. */
6741 _ACEOF
6742 cat confdefs.h >>conftest.$ac_ext
6743 cat >>conftest.$ac_ext <<_ACEOF
6744 /* end confdefs.h. */
6745 $ac_includes_default
6746 #include <$ac_header>
6747 _ACEOF
6748 rm -f conftest.$ac_objext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6750 (eval $ac_compile) 2>conftest.er1
6751 ac_status=$?
6752 grep -v '^ *+' conftest.er1 >conftest.err
6753 rm -f conftest.er1
6754 cat conftest.err >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try='test -z "$ac_c_werror_flag"
6758 || test ! -s conftest.err'
6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 (eval $ac_try) 2>&5
6761 ac_status=$?
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; } &&
6764 { ac_try='test -s conftest.$ac_objext'
6765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 (eval $ac_try) 2>&5
6767 ac_status=$?
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; }; then
6770 ac_header_compiler=yes
6771 else
6772 echo "$as_me: failed program was:" >&5
6773 sed 's/^/| /' conftest.$ac_ext >&5
6775 ac_header_compiler=no
6777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6779 echo "${ECHO_T}$ac_header_compiler" >&6
6781 # Is the header present?
6782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6784 cat >conftest.$ac_ext <<_ACEOF
6785 /* confdefs.h. */
6786 _ACEOF
6787 cat confdefs.h >>conftest.$ac_ext
6788 cat >>conftest.$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6790 #include <$ac_header>
6791 _ACEOF
6792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6794 ac_status=$?
6795 grep -v '^ *+' conftest.er1 >conftest.err
6796 rm -f conftest.er1
6797 cat conftest.err >&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } >/dev/null; then
6800 if test -s conftest.err; then
6801 ac_cpp_err=$ac_c_preproc_warn_flag
6802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6803 else
6804 ac_cpp_err=
6806 else
6807 ac_cpp_err=yes
6809 if test -z "$ac_cpp_err"; then
6810 ac_header_preproc=yes
6811 else
6812 echo "$as_me: failed program was:" >&5
6813 sed 's/^/| /' conftest.$ac_ext >&5
6815 ac_header_preproc=no
6817 rm -f conftest.err conftest.$ac_ext
6818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6819 echo "${ECHO_T}$ac_header_preproc" >&6
6821 # So? What about this header?
6822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6823 yes:no: )
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6828 ac_header_preproc=yes
6830 no:yes:* )
6831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6844 cat <<\_ASBOX
6845 ## ----------------------------------------- ##
6846 ## Report this to the package-unused lists. ##
6847 ## ----------------------------------------- ##
6848 _ASBOX
6850 sed "s/^/$as_me: WARNING: /" >&2
6852 esac
6853 echo "$as_me:$LINENO: checking for $ac_header" >&5
6854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6857 else
6858 eval "$as_ac_Header=\$ac_header_preproc"
6860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6865 cat >>confdefs.h <<_ACEOF
6866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6867 _ACEOF
6868 ac_has_wctype_h=yes
6869 else
6870 ac_has_wctype_h=no
6873 done
6876 if test x"$enable_wchar_t" = x"yes"; then
6880 ac_ext=cc
6881 ac_cpp='$CXXCPP $CPPFLAGS'
6882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6887 if test x"$ac_has_wchar_h" = xyes &&
6888 test x"$ac_has_wctype_h" = xyes; then
6889 cat >conftest.$ac_ext <<_ACEOF
6890 /* confdefs.h. */
6891 _ACEOF
6892 cat confdefs.h >>conftest.$ac_ext
6893 cat >>conftest.$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6895 #include <wchar.h>
6896 #include <stddef.h>
6897 wint_t i;
6898 long l = WEOF;
6899 long j = WCHAR_MIN;
6900 long k = WCHAR_MAX;
6901 namespace test
6903 using ::btowc;
6904 using ::fgetwc;
6905 using ::fgetws;
6906 using ::fputwc;
6907 using ::fputws;
6908 using ::fwide;
6909 using ::fwprintf;
6910 using ::fwscanf;
6911 using ::getwc;
6912 using ::getwchar;
6913 using ::mbrlen;
6914 using ::mbrtowc;
6915 using ::mbsinit;
6916 using ::mbsrtowcs;
6917 using ::putwc;
6918 using ::putwchar;
6919 using ::swprintf;
6920 using ::swscanf;
6921 using ::ungetwc;
6922 using ::vfwprintf;
6923 using ::vswprintf;
6924 using ::vwprintf;
6925 using ::wcrtomb;
6926 using ::wcscat;
6927 using ::wcschr;
6928 using ::wcscmp;
6929 using ::wcscoll;
6930 using ::wcscpy;
6931 using ::wcscspn;
6932 using ::wcsftime;
6933 using ::wcslen;
6934 using ::wcsncat;
6935 using ::wcsncmp;
6936 using ::wcsncpy;
6937 using ::wcspbrk;
6938 using ::wcsrchr;
6939 using ::wcsrtombs;
6940 using ::wcsspn;
6941 using ::wcsstr;
6942 using ::wcstod;
6943 using ::wcstok;
6944 using ::wcstol;
6945 using ::wcstoul;
6946 using ::wcsxfrm;
6947 using ::wctob;
6948 using ::wmemchr;
6949 using ::wmemcmp;
6950 using ::wmemcpy;
6951 using ::wmemmove;
6952 using ::wmemset;
6953 using ::wprintf;
6954 using ::wscanf;
6958 main ()
6962 return 0;
6964 _ACEOF
6965 rm -f conftest.$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try='test -z "$ac_cxx_werror_flag"
6975 || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 (eval $ac_try) 2>&5
6978 ac_status=$?
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try='test -s conftest.$ac_objext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 (eval $ac_try) 2>&5
6984 ac_status=$?
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; }; then
6988 else
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6992 enable_wchar_t=no
6994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6995 else
6996 enable_wchar_t=no
6999 ac_ext=c
7000 ac_cpp='$CPP $CPPFLAGS'
7001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7007 if test x"$enable_wchar_t" = x"yes"; then
7009 cat >>confdefs.h <<\_ACEOF
7010 #define _GLIBCXX_USE_WCHAR_T 1
7011 _ACEOF
7015 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7016 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7017 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7018 echo "${ECHO_T}$enable_wchar_t" >&6
7022 # Check whether --enable-c99 or --disable-c99 was given.
7023 if test "${enable_c99+set}" = set; then
7024 enableval="$enable_c99"
7026 case "$enableval" in
7027 yes|no) ;;
7028 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7029 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7030 { (exit 1); exit 1; }; } ;;
7031 esac
7033 else
7034 enable_c99=yes
7038 if test x"$enable_c99" = x"yes"; then
7042 ac_ext=cc
7043 ac_cpp='$CXXCPP $CPPFLAGS'
7044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7049 # Check for the existence of <math.h> functions used if C99 is enabled.
7050 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7051 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7052 if test "${ac_c99_math+set}" = set; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 else
7056 cat >conftest.$ac_ext <<_ACEOF
7057 /* confdefs.h. */
7058 _ACEOF
7059 cat confdefs.h >>conftest.$ac_ext
7060 cat >>conftest.$ac_ext <<_ACEOF
7061 /* end confdefs.h. */
7062 #include <math.h>
7064 main ()
7066 fpclassify(0.0);
7067 isfinite(0.0);
7068 isinf(0.0);
7069 isnan(0.0);
7070 isnormal(0.0);
7071 signbit(0.0);
7072 isgreater(0.0,0.0);
7073 isgreaterequal(0.0,0.0);
7074 isless(0.0,0.0);
7075 islessequal(0.0,0.0);
7076 islessgreater(0.0,0.0);
7077 islessgreater(0.0,0.0);
7078 isunordered(0.0,0.0);
7081 return 0;
7083 _ACEOF
7084 rm -f conftest.$ac_objext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7086 (eval $ac_compile) 2>conftest.er1
7087 ac_status=$?
7088 grep -v '^ *+' conftest.er1 >conftest.err
7089 rm -f conftest.er1
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try='test -z "$ac_cxx_werror_flag"
7094 || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 (eval $ac_try) 2>&5
7097 ac_status=$?
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try='test -s conftest.$ac_objext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7102 (eval $ac_try) 2>&5
7103 ac_status=$?
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7106 ac_c99_math=yes
7107 else
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7111 ac_c99_math=no
7113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7117 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7118 echo "${ECHO_T}$ac_c99_math" >&6
7119 if test x"$ac_c99_math" = x"yes"; then
7121 cat >>confdefs.h <<\_ACEOF
7122 #define _GLIBCXX_USE_C99_MATH 1
7123 _ACEOF
7127 # Check for the existence of <complex.h> complex math functions.
7128 # This is necessary even though libstdc++ uses the builtin versions
7129 # of these functions, because if the builtin cannot be used, a reference
7130 # to the library function is emitted.
7132 for ac_header in complex.h
7134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7136 echo "$as_me:$LINENO: checking for $ac_header" >&5
7137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7143 else
7144 # Is the header compilable?
7145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7147 cat >conftest.$ac_ext <<_ACEOF
7148 /* confdefs.h. */
7149 _ACEOF
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 $ac_includes_default
7154 #include <$ac_header>
7155 _ACEOF
7156 rm -f conftest.$ac_objext
7157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7158 (eval $ac_compile) 2>conftest.er1
7159 ac_status=$?
7160 grep -v '^ *+' conftest.er1 >conftest.err
7161 rm -f conftest.er1
7162 cat conftest.err >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } &&
7165 { ac_try='test -z "$ac_cxx_werror_flag"
7166 || test ! -s conftest.err'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 (eval $ac_try) 2>&5
7169 ac_status=$?
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; } &&
7172 { ac_try='test -s conftest.$ac_objext'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 (eval $ac_try) 2>&5
7175 ac_status=$?
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; }; then
7178 ac_header_compiler=yes
7179 else
7180 echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7183 ac_header_compiler=no
7185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7187 echo "${ECHO_T}$ac_header_compiler" >&6
7189 # Is the header present?
7190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7192 cat >conftest.$ac_ext <<_ACEOF
7193 /* confdefs.h. */
7194 _ACEOF
7195 cat confdefs.h >>conftest.$ac_ext
7196 cat >>conftest.$ac_ext <<_ACEOF
7197 /* end confdefs.h. */
7198 #include <$ac_header>
7199 _ACEOF
7200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7202 ac_status=$?
7203 grep -v '^ *+' conftest.er1 >conftest.err
7204 rm -f conftest.er1
7205 cat conftest.err >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } >/dev/null; then
7208 if test -s conftest.err; then
7209 ac_cpp_err=$ac_cxx_preproc_warn_flag
7210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7211 else
7212 ac_cpp_err=
7214 else
7215 ac_cpp_err=yes
7217 if test -z "$ac_cpp_err"; then
7218 ac_header_preproc=yes
7219 else
7220 echo "$as_me: failed program was:" >&5
7221 sed 's/^/| /' conftest.$ac_ext >&5
7223 ac_header_preproc=no
7225 rm -f conftest.err conftest.$ac_ext
7226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7227 echo "${ECHO_T}$ac_header_preproc" >&6
7229 # So? What about this header?
7230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7231 yes:no: )
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7236 ac_header_preproc=yes
7238 no:yes:* )
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7252 cat <<\_ASBOX
7253 ## ----------------------------------------- ##
7254 ## Report this to the package-unused lists. ##
7255 ## ----------------------------------------- ##
7256 _ASBOX
7258 sed "s/^/$as_me: WARNING: /" >&2
7260 esac
7261 echo "$as_me:$LINENO: checking for $ac_header" >&5
7262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7264 echo $ECHO_N "(cached) $ECHO_C" >&6
7265 else
7266 eval "$as_ac_Header=\$ac_header_preproc"
7268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7273 cat >>confdefs.h <<_ACEOF
7274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7276 ac_has_complex_h=yes
7277 else
7278 ac_has_complex_h=no
7281 done
7283 ac_c99_complex=no;
7284 if test x"$ac_has_complex_h" = x"yes"; then
7285 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7286 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7287 cat >conftest.$ac_ext <<_ACEOF
7288 /* confdefs.h. */
7289 _ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7293 #include <complex.h>
7295 main ()
7297 typedef __complex__ float float_type; float_type tmpf;
7298 cabsf(tmpf);
7299 cargf(tmpf);
7300 ccosf(tmpf);
7301 ccoshf(tmpf);
7302 cexpf(tmpf);
7303 clogf(tmpf);
7304 csinf(tmpf);
7305 csinhf(tmpf);
7306 csqrtf(tmpf);
7307 ctanf(tmpf);
7308 ctanhf(tmpf);
7309 cpowf(tmpf, tmpf);
7310 typedef __complex__ double double_type; double_type tmpd;
7311 cabs(tmpd);
7312 carg(tmpd);
7313 ccos(tmpd);
7314 ccosh(tmpd);
7315 cexp(tmpd);
7316 clog(tmpd);
7317 csin(tmpd);
7318 csinh(tmpd);
7319 csqrt(tmpd);
7320 ctan(tmpd);
7321 ctanh(tmpd);
7322 cpow(tmpd, tmpd);
7323 typedef __complex__ long double ld_type; ld_type tmpld;
7324 cabsl(tmpld);
7325 cargl(tmpld);
7326 ccosl(tmpld);
7327 ccoshl(tmpld);
7328 cexpl(tmpld);
7329 clogl(tmpld);
7330 csinl(tmpld);
7331 csinhl(tmpld);
7332 csqrtl(tmpld);
7333 ctanl(tmpld);
7334 ctanhl(tmpld);
7335 cpowl(tmpld, tmpld);
7338 return 0;
7340 _ACEOF
7341 rm -f conftest.$ac_objext
7342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7343 (eval $ac_compile) 2>conftest.er1
7344 ac_status=$?
7345 grep -v '^ *+' conftest.er1 >conftest.err
7346 rm -f conftest.er1
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } &&
7350 { ac_try='test -z "$ac_cxx_werror_flag"
7351 || test ! -s conftest.err'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 (eval $ac_try) 2>&5
7354 ac_status=$?
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; } &&
7357 { ac_try='test -s conftest.$ac_objext'
7358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 (eval $ac_try) 2>&5
7360 ac_status=$?
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; }; then
7363 ac_c99_complex=yes
7364 else
7365 echo "$as_me: failed program was:" >&5
7366 sed 's/^/| /' conftest.$ac_ext >&5
7368 ac_c99_complex=no
7370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7372 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7373 echo "${ECHO_T}$ac_c99_complex" >&6
7374 if test x"$ac_c99_complex" = x"yes"; then
7376 cat >>confdefs.h <<\_ACEOF
7377 #define _GLIBCXX_USE_C99_COMPLEX 1
7378 _ACEOF
7382 # Check for the existence in <stdio.h> of vscanf, et. al.
7383 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7384 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7385 if test "${ac_c99_stdio+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 else
7389 cat >conftest.$ac_ext <<_ACEOF
7390 /* confdefs.h. */
7391 _ACEOF
7392 cat confdefs.h >>conftest.$ac_ext
7393 cat >>conftest.$ac_ext <<_ACEOF
7394 /* end confdefs.h. */
7395 #include <stdio.h>
7396 #include <stdarg.h>
7397 void foo(char* fmt, ...)
7399 va_list args; va_start(args, fmt);
7400 vfscanf(stderr, "%i", args);
7401 vscanf("%i", args);
7402 vsnprintf(fmt, 0, "%i", args);
7403 vsscanf(fmt, "%i", args);
7406 main ()
7408 snprintf("12", 0, "%i");
7410 return 0;
7412 _ACEOF
7413 rm -f conftest.$ac_objext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7415 (eval $ac_compile) 2>conftest.er1
7416 ac_status=$?
7417 grep -v '^ *+' conftest.er1 >conftest.err
7418 rm -f conftest.er1
7419 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_cxx_werror_flag"
7423 || test ! -s conftest.err'
7424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 (eval $ac_try) 2>&5
7426 ac_status=$?
7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428 (exit $ac_status); }; } &&
7429 { ac_try='test -s conftest.$ac_objext'
7430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431 (eval $ac_try) 2>&5
7432 ac_status=$?
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; }; then
7435 ac_c99_stdio=yes
7436 else
7437 echo "$as_me: failed program was:" >&5
7438 sed 's/^/| /' conftest.$ac_ext >&5
7440 ac_c99_stdio=no
7442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7446 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7447 echo "${ECHO_T}$ac_c99_stdio" >&6
7449 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7450 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7451 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7452 if test "${ac_c99_stdlib+set}" = set; then
7453 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 else
7456 cat >conftest.$ac_ext <<_ACEOF
7457 /* confdefs.h. */
7458 _ACEOF
7459 cat confdefs.h >>conftest.$ac_ext
7460 cat >>conftest.$ac_ext <<_ACEOF
7461 /* end confdefs.h. */
7462 #include <stdlib.h>
7464 main ()
7466 char* tmp;
7467 strtof("gnu", &tmp);
7468 strtold("gnu", &tmp);
7469 strtoll("gnu", &tmp, 10);
7470 strtoull("gnu", &tmp, 10);
7471 llabs(10);
7472 lldiv(10,1);
7473 atoll("10");
7474 _Exit(0);
7475 lldiv_t mydivt;
7477 return 0;
7479 _ACEOF
7480 rm -f conftest.$ac_objext
7481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7482 (eval $ac_compile) 2>conftest.er1
7483 ac_status=$?
7484 grep -v '^ *+' conftest.er1 >conftest.err
7485 rm -f conftest.er1
7486 cat conftest.err >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } &&
7489 { ac_try='test -z "$ac_cxx_werror_flag"
7490 || test ! -s conftest.err'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 (eval $ac_try) 2>&5
7493 ac_status=$?
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; } &&
7496 { ac_try='test -s conftest.$ac_objext'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 (eval $ac_try) 2>&5
7499 ac_status=$?
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; }; then
7502 ac_c99_stdlib=yes
7503 else
7504 echo "$as_me: failed program was:" >&5
7505 sed 's/^/| /' conftest.$ac_ext >&5
7507 ac_c99_stdlib=no
7509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7513 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7514 echo "${ECHO_T}$ac_c99_stdlib" >&6
7516 # Check for the existence in <wchar.h> of wcstold, etc.
7517 ac_c99_wchar=no;
7518 if test x"$ac_has_wchar_h" = xyes &&
7519 test x"$ac_has_wctype_h" = xyes; then
7520 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7521 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7522 cat >conftest.$ac_ext <<_ACEOF
7523 /* confdefs.h. */
7524 _ACEOF
7525 cat confdefs.h >>conftest.$ac_ext
7526 cat >>conftest.$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 #include <wchar.h>
7529 namespace test
7531 using ::wcstold;
7532 using ::wcstoll;
7533 using ::wcstoull;
7537 main ()
7541 return 0;
7543 _ACEOF
7544 rm -f conftest.$ac_objext
7545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7546 (eval $ac_compile) 2>conftest.er1
7547 ac_status=$?
7548 grep -v '^ *+' conftest.er1 >conftest.err
7549 rm -f conftest.er1
7550 cat conftest.err >&5
7551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 (exit $ac_status); } &&
7553 { ac_try='test -z "$ac_cxx_werror_flag"
7554 || test ! -s conftest.err'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 (eval $ac_try) 2>&5
7557 ac_status=$?
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; } &&
7560 { ac_try='test -s conftest.$ac_objext'
7561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 (eval $ac_try) 2>&5
7563 ac_status=$?
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); }; }; then
7566 ac_c99_wchar=yes
7567 else
7568 echo "$as_me: failed program was:" >&5
7569 sed 's/^/| /' conftest.$ac_ext >&5
7571 ac_c99_wchar=no
7573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7575 # Checks for wide character functions that may not be present.
7576 # Injection of these is wrapped with guard macros.
7577 # NB: only put functions here, instead of immediately above, if
7578 # absolutely necessary.
7579 cat >conftest.$ac_ext <<_ACEOF
7580 /* confdefs.h. */
7581 _ACEOF
7582 cat confdefs.h >>conftest.$ac_ext
7583 cat >>conftest.$ac_ext <<_ACEOF
7584 /* end confdefs.h. */
7585 #include <wchar.h>
7586 namespace test { using ::vfwscanf; }
7588 main ()
7592 return 0;
7594 _ACEOF
7595 rm -f conftest.$ac_objext
7596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7597 (eval $ac_compile) 2>conftest.er1
7598 ac_status=$?
7599 grep -v '^ *+' conftest.er1 >conftest.err
7600 rm -f conftest.er1
7601 cat conftest.err >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } &&
7604 { ac_try='test -z "$ac_cxx_werror_flag"
7605 || test ! -s conftest.err'
7606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 (eval $ac_try) 2>&5
7608 ac_status=$?
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; } &&
7611 { ac_try='test -s conftest.$ac_objext'
7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613 (eval $ac_try) 2>&5
7614 ac_status=$?
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; }; then
7618 cat >>confdefs.h <<\_ACEOF
7619 #define HAVE_VFWSCANF 1
7620 _ACEOF
7622 else
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.$ac_ext >&5
7627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7629 cat >conftest.$ac_ext <<_ACEOF
7630 /* confdefs.h. */
7631 _ACEOF
7632 cat confdefs.h >>conftest.$ac_ext
7633 cat >>conftest.$ac_ext <<_ACEOF
7634 /* end confdefs.h. */
7635 #include <wchar.h>
7636 namespace test { using ::vswscanf; }
7638 main ()
7642 return 0;
7644 _ACEOF
7645 rm -f conftest.$ac_objext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7647 (eval $ac_compile) 2>conftest.er1
7648 ac_status=$?
7649 grep -v '^ *+' conftest.er1 >conftest.err
7650 rm -f conftest.er1
7651 cat conftest.err >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } &&
7654 { ac_try='test -z "$ac_cxx_werror_flag"
7655 || test ! -s conftest.err'
7656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 (eval $ac_try) 2>&5
7658 ac_status=$?
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try='test -s conftest.$ac_objext'
7662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7663 (eval $ac_try) 2>&5
7664 ac_status=$?
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7668 cat >>confdefs.h <<\_ACEOF
7669 #define HAVE_VSWSCANF 1
7670 _ACEOF
7672 else
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.$ac_ext >&5
7677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7679 cat >conftest.$ac_ext <<_ACEOF
7680 /* confdefs.h. */
7681 _ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 #include <wchar.h>
7686 namespace test { using ::vwscanf; }
7688 main ()
7692 return 0;
7694 _ACEOF
7695 rm -f conftest.$ac_objext
7696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7697 (eval $ac_compile) 2>conftest.er1
7698 ac_status=$?
7699 grep -v '^ *+' conftest.er1 >conftest.err
7700 rm -f conftest.er1
7701 cat conftest.err >&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } &&
7704 { ac_try='test -z "$ac_cxx_werror_flag"
7705 || test ! -s conftest.err'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 (eval $ac_try) 2>&5
7708 ac_status=$?
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); }; } &&
7711 { ac_try='test -s conftest.$ac_objext'
7712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 (eval $ac_try) 2>&5
7714 ac_status=$?
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); }; }; then
7718 cat >>confdefs.h <<\_ACEOF
7719 #define HAVE_VWSCANF 1
7720 _ACEOF
7722 else
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.$ac_ext >&5
7727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7729 cat >conftest.$ac_ext <<_ACEOF
7730 /* confdefs.h. */
7731 _ACEOF
7732 cat confdefs.h >>conftest.$ac_ext
7733 cat >>conftest.$ac_ext <<_ACEOF
7734 /* end confdefs.h. */
7735 #include <wchar.h>
7736 namespace test { using ::wcstof; }
7738 main ()
7742 return 0;
7744 _ACEOF
7745 rm -f conftest.$ac_objext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7747 (eval $ac_compile) 2>conftest.er1
7748 ac_status=$?
7749 grep -v '^ *+' conftest.er1 >conftest.err
7750 rm -f conftest.er1
7751 cat conftest.err >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } &&
7754 { ac_try='test -z "$ac_cxx_werror_flag"
7755 || test ! -s conftest.err'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 (eval $ac_try) 2>&5
7758 ac_status=$?
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; } &&
7761 { ac_try='test -s conftest.$ac_objext'
7762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 (eval $ac_try) 2>&5
7764 ac_status=$?
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); }; }; then
7768 cat >>confdefs.h <<\_ACEOF
7769 #define HAVE_WCSTOF 1
7770 _ACEOF
7772 else
7773 echo "$as_me: failed program was:" >&5
7774 sed 's/^/| /' conftest.$ac_ext >&5
7777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7779 cat >conftest.$ac_ext <<_ACEOF
7780 /* confdefs.h. */
7781 _ACEOF
7782 cat confdefs.h >>conftest.$ac_ext
7783 cat >>conftest.$ac_ext <<_ACEOF
7784 /* end confdefs.h. */
7785 #include <wctype.h>
7787 main ()
7789 wint_t t; int i = iswblank(t);
7791 return 0;
7793 _ACEOF
7794 rm -f conftest.$ac_objext
7795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7796 (eval $ac_compile) 2>conftest.er1
7797 ac_status=$?
7798 grep -v '^ *+' conftest.er1 >conftest.err
7799 rm -f conftest.er1
7800 cat conftest.err >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); } &&
7803 { ac_try='test -z "$ac_cxx_werror_flag"
7804 || test ! -s conftest.err'
7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7806 (eval $ac_try) 2>&5
7807 ac_status=$?
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); }; } &&
7810 { ac_try='test -s conftest.$ac_objext'
7811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7812 (eval $ac_try) 2>&5
7813 ac_status=$?
7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815 (exit $ac_status); }; }; then
7817 cat >>confdefs.h <<\_ACEOF
7818 #define HAVE_ISWBLANK 1
7819 _ACEOF
7821 else
7822 echo "$as_me: failed program was:" >&5
7823 sed 's/^/| /' conftest.$ac_ext >&5
7826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7828 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7829 echo "${ECHO_T}$ac_c99_wchar" >&6
7832 # Option parsed, now set things appropriately.
7833 if test x"$ac_c99_math" = x"no" ||
7834 test x"$ac_c99_complex" = x"no" ||
7835 test x"$ac_c99_stdio" = x"no" ||
7836 test x"$ac_c99_stdlib" = x"no" ||
7837 test x"$ac_c99_wchar" = x"no"; then
7838 enable_c99=no;
7839 else
7841 cat >>confdefs.h <<\_ACEOF
7842 #define _GLIBCXX_USE_C99 1
7843 _ACEOF
7847 ac_ext=c
7848 ac_cpp='$CPP $CPPFLAGS'
7849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7855 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7856 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7857 echo "$as_me:$LINENO: result: $enable_c99" >&5
7858 echo "${ECHO_T}$enable_c99" >&6
7861 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7862 if test "${enable_concept_checks+set}" = set; then
7863 enableval="$enable_concept_checks"
7865 case "$enableval" in
7866 yes|no) ;;
7867 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7868 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7869 { (exit 1); exit 1; }; } ;;
7870 esac
7872 else
7873 enable_concept_checks=no
7876 if test $enable_concept_checks = yes; then
7878 cat >>confdefs.h <<\_ACEOF
7879 #define _GLIBCXX_CONCEPT_CHECKS 1
7880 _ACEOF
7885 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7886 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7887 enableval="$enable_libstdcxx_debug_flags"
7888 case "x$enable_libstdcxx_debug_flags" in
7889 xno | x) enable_libstdcxx_debug_flags= ;;
7890 x-*) ;;
7891 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7892 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7893 { (exit 1); exit 1; }; } ;;
7894 esac
7895 else
7896 enable_libstdcxx_debug_flags="-g3 -O0"
7900 # Option parsed, now set things appropriately
7901 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7904 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7905 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7908 echo "$as_me:$LINENO: checking for additional debug build" >&5
7909 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7910 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7911 if test "${enable_libstdcxx_debug+set}" = set; then
7912 enableval="$enable_libstdcxx_debug"
7914 case "$enableval" in
7915 yes|no) ;;
7916 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7917 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7918 { (exit 1); exit 1; }; } ;;
7919 esac
7921 else
7922 enable_libstdcxx_debug=no
7925 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7926 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7929 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7930 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7931 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7932 if test "${enable_cxx_flags+set}" = set; then
7933 enableval="$enable_cxx_flags"
7934 case "x$enable_cxx_flags" in
7935 xno | x) enable_cxx_flags= ;;
7936 x-*) ;;
7937 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7938 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7939 { (exit 1); exit 1; }; } ;;
7940 esac
7941 else
7942 enable_cxx_flags=
7946 # Run through flags (either default or command-line) and set anything
7947 # extra (e.g., #defines) that must accompany particular g++ options.
7948 if test -n "$enable_cxx_flags"; then
7949 for f in $enable_cxx_flags; do
7950 case "$f" in
7951 -fhonor-std) ;;
7952 -*) ;;
7953 *) # and we're trying to pass /what/ exactly?
7954 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7955 echo "$as_me: error: compiler flags start with a -" >&2;}
7956 { (exit 1); exit 1; }; } ;;
7957 esac
7958 done
7961 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7962 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7963 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7967 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7968 if test "${enable_fully_dynamic_string+set}" = set; then
7969 enableval="$enable_fully_dynamic_string"
7971 case "$enableval" in
7972 yes|no) ;;
7973 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7974 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7975 { (exit 1); exit 1; }; } ;;
7976 esac
7978 else
7979 enable_fully_dynamic_string=no
7982 if test $enable_fully_dynamic_string = yes; then
7984 cat >>confdefs.h <<\_ACEOF
7985 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7986 _ACEOF
7991 # No surprises, no surprises...
7993 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7994 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7995 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7996 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7997 echo "${ECHO_T}$target_thread_file" >&6
7999 if test $target_thread_file != single; then
8001 cat >>confdefs.h <<\_ACEOF
8002 #define HAVE_GTHR_DEFAULT 1
8003 _ACEOF
8007 glibcxx_thread_h=gthr-$target_thread_file.h
8009 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
8010 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8011 enable_thread=yes
8012 else
8013 enable_thread=no
8019 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8020 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8023 ac_ext=cc
8024 ac_cpp='$CXXCPP $CPPFLAGS'
8025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8030 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8031 cat > conftest.$ac_ext << EOF
8032 #line 8032 "configure"
8033 int main()
8035 // NB: _Atomic_word not necessarily int.
8036 typedef int atomic_type;
8037 atomic_type c1;
8038 atomic_type c2;
8039 const atomic_type c3(0);
8040 if (__sync_fetch_and_add(&c1, c2) == c3)
8042 // Do something.
8044 return 0;
8047 old_CXXFLAGS="$CXXFLAGS"
8048 CXXFLAGS=-S
8049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8050 (eval $ac_compile) 2>&5
8051 ac_status=$?
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); }; then
8054 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8055 enable_atomic_builtins=no
8056 else
8058 cat >>confdefs.h <<\_ACEOF
8059 #define _GLIBCXX_ATOMIC_BUILTINS 1
8060 _ACEOF
8062 enable_atomic_builtins=yes
8063 atomicity_dir=cpu/generic/atomicity_builtins
8066 CXXFLAGS="$old_CXXFLAGS"
8067 rm -f conftest*
8069 # Now, if still generic, set to mutex.
8070 if test $atomicity_dir = "cpu/generic" ; then
8071 atomicity_dir=cpu/generic/atomicity_mutex
8073 ac_ext=c
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8079 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8080 echo "${ECHO_T}$enable_atomic_builtins" >&6
8082 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8083 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8084 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8085 if test $target_thread_file = single; then
8086 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8087 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8088 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8089 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8090 else
8091 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8092 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8093 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8094 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8099 # All these tests are for C++; save the language and the compiler flags.
8100 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8101 # found in GLIBCXX_CONFIGURE.
8104 ac_ext=cc
8105 ac_cpp='$CXXCPP $CPPFLAGS'
8106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8110 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8111 ac_save_CXXFLAGS="$CXXFLAGS"
8113 # Check for maintainer-mode bits.
8114 if test x"$USE_MAINTAINER_MODE" = xno; then
8115 WERROR=''
8116 else
8117 WERROR='-Werror'
8120 # Check for -ffunction-sections -fdata-sections
8121 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8122 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8123 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8132 main ()
8134 int foo;
8136 return 0;
8138 _ACEOF
8139 rm -f conftest.$ac_objext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8141 (eval $ac_compile) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_cxx_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest.$ac_objext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8161 ac_fdsections=yes
8162 else
8163 echo "$as_me: failed program was:" >&5
8164 sed 's/^/| /' conftest.$ac_ext >&5
8166 ac_fdsections=no
8168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8169 if test "$ac_test_CXXFLAGS" = set; then
8170 CXXFLAGS="$ac_save_CXXFLAGS"
8171 else
8172 # this is the suspicious part
8173 CXXFLAGS=''
8175 if test x"$ac_fdsections" = x"yes"; then
8176 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8178 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8179 echo "${ECHO_T}$ac_fdsections" >&6
8181 ac_ext=c
8182 ac_cpp='$CPP $CPPFLAGS'
8183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8191 if $GLIBCXX_IS_NATIVE; then
8193 # We can do more elaborate tests that assume a working linker.
8194 CANADIAN=no
8196 # Check for available headers.
8212 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8213 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8214 sys/types.h sys/ipc.h sys/sem.h
8216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8218 echo "$as_me:$LINENO: checking for $ac_header" >&5
8219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8225 else
8226 # Is the header compilable?
8227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8229 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */
8231 _ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 $ac_includes_default
8236 #include <$ac_header>
8237 _ACEOF
8238 rm -f conftest.$ac_objext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8240 (eval $ac_compile) 2>conftest.er1
8241 ac_status=$?
8242 grep -v '^ *+' conftest.er1 >conftest.err
8243 rm -f conftest.er1
8244 cat conftest.err >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); } &&
8247 { ac_try='test -z "$ac_c_werror_flag"
8248 || test ! -s conftest.err'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 (eval $ac_try) 2>&5
8251 ac_status=$?
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; } &&
8254 { ac_try='test -s conftest.$ac_objext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 (eval $ac_try) 2>&5
8257 ac_status=$?
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_header_compiler=yes
8261 else
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_header_compiler=no
8267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8269 echo "${ECHO_T}$ac_header_compiler" >&6
8271 # Is the header present?
8272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8274 cat >conftest.$ac_ext <<_ACEOF
8275 /* confdefs.h. */
8276 _ACEOF
8277 cat confdefs.h >>conftest.$ac_ext
8278 cat >>conftest.$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8280 #include <$ac_header>
8281 _ACEOF
8282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8284 ac_status=$?
8285 grep -v '^ *+' conftest.er1 >conftest.err
8286 rm -f conftest.er1
8287 cat conftest.err >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } >/dev/null; then
8290 if test -s conftest.err; then
8291 ac_cpp_err=$ac_c_preproc_warn_flag
8292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8293 else
8294 ac_cpp_err=
8296 else
8297 ac_cpp_err=yes
8299 if test -z "$ac_cpp_err"; then
8300 ac_header_preproc=yes
8301 else
8302 echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.$ac_ext >&5
8305 ac_header_preproc=no
8307 rm -f conftest.err conftest.$ac_ext
8308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8309 echo "${ECHO_T}$ac_header_preproc" >&6
8311 # So? What about this header?
8312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8313 yes:no: )
8314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8318 ac_header_preproc=yes
8320 no:yes:* )
8321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8334 cat <<\_ASBOX
8335 ## ----------------------------------------- ##
8336 ## Report this to the package-unused lists. ##
8337 ## ----------------------------------------- ##
8338 _ASBOX
8340 sed "s/^/$as_me: WARNING: /" >&2
8342 esac
8343 echo "$as_me:$LINENO: checking for $ac_header" >&5
8344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 else
8348 eval "$as_ac_Header=\$ac_header_preproc"
8350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8355 cat >>confdefs.h <<_ACEOF
8356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8357 _ACEOF
8361 done
8365 # If we're not using GNU ld, then there's no point in even trying these
8366 # tests. Check for that first. We should have already tested for gld
8367 # by now (in libtool), but require it now just to be safe...
8368 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8369 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8373 # The name set by libtool depends on the version of libtool. Shame on us
8374 # for depending on an impl detail, but c'est la vie. Older versions used
8375 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8376 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8377 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8378 # set (hence we're using an older libtool), then set it.
8379 if test x${with_gnu_ld+set} != xset; then
8380 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8381 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8382 with_gnu_ld=no
8383 else
8384 with_gnu_ld=$ac_cv_prog_gnu_ld
8388 # Start by getting the version number. I think the libtool test already
8389 # does some of this, but throws away the result.
8390 if test x"$with_gnu_ld" = x"yes"; then
8391 echo "$as_me:$LINENO: checking for ld version" >&5
8392 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8394 ldver=`$LD --version 2>/dev/null | head -1 | \
8395 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
8397 glibcxx_gnu_ld_version=`echo $ldver | \
8398 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8399 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8400 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8403 # Set --gc-sections.
8404 glibcxx_gcsections_min_ld=21602
8405 if test x"$with_gnu_ld" = x"yes" &&
8406 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8408 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8409 # NB: This flag only works reliably after 2.16.1. Configure tests
8410 # for this are difficult, so hard wire a value that should work.
8412 # All these tests are for C++, but run with the "C" compiler driver.
8413 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8414 ac_test_CFLAGS="${CFLAGS+set}"
8415 ac_save_CFLAGS="$CFLAGS"
8416 CFLAGS='-x c++ -Wl,--gc-sections'
8418 # Check for -Wl,--gc-sections
8419 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8420 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8421 if test x$gcc_no_link = xyes; then
8422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8424 { (exit 1); exit 1; }; }
8426 cat >conftest.$ac_ext <<_ACEOF
8427 /* confdefs.h. */
8428 _ACEOF
8429 cat confdefs.h >>conftest.$ac_ext
8430 cat >>conftest.$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8432 int one(void) { return 1; }
8433 int two(void) { return 2; }
8436 main ()
8438 two();
8440 return 0;
8442 _ACEOF
8443 rm -f conftest.$ac_objext conftest$ac_exeext
8444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8445 (eval $ac_link) 2>conftest.er1
8446 ac_status=$?
8447 grep -v '^ *+' conftest.er1 >conftest.err
8448 rm -f conftest.er1
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } &&
8452 { ac_try='test -z "$ac_c_werror_flag"
8453 || test ! -s conftest.err'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8455 (eval $ac_try) 2>&5
8456 ac_status=$?
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; } &&
8459 { ac_try='test -s conftest$ac_exeext'
8460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461 (eval $ac_try) 2>&5
8462 ac_status=$?
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 ac_gcsections=yes
8466 else
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 ac_gcsections=no
8472 rm -f conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 if test "$ac_gcsections" = "yes"; then
8475 rm -f conftest.c
8476 touch conftest.c
8477 if $CC -c conftest.c; then
8478 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8479 grep "Warning: gc-sections option ignored" > /dev/null; then
8480 ac_gcsections=no
8483 rm -f conftest.c conftest.o conftest
8485 if test "$ac_gcsections" = "yes"; then
8486 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8488 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8489 echo "${ECHO_T}$ac_gcsections" >&6
8491 if test "$ac_test_CFLAGS" = set; then
8492 CFLAGS="$ac_save_CFLAGS"
8493 else
8494 # this is the suspicious part
8495 CFLAGS=''
8499 # Set -z,relro.
8500 # Note this is only for shared objects.
8501 ac_ld_relro=no
8502 if test x"$with_gnu_ld" = x"yes"; then
8503 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8504 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8505 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8506 if test -n "$cxx_z_relo"; then
8507 OPT_LDFLAGS="-Wl,-z,relro"
8508 ac_ld_relro=yes
8510 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8511 echo "${ECHO_T}$ac_ld_relro" >&6
8514 # Set linker optimization flags.
8515 if test x"$with_gnu_ld" = x"yes"; then
8516 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8523 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8524 ac_save_CXXFLAGS="$CXXFLAGS"
8525 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8527 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8528 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8529 if test "${ac_cv_lib_m_sin+set}" = set; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8531 else
8532 ac_check_lib_save_LIBS=$LIBS
8533 LIBS="-lm $LIBS"
8534 if test x$gcc_no_link = xyes; then
8535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8537 { (exit 1); exit 1; }; }
8539 cat >conftest.$ac_ext <<_ACEOF
8540 /* confdefs.h. */
8541 _ACEOF
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8546 /* Override any gcc2 internal prototype to avoid an error. */
8547 #ifdef __cplusplus
8548 extern "C"
8549 #endif
8550 /* We use char because int might match the return type of a gcc2
8551 builtin and then its argument prototype would still apply. */
8552 char sin ();
8554 main ()
8556 sin ();
8558 return 0;
8560 _ACEOF
8561 rm -f conftest.$ac_objext conftest$ac_exeext
8562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8563 (eval $ac_link) 2>conftest.er1
8564 ac_status=$?
8565 grep -v '^ *+' conftest.er1 >conftest.err
8566 rm -f conftest.er1
8567 cat conftest.err >&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); } &&
8570 { ac_try='test -z "$ac_c_werror_flag"
8571 || test ! -s conftest.err'
8572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573 (eval $ac_try) 2>&5
8574 ac_status=$?
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); }; } &&
8577 { ac_try='test -s conftest$ac_exeext'
8578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8579 (eval $ac_try) 2>&5
8580 ac_status=$?
8581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582 (exit $ac_status); }; }; then
8583 ac_cv_lib_m_sin=yes
8584 else
8585 echo "$as_me: failed program was:" >&5
8586 sed 's/^/| /' conftest.$ac_ext >&5
8588 ac_cv_lib_m_sin=no
8590 rm -f conftest.err conftest.$ac_objext \
8591 conftest$ac_exeext conftest.$ac_ext
8592 LIBS=$ac_check_lib_save_LIBS
8594 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8595 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8596 if test $ac_cv_lib_m_sin = yes; then
8597 libm="-lm"
8600 ac_save_LIBS="$LIBS"
8601 LIBS="$LIBS $libm"
8605 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8606 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8607 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8608 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 else
8614 ac_ext=cc
8615 ac_cpp='$CXXCPP $CPPFLAGS'
8616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8620 cat >conftest.$ac_ext <<_ACEOF
8621 /* confdefs.h. */
8622 _ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8626 #include <math.h>
8627 #ifdef HAVE_IEEEFP_H
8628 #include <ieeefp.h>
8629 #endif
8632 main ()
8634 isinf(0);
8636 return 0;
8638 _ACEOF
8639 rm -f conftest.$ac_objext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8641 (eval $ac_compile) 2>conftest.er1
8642 ac_status=$?
8643 grep -v '^ *+' conftest.er1 >conftest.err
8644 rm -f conftest.er1
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -z "$ac_cxx_werror_flag"
8649 || test ! -s conftest.err'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8651 (eval $ac_try) 2>&5
8652 ac_status=$?
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; } &&
8655 { ac_try='test -s conftest.$ac_objext'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657 (eval $ac_try) 2>&5
8658 ac_status=$?
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then
8661 glibcxx_cv_func_isinf_use=yes
8662 else
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8666 glibcxx_cv_func_isinf_use=no
8668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8669 ac_ext=c
8670 ac_cpp='$CPP $CPPFLAGS'
8671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8679 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8680 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8682 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8684 for ac_func in isinf
8686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8687 echo "$as_me:$LINENO: checking for $ac_func" >&5
8688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8689 if eval "test \"\${$as_ac_var+set}\" = set"; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 else
8692 if test x$gcc_no_link = xyes; then
8693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8695 { (exit 1); exit 1; }; }
8697 cat >conftest.$ac_ext <<_ACEOF
8698 /* confdefs.h. */
8699 _ACEOF
8700 cat confdefs.h >>conftest.$ac_ext
8701 cat >>conftest.$ac_ext <<_ACEOF
8702 /* end confdefs.h. */
8703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8705 #define $ac_func innocuous_$ac_func
8707 /* System header to define __stub macros and hopefully few prototypes,
8708 which can conflict with char $ac_func (); below.
8709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8710 <limits.h> exists even on freestanding compilers. */
8712 #ifdef __STDC__
8713 # include <limits.h>
8714 #else
8715 # include <assert.h>
8716 #endif
8718 #undef $ac_func
8720 /* Override any gcc2 internal prototype to avoid an error. */
8721 #ifdef __cplusplus
8722 extern "C"
8724 #endif
8725 /* We use char because int might match the return type of a gcc2
8726 builtin and then its argument prototype would still apply. */
8727 char $ac_func ();
8728 /* The GNU C library defines this for functions which it implements
8729 to always fail with ENOSYS. Some functions are actually named
8730 something starting with __ and the normal name is an alias. */
8731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8732 choke me
8733 #else
8734 char (*f) () = $ac_func;
8735 #endif
8736 #ifdef __cplusplus
8738 #endif
8741 main ()
8743 return f != $ac_func;
8745 return 0;
8747 _ACEOF
8748 rm -f conftest.$ac_objext conftest$ac_exeext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8750 (eval $ac_link) 2>conftest.er1
8751 ac_status=$?
8752 grep -v '^ *+' conftest.er1 >conftest.err
8753 rm -f conftest.er1
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } &&
8757 { ac_try='test -z "$ac_c_werror_flag"
8758 || test ! -s conftest.err'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 (eval $ac_try) 2>&5
8761 ac_status=$?
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; } &&
8764 { ac_try='test -s conftest$ac_exeext'
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 (eval $ac_try) 2>&5
8767 ac_status=$?
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; }; then
8770 eval "$as_ac_var=yes"
8771 else
8772 echo "$as_me: failed program was:" >&5
8773 sed 's/^/| /' conftest.$ac_ext >&5
8775 eval "$as_ac_var=no"
8777 rm -f conftest.err conftest.$ac_objext \
8778 conftest$ac_exeext conftest.$ac_ext
8780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8782 if test `eval echo '${'$as_ac_var'}'` = yes; then
8783 cat >>confdefs.h <<_ACEOF
8784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8785 _ACEOF
8788 done
8790 else
8792 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8793 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8794 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8795 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8796 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 else
8801 ac_ext=cc
8802 ac_cpp='$CXXCPP $CPPFLAGS'
8803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8807 cat >conftest.$ac_ext <<_ACEOF
8808 /* confdefs.h. */
8809 _ACEOF
8810 cat confdefs.h >>conftest.$ac_ext
8811 cat >>conftest.$ac_ext <<_ACEOF
8812 /* end confdefs.h. */
8813 #include <math.h>
8814 #ifdef HAVE_IEEEFP_H
8815 #include <ieeefp.h>
8816 #endif
8819 main ()
8821 _isinf(0);
8823 return 0;
8825 _ACEOF
8826 rm -f conftest.$ac_objext
8827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8828 (eval $ac_compile) 2>conftest.er1
8829 ac_status=$?
8830 grep -v '^ *+' conftest.er1 >conftest.err
8831 rm -f conftest.er1
8832 cat conftest.err >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); } &&
8835 { ac_try='test -z "$ac_cxx_werror_flag"
8836 || test ! -s conftest.err'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8838 (eval $ac_try) 2>&5
8839 ac_status=$?
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; } &&
8842 { ac_try='test -s conftest.$ac_objext'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8844 (eval $ac_try) 2>&5
8845 ac_status=$?
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; }; then
8848 glibcxx_cv_func__isinf_use=yes
8849 else
8850 echo "$as_me: failed program was:" >&5
8851 sed 's/^/| /' conftest.$ac_ext >&5
8853 glibcxx_cv_func__isinf_use=no
8855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8856 ac_ext=c
8857 ac_cpp='$CPP $CPPFLAGS'
8858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8867 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8869 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8871 for ac_func in _isinf
8873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8874 echo "$as_me:$LINENO: checking for $ac_func" >&5
8875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8876 if eval "test \"\${$as_ac_var+set}\" = set"; then
8877 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 else
8879 if test x$gcc_no_link = xyes; then
8880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8882 { (exit 1); exit 1; }; }
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8892 #define $ac_func innocuous_$ac_func
8894 /* System header to define __stub macros and hopefully few prototypes,
8895 which can conflict with char $ac_func (); below.
8896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8897 <limits.h> exists even on freestanding compilers. */
8899 #ifdef __STDC__
8900 # include <limits.h>
8901 #else
8902 # include <assert.h>
8903 #endif
8905 #undef $ac_func
8907 /* Override any gcc2 internal prototype to avoid an error. */
8908 #ifdef __cplusplus
8909 extern "C"
8911 #endif
8912 /* We use char because int might match the return type of a gcc2
8913 builtin and then its argument prototype would still apply. */
8914 char $ac_func ();
8915 /* The GNU C library defines this for functions which it implements
8916 to always fail with ENOSYS. Some functions are actually named
8917 something starting with __ and the normal name is an alias. */
8918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8919 choke me
8920 #else
8921 char (*f) () = $ac_func;
8922 #endif
8923 #ifdef __cplusplus
8925 #endif
8928 main ()
8930 return f != $ac_func;
8932 return 0;
8934 _ACEOF
8935 rm -f conftest.$ac_objext conftest$ac_exeext
8936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8937 (eval $ac_link) 2>conftest.er1
8938 ac_status=$?
8939 grep -v '^ *+' conftest.er1 >conftest.err
8940 rm -f conftest.er1
8941 cat conftest.err >&5
8942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8943 (exit $ac_status); } &&
8944 { ac_try='test -z "$ac_c_werror_flag"
8945 || test ! -s conftest.err'
8946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 (eval $ac_try) 2>&5
8948 ac_status=$?
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }; } &&
8951 { ac_try='test -s conftest$ac_exeext'
8952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8953 (eval $ac_try) 2>&5
8954 ac_status=$?
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); }; }; then
8957 eval "$as_ac_var=yes"
8958 else
8959 echo "$as_me: failed program was:" >&5
8960 sed 's/^/| /' conftest.$ac_ext >&5
8962 eval "$as_ac_var=no"
8964 rm -f conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8969 if test `eval echo '${'$as_ac_var'}'` = yes; then
8970 cat >>confdefs.h <<_ACEOF
8971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8972 _ACEOF
8975 done
8985 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8986 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8987 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8988 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8990 else
8994 ac_ext=cc
8995 ac_cpp='$CXXCPP $CPPFLAGS'
8996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9000 cat >conftest.$ac_ext <<_ACEOF
9001 /* confdefs.h. */
9002 _ACEOF
9003 cat confdefs.h >>conftest.$ac_ext
9004 cat >>conftest.$ac_ext <<_ACEOF
9005 /* end confdefs.h. */
9006 #include <math.h>
9007 #ifdef HAVE_IEEEFP_H
9008 #include <ieeefp.h>
9009 #endif
9012 main ()
9014 isnan(0);
9016 return 0;
9018 _ACEOF
9019 rm -f conftest.$ac_objext
9020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9021 (eval $ac_compile) 2>conftest.er1
9022 ac_status=$?
9023 grep -v '^ *+' conftest.er1 >conftest.err
9024 rm -f conftest.er1
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } &&
9028 { ac_try='test -z "$ac_cxx_werror_flag"
9029 || test ! -s conftest.err'
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 (eval $ac_try) 2>&5
9032 ac_status=$?
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }; } &&
9035 { ac_try='test -s conftest.$ac_objext'
9036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 (eval $ac_try) 2>&5
9038 ac_status=$?
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; }; then
9041 glibcxx_cv_func_isnan_use=yes
9042 else
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9046 glibcxx_cv_func_isnan_use=no
9048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9049 ac_ext=c
9050 ac_cpp='$CPP $CPPFLAGS'
9051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9060 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9062 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9064 for ac_func in isnan
9066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9067 echo "$as_me:$LINENO: checking for $ac_func" >&5
9068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9069 if eval "test \"\${$as_ac_var+set}\" = set"; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 else
9072 if test x$gcc_no_link = xyes; then
9073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9075 { (exit 1); exit 1; }; }
9077 cat >conftest.$ac_ext <<_ACEOF
9078 /* confdefs.h. */
9079 _ACEOF
9080 cat confdefs.h >>conftest.$ac_ext
9081 cat >>conftest.$ac_ext <<_ACEOF
9082 /* end confdefs.h. */
9083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9085 #define $ac_func innocuous_$ac_func
9087 /* System header to define __stub macros and hopefully few prototypes,
9088 which can conflict with char $ac_func (); below.
9089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9090 <limits.h> exists even on freestanding compilers. */
9092 #ifdef __STDC__
9093 # include <limits.h>
9094 #else
9095 # include <assert.h>
9096 #endif
9098 #undef $ac_func
9100 /* Override any gcc2 internal prototype to avoid an error. */
9101 #ifdef __cplusplus
9102 extern "C"
9104 #endif
9105 /* We use char because int might match the return type of a gcc2
9106 builtin and then its argument prototype would still apply. */
9107 char $ac_func ();
9108 /* The GNU C library defines this for functions which it implements
9109 to always fail with ENOSYS. Some functions are actually named
9110 something starting with __ and the normal name is an alias. */
9111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9112 choke me
9113 #else
9114 char (*f) () = $ac_func;
9115 #endif
9116 #ifdef __cplusplus
9118 #endif
9121 main ()
9123 return f != $ac_func;
9125 return 0;
9127 _ACEOF
9128 rm -f conftest.$ac_objext conftest$ac_exeext
9129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9130 (eval $ac_link) 2>conftest.er1
9131 ac_status=$?
9132 grep -v '^ *+' conftest.er1 >conftest.err
9133 rm -f conftest.er1
9134 cat conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } &&
9137 { ac_try='test -z "$ac_c_werror_flag"
9138 || test ! -s conftest.err'
9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140 (eval $ac_try) 2>&5
9141 ac_status=$?
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; } &&
9144 { ac_try='test -s conftest$ac_exeext'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 (eval $ac_try) 2>&5
9147 ac_status=$?
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; }; then
9150 eval "$as_ac_var=yes"
9151 else
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.$ac_ext >&5
9155 eval "$as_ac_var=no"
9157 rm -f conftest.err conftest.$ac_objext \
9158 conftest$ac_exeext conftest.$ac_ext
9160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9162 if test `eval echo '${'$as_ac_var'}'` = yes; then
9163 cat >>confdefs.h <<_ACEOF
9164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9165 _ACEOF
9168 done
9170 else
9172 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9173 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9174 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9175 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 else
9181 ac_ext=cc
9182 ac_cpp='$CXXCPP $CPPFLAGS'
9183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9187 cat >conftest.$ac_ext <<_ACEOF
9188 /* confdefs.h. */
9189 _ACEOF
9190 cat confdefs.h >>conftest.$ac_ext
9191 cat >>conftest.$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9193 #include <math.h>
9194 #ifdef HAVE_IEEEFP_H
9195 #include <ieeefp.h>
9196 #endif
9199 main ()
9201 _isnan(0);
9203 return 0;
9205 _ACEOF
9206 rm -f conftest.$ac_objext
9207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9208 (eval $ac_compile) 2>conftest.er1
9209 ac_status=$?
9210 grep -v '^ *+' conftest.er1 >conftest.err
9211 rm -f conftest.er1
9212 cat conftest.err >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } &&
9215 { ac_try='test -z "$ac_cxx_werror_flag"
9216 || test ! -s conftest.err'
9217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9218 (eval $ac_try) 2>&5
9219 ac_status=$?
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }; } &&
9222 { ac_try='test -s conftest.$ac_objext'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9224 (eval $ac_try) 2>&5
9225 ac_status=$?
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; }; then
9228 glibcxx_cv_func__isnan_use=yes
9229 else
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 glibcxx_cv_func__isnan_use=no
9235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9236 ac_ext=c
9237 ac_cpp='$CPP $CPPFLAGS'
9238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9247 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9249 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9251 for ac_func in _isnan
9253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9254 echo "$as_me:$LINENO: checking for $ac_func" >&5
9255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9256 if eval "test \"\${$as_ac_var+set}\" = set"; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 else
9259 if test x$gcc_no_link = xyes; then
9260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9262 { (exit 1); exit 1; }; }
9264 cat >conftest.$ac_ext <<_ACEOF
9265 /* confdefs.h. */
9266 _ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9272 #define $ac_func innocuous_$ac_func
9274 /* System header to define __stub macros and hopefully few prototypes,
9275 which can conflict with char $ac_func (); below.
9276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9277 <limits.h> exists even on freestanding compilers. */
9279 #ifdef __STDC__
9280 # include <limits.h>
9281 #else
9282 # include <assert.h>
9283 #endif
9285 #undef $ac_func
9287 /* Override any gcc2 internal prototype to avoid an error. */
9288 #ifdef __cplusplus
9289 extern "C"
9291 #endif
9292 /* We use char because int might match the return type of a gcc2
9293 builtin and then its argument prototype would still apply. */
9294 char $ac_func ();
9295 /* The GNU C library defines this for functions which it implements
9296 to always fail with ENOSYS. Some functions are actually named
9297 something starting with __ and the normal name is an alias. */
9298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9299 choke me
9300 #else
9301 char (*f) () = $ac_func;
9302 #endif
9303 #ifdef __cplusplus
9305 #endif
9308 main ()
9310 return f != $ac_func;
9312 return 0;
9314 _ACEOF
9315 rm -f conftest.$ac_objext conftest$ac_exeext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>conftest.er1
9318 ac_status=$?
9319 grep -v '^ *+' conftest.er1 >conftest.err
9320 rm -f conftest.er1
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); } &&
9324 { ac_try='test -z "$ac_c_werror_flag"
9325 || test ! -s conftest.err'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 (eval $ac_try) 2>&5
9328 ac_status=$?
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest$ac_exeext'
9332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 (eval $ac_try) 2>&5
9334 ac_status=$?
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 (exit $ac_status); }; }; then
9337 eval "$as_ac_var=yes"
9338 else
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 eval "$as_ac_var=no"
9344 rm -f conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9349 if test `eval echo '${'$as_ac_var'}'` = yes; then
9350 cat >>confdefs.h <<_ACEOF
9351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9352 _ACEOF
9355 done
9365 echo "$as_me:$LINENO: checking for finite declaration" >&5
9366 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9367 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9368 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 else
9374 ac_ext=cc
9375 ac_cpp='$CXXCPP $CPPFLAGS'
9376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9380 cat >conftest.$ac_ext <<_ACEOF
9381 /* confdefs.h. */
9382 _ACEOF
9383 cat confdefs.h >>conftest.$ac_ext
9384 cat >>conftest.$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9386 #include <math.h>
9387 #ifdef HAVE_IEEEFP_H
9388 #include <ieeefp.h>
9389 #endif
9392 main ()
9394 finite(0);
9396 return 0;
9398 _ACEOF
9399 rm -f conftest.$ac_objext
9400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9401 (eval $ac_compile) 2>conftest.er1
9402 ac_status=$?
9403 grep -v '^ *+' conftest.er1 >conftest.err
9404 rm -f conftest.er1
9405 cat conftest.err >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
9408 { ac_try='test -z "$ac_cxx_werror_flag"
9409 || test ! -s conftest.err'
9410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411 (eval $ac_try) 2>&5
9412 ac_status=$?
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); }; } &&
9415 { ac_try='test -s conftest.$ac_objext'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 (eval $ac_try) 2>&5
9418 ac_status=$?
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; }; then
9421 glibcxx_cv_func_finite_use=yes
9422 else
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9426 glibcxx_cv_func_finite_use=no
9428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9429 ac_ext=c
9430 ac_cpp='$CPP $CPPFLAGS'
9431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9440 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9442 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9444 for ac_func in finite
9446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9447 echo "$as_me:$LINENO: checking for $ac_func" >&5
9448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9449 if eval "test \"\${$as_ac_var+set}\" = set"; then
9450 echo $ECHO_N "(cached) $ECHO_C" >&6
9451 else
9452 if test x$gcc_no_link = xyes; then
9453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9455 { (exit 1); exit 1; }; }
9457 cat >conftest.$ac_ext <<_ACEOF
9458 /* confdefs.h. */
9459 _ACEOF
9460 cat confdefs.h >>conftest.$ac_ext
9461 cat >>conftest.$ac_ext <<_ACEOF
9462 /* end confdefs.h. */
9463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9465 #define $ac_func innocuous_$ac_func
9467 /* System header to define __stub macros and hopefully few prototypes,
9468 which can conflict with char $ac_func (); below.
9469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9470 <limits.h> exists even on freestanding compilers. */
9472 #ifdef __STDC__
9473 # include <limits.h>
9474 #else
9475 # include <assert.h>
9476 #endif
9478 #undef $ac_func
9480 /* Override any gcc2 internal prototype to avoid an error. */
9481 #ifdef __cplusplus
9482 extern "C"
9484 #endif
9485 /* We use char because int might match the return type of a gcc2
9486 builtin and then its argument prototype would still apply. */
9487 char $ac_func ();
9488 /* The GNU C library defines this for functions which it implements
9489 to always fail with ENOSYS. Some functions are actually named
9490 something starting with __ and the normal name is an alias. */
9491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9492 choke me
9493 #else
9494 char (*f) () = $ac_func;
9495 #endif
9496 #ifdef __cplusplus
9498 #endif
9501 main ()
9503 return f != $ac_func;
9505 return 0;
9507 _ACEOF
9508 rm -f conftest.$ac_objext conftest$ac_exeext
9509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9510 (eval $ac_link) 2>conftest.er1
9511 ac_status=$?
9512 grep -v '^ *+' conftest.er1 >conftest.err
9513 rm -f conftest.er1
9514 cat conftest.err >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); } &&
9517 { ac_try='test -z "$ac_c_werror_flag"
9518 || test ! -s conftest.err'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 (eval $ac_try) 2>&5
9521 ac_status=$?
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; } &&
9524 { ac_try='test -s conftest$ac_exeext'
9525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 (eval $ac_try) 2>&5
9527 ac_status=$?
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); }; }; then
9530 eval "$as_ac_var=yes"
9531 else
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9535 eval "$as_ac_var=no"
9537 rm -f conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9542 if test `eval echo '${'$as_ac_var'}'` = yes; then
9543 cat >>confdefs.h <<_ACEOF
9544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9545 _ACEOF
9548 done
9550 else
9552 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9553 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9554 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9555 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9556 echo $ECHO_N "(cached) $ECHO_C" >&6
9557 else
9561 ac_ext=cc
9562 ac_cpp='$CXXCPP $CPPFLAGS'
9563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9567 cat >conftest.$ac_ext <<_ACEOF
9568 /* confdefs.h. */
9569 _ACEOF
9570 cat confdefs.h >>conftest.$ac_ext
9571 cat >>conftest.$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9573 #include <math.h>
9574 #ifdef HAVE_IEEEFP_H
9575 #include <ieeefp.h>
9576 #endif
9579 main ()
9581 _finite(0);
9583 return 0;
9585 _ACEOF
9586 rm -f conftest.$ac_objext
9587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9588 (eval $ac_compile) 2>conftest.er1
9589 ac_status=$?
9590 grep -v '^ *+' conftest.er1 >conftest.err
9591 rm -f conftest.er1
9592 cat conftest.err >&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); } &&
9595 { ac_try='test -z "$ac_cxx_werror_flag"
9596 || test ! -s conftest.err'
9597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598 (eval $ac_try) 2>&5
9599 ac_status=$?
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); }; } &&
9602 { ac_try='test -s conftest.$ac_objext'
9603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604 (eval $ac_try) 2>&5
9605 ac_status=$?
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 (exit $ac_status); }; }; then
9608 glibcxx_cv_func__finite_use=yes
9609 else
9610 echo "$as_me: failed program was:" >&5
9611 sed 's/^/| /' conftest.$ac_ext >&5
9613 glibcxx_cv_func__finite_use=no
9615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9616 ac_ext=c
9617 ac_cpp='$CPP $CPPFLAGS'
9618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9627 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9629 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9631 for ac_func in _finite
9633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9634 echo "$as_me:$LINENO: checking for $ac_func" >&5
9635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9636 if eval "test \"\${$as_ac_var+set}\" = set"; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 else
9639 if test x$gcc_no_link = xyes; then
9640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9642 { (exit 1); exit 1; }; }
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h. */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9652 #define $ac_func innocuous_$ac_func
9654 /* System header to define __stub macros and hopefully few prototypes,
9655 which can conflict with char $ac_func (); below.
9656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9657 <limits.h> exists even on freestanding compilers. */
9659 #ifdef __STDC__
9660 # include <limits.h>
9661 #else
9662 # include <assert.h>
9663 #endif
9665 #undef $ac_func
9667 /* Override any gcc2 internal prototype to avoid an error. */
9668 #ifdef __cplusplus
9669 extern "C"
9671 #endif
9672 /* We use char because int might match the return type of a gcc2
9673 builtin and then its argument prototype would still apply. */
9674 char $ac_func ();
9675 /* The GNU C library defines this for functions which it implements
9676 to always fail with ENOSYS. Some functions are actually named
9677 something starting with __ and the normal name is an alias. */
9678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9679 choke me
9680 #else
9681 char (*f) () = $ac_func;
9682 #endif
9683 #ifdef __cplusplus
9685 #endif
9688 main ()
9690 return f != $ac_func;
9692 return 0;
9694 _ACEOF
9695 rm -f conftest.$ac_objext conftest$ac_exeext
9696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9697 (eval $ac_link) 2>conftest.er1
9698 ac_status=$?
9699 grep -v '^ *+' conftest.er1 >conftest.err
9700 rm -f conftest.er1
9701 cat conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } &&
9704 { ac_try='test -z "$ac_c_werror_flag"
9705 || test ! -s conftest.err'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9707 (eval $ac_try) 2>&5
9708 ac_status=$?
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try='test -s conftest$ac_exeext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 (eval $ac_try) 2>&5
9714 ac_status=$?
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9717 eval "$as_ac_var=yes"
9718 else
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.$ac_ext >&5
9722 eval "$as_ac_var=no"
9724 rm -f conftest.err conftest.$ac_objext \
9725 conftest$ac_exeext conftest.$ac_ext
9727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9729 if test `eval echo '${'$as_ac_var'}'` = yes; then
9730 cat >>confdefs.h <<_ACEOF
9731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9732 _ACEOF
9735 done
9745 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9746 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9747 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9748 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9749 echo $ECHO_N "(cached) $ECHO_C" >&6
9750 else
9754 ac_ext=cc
9755 ac_cpp='$CXXCPP $CPPFLAGS'
9756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9760 cat >conftest.$ac_ext <<_ACEOF
9761 /* confdefs.h. */
9762 _ACEOF
9763 cat confdefs.h >>conftest.$ac_ext
9764 cat >>conftest.$ac_ext <<_ACEOF
9765 /* end confdefs.h. */
9766 #include <math.h>
9768 main ()
9770 copysign(0, 0);
9772 return 0;
9774 _ACEOF
9775 rm -f conftest.$ac_objext
9776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9777 (eval $ac_compile) 2>conftest.er1
9778 ac_status=$?
9779 grep -v '^ *+' conftest.er1 >conftest.err
9780 rm -f conftest.er1
9781 cat conftest.err >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); } &&
9784 { ac_try='test -z "$ac_cxx_werror_flag"
9785 || test ! -s conftest.err'
9786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9787 (eval $ac_try) 2>&5
9788 ac_status=$?
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); }; } &&
9791 { ac_try='test -s conftest.$ac_objext'
9792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9793 (eval $ac_try) 2>&5
9794 ac_status=$?
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); }; }; then
9797 glibcxx_cv_func_copysign_use=yes
9798 else
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.$ac_ext >&5
9802 glibcxx_cv_func_copysign_use=no
9804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9805 ac_ext=c
9806 ac_cpp='$CPP $CPPFLAGS'
9807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9816 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9818 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9820 for ac_func in copysign
9822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9823 echo "$as_me:$LINENO: checking for $ac_func" >&5
9824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9825 if eval "test \"\${$as_ac_var+set}\" = set"; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9827 else
9828 if test x$gcc_no_link = xyes; then
9829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9831 { (exit 1); exit 1; }; }
9833 cat >conftest.$ac_ext <<_ACEOF
9834 /* confdefs.h. */
9835 _ACEOF
9836 cat confdefs.h >>conftest.$ac_ext
9837 cat >>conftest.$ac_ext <<_ACEOF
9838 /* end confdefs.h. */
9839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9841 #define $ac_func innocuous_$ac_func
9843 /* System header to define __stub macros and hopefully few prototypes,
9844 which can conflict with char $ac_func (); below.
9845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9846 <limits.h> exists even on freestanding compilers. */
9848 #ifdef __STDC__
9849 # include <limits.h>
9850 #else
9851 # include <assert.h>
9852 #endif
9854 #undef $ac_func
9856 /* Override any gcc2 internal prototype to avoid an error. */
9857 #ifdef __cplusplus
9858 extern "C"
9860 #endif
9861 /* We use char because int might match the return type of a gcc2
9862 builtin and then its argument prototype would still apply. */
9863 char $ac_func ();
9864 /* The GNU C library defines this for functions which it implements
9865 to always fail with ENOSYS. Some functions are actually named
9866 something starting with __ and the normal name is an alias. */
9867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9868 choke me
9869 #else
9870 char (*f) () = $ac_func;
9871 #endif
9872 #ifdef __cplusplus
9874 #endif
9877 main ()
9879 return f != $ac_func;
9881 return 0;
9883 _ACEOF
9884 rm -f conftest.$ac_objext conftest$ac_exeext
9885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9886 (eval $ac_link) 2>conftest.er1
9887 ac_status=$?
9888 grep -v '^ *+' conftest.er1 >conftest.err
9889 rm -f conftest.er1
9890 cat conftest.err >&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); } &&
9893 { ac_try='test -z "$ac_c_werror_flag"
9894 || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 (eval $ac_try) 2>&5
9897 ac_status=$?
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try='test -s conftest$ac_exeext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 (eval $ac_try) 2>&5
9903 ac_status=$?
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 eval "$as_ac_var=yes"
9907 else
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.$ac_ext >&5
9911 eval "$as_ac_var=no"
9913 rm -f conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9918 if test `eval echo '${'$as_ac_var'}'` = yes; then
9919 cat >>confdefs.h <<_ACEOF
9920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9921 _ACEOF
9924 done
9926 else
9928 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9929 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9930 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9931 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9932 echo $ECHO_N "(cached) $ECHO_C" >&6
9933 else
9937 ac_ext=cc
9938 ac_cpp='$CXXCPP $CPPFLAGS'
9939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9943 cat >conftest.$ac_ext <<_ACEOF
9944 /* confdefs.h. */
9945 _ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9949 #include <math.h>
9951 main ()
9953 _copysign(0, 0);
9955 return 0;
9957 _ACEOF
9958 rm -f conftest.$ac_objext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9960 (eval $ac_compile) 2>conftest.er1
9961 ac_status=$?
9962 grep -v '^ *+' conftest.er1 >conftest.err
9963 rm -f conftest.er1
9964 cat conftest.err >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); } &&
9967 { ac_try='test -z "$ac_cxx_werror_flag"
9968 || test ! -s conftest.err'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 (eval $ac_try) 2>&5
9971 ac_status=$?
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; } &&
9974 { ac_try='test -s conftest.$ac_objext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 (eval $ac_try) 2>&5
9977 ac_status=$?
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 glibcxx_cv_func__copysign_use=yes
9981 else
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9985 glibcxx_cv_func__copysign_use=no
9987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9988 ac_ext=c
9989 ac_cpp='$CPP $CPPFLAGS'
9990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9999 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
10001 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
10003 for ac_func in _copysign
10005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10006 echo "$as_me:$LINENO: checking for $ac_func" >&5
10007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10008 if eval "test \"\${$as_ac_var+set}\" = set"; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 if test x$gcc_no_link = xyes; then
10012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014 { (exit 1); exit 1; }; }
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h. */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h. */
10022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10024 #define $ac_func innocuous_$ac_func
10026 /* System header to define __stub macros and hopefully few prototypes,
10027 which can conflict with char $ac_func (); below.
10028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029 <limits.h> exists even on freestanding compilers. */
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10037 #undef $ac_func
10039 /* Override any gcc2 internal prototype to avoid an error. */
10040 #ifdef __cplusplus
10041 extern "C"
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045 builtin and then its argument prototype would still apply. */
10046 char $ac_func ();
10047 /* The GNU C library defines this for functions which it implements
10048 to always fail with ENOSYS. Some functions are actually named
10049 something starting with __ and the normal name is an alias. */
10050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10051 choke me
10052 #else
10053 char (*f) () = $ac_func;
10054 #endif
10055 #ifdef __cplusplus
10057 #endif
10060 main ()
10062 return f != $ac_func;
10064 return 0;
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069 (eval $ac_link) 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag"
10077 || test ! -s conftest.err'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; } &&
10083 { ac_try='test -s conftest$ac_exeext'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10086 ac_status=$?
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; }; then
10089 eval "$as_ac_var=yes"
10090 else
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10094 eval "$as_ac_var=no"
10096 rm -f conftest.err conftest.$ac_objext \
10097 conftest$ac_exeext conftest.$ac_ext
10099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10101 if test `eval echo '${'$as_ac_var'}'` = yes; then
10102 cat >>confdefs.h <<_ACEOF
10103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10104 _ACEOF
10107 done
10117 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10118 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10119 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10120 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 else
10126 ac_ext=cc
10127 ac_cpp='$CXXCPP $CPPFLAGS'
10128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10132 cat >conftest.$ac_ext <<_ACEOF
10133 /* confdefs.h. */
10134 _ACEOF
10135 cat confdefs.h >>conftest.$ac_ext
10136 cat >>conftest.$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10138 #include <math.h>
10140 main ()
10142 sincos(0, 0, 0);
10144 return 0;
10146 _ACEOF
10147 rm -f conftest.$ac_objext
10148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10149 (eval $ac_compile) 2>conftest.er1
10150 ac_status=$?
10151 grep -v '^ *+' conftest.er1 >conftest.err
10152 rm -f conftest.er1
10153 cat conftest.err >&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } &&
10156 { ac_try='test -z "$ac_cxx_werror_flag"
10157 || test ! -s conftest.err'
10158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10159 (eval $ac_try) 2>&5
10160 ac_status=$?
10161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); }; } &&
10163 { ac_try='test -s conftest.$ac_objext'
10164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10165 (eval $ac_try) 2>&5
10166 ac_status=$?
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); }; }; then
10169 glibcxx_cv_func_sincos_use=yes
10170 else
10171 echo "$as_me: failed program was:" >&5
10172 sed 's/^/| /' conftest.$ac_ext >&5
10174 glibcxx_cv_func_sincos_use=no
10176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10177 ac_ext=c
10178 ac_cpp='$CPP $CPPFLAGS'
10179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10188 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10190 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10192 for ac_func in sincos
10194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10195 echo "$as_me:$LINENO: checking for $ac_func" >&5
10196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10197 if eval "test \"\${$as_ac_var+set}\" = set"; then
10198 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 else
10200 if test x$gcc_no_link = xyes; then
10201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10203 { (exit 1); exit 1; }; }
10205 cat >conftest.$ac_ext <<_ACEOF
10206 /* confdefs.h. */
10207 _ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10213 #define $ac_func innocuous_$ac_func
10215 /* System header to define __stub macros and hopefully few prototypes,
10216 which can conflict with char $ac_func (); below.
10217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10218 <limits.h> exists even on freestanding compilers. */
10220 #ifdef __STDC__
10221 # include <limits.h>
10222 #else
10223 # include <assert.h>
10224 #endif
10226 #undef $ac_func
10228 /* Override any gcc2 internal prototype to avoid an error. */
10229 #ifdef __cplusplus
10230 extern "C"
10232 #endif
10233 /* We use char because int might match the return type of a gcc2
10234 builtin and then its argument prototype would still apply. */
10235 char $ac_func ();
10236 /* The GNU C library defines this for functions which it implements
10237 to always fail with ENOSYS. Some functions are actually named
10238 something starting with __ and the normal name is an alias. */
10239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10240 choke me
10241 #else
10242 char (*f) () = $ac_func;
10243 #endif
10244 #ifdef __cplusplus
10246 #endif
10249 main ()
10251 return f != $ac_func;
10253 return 0;
10255 _ACEOF
10256 rm -f conftest.$ac_objext conftest$ac_exeext
10257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10258 (eval $ac_link) 2>conftest.er1
10259 ac_status=$?
10260 grep -v '^ *+' conftest.er1 >conftest.err
10261 rm -f conftest.er1
10262 cat conftest.err >&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } &&
10265 { ac_try='test -z "$ac_c_werror_flag"
10266 || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10269 ac_status=$?
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10275 ac_status=$?
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 eval "$as_ac_var=yes"
10279 else
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 eval "$as_ac_var=no"
10285 rm -f conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10290 if test `eval echo '${'$as_ac_var'}'` = yes; then
10291 cat >>confdefs.h <<_ACEOF
10292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10293 _ACEOF
10296 done
10298 else
10300 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10301 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10302 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10303 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10309 ac_ext=cc
10310 ac_cpp='$CXXCPP $CPPFLAGS'
10311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10315 cat >conftest.$ac_ext <<_ACEOF
10316 /* confdefs.h. */
10317 _ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10321 #include <math.h>
10323 main ()
10325 _sincos(0, 0, 0);
10327 return 0;
10329 _ACEOF
10330 rm -f conftest.$ac_objext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>conftest.er1
10333 ac_status=$?
10334 grep -v '^ *+' conftest.er1 >conftest.err
10335 rm -f conftest.er1
10336 cat conftest.err >&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try='test -z "$ac_cxx_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10343 ac_status=$?
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try='test -s conftest.$ac_objext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10349 ac_status=$?
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 glibcxx_cv_func__sincos_use=yes
10353 else
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10357 glibcxx_cv_func__sincos_use=no
10359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10360 ac_ext=c
10361 ac_cpp='$CPP $CPPFLAGS'
10362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10371 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10373 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10375 for ac_func in _sincos
10377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10378 echo "$as_me:$LINENO: checking for $ac_func" >&5
10379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10380 if eval "test \"\${$as_ac_var+set}\" = set"; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 else
10383 if test x$gcc_no_link = xyes; then
10384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10386 { (exit 1); exit 1; }; }
10388 cat >conftest.$ac_ext <<_ACEOF
10389 /* confdefs.h. */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10396 #define $ac_func innocuous_$ac_func
10398 /* System header to define __stub macros and hopefully few prototypes,
10399 which can conflict with char $ac_func (); below.
10400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10401 <limits.h> exists even on freestanding compilers. */
10403 #ifdef __STDC__
10404 # include <limits.h>
10405 #else
10406 # include <assert.h>
10407 #endif
10409 #undef $ac_func
10411 /* Override any gcc2 internal prototype to avoid an error. */
10412 #ifdef __cplusplus
10413 extern "C"
10415 #endif
10416 /* We use char because int might match the return type of a gcc2
10417 builtin and then its argument prototype would still apply. */
10418 char $ac_func ();
10419 /* The GNU C library defines this for functions which it implements
10420 to always fail with ENOSYS. Some functions are actually named
10421 something starting with __ and the normal name is an alias. */
10422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10423 choke me
10424 #else
10425 char (*f) () = $ac_func;
10426 #endif
10427 #ifdef __cplusplus
10429 #endif
10432 main ()
10434 return f != $ac_func;
10436 return 0;
10438 _ACEOF
10439 rm -f conftest.$ac_objext conftest$ac_exeext
10440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10441 (eval $ac_link) 2>conftest.er1
10442 ac_status=$?
10443 grep -v '^ *+' conftest.er1 >conftest.err
10444 rm -f conftest.er1
10445 cat conftest.err >&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } &&
10448 { ac_try='test -z "$ac_c_werror_flag"
10449 || test ! -s conftest.err'
10450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451 (eval $ac_try) 2>&5
10452 ac_status=$?
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; } &&
10455 { ac_try='test -s conftest$ac_exeext'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10458 ac_status=$?
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; }; then
10461 eval "$as_ac_var=yes"
10462 else
10463 echo "$as_me: failed program was:" >&5
10464 sed 's/^/| /' conftest.$ac_ext >&5
10466 eval "$as_ac_var=no"
10468 rm -f conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10473 if test `eval echo '${'$as_ac_var'}'` = yes; then
10474 cat >>confdefs.h <<_ACEOF
10475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10476 _ACEOF
10479 done
10489 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10490 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10491 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10492 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 else
10498 ac_ext=cc
10499 ac_cpp='$CXXCPP $CPPFLAGS'
10500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10504 cat >conftest.$ac_ext <<_ACEOF
10505 /* confdefs.h. */
10506 _ACEOF
10507 cat confdefs.h >>conftest.$ac_ext
10508 cat >>conftest.$ac_ext <<_ACEOF
10509 /* end confdefs.h. */
10510 #include <math.h>
10511 #ifdef HAVE_IEEEFP_H
10512 #include <ieeefp.h>
10513 #endif
10516 main ()
10518 fpclass(0);
10520 return 0;
10522 _ACEOF
10523 rm -f conftest.$ac_objext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>conftest.er1
10526 ac_status=$?
10527 grep -v '^ *+' conftest.er1 >conftest.err
10528 rm -f conftest.er1
10529 cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } &&
10532 { ac_try='test -z "$ac_cxx_werror_flag"
10533 || test ! -s conftest.err'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10536 ac_status=$?
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; } &&
10539 { ac_try='test -s conftest.$ac_objext'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10542 ac_status=$?
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; }; then
10545 glibcxx_cv_func_fpclass_use=yes
10546 else
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10550 glibcxx_cv_func_fpclass_use=no
10552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10553 ac_ext=c
10554 ac_cpp='$CPP $CPPFLAGS'
10555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10564 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10566 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10568 for ac_func in fpclass
10570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10571 echo "$as_me:$LINENO: checking for $ac_func" >&5
10572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10573 if eval "test \"\${$as_ac_var+set}\" = set"; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10575 else
10576 if test x$gcc_no_link = xyes; then
10577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10579 { (exit 1); exit 1; }; }
10581 cat >conftest.$ac_ext <<_ACEOF
10582 /* confdefs.h. */
10583 _ACEOF
10584 cat confdefs.h >>conftest.$ac_ext
10585 cat >>conftest.$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10589 #define $ac_func innocuous_$ac_func
10591 /* System header to define __stub macros and hopefully few prototypes,
10592 which can conflict with char $ac_func (); below.
10593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10594 <limits.h> exists even on freestanding compilers. */
10596 #ifdef __STDC__
10597 # include <limits.h>
10598 #else
10599 # include <assert.h>
10600 #endif
10602 #undef $ac_func
10604 /* Override any gcc2 internal prototype to avoid an error. */
10605 #ifdef __cplusplus
10606 extern "C"
10608 #endif
10609 /* We use char because int might match the return type of a gcc2
10610 builtin and then its argument prototype would still apply. */
10611 char $ac_func ();
10612 /* The GNU C library defines this for functions which it implements
10613 to always fail with ENOSYS. Some functions are actually named
10614 something starting with __ and the normal name is an alias. */
10615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10616 choke me
10617 #else
10618 char (*f) () = $ac_func;
10619 #endif
10620 #ifdef __cplusplus
10622 #endif
10625 main ()
10627 return f != $ac_func;
10629 return 0;
10631 _ACEOF
10632 rm -f conftest.$ac_objext conftest$ac_exeext
10633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10634 (eval $ac_link) 2>conftest.er1
10635 ac_status=$?
10636 grep -v '^ *+' conftest.er1 >conftest.err
10637 rm -f conftest.er1
10638 cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } &&
10641 { ac_try='test -z "$ac_c_werror_flag"
10642 || test ! -s conftest.err'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10645 ac_status=$?
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10651 ac_status=$?
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 eval "$as_ac_var=yes"
10655 else
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.$ac_ext >&5
10659 eval "$as_ac_var=no"
10661 rm -f conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10666 if test `eval echo '${'$as_ac_var'}'` = yes; then
10667 cat >>confdefs.h <<_ACEOF
10668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10669 _ACEOF
10672 done
10674 else
10676 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10677 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10678 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10679 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10680 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 else
10685 ac_ext=cc
10686 ac_cpp='$CXXCPP $CPPFLAGS'
10687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10691 cat >conftest.$ac_ext <<_ACEOF
10692 /* confdefs.h. */
10693 _ACEOF
10694 cat confdefs.h >>conftest.$ac_ext
10695 cat >>conftest.$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 #include <math.h>
10698 #ifdef HAVE_IEEEFP_H
10699 #include <ieeefp.h>
10700 #endif
10703 main ()
10705 _fpclass(0);
10707 return 0;
10709 _ACEOF
10710 rm -f conftest.$ac_objext
10711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10712 (eval $ac_compile) 2>conftest.er1
10713 ac_status=$?
10714 grep -v '^ *+' conftest.er1 >conftest.err
10715 rm -f conftest.er1
10716 cat conftest.err >&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try='test -z "$ac_cxx_werror_flag"
10720 || test ! -s conftest.err'
10721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10722 (eval $ac_try) 2>&5
10723 ac_status=$?
10724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725 (exit $ac_status); }; } &&
10726 { ac_try='test -s conftest.$ac_objext'
10727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10728 (eval $ac_try) 2>&5
10729 ac_status=$?
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); }; }; then
10732 glibcxx_cv_func__fpclass_use=yes
10733 else
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10737 glibcxx_cv_func__fpclass_use=no
10739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10740 ac_ext=c
10741 ac_cpp='$CPP $CPPFLAGS'
10742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10751 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10753 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10755 for ac_func in _fpclass
10757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10758 echo "$as_me:$LINENO: checking for $ac_func" >&5
10759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10760 if eval "test \"\${$as_ac_var+set}\" = set"; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 else
10763 if test x$gcc_no_link = xyes; then
10764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10766 { (exit 1); exit 1; }; }
10768 cat >conftest.$ac_ext <<_ACEOF
10769 /* confdefs.h. */
10770 _ACEOF
10771 cat confdefs.h >>conftest.$ac_ext
10772 cat >>conftest.$ac_ext <<_ACEOF
10773 /* end confdefs.h. */
10774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10776 #define $ac_func innocuous_$ac_func
10778 /* System header to define __stub macros and hopefully few prototypes,
10779 which can conflict with char $ac_func (); below.
10780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10781 <limits.h> exists even on freestanding compilers. */
10783 #ifdef __STDC__
10784 # include <limits.h>
10785 #else
10786 # include <assert.h>
10787 #endif
10789 #undef $ac_func
10791 /* Override any gcc2 internal prototype to avoid an error. */
10792 #ifdef __cplusplus
10793 extern "C"
10795 #endif
10796 /* We use char because int might match the return type of a gcc2
10797 builtin and then its argument prototype would still apply. */
10798 char $ac_func ();
10799 /* The GNU C library defines this for functions which it implements
10800 to always fail with ENOSYS. Some functions are actually named
10801 something starting with __ and the normal name is an alias. */
10802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10803 choke me
10804 #else
10805 char (*f) () = $ac_func;
10806 #endif
10807 #ifdef __cplusplus
10809 #endif
10812 main ()
10814 return f != $ac_func;
10816 return 0;
10818 _ACEOF
10819 rm -f conftest.$ac_objext conftest$ac_exeext
10820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10821 (eval $ac_link) 2>conftest.er1
10822 ac_status=$?
10823 grep -v '^ *+' conftest.er1 >conftest.err
10824 rm -f conftest.er1
10825 cat conftest.err >&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } &&
10828 { ac_try='test -z "$ac_c_werror_flag"
10829 || test ! -s conftest.err'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10832 ac_status=$?
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; } &&
10835 { ac_try='test -s conftest$ac_exeext'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10838 ac_status=$?
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; }; then
10841 eval "$as_ac_var=yes"
10842 else
10843 echo "$as_me: failed program was:" >&5
10844 sed 's/^/| /' conftest.$ac_ext >&5
10846 eval "$as_ac_var=no"
10848 rm -f conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10853 if test `eval echo '${'$as_ac_var'}'` = yes; then
10854 cat >>confdefs.h <<_ACEOF
10855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10856 _ACEOF
10859 done
10869 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10870 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10871 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10872 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10878 ac_ext=cc
10879 ac_cpp='$CXXCPP $CPPFLAGS'
10880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10884 cat >conftest.$ac_ext <<_ACEOF
10885 /* confdefs.h. */
10886 _ACEOF
10887 cat confdefs.h >>conftest.$ac_ext
10888 cat >>conftest.$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10890 #include <math.h>
10891 #ifdef HAVE_IEEEFP_H
10892 #include <ieeefp.h>
10893 #endif
10896 main ()
10898 qfpclass(0);
10900 return 0;
10902 _ACEOF
10903 rm -f conftest.$ac_objext
10904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10905 (eval $ac_compile) 2>conftest.er1
10906 ac_status=$?
10907 grep -v '^ *+' conftest.er1 >conftest.err
10908 rm -f conftest.er1
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } &&
10912 { ac_try='test -z "$ac_cxx_werror_flag"
10913 || test ! -s conftest.err'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; } &&
10919 { ac_try='test -s conftest.$ac_objext'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10922 ac_status=$?
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; }; then
10925 glibcxx_cv_func_qfpclass_use=yes
10926 else
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 glibcxx_cv_func_qfpclass_use=no
10932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10933 ac_ext=c
10934 ac_cpp='$CPP $CPPFLAGS'
10935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10944 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10946 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10948 for ac_func in qfpclass
10950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10951 echo "$as_me:$LINENO: checking for $ac_func" >&5
10952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10953 if eval "test \"\${$as_ac_var+set}\" = set"; then
10954 echo $ECHO_N "(cached) $ECHO_C" >&6
10955 else
10956 if test x$gcc_no_link = xyes; then
10957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10959 { (exit 1); exit 1; }; }
10961 cat >conftest.$ac_ext <<_ACEOF
10962 /* confdefs.h. */
10963 _ACEOF
10964 cat confdefs.h >>conftest.$ac_ext
10965 cat >>conftest.$ac_ext <<_ACEOF
10966 /* end confdefs.h. */
10967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10969 #define $ac_func innocuous_$ac_func
10971 /* System header to define __stub macros and hopefully few prototypes,
10972 which can conflict with char $ac_func (); below.
10973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10974 <limits.h> exists even on freestanding compilers. */
10976 #ifdef __STDC__
10977 # include <limits.h>
10978 #else
10979 # include <assert.h>
10980 #endif
10982 #undef $ac_func
10984 /* Override any gcc2 internal prototype to avoid an error. */
10985 #ifdef __cplusplus
10986 extern "C"
10988 #endif
10989 /* We use char because int might match the return type of a gcc2
10990 builtin and then its argument prototype would still apply. */
10991 char $ac_func ();
10992 /* The GNU C library defines this for functions which it implements
10993 to always fail with ENOSYS. Some functions are actually named
10994 something starting with __ and the normal name is an alias. */
10995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10996 choke me
10997 #else
10998 char (*f) () = $ac_func;
10999 #endif
11000 #ifdef __cplusplus
11002 #endif
11005 main ()
11007 return f != $ac_func;
11009 return 0;
11011 _ACEOF
11012 rm -f conftest.$ac_objext conftest$ac_exeext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11014 (eval $ac_link) 2>conftest.er1
11015 ac_status=$?
11016 grep -v '^ *+' conftest.er1 >conftest.err
11017 rm -f conftest.er1
11018 cat conftest.err >&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } &&
11021 { ac_try='test -z "$ac_c_werror_flag"
11022 || test ! -s conftest.err'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11025 ac_status=$?
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; } &&
11028 { ac_try='test -s conftest$ac_exeext'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11031 ac_status=$?
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11034 eval "$as_ac_var=yes"
11035 else
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.$ac_ext >&5
11039 eval "$as_ac_var=no"
11041 rm -f conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11046 if test `eval echo '${'$as_ac_var'}'` = yes; then
11047 cat >>confdefs.h <<_ACEOF
11048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11049 _ACEOF
11052 done
11054 else
11056 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11057 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11058 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11059 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 else
11065 ac_ext=cc
11066 ac_cpp='$CXXCPP $CPPFLAGS'
11067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11071 cat >conftest.$ac_ext <<_ACEOF
11072 /* confdefs.h. */
11073 _ACEOF
11074 cat confdefs.h >>conftest.$ac_ext
11075 cat >>conftest.$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11077 #include <math.h>
11078 #ifdef HAVE_IEEEFP_H
11079 #include <ieeefp.h>
11080 #endif
11083 main ()
11085 _qfpclass(0);
11087 return 0;
11089 _ACEOF
11090 rm -f conftest.$ac_objext
11091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11092 (eval $ac_compile) 2>conftest.er1
11093 ac_status=$?
11094 grep -v '^ *+' conftest.er1 >conftest.err
11095 rm -f conftest.er1
11096 cat conftest.err >&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try='test -z "$ac_cxx_werror_flag"
11100 || test ! -s conftest.err'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; } &&
11106 { ac_try='test -s conftest.$ac_objext'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11109 ac_status=$?
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; }; then
11112 glibcxx_cv_func__qfpclass_use=yes
11113 else
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11117 glibcxx_cv_func__qfpclass_use=no
11119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11120 ac_ext=c
11121 ac_cpp='$CPP $CPPFLAGS'
11122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11130 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11131 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11133 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11135 for ac_func in _qfpclass
11137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11138 echo "$as_me:$LINENO: checking for $ac_func" >&5
11139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11140 if eval "test \"\${$as_ac_var+set}\" = set"; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 else
11143 if test x$gcc_no_link = xyes; then
11144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11146 { (exit 1); exit 1; }; }
11148 cat >conftest.$ac_ext <<_ACEOF
11149 /* confdefs.h. */
11150 _ACEOF
11151 cat confdefs.h >>conftest.$ac_ext
11152 cat >>conftest.$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11156 #define $ac_func innocuous_$ac_func
11158 /* System header to define __stub macros and hopefully few prototypes,
11159 which can conflict with char $ac_func (); below.
11160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11161 <limits.h> exists even on freestanding compilers. */
11163 #ifdef __STDC__
11164 # include <limits.h>
11165 #else
11166 # include <assert.h>
11167 #endif
11169 #undef $ac_func
11171 /* Override any gcc2 internal prototype to avoid an error. */
11172 #ifdef __cplusplus
11173 extern "C"
11175 #endif
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11178 char $ac_func ();
11179 /* The GNU C library defines this for functions which it implements
11180 to always fail with ENOSYS. Some functions are actually named
11181 something starting with __ and the normal name is an alias. */
11182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11183 choke me
11184 #else
11185 char (*f) () = $ac_func;
11186 #endif
11187 #ifdef __cplusplus
11189 #endif
11192 main ()
11194 return f != $ac_func;
11196 return 0;
11198 _ACEOF
11199 rm -f conftest.$ac_objext conftest$ac_exeext
11200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11201 (eval $ac_link) 2>conftest.er1
11202 ac_status=$?
11203 grep -v '^ *+' conftest.er1 >conftest.err
11204 rm -f conftest.er1
11205 cat conftest.err >&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try='test -z "$ac_c_werror_flag"
11209 || test ! -s conftest.err'
11210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11211 (eval $ac_try) 2>&5
11212 ac_status=$?
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); }; } &&
11215 { ac_try='test -s conftest$ac_exeext'
11216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217 (eval $ac_try) 2>&5
11218 ac_status=$?
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; }; then
11221 eval "$as_ac_var=yes"
11222 else
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.$ac_ext >&5
11226 eval "$as_ac_var=no"
11228 rm -f conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11233 if test `eval echo '${'$as_ac_var'}'` = yes; then
11234 cat >>confdefs.h <<_ACEOF
11235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11236 _ACEOF
11239 done
11249 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11250 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11251 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11252 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 else
11258 ac_ext=cc
11259 ac_cpp='$CXXCPP $CPPFLAGS'
11260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 #include <math.h>
11272 main ()
11274 hypot(0, 0);
11276 return 0;
11278 _ACEOF
11279 rm -f conftest.$ac_objext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11281 (eval $ac_compile) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest.$ac_objext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 glibcxx_cv_func_hypot_use=yes
11302 else
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.$ac_ext >&5
11306 glibcxx_cv_func_hypot_use=no
11308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11309 ac_ext=c
11310 ac_cpp='$CPP $CPPFLAGS'
11311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11320 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11322 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11324 for ac_func in hypot
11326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11327 echo "$as_me:$LINENO: checking for $ac_func" >&5
11328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11329 if eval "test \"\${$as_ac_var+set}\" = set"; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 else
11332 if test x$gcc_no_link = xyes; then
11333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11335 { (exit 1); exit 1; }; }
11337 cat >conftest.$ac_ext <<_ACEOF
11338 /* confdefs.h. */
11339 _ACEOF
11340 cat confdefs.h >>conftest.$ac_ext
11341 cat >>conftest.$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11345 #define $ac_func innocuous_$ac_func
11347 /* System header to define __stub macros and hopefully few prototypes,
11348 which can conflict with char $ac_func (); below.
11349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11350 <limits.h> exists even on freestanding compilers. */
11352 #ifdef __STDC__
11353 # include <limits.h>
11354 #else
11355 # include <assert.h>
11356 #endif
11358 #undef $ac_func
11360 /* Override any gcc2 internal prototype to avoid an error. */
11361 #ifdef __cplusplus
11362 extern "C"
11364 #endif
11365 /* We use char because int might match the return type of a gcc2
11366 builtin and then its argument prototype would still apply. */
11367 char $ac_func ();
11368 /* The GNU C library defines this for functions which it implements
11369 to always fail with ENOSYS. Some functions are actually named
11370 something starting with __ and the normal name is an alias. */
11371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11372 choke me
11373 #else
11374 char (*f) () = $ac_func;
11375 #endif
11376 #ifdef __cplusplus
11378 #endif
11381 main ()
11383 return f != $ac_func;
11385 return 0;
11387 _ACEOF
11388 rm -f conftest.$ac_objext conftest$ac_exeext
11389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11390 (eval $ac_link) 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -z "$ac_c_werror_flag"
11398 || test ! -s conftest.err'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11401 ac_status=$?
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; } &&
11404 { ac_try='test -s conftest$ac_exeext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11407 ac_status=$?
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 eval "$as_ac_var=yes"
11411 else
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 eval "$as_ac_var=no"
11417 rm -f conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11422 if test `eval echo '${'$as_ac_var'}'` = yes; then
11423 cat >>confdefs.h <<_ACEOF
11424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11425 _ACEOF
11428 done
11430 else
11432 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11433 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11434 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11435 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 else
11441 ac_ext=cc
11442 ac_cpp='$CXXCPP $CPPFLAGS'
11443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11447 cat >conftest.$ac_ext <<_ACEOF
11448 /* confdefs.h. */
11449 _ACEOF
11450 cat confdefs.h >>conftest.$ac_ext
11451 cat >>conftest.$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 #include <math.h>
11455 main ()
11457 _hypot(0, 0);
11459 return 0;
11461 _ACEOF
11462 rm -f conftest.$ac_objext
11463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11464 (eval $ac_compile) 2>conftest.er1
11465 ac_status=$?
11466 grep -v '^ *+' conftest.er1 >conftest.err
11467 rm -f conftest.er1
11468 cat conftest.err >&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); } &&
11471 { ac_try='test -z "$ac_cxx_werror_flag"
11472 || test ! -s conftest.err'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11475 ac_status=$?
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; } &&
11478 { ac_try='test -s conftest.$ac_objext'
11479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480 (eval $ac_try) 2>&5
11481 ac_status=$?
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }; }; then
11484 glibcxx_cv_func__hypot_use=yes
11485 else
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.$ac_ext >&5
11489 glibcxx_cv_func__hypot_use=no
11491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11492 ac_ext=c
11493 ac_cpp='$CPP $CPPFLAGS'
11494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11503 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11505 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11507 for ac_func in _hypot
11509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11510 echo "$as_me:$LINENO: checking for $ac_func" >&5
11511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11512 if eval "test \"\${$as_ac_var+set}\" = set"; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 else
11515 if test x$gcc_no_link = xyes; then
11516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11518 { (exit 1); exit 1; }; }
11520 cat >conftest.$ac_ext <<_ACEOF
11521 /* confdefs.h. */
11522 _ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11528 #define $ac_func innocuous_$ac_func
11530 /* System header to define __stub macros and hopefully few prototypes,
11531 which can conflict with char $ac_func (); below.
11532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11533 <limits.h> exists even on freestanding compilers. */
11535 #ifdef __STDC__
11536 # include <limits.h>
11537 #else
11538 # include <assert.h>
11539 #endif
11541 #undef $ac_func
11543 /* Override any gcc2 internal prototype to avoid an error. */
11544 #ifdef __cplusplus
11545 extern "C"
11547 #endif
11548 /* We use char because int might match the return type of a gcc2
11549 builtin and then its argument prototype would still apply. */
11550 char $ac_func ();
11551 /* The GNU C library defines this for functions which it implements
11552 to always fail with ENOSYS. Some functions are actually named
11553 something starting with __ and the normal name is an alias. */
11554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11555 choke me
11556 #else
11557 char (*f) () = $ac_func;
11558 #endif
11559 #ifdef __cplusplus
11561 #endif
11564 main ()
11566 return f != $ac_func;
11568 return 0;
11570 _ACEOF
11571 rm -f conftest.$ac_objext conftest$ac_exeext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11573 (eval $ac_link) 2>conftest.er1
11574 ac_status=$?
11575 grep -v '^ *+' conftest.er1 >conftest.err
11576 rm -f conftest.er1
11577 cat conftest.err >&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try='test -z "$ac_c_werror_flag"
11581 || test ! -s conftest.err'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11584 ac_status=$?
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; } &&
11587 { ac_try='test -s conftest$ac_exeext'
11588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589 (eval $ac_try) 2>&5
11590 ac_status=$?
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); }; }; then
11593 eval "$as_ac_var=yes"
11594 else
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.$ac_ext >&5
11598 eval "$as_ac_var=no"
11600 rm -f conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11605 if test `eval echo '${'$as_ac_var'}'` = yes; then
11606 cat >>confdefs.h <<_ACEOF
11607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11608 _ACEOF
11611 done
11621 echo "$as_me:$LINENO: checking for float trig functions" >&5
11622 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11623 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 else
11629 ac_ext=cc
11630 ac_cpp='$CXXCPP $CPPFLAGS'
11631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11635 cat >conftest.$ac_ext <<_ACEOF
11636 /* confdefs.h. */
11637 _ACEOF
11638 cat confdefs.h >>conftest.$ac_ext
11639 cat >>conftest.$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11641 #include <math.h>
11643 main ()
11645 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11647 return 0;
11649 _ACEOF
11650 rm -f conftest.$ac_objext
11651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11652 (eval $ac_compile) 2>conftest.er1
11653 ac_status=$?
11654 grep -v '^ *+' conftest.er1 >conftest.err
11655 rm -f conftest.er1
11656 cat conftest.err >&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try='test -z "$ac_cxx_werror_flag"
11660 || test ! -s conftest.err'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11663 ac_status=$?
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; } &&
11666 { ac_try='test -s conftest.$ac_objext'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11669 ac_status=$?
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; }; then
11672 glibcxx_cv_func_float_trig_use=yes
11673 else
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 glibcxx_cv_func_float_trig_use=no
11679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11680 ac_ext=c
11681 ac_cpp='$CPP $CPPFLAGS'
11682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11689 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11690 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11700 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11703 echo "$as_me:$LINENO: checking for $ac_func" >&5
11704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11705 if eval "test \"\${$as_ac_var+set}\" = set"; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 else
11708 if test x$gcc_no_link = xyes; then
11709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11711 { (exit 1); exit 1; }; }
11713 cat >conftest.$ac_ext <<_ACEOF
11714 /* confdefs.h. */
11715 _ACEOF
11716 cat confdefs.h >>conftest.$ac_ext
11717 cat >>conftest.$ac_ext <<_ACEOF
11718 /* end confdefs.h. */
11719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11721 #define $ac_func innocuous_$ac_func
11723 /* System header to define __stub macros and hopefully few prototypes,
11724 which can conflict with char $ac_func (); below.
11725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11726 <limits.h> exists even on freestanding compilers. */
11728 #ifdef __STDC__
11729 # include <limits.h>
11730 #else
11731 # include <assert.h>
11732 #endif
11734 #undef $ac_func
11736 /* Override any gcc2 internal prototype to avoid an error. */
11737 #ifdef __cplusplus
11738 extern "C"
11740 #endif
11741 /* We use char because int might match the return type of a gcc2
11742 builtin and then its argument prototype would still apply. */
11743 char $ac_func ();
11744 /* The GNU C library defines this for functions which it implements
11745 to always fail with ENOSYS. Some functions are actually named
11746 something starting with __ and the normal name is an alias. */
11747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11748 choke me
11749 #else
11750 char (*f) () = $ac_func;
11751 #endif
11752 #ifdef __cplusplus
11754 #endif
11757 main ()
11759 return f != $ac_func;
11761 return 0;
11763 _ACEOF
11764 rm -f conftest.$ac_objext conftest$ac_exeext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>conftest.er1
11767 ac_status=$?
11768 grep -v '^ *+' conftest.er1 >conftest.err
11769 rm -f conftest.er1
11770 cat conftest.err >&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); } &&
11773 { ac_try='test -z "$ac_c_werror_flag"
11774 || test ! -s conftest.err'
11775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776 (eval $ac_try) 2>&5
11777 ac_status=$?
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); }; } &&
11780 { ac_try='test -s conftest$ac_exeext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11783 ac_status=$?
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 eval "$as_ac_var=yes"
11787 else
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11791 eval "$as_ac_var=no"
11793 rm -f conftest.err conftest.$ac_objext \
11794 conftest$ac_exeext conftest.$ac_ext
11796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11798 if test `eval echo '${'$as_ac_var'}'` = yes; then
11799 cat >>confdefs.h <<_ACEOF
11800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11801 _ACEOF
11804 done
11806 else
11807 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11808 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11809 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11810 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 else
11815 ac_ext=cc
11816 ac_cpp='$CXXCPP $CPPFLAGS'
11817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11821 cat >conftest.$ac_ext <<_ACEOF
11822 /* confdefs.h. */
11823 _ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11827 #include <math.h>
11829 main ()
11831 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11833 return 0;
11835 _ACEOF
11836 rm -f conftest.$ac_objext
11837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11838 (eval $ac_compile) 2>conftest.er1
11839 ac_status=$?
11840 grep -v '^ *+' conftest.er1 >conftest.err
11841 rm -f conftest.er1
11842 cat conftest.err >&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); } &&
11845 { ac_try='test -z "$ac_cxx_werror_flag"
11846 || test ! -s conftest.err'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11849 ac_status=$?
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; } &&
11852 { ac_try='test -s conftest.$ac_objext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11855 ac_status=$?
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11858 glibcxx_cv_func__float_trig_use=yes
11859 else
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.$ac_ext >&5
11863 glibcxx_cv_func__float_trig_use=no
11865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11866 ac_ext=c
11867 ac_cpp='$CPP $CPPFLAGS'
11868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11875 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11876 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11886 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11889 echo "$as_me:$LINENO: checking for $ac_func" >&5
11890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11891 if eval "test \"\${$as_ac_var+set}\" = set"; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11893 else
11894 if test x$gcc_no_link = xyes; then
11895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11897 { (exit 1); exit 1; }; }
11899 cat >conftest.$ac_ext <<_ACEOF
11900 /* confdefs.h. */
11901 _ACEOF
11902 cat confdefs.h >>conftest.$ac_ext
11903 cat >>conftest.$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11907 #define $ac_func innocuous_$ac_func
11909 /* System header to define __stub macros and hopefully few prototypes,
11910 which can conflict with char $ac_func (); below.
11911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11912 <limits.h> exists even on freestanding compilers. */
11914 #ifdef __STDC__
11915 # include <limits.h>
11916 #else
11917 # include <assert.h>
11918 #endif
11920 #undef $ac_func
11922 /* Override any gcc2 internal prototype to avoid an error. */
11923 #ifdef __cplusplus
11924 extern "C"
11926 #endif
11927 /* We use char because int might match the return type of a gcc2
11928 builtin and then its argument prototype would still apply. */
11929 char $ac_func ();
11930 /* The GNU C library defines this for functions which it implements
11931 to always fail with ENOSYS. Some functions are actually named
11932 something starting with __ and the normal name is an alias. */
11933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11934 choke me
11935 #else
11936 char (*f) () = $ac_func;
11937 #endif
11938 #ifdef __cplusplus
11940 #endif
11943 main ()
11945 return f != $ac_func;
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>conftest.er1
11953 ac_status=$?
11954 grep -v '^ *+' conftest.er1 >conftest.err
11955 rm -f conftest.er1
11956 cat conftest.err >&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try='test -z "$ac_c_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11972 eval "$as_ac_var=yes"
11973 else
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11977 eval "$as_ac_var=no"
11979 rm -f conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11984 if test `eval echo '${'$as_ac_var'}'` = yes; then
11985 cat >>confdefs.h <<_ACEOF
11986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11987 _ACEOF
11990 done
12008 echo "$as_me:$LINENO: checking for float round functions" >&5
12009 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
12010 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 else
12016 ac_ext=cc
12017 ac_cpp='$CXXCPP $CPPFLAGS'
12018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12022 cat >conftest.$ac_ext <<_ACEOF
12023 /* confdefs.h. */
12024 _ACEOF
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12028 #include <math.h>
12030 main ()
12032 ceilf (0); floorf (0);
12034 return 0;
12036 _ACEOF
12037 rm -f conftest.$ac_objext
12038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12039 (eval $ac_compile) 2>conftest.er1
12040 ac_status=$?
12041 grep -v '^ *+' conftest.er1 >conftest.err
12042 rm -f conftest.er1
12043 cat conftest.err >&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); } &&
12046 { ac_try='test -z "$ac_cxx_werror_flag"
12047 || test ! -s conftest.err'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12050 ac_status=$?
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); }; } &&
12053 { ac_try='test -s conftest.$ac_objext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12056 ac_status=$?
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; }; then
12059 glibcxx_cv_func_float_round_use=yes
12060 else
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12064 glibcxx_cv_func_float_round_use=no
12066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12067 ac_ext=c
12068 ac_cpp='$CPP $CPPFLAGS'
12069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12076 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12077 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12080 for ac_func in ceilf floorf
12082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12083 echo "$as_me:$LINENO: checking for $ac_func" >&5
12084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12085 if eval "test \"\${$as_ac_var+set}\" = set"; then
12086 echo $ECHO_N "(cached) $ECHO_C" >&6
12087 else
12088 if test x$gcc_no_link = xyes; then
12089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12091 { (exit 1); exit 1; }; }
12093 cat >conftest.$ac_ext <<_ACEOF
12094 /* confdefs.h. */
12095 _ACEOF
12096 cat confdefs.h >>conftest.$ac_ext
12097 cat >>conftest.$ac_ext <<_ACEOF
12098 /* end confdefs.h. */
12099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12101 #define $ac_func innocuous_$ac_func
12103 /* System header to define __stub macros and hopefully few prototypes,
12104 which can conflict with char $ac_func (); below.
12105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12106 <limits.h> exists even on freestanding compilers. */
12108 #ifdef __STDC__
12109 # include <limits.h>
12110 #else
12111 # include <assert.h>
12112 #endif
12114 #undef $ac_func
12116 /* Override any gcc2 internal prototype to avoid an error. */
12117 #ifdef __cplusplus
12118 extern "C"
12120 #endif
12121 /* We use char because int might match the return type of a gcc2
12122 builtin and then its argument prototype would still apply. */
12123 char $ac_func ();
12124 /* The GNU C library defines this for functions which it implements
12125 to always fail with ENOSYS. Some functions are actually named
12126 something starting with __ and the normal name is an alias. */
12127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12128 choke me
12129 #else
12130 char (*f) () = $ac_func;
12131 #endif
12132 #ifdef __cplusplus
12134 #endif
12137 main ()
12139 return f != $ac_func;
12141 return 0;
12143 _ACEOF
12144 rm -f conftest.$ac_objext conftest$ac_exeext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12146 (eval $ac_link) 2>conftest.er1
12147 ac_status=$?
12148 grep -v '^ *+' conftest.er1 >conftest.err
12149 rm -f conftest.er1
12150 cat conftest.err >&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try='test -z "$ac_c_werror_flag"
12154 || test ! -s conftest.err'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12157 ac_status=$?
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } &&
12160 { ac_try='test -s conftest$ac_exeext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12163 ac_status=$?
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 eval "$as_ac_var=yes"
12167 else
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.$ac_ext >&5
12171 eval "$as_ac_var=no"
12173 rm -f conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12178 if test `eval echo '${'$as_ac_var'}'` = yes; then
12179 cat >>confdefs.h <<_ACEOF
12180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12181 _ACEOF
12184 done
12186 else
12187 echo "$as_me:$LINENO: checking for _float round functions" >&5
12188 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12189 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 else
12195 ac_ext=cc
12196 ac_cpp='$CXXCPP $CPPFLAGS'
12197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12201 cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h. */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <math.h>
12209 main ()
12211 _ceilf (0); _floorf (0);
12213 return 0;
12215 _ACEOF
12216 rm -f conftest.$ac_objext
12217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12218 (eval $ac_compile) 2>conftest.er1
12219 ac_status=$?
12220 grep -v '^ *+' conftest.er1 >conftest.err
12221 rm -f conftest.er1
12222 cat conftest.err >&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } &&
12225 { ac_try='test -z "$ac_cxx_werror_flag"
12226 || test ! -s conftest.err'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12229 ac_status=$?
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; } &&
12232 { ac_try='test -s conftest.$ac_objext'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12235 ac_status=$?
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; }; then
12238 glibcxx_cv_func__float_round_use=yes
12239 else
12240 echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.$ac_ext >&5
12243 glibcxx_cv_func__float_round_use=no
12245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12246 ac_ext=c
12247 ac_cpp='$CPP $CPPFLAGS'
12248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12255 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12256 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12259 for ac_func in _ceilf _floorf
12261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12262 echo "$as_me:$LINENO: checking for $ac_func" >&5
12263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12264 if eval "test \"\${$as_ac_var+set}\" = set"; then
12265 echo $ECHO_N "(cached) $ECHO_C" >&6
12266 else
12267 if test x$gcc_no_link = xyes; then
12268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12270 { (exit 1); exit 1; }; }
12272 cat >conftest.$ac_ext <<_ACEOF
12273 /* confdefs.h. */
12274 _ACEOF
12275 cat confdefs.h >>conftest.$ac_ext
12276 cat >>conftest.$ac_ext <<_ACEOF
12277 /* end confdefs.h. */
12278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12280 #define $ac_func innocuous_$ac_func
12282 /* System header to define __stub macros and hopefully few prototypes,
12283 which can conflict with char $ac_func (); below.
12284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12285 <limits.h> exists even on freestanding compilers. */
12287 #ifdef __STDC__
12288 # include <limits.h>
12289 #else
12290 # include <assert.h>
12291 #endif
12293 #undef $ac_func
12295 /* Override any gcc2 internal prototype to avoid an error. */
12296 #ifdef __cplusplus
12297 extern "C"
12299 #endif
12300 /* We use char because int might match the return type of a gcc2
12301 builtin and then its argument prototype would still apply. */
12302 char $ac_func ();
12303 /* The GNU C library defines this for functions which it implements
12304 to always fail with ENOSYS. Some functions are actually named
12305 something starting with __ and the normal name is an alias. */
12306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12307 choke me
12308 #else
12309 char (*f) () = $ac_func;
12310 #endif
12311 #ifdef __cplusplus
12313 #endif
12316 main ()
12318 return f != $ac_func;
12320 return 0;
12322 _ACEOF
12323 rm -f conftest.$ac_objext conftest$ac_exeext
12324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12325 (eval $ac_link) 2>conftest.er1
12326 ac_status=$?
12327 grep -v '^ *+' conftest.er1 >conftest.err
12328 rm -f conftest.er1
12329 cat conftest.err >&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } &&
12332 { ac_try='test -z "$ac_c_werror_flag"
12333 || test ! -s conftest.err'
12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12335 (eval $ac_try) 2>&5
12336 ac_status=$?
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; } &&
12339 { ac_try='test -s conftest$ac_exeext'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12342 ac_status=$?
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; }; then
12345 eval "$as_ac_var=yes"
12346 else
12347 echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 eval "$as_ac_var=no"
12352 rm -f conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12357 if test `eval echo '${'$as_ac_var'}'` = yes; then
12358 cat >>confdefs.h <<_ACEOF
12359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12360 _ACEOF
12363 done
12375 echo "$as_me:$LINENO: checking for expf declaration" >&5
12376 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12377 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12378 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12379 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 else
12384 ac_ext=cc
12385 ac_cpp='$CXXCPP $CPPFLAGS'
12386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12390 cat >conftest.$ac_ext <<_ACEOF
12391 /* confdefs.h. */
12392 _ACEOF
12393 cat confdefs.h >>conftest.$ac_ext
12394 cat >>conftest.$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12396 #include <math.h>
12397 #ifdef HAVE_IEEEFP_H
12398 #include <ieeefp.h>
12399 #endif
12402 main ()
12404 expf(0);
12406 return 0;
12408 _ACEOF
12409 rm -f conftest.$ac_objext
12410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12411 (eval $ac_compile) 2>conftest.er1
12412 ac_status=$?
12413 grep -v '^ *+' conftest.er1 >conftest.err
12414 rm -f conftest.er1
12415 cat conftest.err >&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try='test -z "$ac_cxx_werror_flag"
12419 || test ! -s conftest.err'
12420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12421 (eval $ac_try) 2>&5
12422 ac_status=$?
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); }; } &&
12425 { ac_try='test -s conftest.$ac_objext'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12428 ac_status=$?
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; }; then
12431 glibcxx_cv_func_expf_use=yes
12432 else
12433 echo "$as_me: failed program was:" >&5
12434 sed 's/^/| /' conftest.$ac_ext >&5
12436 glibcxx_cv_func_expf_use=no
12438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12439 ac_ext=c
12440 ac_cpp='$CPP $CPPFLAGS'
12441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12450 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12452 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12454 for ac_func in expf
12456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12457 echo "$as_me:$LINENO: checking for $ac_func" >&5
12458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12459 if eval "test \"\${$as_ac_var+set}\" = set"; then
12460 echo $ECHO_N "(cached) $ECHO_C" >&6
12461 else
12462 if test x$gcc_no_link = xyes; then
12463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12465 { (exit 1); exit 1; }; }
12467 cat >conftest.$ac_ext <<_ACEOF
12468 /* confdefs.h. */
12469 _ACEOF
12470 cat confdefs.h >>conftest.$ac_ext
12471 cat >>conftest.$ac_ext <<_ACEOF
12472 /* end confdefs.h. */
12473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12475 #define $ac_func innocuous_$ac_func
12477 /* System header to define __stub macros and hopefully few prototypes,
12478 which can conflict with char $ac_func (); below.
12479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12480 <limits.h> exists even on freestanding compilers. */
12482 #ifdef __STDC__
12483 # include <limits.h>
12484 #else
12485 # include <assert.h>
12486 #endif
12488 #undef $ac_func
12490 /* Override any gcc2 internal prototype to avoid an error. */
12491 #ifdef __cplusplus
12492 extern "C"
12494 #endif
12495 /* We use char because int might match the return type of a gcc2
12496 builtin and then its argument prototype would still apply. */
12497 char $ac_func ();
12498 /* The GNU C library defines this for functions which it implements
12499 to always fail with ENOSYS. Some functions are actually named
12500 something starting with __ and the normal name is an alias. */
12501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12502 choke me
12503 #else
12504 char (*f) () = $ac_func;
12505 #endif
12506 #ifdef __cplusplus
12508 #endif
12511 main ()
12513 return f != $ac_func;
12515 return 0;
12517 _ACEOF
12518 rm -f conftest.$ac_objext conftest$ac_exeext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12520 (eval $ac_link) 2>conftest.er1
12521 ac_status=$?
12522 grep -v '^ *+' conftest.er1 >conftest.err
12523 rm -f conftest.er1
12524 cat conftest.err >&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try='test -z "$ac_c_werror_flag"
12528 || test ! -s conftest.err'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12531 ac_status=$?
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; } &&
12534 { ac_try='test -s conftest$ac_exeext'
12535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12536 (eval $ac_try) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; }; then
12540 eval "$as_ac_var=yes"
12541 else
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.$ac_ext >&5
12545 eval "$as_ac_var=no"
12547 rm -f conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12552 if test `eval echo '${'$as_ac_var'}'` = yes; then
12553 cat >>confdefs.h <<_ACEOF
12554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12555 _ACEOF
12558 done
12560 else
12562 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12563 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12564 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12565 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12566 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 else
12571 ac_ext=cc
12572 ac_cpp='$CXXCPP $CPPFLAGS'
12573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12577 cat >conftest.$ac_ext <<_ACEOF
12578 /* confdefs.h. */
12579 _ACEOF
12580 cat confdefs.h >>conftest.$ac_ext
12581 cat >>conftest.$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 #include <math.h>
12584 #ifdef HAVE_IEEEFP_H
12585 #include <ieeefp.h>
12586 #endif
12589 main ()
12591 _expf(0);
12593 return 0;
12595 _ACEOF
12596 rm -f conftest.$ac_objext
12597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12598 (eval $ac_compile) 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } &&
12605 { ac_try='test -z "$ac_cxx_werror_flag"
12606 || test ! -s conftest.err'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12609 ac_status=$?
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; } &&
12612 { ac_try='test -s conftest.$ac_objext'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12615 ac_status=$?
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; }; then
12618 glibcxx_cv_func__expf_use=yes
12619 else
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12623 glibcxx_cv_func__expf_use=no
12625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12626 ac_ext=c
12627 ac_cpp='$CPP $CPPFLAGS'
12628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12637 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12639 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12641 for ac_func in _expf
12643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12644 echo "$as_me:$LINENO: checking for $ac_func" >&5
12645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12646 if eval "test \"\${$as_ac_var+set}\" = set"; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 else
12649 if test x$gcc_no_link = xyes; then
12650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12652 { (exit 1); exit 1; }; }
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12662 #define $ac_func innocuous_$ac_func
12664 /* System header to define __stub macros and hopefully few prototypes,
12665 which can conflict with char $ac_func (); below.
12666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12667 <limits.h> exists even on freestanding compilers. */
12669 #ifdef __STDC__
12670 # include <limits.h>
12671 #else
12672 # include <assert.h>
12673 #endif
12675 #undef $ac_func
12677 /* Override any gcc2 internal prototype to avoid an error. */
12678 #ifdef __cplusplus
12679 extern "C"
12681 #endif
12682 /* We use char because int might match the return type of a gcc2
12683 builtin and then its argument prototype would still apply. */
12684 char $ac_func ();
12685 /* The GNU C library defines this for functions which it implements
12686 to always fail with ENOSYS. Some functions are actually named
12687 something starting with __ and the normal name is an alias. */
12688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12689 choke me
12690 #else
12691 char (*f) () = $ac_func;
12692 #endif
12693 #ifdef __cplusplus
12695 #endif
12698 main ()
12700 return f != $ac_func;
12702 return 0;
12704 _ACEOF
12705 rm -f conftest.$ac_objext conftest$ac_exeext
12706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12707 (eval $ac_link) 2>conftest.er1
12708 ac_status=$?
12709 grep -v '^ *+' conftest.er1 >conftest.err
12710 rm -f conftest.er1
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try='test -z "$ac_c_werror_flag"
12715 || test ! -s conftest.err'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; } &&
12721 { ac_try='test -s conftest$ac_exeext'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12724 ac_status=$?
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; }; then
12727 eval "$as_ac_var=yes"
12728 else
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.$ac_ext >&5
12732 eval "$as_ac_var=no"
12734 rm -f conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12739 if test `eval echo '${'$as_ac_var'}'` = yes; then
12740 cat >>confdefs.h <<_ACEOF
12741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12742 _ACEOF
12745 done
12755 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12756 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12757 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12758 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12759 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 else
12764 ac_ext=cc
12765 ac_cpp='$CXXCPP $CPPFLAGS'
12766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12770 cat >conftest.$ac_ext <<_ACEOF
12771 /* confdefs.h. */
12772 _ACEOF
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12776 #include <math.h>
12777 #ifdef HAVE_IEEEFP_H
12778 #include <ieeefp.h>
12779 #endif
12782 main ()
12784 isnanf(0);
12786 return 0;
12788 _ACEOF
12789 rm -f conftest.$ac_objext
12790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12791 (eval $ac_compile) 2>conftest.er1
12792 ac_status=$?
12793 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } &&
12798 { ac_try='test -z "$ac_cxx_werror_flag"
12799 || test ! -s conftest.err'
12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 (eval $ac_try) 2>&5
12802 ac_status=$?
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; } &&
12805 { ac_try='test -s conftest.$ac_objext'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12808 ac_status=$?
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; }; then
12811 glibcxx_cv_func_isnanf_use=yes
12812 else
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12816 glibcxx_cv_func_isnanf_use=no
12818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12819 ac_ext=c
12820 ac_cpp='$CPP $CPPFLAGS'
12821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12830 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12832 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12834 for ac_func in isnanf
12836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12837 echo "$as_me:$LINENO: checking for $ac_func" >&5
12838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12839 if eval "test \"\${$as_ac_var+set}\" = set"; then
12840 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 else
12842 if test x$gcc_no_link = xyes; then
12843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12845 { (exit 1); exit 1; }; }
12847 cat >conftest.$ac_ext <<_ACEOF
12848 /* confdefs.h. */
12849 _ACEOF
12850 cat confdefs.h >>conftest.$ac_ext
12851 cat >>conftest.$ac_ext <<_ACEOF
12852 /* end confdefs.h. */
12853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12855 #define $ac_func innocuous_$ac_func
12857 /* System header to define __stub macros and hopefully few prototypes,
12858 which can conflict with char $ac_func (); below.
12859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12860 <limits.h> exists even on freestanding compilers. */
12862 #ifdef __STDC__
12863 # include <limits.h>
12864 #else
12865 # include <assert.h>
12866 #endif
12868 #undef $ac_func
12870 /* Override any gcc2 internal prototype to avoid an error. */
12871 #ifdef __cplusplus
12872 extern "C"
12874 #endif
12875 /* We use char because int might match the return type of a gcc2
12876 builtin and then its argument prototype would still apply. */
12877 char $ac_func ();
12878 /* The GNU C library defines this for functions which it implements
12879 to always fail with ENOSYS. Some functions are actually named
12880 something starting with __ and the normal name is an alias. */
12881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12882 choke me
12883 #else
12884 char (*f) () = $ac_func;
12885 #endif
12886 #ifdef __cplusplus
12888 #endif
12891 main ()
12893 return f != $ac_func;
12895 return 0;
12897 _ACEOF
12898 rm -f conftest.$ac_objext conftest$ac_exeext
12899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12900 (eval $ac_link) 2>conftest.er1
12901 ac_status=$?
12902 grep -v '^ *+' conftest.er1 >conftest.err
12903 rm -f conftest.er1
12904 cat conftest.err >&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); } &&
12907 { ac_try='test -z "$ac_c_werror_flag"
12908 || test ! -s conftest.err'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12911 ac_status=$?
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; } &&
12914 { ac_try='test -s conftest$ac_exeext'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; }; then
12920 eval "$as_ac_var=yes"
12921 else
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 eval "$as_ac_var=no"
12927 rm -f conftest.err conftest.$ac_objext \
12928 conftest$ac_exeext conftest.$ac_ext
12930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12932 if test `eval echo '${'$as_ac_var'}'` = yes; then
12933 cat >>confdefs.h <<_ACEOF
12934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12935 _ACEOF
12938 done
12940 else
12942 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12943 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12944 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12945 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 else
12951 ac_ext=cc
12952 ac_cpp='$CXXCPP $CPPFLAGS'
12953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12957 cat >conftest.$ac_ext <<_ACEOF
12958 /* confdefs.h. */
12959 _ACEOF
12960 cat confdefs.h >>conftest.$ac_ext
12961 cat >>conftest.$ac_ext <<_ACEOF
12962 /* end confdefs.h. */
12963 #include <math.h>
12964 #ifdef HAVE_IEEEFP_H
12965 #include <ieeefp.h>
12966 #endif
12969 main ()
12971 _isnanf(0);
12973 return 0;
12975 _ACEOF
12976 rm -f conftest.$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12979 ac_status=$?
12980 grep -v '^ *+' conftest.er1 >conftest.err
12981 rm -f conftest.er1
12982 cat conftest.err >&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try='test -z "$ac_cxx_werror_flag"
12986 || test ! -s conftest.err'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12989 ac_status=$?
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try='test -s conftest.$ac_objext'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 glibcxx_cv_func__isnanf_use=yes
12999 else
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13003 glibcxx_cv_func__isnanf_use=no
13005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13006 ac_ext=c
13007 ac_cpp='$CPP $CPPFLAGS'
13008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13017 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13019 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13021 for ac_func in _isnanf
13023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13024 echo "$as_me:$LINENO: checking for $ac_func" >&5
13025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13026 if eval "test \"\${$as_ac_var+set}\" = set"; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 else
13029 if test x$gcc_no_link = xyes; then
13030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13032 { (exit 1); exit 1; }; }
13034 cat >conftest.$ac_ext <<_ACEOF
13035 /* confdefs.h. */
13036 _ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13042 #define $ac_func innocuous_$ac_func
13044 /* System header to define __stub macros and hopefully few prototypes,
13045 which can conflict with char $ac_func (); below.
13046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13047 <limits.h> exists even on freestanding compilers. */
13049 #ifdef __STDC__
13050 # include <limits.h>
13051 #else
13052 # include <assert.h>
13053 #endif
13055 #undef $ac_func
13057 /* Override any gcc2 internal prototype to avoid an error. */
13058 #ifdef __cplusplus
13059 extern "C"
13061 #endif
13062 /* We use char because int might match the return type of a gcc2
13063 builtin and then its argument prototype would still apply. */
13064 char $ac_func ();
13065 /* The GNU C library defines this for functions which it implements
13066 to always fail with ENOSYS. Some functions are actually named
13067 something starting with __ and the normal name is an alias. */
13068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13069 choke me
13070 #else
13071 char (*f) () = $ac_func;
13072 #endif
13073 #ifdef __cplusplus
13075 #endif
13078 main ()
13080 return f != $ac_func;
13082 return 0;
13084 _ACEOF
13085 rm -f conftest.$ac_objext conftest$ac_exeext
13086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13087 (eval $ac_link) 2>conftest.er1
13088 ac_status=$?
13089 grep -v '^ *+' conftest.er1 >conftest.err
13090 rm -f conftest.er1
13091 cat conftest.err >&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); } &&
13094 { ac_try='test -z "$ac_c_werror_flag"
13095 || test ! -s conftest.err'
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097 (eval $ac_try) 2>&5
13098 ac_status=$?
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); }; } &&
13101 { ac_try='test -s conftest$ac_exeext'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13104 ac_status=$?
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; }; then
13107 eval "$as_ac_var=yes"
13108 else
13109 echo "$as_me: failed program was:" >&5
13110 sed 's/^/| /' conftest.$ac_ext >&5
13112 eval "$as_ac_var=no"
13114 rm -f conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13119 if test `eval echo '${'$as_ac_var'}'` = yes; then
13120 cat >>confdefs.h <<_ACEOF
13121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13122 _ACEOF
13125 done
13135 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13136 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13137 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13138 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 else
13144 ac_ext=cc
13145 ac_cpp='$CXXCPP $CPPFLAGS'
13146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13150 cat >conftest.$ac_ext <<_ACEOF
13151 /* confdefs.h. */
13152 _ACEOF
13153 cat confdefs.h >>conftest.$ac_ext
13154 cat >>conftest.$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13156 #include <math.h>
13157 #ifdef HAVE_IEEEFP_H
13158 #include <ieeefp.h>
13159 #endif
13162 main ()
13164 isinff(0);
13166 return 0;
13168 _ACEOF
13169 rm -f conftest.$ac_objext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13171 (eval $ac_compile) 2>conftest.er1
13172 ac_status=$?
13173 grep -v '^ *+' conftest.er1 >conftest.err
13174 rm -f conftest.er1
13175 cat conftest.err >&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try='test -z "$ac_cxx_werror_flag"
13179 || test ! -s conftest.err'
13180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181 (eval $ac_try) 2>&5
13182 ac_status=$?
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; } &&
13185 { ac_try='test -s conftest.$ac_objext'
13186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13187 (eval $ac_try) 2>&5
13188 ac_status=$?
13189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); }; }; then
13191 glibcxx_cv_func_isinff_use=yes
13192 else
13193 echo "$as_me: failed program was:" >&5
13194 sed 's/^/| /' conftest.$ac_ext >&5
13196 glibcxx_cv_func_isinff_use=no
13198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13199 ac_ext=c
13200 ac_cpp='$CPP $CPPFLAGS'
13201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13210 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13212 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13214 for ac_func in isinff
13216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13217 echo "$as_me:$LINENO: checking for $ac_func" >&5
13218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13219 if eval "test \"\${$as_ac_var+set}\" = set"; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 else
13222 if test x$gcc_no_link = xyes; then
13223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13225 { (exit 1); exit 1; }; }
13227 cat >conftest.$ac_ext <<_ACEOF
13228 /* confdefs.h. */
13229 _ACEOF
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13235 #define $ac_func innocuous_$ac_func
13237 /* System header to define __stub macros and hopefully few prototypes,
13238 which can conflict with char $ac_func (); below.
13239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13240 <limits.h> exists even on freestanding compilers. */
13242 #ifdef __STDC__
13243 # include <limits.h>
13244 #else
13245 # include <assert.h>
13246 #endif
13248 #undef $ac_func
13250 /* Override any gcc2 internal prototype to avoid an error. */
13251 #ifdef __cplusplus
13252 extern "C"
13254 #endif
13255 /* We use char because int might match the return type of a gcc2
13256 builtin and then its argument prototype would still apply. */
13257 char $ac_func ();
13258 /* The GNU C library defines this for functions which it implements
13259 to always fail with ENOSYS. Some functions are actually named
13260 something starting with __ and the normal name is an alias. */
13261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13262 choke me
13263 #else
13264 char (*f) () = $ac_func;
13265 #endif
13266 #ifdef __cplusplus
13268 #endif
13271 main ()
13273 return f != $ac_func;
13275 return 0;
13277 _ACEOF
13278 rm -f conftest.$ac_objext conftest$ac_exeext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13280 (eval $ac_link) 2>conftest.er1
13281 ac_status=$?
13282 grep -v '^ *+' conftest.er1 >conftest.err
13283 rm -f conftest.er1
13284 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try='test -z "$ac_c_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13291 ac_status=$?
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try='test -s conftest$ac_exeext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13297 ac_status=$?
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 eval "$as_ac_var=yes"
13301 else
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13305 eval "$as_ac_var=no"
13307 rm -f conftest.err conftest.$ac_objext \
13308 conftest$ac_exeext conftest.$ac_ext
13310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13312 if test `eval echo '${'$as_ac_var'}'` = yes; then
13313 cat >>confdefs.h <<_ACEOF
13314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13315 _ACEOF
13318 done
13320 else
13322 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13323 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13324 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13325 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 else
13331 ac_ext=cc
13332 ac_cpp='$CXXCPP $CPPFLAGS'
13333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13337 cat >conftest.$ac_ext <<_ACEOF
13338 /* confdefs.h. */
13339 _ACEOF
13340 cat confdefs.h >>conftest.$ac_ext
13341 cat >>conftest.$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13343 #include <math.h>
13344 #ifdef HAVE_IEEEFP_H
13345 #include <ieeefp.h>
13346 #endif
13349 main ()
13351 _isinff(0);
13353 return 0;
13355 _ACEOF
13356 rm -f conftest.$ac_objext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358 (eval $ac_compile) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -z "$ac_cxx_werror_flag"
13366 || test ! -s conftest.err'
13367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13368 (eval $ac_try) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; } &&
13372 { ac_try='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 glibcxx_cv_func__isinff_use=yes
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13383 glibcxx_cv_func__isinff_use=no
13385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13386 ac_ext=c
13387 ac_cpp='$CPP $CPPFLAGS'
13388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13396 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13397 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13399 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13401 for ac_func in _isinff
13403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13404 echo "$as_me:$LINENO: checking for $ac_func" >&5
13405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13406 if eval "test \"\${$as_ac_var+set}\" = set"; then
13407 echo $ECHO_N "(cached) $ECHO_C" >&6
13408 else
13409 if test x$gcc_no_link = xyes; then
13410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412 { (exit 1); exit 1; }; }
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h. */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13422 #define $ac_func innocuous_$ac_func
13424 /* System header to define __stub macros and hopefully few prototypes,
13425 which can conflict with char $ac_func (); below.
13426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13427 <limits.h> exists even on freestanding compilers. */
13429 #ifdef __STDC__
13430 # include <limits.h>
13431 #else
13432 # include <assert.h>
13433 #endif
13435 #undef $ac_func
13437 /* Override any gcc2 internal prototype to avoid an error. */
13438 #ifdef __cplusplus
13439 extern "C"
13441 #endif
13442 /* We use char because int might match the return type of a gcc2
13443 builtin and then its argument prototype would still apply. */
13444 char $ac_func ();
13445 /* The GNU C library defines this for functions which it implements
13446 to always fail with ENOSYS. Some functions are actually named
13447 something starting with __ and the normal name is an alias. */
13448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13449 choke me
13450 #else
13451 char (*f) () = $ac_func;
13452 #endif
13453 #ifdef __cplusplus
13455 #endif
13458 main ()
13460 return f != $ac_func;
13462 return 0;
13464 _ACEOF
13465 rm -f conftest.$ac_objext conftest$ac_exeext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13467 (eval $ac_link) 2>conftest.er1
13468 ac_status=$?
13469 grep -v '^ *+' conftest.er1 >conftest.err
13470 rm -f conftest.er1
13471 cat conftest.err >&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); } &&
13474 { ac_try='test -z "$ac_c_werror_flag"
13475 || test ! -s conftest.err'
13476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13477 (eval $ac_try) 2>&5
13478 ac_status=$?
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }; } &&
13481 { ac_try='test -s conftest$ac_exeext'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13484 ac_status=$?
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; }; then
13487 eval "$as_ac_var=yes"
13488 else
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.$ac_ext >&5
13492 eval "$as_ac_var=no"
13494 rm -f conftest.err conftest.$ac_objext \
13495 conftest$ac_exeext conftest.$ac_ext
13497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13499 if test `eval echo '${'$as_ac_var'}'` = yes; then
13500 cat >>confdefs.h <<_ACEOF
13501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13502 _ACEOF
13505 done
13515 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13516 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13517 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13518 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 else
13524 ac_ext=cc
13525 ac_cpp='$CXXCPP $CPPFLAGS'
13526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13530 cat >conftest.$ac_ext <<_ACEOF
13531 /* confdefs.h. */
13532 _ACEOF
13533 cat confdefs.h >>conftest.$ac_ext
13534 cat >>conftest.$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <math.h>
13538 main ()
13540 atan2f(0, 0);
13542 return 0;
13544 _ACEOF
13545 rm -f conftest.$ac_objext
13546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13547 (eval $ac_compile) 2>conftest.er1
13548 ac_status=$?
13549 grep -v '^ *+' conftest.er1 >conftest.err
13550 rm -f conftest.er1
13551 cat conftest.err >&5
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); } &&
13554 { ac_try='test -z "$ac_cxx_werror_flag"
13555 || test ! -s conftest.err'
13556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13557 (eval $ac_try) 2>&5
13558 ac_status=$?
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); }; } &&
13561 { ac_try='test -s conftest.$ac_objext'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13564 ac_status=$?
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; }; then
13567 glibcxx_cv_func_atan2f_use=yes
13568 else
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.$ac_ext >&5
13572 glibcxx_cv_func_atan2f_use=no
13574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13575 ac_ext=c
13576 ac_cpp='$CPP $CPPFLAGS'
13577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13586 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13588 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13590 for ac_func in atan2f
13592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13593 echo "$as_me:$LINENO: checking for $ac_func" >&5
13594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13595 if eval "test \"\${$as_ac_var+set}\" = set"; then
13596 echo $ECHO_N "(cached) $ECHO_C" >&6
13597 else
13598 if test x$gcc_no_link = xyes; then
13599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13601 { (exit 1); exit 1; }; }
13603 cat >conftest.$ac_ext <<_ACEOF
13604 /* confdefs.h. */
13605 _ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13611 #define $ac_func innocuous_$ac_func
13613 /* System header to define __stub macros and hopefully few prototypes,
13614 which can conflict with char $ac_func (); below.
13615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13616 <limits.h> exists even on freestanding compilers. */
13618 #ifdef __STDC__
13619 # include <limits.h>
13620 #else
13621 # include <assert.h>
13622 #endif
13624 #undef $ac_func
13626 /* Override any gcc2 internal prototype to avoid an error. */
13627 #ifdef __cplusplus
13628 extern "C"
13630 #endif
13631 /* We use char because int might match the return type of a gcc2
13632 builtin and then its argument prototype would still apply. */
13633 char $ac_func ();
13634 /* The GNU C library defines this for functions which it implements
13635 to always fail with ENOSYS. Some functions are actually named
13636 something starting with __ and the normal name is an alias. */
13637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13638 choke me
13639 #else
13640 char (*f) () = $ac_func;
13641 #endif
13642 #ifdef __cplusplus
13644 #endif
13647 main ()
13649 return f != $ac_func;
13651 return 0;
13653 _ACEOF
13654 rm -f conftest.$ac_objext conftest$ac_exeext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13656 (eval $ac_link) 2>conftest.er1
13657 ac_status=$?
13658 grep -v '^ *+' conftest.er1 >conftest.err
13659 rm -f conftest.er1
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try='test -z "$ac_c_werror_flag"
13664 || test ! -s conftest.err'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13667 ac_status=$?
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; } &&
13670 { ac_try='test -s conftest$ac_exeext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13673 ac_status=$?
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13676 eval "$as_ac_var=yes"
13677 else
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13681 eval "$as_ac_var=no"
13683 rm -f conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13688 if test `eval echo '${'$as_ac_var'}'` = yes; then
13689 cat >>confdefs.h <<_ACEOF
13690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13691 _ACEOF
13694 done
13696 else
13698 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13699 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13700 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13701 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13707 ac_ext=cc
13708 ac_cpp='$CXXCPP $CPPFLAGS'
13709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13713 cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h. */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13719 #include <math.h>
13721 main ()
13723 _atan2f(0, 0);
13725 return 0;
13727 _ACEOF
13728 rm -f conftest.$ac_objext
13729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13730 (eval $ac_compile) 2>conftest.er1
13731 ac_status=$?
13732 grep -v '^ *+' conftest.er1 >conftest.err
13733 rm -f conftest.er1
13734 cat conftest.err >&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try='test -z "$ac_cxx_werror_flag"
13738 || test ! -s conftest.err'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; } &&
13744 { ac_try='test -s conftest.$ac_objext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13747 ac_status=$?
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 glibcxx_cv_func__atan2f_use=yes
13751 else
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.$ac_ext >&5
13755 glibcxx_cv_func__atan2f_use=no
13757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13758 ac_ext=c
13759 ac_cpp='$CPP $CPPFLAGS'
13760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13769 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13771 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13773 for ac_func in _atan2f
13775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13776 echo "$as_me:$LINENO: checking for $ac_func" >&5
13777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13778 if eval "test \"\${$as_ac_var+set}\" = set"; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 else
13781 if test x$gcc_no_link = xyes; then
13782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13784 { (exit 1); exit 1; }; }
13786 cat >conftest.$ac_ext <<_ACEOF
13787 /* confdefs.h. */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13794 #define $ac_func innocuous_$ac_func
13796 /* System header to define __stub macros and hopefully few prototypes,
13797 which can conflict with char $ac_func (); below.
13798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13799 <limits.h> exists even on freestanding compilers. */
13801 #ifdef __STDC__
13802 # include <limits.h>
13803 #else
13804 # include <assert.h>
13805 #endif
13807 #undef $ac_func
13809 /* Override any gcc2 internal prototype to avoid an error. */
13810 #ifdef __cplusplus
13811 extern "C"
13813 #endif
13814 /* We use char because int might match the return type of a gcc2
13815 builtin and then its argument prototype would still apply. */
13816 char $ac_func ();
13817 /* The GNU C library defines this for functions which it implements
13818 to always fail with ENOSYS. Some functions are actually named
13819 something starting with __ and the normal name is an alias. */
13820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13821 choke me
13822 #else
13823 char (*f) () = $ac_func;
13824 #endif
13825 #ifdef __cplusplus
13827 #endif
13830 main ()
13832 return f != $ac_func;
13834 return 0;
13836 _ACEOF
13837 rm -f conftest.$ac_objext conftest$ac_exeext
13838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13839 (eval $ac_link) 2>conftest.er1
13840 ac_status=$?
13841 grep -v '^ *+' conftest.er1 >conftest.err
13842 rm -f conftest.er1
13843 cat conftest.err >&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } &&
13846 { ac_try='test -z "$ac_c_werror_flag"
13847 || test ! -s conftest.err'
13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13849 (eval $ac_try) 2>&5
13850 ac_status=$?
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; } &&
13853 { ac_try='test -s conftest$ac_exeext'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13856 ac_status=$?
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; }; then
13859 eval "$as_ac_var=yes"
13860 else
13861 echo "$as_me: failed program was:" >&5
13862 sed 's/^/| /' conftest.$ac_ext >&5
13864 eval "$as_ac_var=no"
13866 rm -f conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13871 if test `eval echo '${'$as_ac_var'}'` = yes; then
13872 cat >>confdefs.h <<_ACEOF
13873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13874 _ACEOF
13877 done
13887 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13888 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13889 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13890 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 else
13896 ac_ext=cc
13897 ac_cpp='$CXXCPP $CPPFLAGS'
13898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #include <math.h>
13909 #ifdef HAVE_IEEEFP_H
13910 #include <ieeefp.h>
13911 #endif
13914 main ()
13916 fabsf(0);
13918 return 0;
13920 _ACEOF
13921 rm -f conftest.$ac_objext
13922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13923 (eval $ac_compile) 2>conftest.er1
13924 ac_status=$?
13925 grep -v '^ *+' conftest.er1 >conftest.err
13926 rm -f conftest.er1
13927 cat conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); } &&
13930 { ac_try='test -z "$ac_cxx_werror_flag"
13931 || test ! -s conftest.err'
13932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13933 (eval $ac_try) 2>&5
13934 ac_status=$?
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; } &&
13937 { ac_try='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13940 ac_status=$?
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 glibcxx_cv_func_fabsf_use=yes
13944 else
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13948 glibcxx_cv_func_fabsf_use=no
13950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13951 ac_ext=c
13952 ac_cpp='$CPP $CPPFLAGS'
13953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13961 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13962 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13964 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13966 for ac_func in fabsf
13968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13969 echo "$as_me:$LINENO: checking for $ac_func" >&5
13970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13971 if eval "test \"\${$as_ac_var+set}\" = set"; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 else
13974 if test x$gcc_no_link = xyes; then
13975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13977 { (exit 1); exit 1; }; }
13979 cat >conftest.$ac_ext <<_ACEOF
13980 /* confdefs.h. */
13981 _ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13987 #define $ac_func innocuous_$ac_func
13989 /* System header to define __stub macros and hopefully few prototypes,
13990 which can conflict with char $ac_func (); below.
13991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13992 <limits.h> exists even on freestanding compilers. */
13994 #ifdef __STDC__
13995 # include <limits.h>
13996 #else
13997 # include <assert.h>
13998 #endif
14000 #undef $ac_func
14002 /* Override any gcc2 internal prototype to avoid an error. */
14003 #ifdef __cplusplus
14004 extern "C"
14006 #endif
14007 /* We use char because int might match the return type of a gcc2
14008 builtin and then its argument prototype would still apply. */
14009 char $ac_func ();
14010 /* The GNU C library defines this for functions which it implements
14011 to always fail with ENOSYS. Some functions are actually named
14012 something starting with __ and the normal name is an alias. */
14013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14014 choke me
14015 #else
14016 char (*f) () = $ac_func;
14017 #endif
14018 #ifdef __cplusplus
14020 #endif
14023 main ()
14025 return f != $ac_func;
14027 return 0;
14029 _ACEOF
14030 rm -f conftest.$ac_objext conftest$ac_exeext
14031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14032 (eval $ac_link) 2>conftest.er1
14033 ac_status=$?
14034 grep -v '^ *+' conftest.er1 >conftest.err
14035 rm -f conftest.er1
14036 cat conftest.err >&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try='test -z "$ac_c_werror_flag"
14040 || test ! -s conftest.err'
14041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14042 (eval $ac_try) 2>&5
14043 ac_status=$?
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); }; } &&
14046 { ac_try='test -s conftest$ac_exeext'
14047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14048 (eval $ac_try) 2>&5
14049 ac_status=$?
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); }; }; then
14052 eval "$as_ac_var=yes"
14053 else
14054 echo "$as_me: failed program was:" >&5
14055 sed 's/^/| /' conftest.$ac_ext >&5
14057 eval "$as_ac_var=no"
14059 rm -f conftest.err conftest.$ac_objext \
14060 conftest$ac_exeext conftest.$ac_ext
14062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14064 if test `eval echo '${'$as_ac_var'}'` = yes; then
14065 cat >>confdefs.h <<_ACEOF
14066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14067 _ACEOF
14070 done
14072 else
14074 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14075 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14076 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14077 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 else
14083 ac_ext=cc
14084 ac_cpp='$CXXCPP $CPPFLAGS'
14085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14089 cat >conftest.$ac_ext <<_ACEOF
14090 /* confdefs.h. */
14091 _ACEOF
14092 cat confdefs.h >>conftest.$ac_ext
14093 cat >>conftest.$ac_ext <<_ACEOF
14094 /* end confdefs.h. */
14095 #include <math.h>
14096 #ifdef HAVE_IEEEFP_H
14097 #include <ieeefp.h>
14098 #endif
14101 main ()
14103 _fabsf(0);
14105 return 0;
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try='test -z "$ac_cxx_werror_flag"
14118 || test ! -s conftest.err'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try='test -s conftest.$ac_objext'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14127 ac_status=$?
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; }; then
14130 glibcxx_cv_func__fabsf_use=yes
14131 else
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.$ac_ext >&5
14135 glibcxx_cv_func__fabsf_use=no
14137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14138 ac_ext=c
14139 ac_cpp='$CPP $CPPFLAGS'
14140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14148 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14149 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14151 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14153 for ac_func in _fabsf
14155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14156 echo "$as_me:$LINENO: checking for $ac_func" >&5
14157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14158 if eval "test \"\${$as_ac_var+set}\" = set"; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 else
14161 if test x$gcc_no_link = xyes; then
14162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14164 { (exit 1); exit 1; }; }
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14174 #define $ac_func innocuous_$ac_func
14176 /* System header to define __stub macros and hopefully few prototypes,
14177 which can conflict with char $ac_func (); below.
14178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14179 <limits.h> exists even on freestanding compilers. */
14181 #ifdef __STDC__
14182 # include <limits.h>
14183 #else
14184 # include <assert.h>
14185 #endif
14187 #undef $ac_func
14189 /* Override any gcc2 internal prototype to avoid an error. */
14190 #ifdef __cplusplus
14191 extern "C"
14193 #endif
14194 /* We use char because int might match the return type of a gcc2
14195 builtin and then its argument prototype would still apply. */
14196 char $ac_func ();
14197 /* The GNU C library defines this for functions which it implements
14198 to always fail with ENOSYS. Some functions are actually named
14199 something starting with __ and the normal name is an alias. */
14200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14201 choke me
14202 #else
14203 char (*f) () = $ac_func;
14204 #endif
14205 #ifdef __cplusplus
14207 #endif
14210 main ()
14212 return f != $ac_func;
14214 return 0;
14216 _ACEOF
14217 rm -f conftest.$ac_objext conftest$ac_exeext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14219 (eval $ac_link) 2>conftest.er1
14220 ac_status=$?
14221 grep -v '^ *+' conftest.er1 >conftest.err
14222 rm -f conftest.er1
14223 cat conftest.err >&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try='test -z "$ac_c_werror_flag"
14227 || test ! -s conftest.err'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; } &&
14233 { ac_try='test -s conftest$ac_exeext'
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14236 ac_status=$?
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; }; then
14239 eval "$as_ac_var=yes"
14240 else
14241 echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.$ac_ext >&5
14244 eval "$as_ac_var=no"
14246 rm -f conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14251 if test `eval echo '${'$as_ac_var'}'` = yes; then
14252 cat >>confdefs.h <<_ACEOF
14253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14254 _ACEOF
14257 done
14267 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14268 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14269 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14270 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14276 ac_ext=cc
14277 ac_cpp='$CXXCPP $CPPFLAGS'
14278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14282 cat >conftest.$ac_ext <<_ACEOF
14283 /* confdefs.h. */
14284 _ACEOF
14285 cat confdefs.h >>conftest.$ac_ext
14286 cat >>conftest.$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14288 #include <math.h>
14290 main ()
14292 fmodf(0, 0);
14294 return 0;
14296 _ACEOF
14297 rm -f conftest.$ac_objext
14298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14299 (eval $ac_compile) 2>conftest.er1
14300 ac_status=$?
14301 grep -v '^ *+' conftest.er1 >conftest.err
14302 rm -f conftest.er1
14303 cat conftest.err >&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try='test -z "$ac_cxx_werror_flag"
14307 || test ! -s conftest.err'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; } &&
14313 { ac_try='test -s conftest.$ac_objext'
14314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14315 (eval $ac_try) 2>&5
14316 ac_status=$?
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); }; }; then
14319 glibcxx_cv_func_fmodf_use=yes
14320 else
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14324 glibcxx_cv_func_fmodf_use=no
14326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14327 ac_ext=c
14328 ac_cpp='$CPP $CPPFLAGS'
14329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14337 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14338 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14340 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14342 for ac_func in fmodf
14344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14345 echo "$as_me:$LINENO: checking for $ac_func" >&5
14346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14347 if eval "test \"\${$as_ac_var+set}\" = set"; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 else
14350 if test x$gcc_no_link = xyes; then
14351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14353 { (exit 1); exit 1; }; }
14355 cat >conftest.$ac_ext <<_ACEOF
14356 /* confdefs.h. */
14357 _ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14363 #define $ac_func innocuous_$ac_func
14365 /* System header to define __stub macros and hopefully few prototypes,
14366 which can conflict with char $ac_func (); below.
14367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14368 <limits.h> exists even on freestanding compilers. */
14370 #ifdef __STDC__
14371 # include <limits.h>
14372 #else
14373 # include <assert.h>
14374 #endif
14376 #undef $ac_func
14378 /* Override any gcc2 internal prototype to avoid an error. */
14379 #ifdef __cplusplus
14380 extern "C"
14382 #endif
14383 /* We use char because int might match the return type of a gcc2
14384 builtin and then its argument prototype would still apply. */
14385 char $ac_func ();
14386 /* The GNU C library defines this for functions which it implements
14387 to always fail with ENOSYS. Some functions are actually named
14388 something starting with __ and the normal name is an alias. */
14389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14390 choke me
14391 #else
14392 char (*f) () = $ac_func;
14393 #endif
14394 #ifdef __cplusplus
14396 #endif
14399 main ()
14401 return f != $ac_func;
14403 return 0;
14405 _ACEOF
14406 rm -f conftest.$ac_objext conftest$ac_exeext
14407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14408 (eval $ac_link) 2>conftest.er1
14409 ac_status=$?
14410 grep -v '^ *+' conftest.er1 >conftest.err
14411 rm -f conftest.er1
14412 cat conftest.err >&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); } &&
14415 { ac_try='test -z "$ac_c_werror_flag"
14416 || test ! -s conftest.err'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14419 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; } &&
14422 { ac_try='test -s conftest$ac_exeext'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14425 ac_status=$?
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 eval "$as_ac_var=yes"
14429 else
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14433 eval "$as_ac_var=no"
14435 rm -f conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14440 if test `eval echo '${'$as_ac_var'}'` = yes; then
14441 cat >>confdefs.h <<_ACEOF
14442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14443 _ACEOF
14446 done
14448 else
14450 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14451 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14452 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14453 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 else
14459 ac_ext=cc
14460 ac_cpp='$CXXCPP $CPPFLAGS'
14461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14465 cat >conftest.$ac_ext <<_ACEOF
14466 /* confdefs.h. */
14467 _ACEOF
14468 cat confdefs.h >>conftest.$ac_ext
14469 cat >>conftest.$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 #include <math.h>
14473 main ()
14475 _fmodf(0, 0);
14477 return 0;
14479 _ACEOF
14480 rm -f conftest.$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482 (eval $ac_compile) 2>conftest.er1
14483 ac_status=$?
14484 grep -v '^ *+' conftest.er1 >conftest.err
14485 rm -f conftest.er1
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } &&
14489 { ac_try='test -z "$ac_cxx_werror_flag"
14490 || test ! -s conftest.err'
14491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492 (eval $ac_try) 2>&5
14493 ac_status=$?
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); }; } &&
14496 { ac_try='test -s conftest.$ac_objext'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14499 ac_status=$?
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; }; then
14502 glibcxx_cv_func__fmodf_use=yes
14503 else
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14507 glibcxx_cv_func__fmodf_use=no
14509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14510 ac_ext=c
14511 ac_cpp='$CPP $CPPFLAGS'
14512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14521 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14523 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14525 for ac_func in _fmodf
14527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14528 echo "$as_me:$LINENO: checking for $ac_func" >&5
14529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14530 if eval "test \"\${$as_ac_var+set}\" = set"; then
14531 echo $ECHO_N "(cached) $ECHO_C" >&6
14532 else
14533 if test x$gcc_no_link = xyes; then
14534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14536 { (exit 1); exit 1; }; }
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14546 #define $ac_func innocuous_$ac_func
14548 /* System header to define __stub macros and hopefully few prototypes,
14549 which can conflict with char $ac_func (); below.
14550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14551 <limits.h> exists even on freestanding compilers. */
14553 #ifdef __STDC__
14554 # include <limits.h>
14555 #else
14556 # include <assert.h>
14557 #endif
14559 #undef $ac_func
14561 /* Override any gcc2 internal prototype to avoid an error. */
14562 #ifdef __cplusplus
14563 extern "C"
14565 #endif
14566 /* We use char because int might match the return type of a gcc2
14567 builtin and then its argument prototype would still apply. */
14568 char $ac_func ();
14569 /* The GNU C library defines this for functions which it implements
14570 to always fail with ENOSYS. Some functions are actually named
14571 something starting with __ and the normal name is an alias. */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14573 choke me
14574 #else
14575 char (*f) () = $ac_func;
14576 #endif
14577 #ifdef __cplusplus
14579 #endif
14582 main ()
14584 return f != $ac_func;
14586 return 0;
14588 _ACEOF
14589 rm -f conftest.$ac_objext conftest$ac_exeext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14591 (eval $ac_link) 2>conftest.er1
14592 ac_status=$?
14593 grep -v '^ *+' conftest.er1 >conftest.err
14594 rm -f conftest.er1
14595 cat conftest.err >&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try='test -z "$ac_c_werror_flag"
14599 || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest$ac_exeext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 eval "$as_ac_var=yes"
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14616 eval "$as_ac_var=no"
14618 rm -f conftest.err conftest.$ac_objext \
14619 conftest$ac_exeext conftest.$ac_ext
14621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14623 if test `eval echo '${'$as_ac_var'}'` = yes; then
14624 cat >>confdefs.h <<_ACEOF
14625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14626 _ACEOF
14629 done
14639 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14640 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14641 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14642 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14644 else
14648 ac_ext=cc
14649 ac_cpp='$CXXCPP $CPPFLAGS'
14650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14654 cat >conftest.$ac_ext <<_ACEOF
14655 /* confdefs.h. */
14656 _ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 #include <math.h>
14662 main ()
14664 frexpf(0, 0);
14666 return 0;
14668 _ACEOF
14669 rm -f conftest.$ac_objext
14670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14671 (eval $ac_compile) 2>conftest.er1
14672 ac_status=$?
14673 grep -v '^ *+' conftest.er1 >conftest.err
14674 rm -f conftest.er1
14675 cat conftest.err >&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); } &&
14678 { ac_try='test -z "$ac_cxx_werror_flag"
14679 || test ! -s conftest.err'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; } &&
14685 { ac_try='test -s conftest.$ac_objext'
14686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14687 (eval $ac_try) 2>&5
14688 ac_status=$?
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); }; }; then
14691 glibcxx_cv_func_frexpf_use=yes
14692 else
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14696 glibcxx_cv_func_frexpf_use=no
14698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14699 ac_ext=c
14700 ac_cpp='$CPP $CPPFLAGS'
14701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14710 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14712 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14714 for ac_func in frexpf
14716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14717 echo "$as_me:$LINENO: checking for $ac_func" >&5
14718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14719 if eval "test \"\${$as_ac_var+set}\" = set"; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 else
14722 if test x$gcc_no_link = xyes; then
14723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14725 { (exit 1); exit 1; }; }
14727 cat >conftest.$ac_ext <<_ACEOF
14728 /* confdefs.h. */
14729 _ACEOF
14730 cat confdefs.h >>conftest.$ac_ext
14731 cat >>conftest.$ac_ext <<_ACEOF
14732 /* end confdefs.h. */
14733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14735 #define $ac_func innocuous_$ac_func
14737 /* System header to define __stub macros and hopefully few prototypes,
14738 which can conflict with char $ac_func (); below.
14739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14740 <limits.h> exists even on freestanding compilers. */
14742 #ifdef __STDC__
14743 # include <limits.h>
14744 #else
14745 # include <assert.h>
14746 #endif
14748 #undef $ac_func
14750 /* Override any gcc2 internal prototype to avoid an error. */
14751 #ifdef __cplusplus
14752 extern "C"
14754 #endif
14755 /* We use char because int might match the return type of a gcc2
14756 builtin and then its argument prototype would still apply. */
14757 char $ac_func ();
14758 /* The GNU C library defines this for functions which it implements
14759 to always fail with ENOSYS. Some functions are actually named
14760 something starting with __ and the normal name is an alias. */
14761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14762 choke me
14763 #else
14764 char (*f) () = $ac_func;
14765 #endif
14766 #ifdef __cplusplus
14768 #endif
14771 main ()
14773 return f != $ac_func;
14775 return 0;
14777 _ACEOF
14778 rm -f conftest.$ac_objext conftest$ac_exeext
14779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14780 (eval $ac_link) 2>conftest.er1
14781 ac_status=$?
14782 grep -v '^ *+' conftest.er1 >conftest.err
14783 rm -f conftest.er1
14784 cat conftest.err >&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); } &&
14787 { ac_try='test -z "$ac_c_werror_flag"
14788 || test ! -s conftest.err'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14791 ac_status=$?
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; } &&
14794 { ac_try='test -s conftest$ac_exeext'
14795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14796 (eval $ac_try) 2>&5
14797 ac_status=$?
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); }; }; then
14800 eval "$as_ac_var=yes"
14801 else
14802 echo "$as_me: failed program was:" >&5
14803 sed 's/^/| /' conftest.$ac_ext >&5
14805 eval "$as_ac_var=no"
14807 rm -f conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14812 if test `eval echo '${'$as_ac_var'}'` = yes; then
14813 cat >>confdefs.h <<_ACEOF
14814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14815 _ACEOF
14818 done
14820 else
14822 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14823 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14824 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14825 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 else
14831 ac_ext=cc
14832 ac_cpp='$CXXCPP $CPPFLAGS'
14833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14837 cat >conftest.$ac_ext <<_ACEOF
14838 /* confdefs.h. */
14839 _ACEOF
14840 cat confdefs.h >>conftest.$ac_ext
14841 cat >>conftest.$ac_ext <<_ACEOF
14842 /* end confdefs.h. */
14843 #include <math.h>
14845 main ()
14847 _frexpf(0, 0);
14849 return 0;
14851 _ACEOF
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>conftest.er1
14855 ac_status=$?
14856 grep -v '^ *+' conftest.er1 >conftest.err
14857 rm -f conftest.er1
14858 cat conftest.err >&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } &&
14861 { ac_try='test -z "$ac_cxx_werror_flag"
14862 || test ! -s conftest.err'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14865 ac_status=$?
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; } &&
14868 { ac_try='test -s conftest.$ac_objext'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14874 glibcxx_cv_func__frexpf_use=yes
14875 else
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14879 glibcxx_cv_func__frexpf_use=no
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14882 ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14893 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14895 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14897 for ac_func in _frexpf
14899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14900 echo "$as_me:$LINENO: checking for $ac_func" >&5
14901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14902 if eval "test \"\${$as_ac_var+set}\" = set"; then
14903 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 else
14905 if test x$gcc_no_link = xyes; then
14906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14908 { (exit 1); exit 1; }; }
14910 cat >conftest.$ac_ext <<_ACEOF
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14918 #define $ac_func innocuous_$ac_func
14920 /* System header to define __stub macros and hopefully few prototypes,
14921 which can conflict with char $ac_func (); below.
14922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14923 <limits.h> exists even on freestanding compilers. */
14925 #ifdef __STDC__
14926 # include <limits.h>
14927 #else
14928 # include <assert.h>
14929 #endif
14931 #undef $ac_func
14933 /* Override any gcc2 internal prototype to avoid an error. */
14934 #ifdef __cplusplus
14935 extern "C"
14937 #endif
14938 /* We use char because int might match the return type of a gcc2
14939 builtin and then its argument prototype would still apply. */
14940 char $ac_func ();
14941 /* The GNU C library defines this for functions which it implements
14942 to always fail with ENOSYS. Some functions are actually named
14943 something starting with __ and the normal name is an alias. */
14944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14945 choke me
14946 #else
14947 char (*f) () = $ac_func;
14948 #endif
14949 #ifdef __cplusplus
14951 #endif
14954 main ()
14956 return f != $ac_func;
14958 return 0;
14960 _ACEOF
14961 rm -f conftest.$ac_objext conftest$ac_exeext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14963 (eval $ac_link) 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } &&
14970 { ac_try='test -z "$ac_c_werror_flag"
14971 || test ! -s conftest.err'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14974 ac_status=$?
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; } &&
14977 { ac_try='test -s conftest$ac_exeext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 eval "$as_ac_var=yes"
14984 else
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.$ac_ext >&5
14988 eval "$as_ac_var=no"
14990 rm -f conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14995 if test `eval echo '${'$as_ac_var'}'` = yes; then
14996 cat >>confdefs.h <<_ACEOF
14997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14998 _ACEOF
15001 done
15011 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15012 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15013 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15014 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 else
15020 ac_ext=cc
15021 ac_cpp='$CXXCPP $CPPFLAGS'
15022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15026 cat >conftest.$ac_ext <<_ACEOF
15027 /* confdefs.h. */
15028 _ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032 #include <math.h>
15034 main ()
15036 hypotf(0, 0);
15038 return 0;
15040 _ACEOF
15041 rm -f conftest.$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15044 ac_status=$?
15045 grep -v '^ *+' conftest.er1 >conftest.err
15046 rm -f conftest.er1
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_cxx_werror_flag"
15051 || test ! -s conftest.err'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; } &&
15057 { ac_try='test -s conftest.$ac_objext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15060 ac_status=$?
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15063 glibcxx_cv_func_hypotf_use=yes
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15068 glibcxx_cv_func_hypotf_use=no
15070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15071 ac_ext=c
15072 ac_cpp='$CPP $CPPFLAGS'
15073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15082 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15084 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15086 for ac_func in hypotf
15088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15089 echo "$as_me:$LINENO: checking for $ac_func" >&5
15090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15091 if eval "test \"\${$as_ac_var+set}\" = set"; then
15092 echo $ECHO_N "(cached) $ECHO_C" >&6
15093 else
15094 if test x$gcc_no_link = xyes; then
15095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15097 { (exit 1); exit 1; }; }
15099 cat >conftest.$ac_ext <<_ACEOF
15100 /* confdefs.h. */
15101 _ACEOF
15102 cat confdefs.h >>conftest.$ac_ext
15103 cat >>conftest.$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15107 #define $ac_func innocuous_$ac_func
15109 /* System header to define __stub macros and hopefully few prototypes,
15110 which can conflict with char $ac_func (); below.
15111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15112 <limits.h> exists even on freestanding compilers. */
15114 #ifdef __STDC__
15115 # include <limits.h>
15116 #else
15117 # include <assert.h>
15118 #endif
15120 #undef $ac_func
15122 /* Override any gcc2 internal prototype to avoid an error. */
15123 #ifdef __cplusplus
15124 extern "C"
15126 #endif
15127 /* We use char because int might match the return type of a gcc2
15128 builtin and then its argument prototype would still apply. */
15129 char $ac_func ();
15130 /* The GNU C library defines this for functions which it implements
15131 to always fail with ENOSYS. Some functions are actually named
15132 something starting with __ and the normal name is an alias. */
15133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15134 choke me
15135 #else
15136 char (*f) () = $ac_func;
15137 #endif
15138 #ifdef __cplusplus
15140 #endif
15143 main ()
15145 return f != $ac_func;
15147 return 0;
15149 _ACEOF
15150 rm -f conftest.$ac_objext conftest$ac_exeext
15151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15152 (eval $ac_link) 2>conftest.er1
15153 ac_status=$?
15154 grep -v '^ *+' conftest.er1 >conftest.err
15155 rm -f conftest.er1
15156 cat conftest.err >&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } &&
15159 { ac_try='test -z "$ac_c_werror_flag"
15160 || test ! -s conftest.err'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15163 ac_status=$?
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; } &&
15166 { ac_try='test -s conftest$ac_exeext'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15169 ac_status=$?
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; }; then
15172 eval "$as_ac_var=yes"
15173 else
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15177 eval "$as_ac_var=no"
15179 rm -f conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15184 if test `eval echo '${'$as_ac_var'}'` = yes; then
15185 cat >>confdefs.h <<_ACEOF
15186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15187 _ACEOF
15190 done
15192 else
15194 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15195 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15196 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15197 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 else
15203 ac_ext=cc
15204 ac_cpp='$CXXCPP $CPPFLAGS'
15205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15209 cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 #include <math.h>
15217 main ()
15219 _hypotf(0, 0);
15221 return 0;
15223 _ACEOF
15224 rm -f conftest.$ac_objext
15225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15226 (eval $ac_compile) 2>conftest.er1
15227 ac_status=$?
15228 grep -v '^ *+' conftest.er1 >conftest.err
15229 rm -f conftest.er1
15230 cat conftest.err >&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } &&
15233 { ac_try='test -z "$ac_cxx_werror_flag"
15234 || test ! -s conftest.err'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; } &&
15240 { ac_try='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 glibcxx_cv_func__hypotf_use=yes
15247 else
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15251 glibcxx_cv_func__hypotf_use=no
15253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15254 ac_ext=c
15255 ac_cpp='$CPP $CPPFLAGS'
15256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15265 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15267 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15269 for ac_func in _hypotf
15271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15272 echo "$as_me:$LINENO: checking for $ac_func" >&5
15273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15274 if eval "test \"\${$as_ac_var+set}\" = set"; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 if test x$gcc_no_link = xyes; then
15278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15280 { (exit 1); exit 1; }; }
15282 cat >conftest.$ac_ext <<_ACEOF
15283 /* confdefs.h. */
15284 _ACEOF
15285 cat confdefs.h >>conftest.$ac_ext
15286 cat >>conftest.$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15290 #define $ac_func innocuous_$ac_func
15292 /* System header to define __stub macros and hopefully few prototypes,
15293 which can conflict with char $ac_func (); below.
15294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15295 <limits.h> exists even on freestanding compilers. */
15297 #ifdef __STDC__
15298 # include <limits.h>
15299 #else
15300 # include <assert.h>
15301 #endif
15303 #undef $ac_func
15305 /* Override any gcc2 internal prototype to avoid an error. */
15306 #ifdef __cplusplus
15307 extern "C"
15309 #endif
15310 /* We use char because int might match the return type of a gcc2
15311 builtin and then its argument prototype would still apply. */
15312 char $ac_func ();
15313 /* The GNU C library defines this for functions which it implements
15314 to always fail with ENOSYS. Some functions are actually named
15315 something starting with __ and the normal name is an alias. */
15316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15317 choke me
15318 #else
15319 char (*f) () = $ac_func;
15320 #endif
15321 #ifdef __cplusplus
15323 #endif
15326 main ()
15328 return f != $ac_func;
15330 return 0;
15332 _ACEOF
15333 rm -f conftest.$ac_objext conftest$ac_exeext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15335 (eval $ac_link) 2>conftest.er1
15336 ac_status=$?
15337 grep -v '^ *+' conftest.er1 >conftest.err
15338 rm -f conftest.er1
15339 cat conftest.err >&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } &&
15342 { ac_try='test -z "$ac_c_werror_flag"
15343 || test ! -s conftest.err'
15344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345 (eval $ac_try) 2>&5
15346 ac_status=$?
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); }; } &&
15349 { ac_try='test -s conftest$ac_exeext'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15352 ac_status=$?
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; }; then
15355 eval "$as_ac_var=yes"
15356 else
15357 echo "$as_me: failed program was:" >&5
15358 sed 's/^/| /' conftest.$ac_ext >&5
15360 eval "$as_ac_var=no"
15362 rm -f conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15367 if test `eval echo '${'$as_ac_var'}'` = yes; then
15368 cat >>confdefs.h <<_ACEOF
15369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15370 _ACEOF
15373 done
15383 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15384 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15385 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15386 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15387 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 else
15392 ac_ext=cc
15393 ac_cpp='$CXXCPP $CPPFLAGS'
15394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15398 cat >conftest.$ac_ext <<_ACEOF
15399 /* confdefs.h. */
15400 _ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15404 #include <math.h>
15406 main ()
15408 ldexpf(0, 0);
15410 return 0;
15412 _ACEOF
15413 rm -f conftest.$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>conftest.er1
15416 ac_status=$?
15417 grep -v '^ *+' conftest.er1 >conftest.err
15418 rm -f conftest.er1
15419 cat conftest.err >&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); } &&
15422 { ac_try='test -z "$ac_cxx_werror_flag"
15423 || test ! -s conftest.err'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; } &&
15429 { ac_try='test -s conftest.$ac_objext'
15430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15431 (eval $ac_try) 2>&5
15432 ac_status=$?
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 glibcxx_cv_func_ldexpf_use=yes
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15440 glibcxx_cv_func_ldexpf_use=no
15442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15443 ac_ext=c
15444 ac_cpp='$CPP $CPPFLAGS'
15445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15454 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15456 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15458 for ac_func in ldexpf
15460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15461 echo "$as_me:$LINENO: checking for $ac_func" >&5
15462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15463 if eval "test \"\${$as_ac_var+set}\" = set"; then
15464 echo $ECHO_N "(cached) $ECHO_C" >&6
15465 else
15466 if test x$gcc_no_link = xyes; then
15467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15469 { (exit 1); exit 1; }; }
15471 cat >conftest.$ac_ext <<_ACEOF
15472 /* confdefs.h. */
15473 _ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15479 #define $ac_func innocuous_$ac_func
15481 /* System header to define __stub macros and hopefully few prototypes,
15482 which can conflict with char $ac_func (); below.
15483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15484 <limits.h> exists even on freestanding compilers. */
15486 #ifdef __STDC__
15487 # include <limits.h>
15488 #else
15489 # include <assert.h>
15490 #endif
15492 #undef $ac_func
15494 /* Override any gcc2 internal prototype to avoid an error. */
15495 #ifdef __cplusplus
15496 extern "C"
15498 #endif
15499 /* We use char because int might match the return type of a gcc2
15500 builtin and then its argument prototype would still apply. */
15501 char $ac_func ();
15502 /* The GNU C library defines this for functions which it implements
15503 to always fail with ENOSYS. Some functions are actually named
15504 something starting with __ and the normal name is an alias. */
15505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15506 choke me
15507 #else
15508 char (*f) () = $ac_func;
15509 #endif
15510 #ifdef __cplusplus
15512 #endif
15515 main ()
15517 return f != $ac_func;
15519 return 0;
15521 _ACEOF
15522 rm -f conftest.$ac_objext conftest$ac_exeext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15524 (eval $ac_link) 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15541 ac_status=$?
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 eval "$as_ac_var=yes"
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15549 eval "$as_ac_var=no"
15551 rm -f conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15556 if test `eval echo '${'$as_ac_var'}'` = yes; then
15557 cat >>confdefs.h <<_ACEOF
15558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15559 _ACEOF
15562 done
15564 else
15566 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15567 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15568 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15569 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15575 ac_ext=cc
15576 ac_cpp='$CXXCPP $CPPFLAGS'
15577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15581 cat >conftest.$ac_ext <<_ACEOF
15582 /* confdefs.h. */
15583 _ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587 #include <math.h>
15589 main ()
15591 _ldexpf(0, 0);
15593 return 0;
15595 _ACEOF
15596 rm -f conftest.$ac_objext
15597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15598 (eval $ac_compile) 2>conftest.er1
15599 ac_status=$?
15600 grep -v '^ *+' conftest.er1 >conftest.err
15601 rm -f conftest.er1
15602 cat conftest.err >&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); } &&
15605 { ac_try='test -z "$ac_cxx_werror_flag"
15606 || test ! -s conftest.err'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15609 ac_status=$?
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; } &&
15612 { ac_try='test -s conftest.$ac_objext'
15613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15614 (eval $ac_try) 2>&5
15615 ac_status=$?
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); }; }; then
15618 glibcxx_cv_func__ldexpf_use=yes
15619 else
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.$ac_ext >&5
15623 glibcxx_cv_func__ldexpf_use=no
15625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15626 ac_ext=c
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15637 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15639 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15641 for ac_func in _ldexpf
15643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15644 echo "$as_me:$LINENO: checking for $ac_func" >&5
15645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15646 if eval "test \"\${$as_ac_var+set}\" = set"; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15648 else
15649 if test x$gcc_no_link = xyes; then
15650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15652 { (exit 1); exit 1; }; }
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15662 #define $ac_func innocuous_$ac_func
15664 /* System header to define __stub macros and hopefully few prototypes,
15665 which can conflict with char $ac_func (); below.
15666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15667 <limits.h> exists even on freestanding compilers. */
15669 #ifdef __STDC__
15670 # include <limits.h>
15671 #else
15672 # include <assert.h>
15673 #endif
15675 #undef $ac_func
15677 /* Override any gcc2 internal prototype to avoid an error. */
15678 #ifdef __cplusplus
15679 extern "C"
15681 #endif
15682 /* We use char because int might match the return type of a gcc2
15683 builtin and then its argument prototype would still apply. */
15684 char $ac_func ();
15685 /* The GNU C library defines this for functions which it implements
15686 to always fail with ENOSYS. Some functions are actually named
15687 something starting with __ and the normal name is an alias. */
15688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15689 choke me
15690 #else
15691 char (*f) () = $ac_func;
15692 #endif
15693 #ifdef __cplusplus
15695 #endif
15698 main ()
15700 return f != $ac_func;
15702 return 0;
15704 _ACEOF
15705 rm -f conftest.$ac_objext conftest$ac_exeext
15706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15707 (eval $ac_link) 2>conftest.er1
15708 ac_status=$?
15709 grep -v '^ *+' conftest.er1 >conftest.err
15710 rm -f conftest.er1
15711 cat conftest.err >&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try='test -z "$ac_c_werror_flag"
15715 || test ! -s conftest.err'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15718 ac_status=$?
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; } &&
15721 { ac_try='test -s conftest$ac_exeext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15724 ac_status=$?
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 eval "$as_ac_var=yes"
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15732 eval "$as_ac_var=no"
15734 rm -f conftest.err conftest.$ac_objext \
15735 conftest$ac_exeext conftest.$ac_ext
15737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15739 if test `eval echo '${'$as_ac_var'}'` = yes; then
15740 cat >>confdefs.h <<_ACEOF
15741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15742 _ACEOF
15745 done
15755 echo "$as_me:$LINENO: checking for logf declaration" >&5
15756 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15757 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15758 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15759 echo $ECHO_N "(cached) $ECHO_C" >&6
15760 else
15764 ac_ext=cc
15765 ac_cpp='$CXXCPP $CPPFLAGS'
15766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15770 cat >conftest.$ac_ext <<_ACEOF
15771 /* confdefs.h. */
15772 _ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15776 #include <math.h>
15777 #ifdef HAVE_IEEEFP_H
15778 #include <ieeefp.h>
15779 #endif
15782 main ()
15784 logf(0);
15786 return 0;
15788 _ACEOF
15789 rm -f conftest.$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_cxx_werror_flag"
15799 || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try='test -s conftest.$ac_objext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15808 ac_status=$?
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 glibcxx_cv_func_logf_use=yes
15812 else
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15816 glibcxx_cv_func_logf_use=no
15818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15819 ac_ext=c
15820 ac_cpp='$CPP $CPPFLAGS'
15821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15830 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15832 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15834 for ac_func in logf
15836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15837 echo "$as_me:$LINENO: checking for $ac_func" >&5
15838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15839 if eval "test \"\${$as_ac_var+set}\" = set"; then
15840 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 else
15842 if test x$gcc_no_link = xyes; then
15843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15845 { (exit 1); exit 1; }; }
15847 cat >conftest.$ac_ext <<_ACEOF
15848 /* confdefs.h. */
15849 _ACEOF
15850 cat confdefs.h >>conftest.$ac_ext
15851 cat >>conftest.$ac_ext <<_ACEOF
15852 /* end confdefs.h. */
15853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15855 #define $ac_func innocuous_$ac_func
15857 /* System header to define __stub macros and hopefully few prototypes,
15858 which can conflict with char $ac_func (); below.
15859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15860 <limits.h> exists even on freestanding compilers. */
15862 #ifdef __STDC__
15863 # include <limits.h>
15864 #else
15865 # include <assert.h>
15866 #endif
15868 #undef $ac_func
15870 /* Override any gcc2 internal prototype to avoid an error. */
15871 #ifdef __cplusplus
15872 extern "C"
15874 #endif
15875 /* We use char because int might match the return type of a gcc2
15876 builtin and then its argument prototype would still apply. */
15877 char $ac_func ();
15878 /* The GNU C library defines this for functions which it implements
15879 to always fail with ENOSYS. Some functions are actually named
15880 something starting with __ and the normal name is an alias. */
15881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15882 choke me
15883 #else
15884 char (*f) () = $ac_func;
15885 #endif
15886 #ifdef __cplusplus
15888 #endif
15891 main ()
15893 return f != $ac_func;
15895 return 0;
15897 _ACEOF
15898 rm -f conftest.$ac_objext conftest$ac_exeext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15900 (eval $ac_link) 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try='test -z "$ac_c_werror_flag"
15908 || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try='test -s conftest$ac_exeext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15917 ac_status=$?
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 eval "$as_ac_var=yes"
15921 else
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15925 eval "$as_ac_var=no"
15927 rm -f conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15932 if test `eval echo '${'$as_ac_var'}'` = yes; then
15933 cat >>confdefs.h <<_ACEOF
15934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15935 _ACEOF
15938 done
15940 else
15942 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15943 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15944 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15945 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15946 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 else
15951 ac_ext=cc
15952 ac_cpp='$CXXCPP $CPPFLAGS'
15953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15957 cat >conftest.$ac_ext <<_ACEOF
15958 /* confdefs.h. */
15959 _ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 #include <math.h>
15964 #ifdef HAVE_IEEEFP_H
15965 #include <ieeefp.h>
15966 #endif
15969 main ()
15971 _logf(0);
15973 return 0;
15975 _ACEOF
15976 rm -f conftest.$ac_objext
15977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15978 (eval $ac_compile) 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } &&
15985 { ac_try='test -z "$ac_cxx_werror_flag"
15986 || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try='test -s conftest.$ac_objext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15995 ac_status=$?
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 glibcxx_cv_func__logf_use=yes
15999 else
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16003 glibcxx_cv_func__logf_use=no
16005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16017 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16019 if test x$glibcxx_cv_func__logf_use = x"yes"; then
16021 for ac_func in _logf
16023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16024 echo "$as_me:$LINENO: checking for $ac_func" >&5
16025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16026 if eval "test \"\${$as_ac_var+set}\" = set"; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16028 else
16029 if test x$gcc_no_link = xyes; then
16030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16032 { (exit 1); exit 1; }; }
16034 cat >conftest.$ac_ext <<_ACEOF
16035 /* confdefs.h. */
16036 _ACEOF
16037 cat confdefs.h >>conftest.$ac_ext
16038 cat >>conftest.$ac_ext <<_ACEOF
16039 /* end confdefs.h. */
16040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16042 #define $ac_func innocuous_$ac_func
16044 /* System header to define __stub macros and hopefully few prototypes,
16045 which can conflict with char $ac_func (); below.
16046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16047 <limits.h> exists even on freestanding compilers. */
16049 #ifdef __STDC__
16050 # include <limits.h>
16051 #else
16052 # include <assert.h>
16053 #endif
16055 #undef $ac_func
16057 /* Override any gcc2 internal prototype to avoid an error. */
16058 #ifdef __cplusplus
16059 extern "C"
16061 #endif
16062 /* We use char because int might match the return type of a gcc2
16063 builtin and then its argument prototype would still apply. */
16064 char $ac_func ();
16065 /* The GNU C library defines this for functions which it implements
16066 to always fail with ENOSYS. Some functions are actually named
16067 something starting with __ and the normal name is an alias. */
16068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16069 choke me
16070 #else
16071 char (*f) () = $ac_func;
16072 #endif
16073 #ifdef __cplusplus
16075 #endif
16078 main ()
16080 return f != $ac_func;
16082 return 0;
16084 _ACEOF
16085 rm -f conftest.$ac_objext conftest$ac_exeext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16087 (eval $ac_link) 2>conftest.er1
16088 ac_status=$?
16089 grep -v '^ *+' conftest.er1 >conftest.err
16090 rm -f conftest.er1
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest$ac_exeext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 eval "$as_ac_var=yes"
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16112 eval "$as_ac_var=no"
16114 rm -f conftest.err conftest.$ac_objext \
16115 conftest$ac_exeext conftest.$ac_ext
16117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16119 if test `eval echo '${'$as_ac_var'}'` = yes; then
16120 cat >>confdefs.h <<_ACEOF
16121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16122 _ACEOF
16125 done
16135 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16136 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16137 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16138 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16144 ac_ext=cc
16145 ac_cpp='$CXXCPP $CPPFLAGS'
16146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16150 cat >conftest.$ac_ext <<_ACEOF
16151 /* confdefs.h. */
16152 _ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16156 #include <math.h>
16157 #ifdef HAVE_IEEEFP_H
16158 #include <ieeefp.h>
16159 #endif
16162 main ()
16164 log10f(0);
16166 return 0;
16168 _ACEOF
16169 rm -f conftest.$ac_objext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16171 (eval $ac_compile) 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } &&
16178 { ac_try='test -z "$ac_cxx_werror_flag"
16179 || test ! -s conftest.err'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16182 ac_status=$?
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; } &&
16185 { ac_try='test -s conftest.$ac_objext'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16188 ac_status=$?
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; }; then
16191 glibcxx_cv_func_log10f_use=yes
16192 else
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.$ac_ext >&5
16196 glibcxx_cv_func_log10f_use=no
16198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16199 ac_ext=c
16200 ac_cpp='$CPP $CPPFLAGS'
16201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16209 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16210 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16212 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16214 for ac_func in log10f
16216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16217 echo "$as_me:$LINENO: checking for $ac_func" >&5
16218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16219 if eval "test \"\${$as_ac_var+set}\" = set"; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 else
16222 if test x$gcc_no_link = xyes; then
16223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16225 { (exit 1); exit 1; }; }
16227 cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h. */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16235 #define $ac_func innocuous_$ac_func
16237 /* System header to define __stub macros and hopefully few prototypes,
16238 which can conflict with char $ac_func (); below.
16239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16240 <limits.h> exists even on freestanding compilers. */
16242 #ifdef __STDC__
16243 # include <limits.h>
16244 #else
16245 # include <assert.h>
16246 #endif
16248 #undef $ac_func
16250 /* Override any gcc2 internal prototype to avoid an error. */
16251 #ifdef __cplusplus
16252 extern "C"
16254 #endif
16255 /* We use char because int might match the return type of a gcc2
16256 builtin and then its argument prototype would still apply. */
16257 char $ac_func ();
16258 /* The GNU C library defines this for functions which it implements
16259 to always fail with ENOSYS. Some functions are actually named
16260 something starting with __ and the normal name is an alias. */
16261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16262 choke me
16263 #else
16264 char (*f) () = $ac_func;
16265 #endif
16266 #ifdef __cplusplus
16268 #endif
16271 main ()
16273 return f != $ac_func;
16275 return 0;
16277 _ACEOF
16278 rm -f conftest.$ac_objext conftest$ac_exeext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16280 (eval $ac_link) 2>conftest.er1
16281 ac_status=$?
16282 grep -v '^ *+' conftest.er1 >conftest.err
16283 rm -f conftest.er1
16284 cat conftest.err >&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try='test -z "$ac_c_werror_flag"
16288 || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16291 ac_status=$?
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try='test -s conftest$ac_exeext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 eval "$as_ac_var=yes"
16301 else
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16305 eval "$as_ac_var=no"
16307 rm -f conftest.err conftest.$ac_objext \
16308 conftest$ac_exeext conftest.$ac_ext
16310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16312 if test `eval echo '${'$as_ac_var'}'` = yes; then
16313 cat >>confdefs.h <<_ACEOF
16314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16315 _ACEOF
16318 done
16320 else
16322 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16323 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16324 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16325 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16331 ac_ext=cc
16332 ac_cpp='$CXXCPP $CPPFLAGS'
16333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16337 cat >conftest.$ac_ext <<_ACEOF
16338 /* confdefs.h. */
16339 _ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16343 #include <math.h>
16344 #ifdef HAVE_IEEEFP_H
16345 #include <ieeefp.h>
16346 #endif
16349 main ()
16351 _log10f(0);
16353 return 0;
16355 _ACEOF
16356 rm -f conftest.$ac_objext
16357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16358 (eval $ac_compile) 2>conftest.er1
16359 ac_status=$?
16360 grep -v '^ *+' conftest.er1 >conftest.err
16361 rm -f conftest.er1
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try='test -z "$ac_cxx_werror_flag"
16366 || test ! -s conftest.err'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16369 ac_status=$?
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try='test -s conftest.$ac_objext'
16373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16374 (eval $ac_try) 2>&5
16375 ac_status=$?
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); }; }; then
16378 glibcxx_cv_func__log10f_use=yes
16379 else
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16383 glibcxx_cv_func__log10f_use=no
16385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16386 ac_ext=c
16387 ac_cpp='$CPP $CPPFLAGS'
16388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16396 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16397 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16399 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16401 for ac_func in _log10f
16403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16404 echo "$as_me:$LINENO: checking for $ac_func" >&5
16405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16406 if eval "test \"\${$as_ac_var+set}\" = set"; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 else
16409 if test x$gcc_no_link = xyes; then
16410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16412 { (exit 1); exit 1; }; }
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16422 #define $ac_func innocuous_$ac_func
16424 /* System header to define __stub macros and hopefully few prototypes,
16425 which can conflict with char $ac_func (); below.
16426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16427 <limits.h> exists even on freestanding compilers. */
16429 #ifdef __STDC__
16430 # include <limits.h>
16431 #else
16432 # include <assert.h>
16433 #endif
16435 #undef $ac_func
16437 /* Override any gcc2 internal prototype to avoid an error. */
16438 #ifdef __cplusplus
16439 extern "C"
16441 #endif
16442 /* We use char because int might match the return type of a gcc2
16443 builtin and then its argument prototype would still apply. */
16444 char $ac_func ();
16445 /* The GNU C library defines this for functions which it implements
16446 to always fail with ENOSYS. Some functions are actually named
16447 something starting with __ and the normal name is an alias. */
16448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16449 choke me
16450 #else
16451 char (*f) () = $ac_func;
16452 #endif
16453 #ifdef __cplusplus
16455 #endif
16458 main ()
16460 return f != $ac_func;
16462 return 0;
16464 _ACEOF
16465 rm -f conftest.$ac_objext conftest$ac_exeext
16466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16467 (eval $ac_link) 2>conftest.er1
16468 ac_status=$?
16469 grep -v '^ *+' conftest.er1 >conftest.err
16470 rm -f conftest.er1
16471 cat conftest.err >&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); } &&
16474 { ac_try='test -z "$ac_c_werror_flag"
16475 || test ! -s conftest.err'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16478 ac_status=$?
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; } &&
16481 { ac_try='test -s conftest$ac_exeext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16487 eval "$as_ac_var=yes"
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16492 eval "$as_ac_var=no"
16494 rm -f conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16499 if test `eval echo '${'$as_ac_var'}'` = yes; then
16500 cat >>confdefs.h <<_ACEOF
16501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16502 _ACEOF
16505 done
16515 echo "$as_me:$LINENO: checking for modff declaration" >&5
16516 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16517 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16518 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 else
16524 ac_ext=cc
16525 ac_cpp='$CXXCPP $CPPFLAGS'
16526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16530 cat >conftest.$ac_ext <<_ACEOF
16531 /* confdefs.h. */
16532 _ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 #include <math.h>
16538 main ()
16540 modff(0, 0);
16542 return 0;
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16548 ac_status=$?
16549 grep -v '^ *+' conftest.er1 >conftest.err
16550 rm -f conftest.er1
16551 cat conftest.err >&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try='test -z "$ac_cxx_werror_flag"
16555 || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try='test -s conftest.$ac_objext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 glibcxx_cv_func_modff_use=yes
16568 else
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16572 glibcxx_cv_func_modff_use=no
16574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16575 ac_ext=c
16576 ac_cpp='$CPP $CPPFLAGS'
16577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16586 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16588 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16590 for ac_func in modff
16592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16593 echo "$as_me:$LINENO: checking for $ac_func" >&5
16594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16595 if eval "test \"\${$as_ac_var+set}\" = set"; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 if test x$gcc_no_link = xyes; then
16599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16601 { (exit 1); exit 1; }; }
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16611 #define $ac_func innocuous_$ac_func
16613 /* System header to define __stub macros and hopefully few prototypes,
16614 which can conflict with char $ac_func (); below.
16615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16616 <limits.h> exists even on freestanding compilers. */
16618 #ifdef __STDC__
16619 # include <limits.h>
16620 #else
16621 # include <assert.h>
16622 #endif
16624 #undef $ac_func
16626 /* Override any gcc2 internal prototype to avoid an error. */
16627 #ifdef __cplusplus
16628 extern "C"
16630 #endif
16631 /* We use char because int might match the return type of a gcc2
16632 builtin and then its argument prototype would still apply. */
16633 char $ac_func ();
16634 /* The GNU C library defines this for functions which it implements
16635 to always fail with ENOSYS. Some functions are actually named
16636 something starting with __ and the normal name is an alias. */
16637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16638 choke me
16639 #else
16640 char (*f) () = $ac_func;
16641 #endif
16642 #ifdef __cplusplus
16644 #endif
16647 main ()
16649 return f != $ac_func;
16651 return 0;
16653 _ACEOF
16654 rm -f conftest.$ac_objext conftest$ac_exeext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16656 (eval $ac_link) 2>conftest.er1
16657 ac_status=$?
16658 grep -v '^ *+' conftest.er1 >conftest.err
16659 rm -f conftest.er1
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag"
16664 || test ! -s conftest.err'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try='test -s conftest$ac_exeext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 eval "$as_ac_var=yes"
16677 else
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16681 eval "$as_ac_var=no"
16683 rm -f conftest.err conftest.$ac_objext \
16684 conftest$ac_exeext conftest.$ac_ext
16686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16688 if test `eval echo '${'$as_ac_var'}'` = yes; then
16689 cat >>confdefs.h <<_ACEOF
16690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16691 _ACEOF
16694 done
16696 else
16698 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16699 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16700 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16701 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16702 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 else
16707 ac_ext=cc
16708 ac_cpp='$CXXCPP $CPPFLAGS'
16709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #include <math.h>
16721 main ()
16723 _modff(0, 0);
16725 return 0;
16727 _ACEOF
16728 rm -f conftest.$ac_objext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16730 (eval $ac_compile) 2>conftest.er1
16731 ac_status=$?
16732 grep -v '^ *+' conftest.er1 >conftest.err
16733 rm -f conftest.er1
16734 cat conftest.err >&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } &&
16737 { ac_try='test -z "$ac_cxx_werror_flag"
16738 || test ! -s conftest.err'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16741 ac_status=$?
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try='test -s conftest.$ac_objext'
16745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746 (eval $ac_try) 2>&5
16747 ac_status=$?
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16750 glibcxx_cv_func__modff_use=yes
16751 else
16752 echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.$ac_ext >&5
16755 glibcxx_cv_func__modff_use=no
16757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16758 ac_ext=c
16759 ac_cpp='$CPP $CPPFLAGS'
16760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16769 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16771 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16773 for ac_func in _modff
16775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16776 echo "$as_me:$LINENO: checking for $ac_func" >&5
16777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16778 if eval "test \"\${$as_ac_var+set}\" = set"; then
16779 echo $ECHO_N "(cached) $ECHO_C" >&6
16780 else
16781 if test x$gcc_no_link = xyes; then
16782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16784 { (exit 1); exit 1; }; }
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16794 #define $ac_func innocuous_$ac_func
16796 /* System header to define __stub macros and hopefully few prototypes,
16797 which can conflict with char $ac_func (); below.
16798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16799 <limits.h> exists even on freestanding compilers. */
16801 #ifdef __STDC__
16802 # include <limits.h>
16803 #else
16804 # include <assert.h>
16805 #endif
16807 #undef $ac_func
16809 /* Override any gcc2 internal prototype to avoid an error. */
16810 #ifdef __cplusplus
16811 extern "C"
16813 #endif
16814 /* We use char because int might match the return type of a gcc2
16815 builtin and then its argument prototype would still apply. */
16816 char $ac_func ();
16817 /* The GNU C library defines this for functions which it implements
16818 to always fail with ENOSYS. Some functions are actually named
16819 something starting with __ and the normal name is an alias. */
16820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16821 choke me
16822 #else
16823 char (*f) () = $ac_func;
16824 #endif
16825 #ifdef __cplusplus
16827 #endif
16830 main ()
16832 return f != $ac_func;
16834 return 0;
16836 _ACEOF
16837 rm -f conftest.$ac_objext conftest$ac_exeext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16839 (eval $ac_link) 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -z "$ac_c_werror_flag"
16847 || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try='test -s conftest$ac_exeext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16856 ac_status=$?
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 eval "$as_ac_var=yes"
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16864 eval "$as_ac_var=no"
16866 rm -f conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16871 if test `eval echo '${'$as_ac_var'}'` = yes; then
16872 cat >>confdefs.h <<_ACEOF
16873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16874 _ACEOF
16877 done
16887 echo "$as_me:$LINENO: checking for modf declaration" >&5
16888 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16889 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16890 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 else
16896 ac_ext=cc
16897 ac_cpp='$CXXCPP $CPPFLAGS'
16898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16902 cat >conftest.$ac_ext <<_ACEOF
16903 /* confdefs.h. */
16904 _ACEOF
16905 cat confdefs.h >>conftest.$ac_ext
16906 cat >>conftest.$ac_ext <<_ACEOF
16907 /* end confdefs.h. */
16908 #include <math.h>
16910 main ()
16912 modf(0, 0);
16914 return 0;
16916 _ACEOF
16917 rm -f conftest.$ac_objext
16918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16919 (eval $ac_compile) 2>conftest.er1
16920 ac_status=$?
16921 grep -v '^ *+' conftest.er1 >conftest.err
16922 rm -f conftest.er1
16923 cat conftest.err >&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); } &&
16926 { ac_try='test -z "$ac_cxx_werror_flag"
16927 || test ! -s conftest.err'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; } &&
16933 { ac_try='test -s conftest.$ac_objext'
16934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16935 (eval $ac_try) 2>&5
16936 ac_status=$?
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); }; }; then
16939 glibcxx_cv_func_modf_use=yes
16940 else
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 glibcxx_cv_func_modf_use=no
16946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16947 ac_ext=c
16948 ac_cpp='$CPP $CPPFLAGS'
16949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16958 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16960 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16962 for ac_func in modf
16964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16965 echo "$as_me:$LINENO: checking for $ac_func" >&5
16966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16967 if eval "test \"\${$as_ac_var+set}\" = set"; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 else
16970 if test x$gcc_no_link = xyes; then
16971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16973 { (exit 1); exit 1; }; }
16975 cat >conftest.$ac_ext <<_ACEOF
16976 /* confdefs.h. */
16977 _ACEOF
16978 cat confdefs.h >>conftest.$ac_ext
16979 cat >>conftest.$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16983 #define $ac_func innocuous_$ac_func
16985 /* System header to define __stub macros and hopefully few prototypes,
16986 which can conflict with char $ac_func (); below.
16987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16988 <limits.h> exists even on freestanding compilers. */
16990 #ifdef __STDC__
16991 # include <limits.h>
16992 #else
16993 # include <assert.h>
16994 #endif
16996 #undef $ac_func
16998 /* Override any gcc2 internal prototype to avoid an error. */
16999 #ifdef __cplusplus
17000 extern "C"
17002 #endif
17003 /* We use char because int might match the return type of a gcc2
17004 builtin and then its argument prototype would still apply. */
17005 char $ac_func ();
17006 /* The GNU C library defines this for functions which it implements
17007 to always fail with ENOSYS. Some functions are actually named
17008 something starting with __ and the normal name is an alias. */
17009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17010 choke me
17011 #else
17012 char (*f) () = $ac_func;
17013 #endif
17014 #ifdef __cplusplus
17016 #endif
17019 main ()
17021 return f != $ac_func;
17023 return 0;
17025 _ACEOF
17026 rm -f conftest.$ac_objext conftest$ac_exeext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17028 (eval $ac_link) 2>conftest.er1
17029 ac_status=$?
17030 grep -v '^ *+' conftest.er1 >conftest.err
17031 rm -f conftest.er1
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } &&
17035 { ac_try='test -z "$ac_c_werror_flag"
17036 || test ! -s conftest.err'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17039 ac_status=$?
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; } &&
17042 { ac_try='test -s conftest$ac_exeext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17045 ac_status=$?
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17048 eval "$as_ac_var=yes"
17049 else
17050 echo "$as_me: failed program was:" >&5
17051 sed 's/^/| /' conftest.$ac_ext >&5
17053 eval "$as_ac_var=no"
17055 rm -f conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17060 if test `eval echo '${'$as_ac_var'}'` = yes; then
17061 cat >>confdefs.h <<_ACEOF
17062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17063 _ACEOF
17066 done
17068 else
17070 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17071 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17072 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17073 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 else
17079 ac_ext=cc
17080 ac_cpp='$CXXCPP $CPPFLAGS'
17081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h. */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 #include <math.h>
17093 main ()
17095 _modf(0, 0);
17097 return 0;
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17102 (eval $ac_compile) 2>conftest.er1
17103 ac_status=$?
17104 grep -v '^ *+' conftest.er1 >conftest.err
17105 rm -f conftest.er1
17106 cat conftest.err >&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } &&
17109 { ac_try='test -z "$ac_cxx_werror_flag"
17110 || test ! -s conftest.err'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; } &&
17116 { ac_try='test -s conftest.$ac_objext'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; }; then
17122 glibcxx_cv_func__modf_use=yes
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17127 glibcxx_cv_func__modf_use=no
17129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17130 ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17141 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17143 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17145 for ac_func in _modf
17147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17148 echo "$as_me:$LINENO: checking for $ac_func" >&5
17149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17150 if eval "test \"\${$as_ac_var+set}\" = set"; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153 if test x$gcc_no_link = xyes; then
17154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17156 { (exit 1); exit 1; }; }
17158 cat >conftest.$ac_ext <<_ACEOF
17159 /* confdefs.h. */
17160 _ACEOF
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17166 #define $ac_func innocuous_$ac_func
17168 /* System header to define __stub macros and hopefully few prototypes,
17169 which can conflict with char $ac_func (); below.
17170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171 <limits.h> exists even on freestanding compilers. */
17173 #ifdef __STDC__
17174 # include <limits.h>
17175 #else
17176 # include <assert.h>
17177 #endif
17179 #undef $ac_func
17181 /* Override any gcc2 internal prototype to avoid an error. */
17182 #ifdef __cplusplus
17183 extern "C"
17185 #endif
17186 /* We use char because int might match the return type of a gcc2
17187 builtin and then its argument prototype would still apply. */
17188 char $ac_func ();
17189 /* The GNU C library defines this for functions which it implements
17190 to always fail with ENOSYS. Some functions are actually named
17191 something starting with __ and the normal name is an alias. */
17192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17193 choke me
17194 #else
17195 char (*f) () = $ac_func;
17196 #endif
17197 #ifdef __cplusplus
17199 #endif
17202 main ()
17204 return f != $ac_func;
17206 return 0;
17208 _ACEOF
17209 rm -f conftest.$ac_objext conftest$ac_exeext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17211 (eval $ac_link) 2>conftest.er1
17212 ac_status=$?
17213 grep -v '^ *+' conftest.er1 >conftest.err
17214 rm -f conftest.er1
17215 cat conftest.err >&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try='test -z "$ac_c_werror_flag"
17219 || test ! -s conftest.err'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17222 ac_status=$?
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; } &&
17225 { ac_try='test -s conftest$ac_exeext'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; }; then
17231 eval "$as_ac_var=yes"
17232 else
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17236 eval "$as_ac_var=no"
17238 rm -f conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244 cat >>confdefs.h <<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17246 _ACEOF
17249 done
17259 echo "$as_me:$LINENO: checking for powf declaration" >&5
17260 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17261 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17262 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 else
17268 ac_ext=cc
17269 ac_cpp='$CXXCPP $CPPFLAGS'
17270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17274 cat >conftest.$ac_ext <<_ACEOF
17275 /* confdefs.h. */
17276 _ACEOF
17277 cat confdefs.h >>conftest.$ac_ext
17278 cat >>conftest.$ac_ext <<_ACEOF
17279 /* end confdefs.h. */
17280 #include <math.h>
17282 main ()
17284 powf(0, 0);
17286 return 0;
17288 _ACEOF
17289 rm -f conftest.$ac_objext
17290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17291 (eval $ac_compile) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try='test -z "$ac_cxx_werror_flag"
17299 || test ! -s conftest.err'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17302 ac_status=$?
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; } &&
17305 { ac_try='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17308 ac_status=$?
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 glibcxx_cv_func_powf_use=yes
17312 else
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.$ac_ext >&5
17316 glibcxx_cv_func_powf_use=no
17318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17319 ac_ext=c
17320 ac_cpp='$CPP $CPPFLAGS'
17321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17330 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17332 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17334 for ac_func in powf
17336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17337 echo "$as_me:$LINENO: checking for $ac_func" >&5
17338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17339 if eval "test \"\${$as_ac_var+set}\" = set"; then
17340 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17345 { (exit 1); exit 1; }; }
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17355 #define $ac_func innocuous_$ac_func
17357 /* System header to define __stub macros and hopefully few prototypes,
17358 which can conflict with char $ac_func (); below.
17359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17360 <limits.h> exists even on freestanding compilers. */
17362 #ifdef __STDC__
17363 # include <limits.h>
17364 #else
17365 # include <assert.h>
17366 #endif
17368 #undef $ac_func
17370 /* Override any gcc2 internal prototype to avoid an error. */
17371 #ifdef __cplusplus
17372 extern "C"
17374 #endif
17375 /* We use char because int might match the return type of a gcc2
17376 builtin and then its argument prototype would still apply. */
17377 char $ac_func ();
17378 /* The GNU C library defines this for functions which it implements
17379 to always fail with ENOSYS. Some functions are actually named
17380 something starting with __ and the normal name is an alias. */
17381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17382 choke me
17383 #else
17384 char (*f) () = $ac_func;
17385 #endif
17386 #ifdef __cplusplus
17388 #endif
17391 main ()
17393 return f != $ac_func;
17395 return 0;
17397 _ACEOF
17398 rm -f conftest.$ac_objext conftest$ac_exeext
17399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17400 (eval $ac_link) 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } &&
17407 { ac_try='test -z "$ac_c_werror_flag"
17408 || test ! -s conftest.err'
17409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17410 (eval $ac_try) 2>&5
17411 ac_status=$?
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }; } &&
17414 { ac_try='test -s conftest$ac_exeext'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17417 ac_status=$?
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; }; then
17420 eval "$as_ac_var=yes"
17421 else
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.$ac_ext >&5
17425 eval "$as_ac_var=no"
17427 rm -f conftest.err conftest.$ac_objext \
17428 conftest$ac_exeext conftest.$ac_ext
17430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17432 if test `eval echo '${'$as_ac_var'}'` = yes; then
17433 cat >>confdefs.h <<_ACEOF
17434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17435 _ACEOF
17438 done
17440 else
17442 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17443 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17444 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17445 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17447 else
17451 ac_ext=cc
17452 ac_cpp='$CXXCPP $CPPFLAGS'
17453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17457 cat >conftest.$ac_ext <<_ACEOF
17458 /* confdefs.h. */
17459 _ACEOF
17460 cat confdefs.h >>conftest.$ac_ext
17461 cat >>conftest.$ac_ext <<_ACEOF
17462 /* end confdefs.h. */
17463 #include <math.h>
17465 main ()
17467 _powf(0, 0);
17469 return 0;
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17474 (eval $ac_compile) 2>conftest.er1
17475 ac_status=$?
17476 grep -v '^ *+' conftest.er1 >conftest.err
17477 rm -f conftest.er1
17478 cat conftest.err >&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } &&
17481 { ac_try='test -z "$ac_cxx_werror_flag"
17482 || test ! -s conftest.err'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17485 ac_status=$?
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; } &&
17488 { ac_try='test -s conftest.$ac_objext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17491 ac_status=$?
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17494 glibcxx_cv_func__powf_use=yes
17495 else
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17499 glibcxx_cv_func__powf_use=no
17501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17502 ac_ext=c
17503 ac_cpp='$CPP $CPPFLAGS'
17504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17513 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17515 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17517 for ac_func in _powf
17519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17520 echo "$as_me:$LINENO: checking for $ac_func" >&5
17521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17522 if eval "test \"\${$as_ac_var+set}\" = set"; then
17523 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 else
17525 if test x$gcc_no_link = xyes; then
17526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17528 { (exit 1); exit 1; }; }
17530 cat >conftest.$ac_ext <<_ACEOF
17531 /* confdefs.h. */
17532 _ACEOF
17533 cat confdefs.h >>conftest.$ac_ext
17534 cat >>conftest.$ac_ext <<_ACEOF
17535 /* end confdefs.h. */
17536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17538 #define $ac_func innocuous_$ac_func
17540 /* System header to define __stub macros and hopefully few prototypes,
17541 which can conflict with char $ac_func (); below.
17542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17543 <limits.h> exists even on freestanding compilers. */
17545 #ifdef __STDC__
17546 # include <limits.h>
17547 #else
17548 # include <assert.h>
17549 #endif
17551 #undef $ac_func
17553 /* Override any gcc2 internal prototype to avoid an error. */
17554 #ifdef __cplusplus
17555 extern "C"
17557 #endif
17558 /* We use char because int might match the return type of a gcc2
17559 builtin and then its argument prototype would still apply. */
17560 char $ac_func ();
17561 /* The GNU C library defines this for functions which it implements
17562 to always fail with ENOSYS. Some functions are actually named
17563 something starting with __ and the normal name is an alias. */
17564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17565 choke me
17566 #else
17567 char (*f) () = $ac_func;
17568 #endif
17569 #ifdef __cplusplus
17571 #endif
17574 main ()
17576 return f != $ac_func;
17578 return 0;
17580 _ACEOF
17581 rm -f conftest.$ac_objext conftest$ac_exeext
17582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17583 (eval $ac_link) 2>conftest.er1
17584 ac_status=$?
17585 grep -v '^ *+' conftest.er1 >conftest.err
17586 rm -f conftest.er1
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } &&
17590 { ac_try='test -z "$ac_c_werror_flag"
17591 || test ! -s conftest.err'
17592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17593 (eval $ac_try) 2>&5
17594 ac_status=$?
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; } &&
17597 { ac_try='test -s conftest$ac_exeext'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 eval "$as_ac_var=yes"
17604 else
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17608 eval "$as_ac_var=no"
17610 rm -f conftest.err conftest.$ac_objext \
17611 conftest$ac_exeext conftest.$ac_ext
17613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17615 if test `eval echo '${'$as_ac_var'}'` = yes; then
17616 cat >>confdefs.h <<_ACEOF
17617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17618 _ACEOF
17621 done
17631 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17632 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17633 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17634 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17636 else
17640 ac_ext=cc
17641 ac_cpp='$CXXCPP $CPPFLAGS'
17642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <math.h>
17653 #ifdef HAVE_IEEEFP_H
17654 #include <ieeefp.h>
17655 #endif
17658 main ()
17660 sqrtf(0);
17662 return 0;
17664 _ACEOF
17665 rm -f conftest.$ac_objext
17666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17667 (eval $ac_compile) 2>conftest.er1
17668 ac_status=$?
17669 grep -v '^ *+' conftest.er1 >conftest.err
17670 rm -f conftest.er1
17671 cat conftest.err >&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try='test -z "$ac_cxx_werror_flag"
17675 || test ! -s conftest.err'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17678 ac_status=$?
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; } &&
17681 { ac_try='test -s conftest.$ac_objext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 glibcxx_cv_func_sqrtf_use=yes
17688 else
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17692 glibcxx_cv_func_sqrtf_use=no
17694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17695 ac_ext=c
17696 ac_cpp='$CPP $CPPFLAGS'
17697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17706 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17708 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17710 for ac_func in sqrtf
17712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17713 echo "$as_me:$LINENO: checking for $ac_func" >&5
17714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17715 if eval "test \"\${$as_ac_var+set}\" = set"; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 else
17718 if test x$gcc_no_link = xyes; then
17719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17721 { (exit 1); exit 1; }; }
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17731 #define $ac_func innocuous_$ac_func
17733 /* System header to define __stub macros and hopefully few prototypes,
17734 which can conflict with char $ac_func (); below.
17735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17736 <limits.h> exists even on freestanding compilers. */
17738 #ifdef __STDC__
17739 # include <limits.h>
17740 #else
17741 # include <assert.h>
17742 #endif
17744 #undef $ac_func
17746 /* Override any gcc2 internal prototype to avoid an error. */
17747 #ifdef __cplusplus
17748 extern "C"
17750 #endif
17751 /* We use char because int might match the return type of a gcc2
17752 builtin and then its argument prototype would still apply. */
17753 char $ac_func ();
17754 /* The GNU C library defines this for functions which it implements
17755 to always fail with ENOSYS. Some functions are actually named
17756 something starting with __ and the normal name is an alias. */
17757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17758 choke me
17759 #else
17760 char (*f) () = $ac_func;
17761 #endif
17762 #ifdef __cplusplus
17764 #endif
17767 main ()
17769 return f != $ac_func;
17771 return 0;
17773 _ACEOF
17774 rm -f conftest.$ac_objext conftest$ac_exeext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17776 (eval $ac_link) 2>conftest.er1
17777 ac_status=$?
17778 grep -v '^ *+' conftest.er1 >conftest.err
17779 rm -f conftest.er1
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try='test -z "$ac_c_werror_flag"
17784 || test ! -s conftest.err'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17787 ac_status=$?
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; } &&
17790 { ac_try='test -s conftest$ac_exeext'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; }; then
17796 eval "$as_ac_var=yes"
17797 else
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17801 eval "$as_ac_var=no"
17803 rm -f conftest.err conftest.$ac_objext \
17804 conftest$ac_exeext conftest.$ac_ext
17806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17808 if test `eval echo '${'$as_ac_var'}'` = yes; then
17809 cat >>confdefs.h <<_ACEOF
17810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17811 _ACEOF
17814 done
17816 else
17818 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17819 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17820 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17821 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 else
17827 ac_ext=cc
17828 ac_cpp='$CXXCPP $CPPFLAGS'
17829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 #include <math.h>
17840 #ifdef HAVE_IEEEFP_H
17841 #include <ieeefp.h>
17842 #endif
17845 main ()
17847 _sqrtf(0);
17849 return 0;
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try='test -z "$ac_cxx_werror_flag"
17862 || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try='test -s conftest.$ac_objext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17874 glibcxx_cv_func__sqrtf_use=yes
17875 else
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17879 glibcxx_cv_func__sqrtf_use=no
17881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17893 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17895 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17897 for ac_func in _sqrtf
17899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17900 echo "$as_me:$LINENO: checking for $ac_func" >&5
17901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17902 if eval "test \"\${$as_ac_var+set}\" = set"; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 if test x$gcc_no_link = xyes; then
17906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17908 { (exit 1); exit 1; }; }
17910 cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h. */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17918 #define $ac_func innocuous_$ac_func
17920 /* System header to define __stub macros and hopefully few prototypes,
17921 which can conflict with char $ac_func (); below.
17922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17923 <limits.h> exists even on freestanding compilers. */
17925 #ifdef __STDC__
17926 # include <limits.h>
17927 #else
17928 # include <assert.h>
17929 #endif
17931 #undef $ac_func
17933 /* Override any gcc2 internal prototype to avoid an error. */
17934 #ifdef __cplusplus
17935 extern "C"
17937 #endif
17938 /* We use char because int might match the return type of a gcc2
17939 builtin and then its argument prototype would still apply. */
17940 char $ac_func ();
17941 /* The GNU C library defines this for functions which it implements
17942 to always fail with ENOSYS. Some functions are actually named
17943 something starting with __ and the normal name is an alias. */
17944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17945 choke me
17946 #else
17947 char (*f) () = $ac_func;
17948 #endif
17949 #ifdef __cplusplus
17951 #endif
17954 main ()
17956 return f != $ac_func;
17958 return 0;
17960 _ACEOF
17961 rm -f conftest.$ac_objext conftest$ac_exeext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17963 (eval $ac_link) 2>conftest.er1
17964 ac_status=$?
17965 grep -v '^ *+' conftest.er1 >conftest.err
17966 rm -f conftest.er1
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } &&
17970 { ac_try='test -z "$ac_c_werror_flag"
17971 || test ! -s conftest.err'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; } &&
17977 { ac_try='test -s conftest$ac_exeext'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; }; then
17983 eval "$as_ac_var=yes"
17984 else
17985 echo "$as_me: failed program was:" >&5
17986 sed 's/^/| /' conftest.$ac_ext >&5
17988 eval "$as_ac_var=no"
17990 rm -f conftest.err conftest.$ac_objext \
17991 conftest$ac_exeext conftest.$ac_ext
17993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17995 if test `eval echo '${'$as_ac_var'}'` = yes; then
17996 cat >>confdefs.h <<_ACEOF
17997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17998 _ACEOF
18001 done
18011 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18012 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18013 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18014 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18015 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 else
18020 ac_ext=cc
18021 ac_cpp='$CXXCPP $CPPFLAGS'
18022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18026 cat >conftest.$ac_ext <<_ACEOF
18027 /* confdefs.h. */
18028 _ACEOF
18029 cat confdefs.h >>conftest.$ac_ext
18030 cat >>conftest.$ac_ext <<_ACEOF
18031 /* end confdefs.h. */
18032 #include <math.h>
18034 main ()
18036 sincosf(0, 0, 0);
18038 return 0;
18040 _ACEOF
18041 rm -f conftest.$ac_objext
18042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18043 (eval $ac_compile) 2>conftest.er1
18044 ac_status=$?
18045 grep -v '^ *+' conftest.er1 >conftest.err
18046 rm -f conftest.er1
18047 cat conftest.err >&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } &&
18050 { ac_try='test -z "$ac_cxx_werror_flag"
18051 || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18054 ac_status=$?
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18060 ac_status=$?
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18063 glibcxx_cv_func_sincosf_use=yes
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18068 glibcxx_cv_func_sincosf_use=no
18070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18071 ac_ext=c
18072 ac_cpp='$CPP $CPPFLAGS'
18073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18082 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18084 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18086 for ac_func in sincosf
18088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18089 echo "$as_me:$LINENO: checking for $ac_func" >&5
18090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18091 if eval "test \"\${$as_ac_var+set}\" = set"; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 else
18094 if test x$gcc_no_link = xyes; then
18095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18097 { (exit 1); exit 1; }; }
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18107 #define $ac_func innocuous_$ac_func
18109 /* System header to define __stub macros and hopefully few prototypes,
18110 which can conflict with char $ac_func (); below.
18111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18112 <limits.h> exists even on freestanding compilers. */
18114 #ifdef __STDC__
18115 # include <limits.h>
18116 #else
18117 # include <assert.h>
18118 #endif
18120 #undef $ac_func
18122 /* Override any gcc2 internal prototype to avoid an error. */
18123 #ifdef __cplusplus
18124 extern "C"
18126 #endif
18127 /* We use char because int might match the return type of a gcc2
18128 builtin and then its argument prototype would still apply. */
18129 char $ac_func ();
18130 /* The GNU C library defines this for functions which it implements
18131 to always fail with ENOSYS. Some functions are actually named
18132 something starting with __ and the normal name is an alias. */
18133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18134 choke me
18135 #else
18136 char (*f) () = $ac_func;
18137 #endif
18138 #ifdef __cplusplus
18140 #endif
18143 main ()
18145 return f != $ac_func;
18147 return 0;
18149 _ACEOF
18150 rm -f conftest.$ac_objext conftest$ac_exeext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18152 (eval $ac_link) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_c_werror_flag"
18160 || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest$ac_exeext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 eval "$as_ac_var=yes"
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 eval "$as_ac_var=no"
18179 rm -f conftest.err conftest.$ac_objext \
18180 conftest$ac_exeext conftest.$ac_ext
18182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18184 if test `eval echo '${'$as_ac_var'}'` = yes; then
18185 cat >>confdefs.h <<_ACEOF
18186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18187 _ACEOF
18190 done
18192 else
18194 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18195 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18196 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18197 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18198 echo $ECHO_N "(cached) $ECHO_C" >&6
18199 else
18203 ac_ext=cc
18204 ac_cpp='$CXXCPP $CPPFLAGS'
18205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18209 cat >conftest.$ac_ext <<_ACEOF
18210 /* confdefs.h. */
18211 _ACEOF
18212 cat confdefs.h >>conftest.$ac_ext
18213 cat >>conftest.$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18215 #include <math.h>
18217 main ()
18219 _sincosf(0, 0, 0);
18221 return 0;
18223 _ACEOF
18224 rm -f conftest.$ac_objext
18225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18226 (eval $ac_compile) 2>conftest.er1
18227 ac_status=$?
18228 grep -v '^ *+' conftest.er1 >conftest.err
18229 rm -f conftest.er1
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
18233 { ac_try='test -z "$ac_cxx_werror_flag"
18234 || test ! -s conftest.err'
18235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18236 (eval $ac_try) 2>&5
18237 ac_status=$?
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); }; } &&
18240 { ac_try='test -s conftest.$ac_objext'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18243 ac_status=$?
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; }; then
18246 glibcxx_cv_func__sincosf_use=yes
18247 else
18248 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18251 glibcxx_cv_func__sincosf_use=no
18253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18254 ac_ext=c
18255 ac_cpp='$CPP $CPPFLAGS'
18256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18265 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18267 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18269 for ac_func in _sincosf
18271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18272 echo "$as_me:$LINENO: checking for $ac_func" >&5
18273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18274 if eval "test \"\${$as_ac_var+set}\" = set"; then
18275 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 else
18277 if test x$gcc_no_link = xyes; then
18278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18280 { (exit 1); exit 1; }; }
18282 cat >conftest.$ac_ext <<_ACEOF
18283 /* confdefs.h. */
18284 _ACEOF
18285 cat confdefs.h >>conftest.$ac_ext
18286 cat >>conftest.$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18290 #define $ac_func innocuous_$ac_func
18292 /* System header to define __stub macros and hopefully few prototypes,
18293 which can conflict with char $ac_func (); below.
18294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18295 <limits.h> exists even on freestanding compilers. */
18297 #ifdef __STDC__
18298 # include <limits.h>
18299 #else
18300 # include <assert.h>
18301 #endif
18303 #undef $ac_func
18305 /* Override any gcc2 internal prototype to avoid an error. */
18306 #ifdef __cplusplus
18307 extern "C"
18309 #endif
18310 /* We use char because int might match the return type of a gcc2
18311 builtin and then its argument prototype would still apply. */
18312 char $ac_func ();
18313 /* The GNU C library defines this for functions which it implements
18314 to always fail with ENOSYS. Some functions are actually named
18315 something starting with __ and the normal name is an alias. */
18316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18317 choke me
18318 #else
18319 char (*f) () = $ac_func;
18320 #endif
18321 #ifdef __cplusplus
18323 #endif
18326 main ()
18328 return f != $ac_func;
18330 return 0;
18332 _ACEOF
18333 rm -f conftest.$ac_objext conftest$ac_exeext
18334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18335 (eval $ac_link) 2>conftest.er1
18336 ac_status=$?
18337 grep -v '^ *+' conftest.er1 >conftest.err
18338 rm -f conftest.er1
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } &&
18342 { ac_try='test -z "$ac_c_werror_flag"
18343 || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest$ac_exeext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 eval "$as_ac_var=yes"
18356 else
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18360 eval "$as_ac_var=no"
18362 rm -f conftest.err conftest.$ac_objext \
18363 conftest$ac_exeext conftest.$ac_ext
18365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18367 if test `eval echo '${'$as_ac_var'}'` = yes; then
18368 cat >>confdefs.h <<_ACEOF
18369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18370 _ACEOF
18373 done
18383 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18384 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18385 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18386 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18387 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 else
18392 ac_ext=cc
18393 ac_cpp='$CXXCPP $CPPFLAGS'
18394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 #include <math.h>
18405 #ifdef HAVE_IEEEFP_H
18406 #include <ieeefp.h>
18407 #endif
18410 main ()
18412 finitef(0);
18414 return 0;
18416 _ACEOF
18417 rm -f conftest.$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
18426 { ac_try='test -z "$ac_cxx_werror_flag"
18427 || test ! -s conftest.err'
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; } &&
18433 { ac_try='test -s conftest.$ac_objext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 glibcxx_cv_func_finitef_use=yes
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18444 glibcxx_cv_func_finitef_use=no
18446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18447 ac_ext=c
18448 ac_cpp='$CPP $CPPFLAGS'
18449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18458 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18460 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18462 for ac_func in finitef
18464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18465 echo "$as_me:$LINENO: checking for $ac_func" >&5
18466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18467 if eval "test \"\${$as_ac_var+set}\" = set"; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 else
18470 if test x$gcc_no_link = xyes; then
18471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18473 { (exit 1); exit 1; }; }
18475 cat >conftest.$ac_ext <<_ACEOF
18476 /* confdefs.h. */
18477 _ACEOF
18478 cat confdefs.h >>conftest.$ac_ext
18479 cat >>conftest.$ac_ext <<_ACEOF
18480 /* end confdefs.h. */
18481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18483 #define $ac_func innocuous_$ac_func
18485 /* System header to define __stub macros and hopefully few prototypes,
18486 which can conflict with char $ac_func (); below.
18487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18488 <limits.h> exists even on freestanding compilers. */
18490 #ifdef __STDC__
18491 # include <limits.h>
18492 #else
18493 # include <assert.h>
18494 #endif
18496 #undef $ac_func
18498 /* Override any gcc2 internal prototype to avoid an error. */
18499 #ifdef __cplusplus
18500 extern "C"
18502 #endif
18503 /* We use char because int might match the return type of a gcc2
18504 builtin and then its argument prototype would still apply. */
18505 char $ac_func ();
18506 /* The GNU C library defines this for functions which it implements
18507 to always fail with ENOSYS. Some functions are actually named
18508 something starting with __ and the normal name is an alias. */
18509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18510 choke me
18511 #else
18512 char (*f) () = $ac_func;
18513 #endif
18514 #ifdef __cplusplus
18516 #endif
18519 main ()
18521 return f != $ac_func;
18523 return 0;
18525 _ACEOF
18526 rm -f conftest.$ac_objext conftest$ac_exeext
18527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18528 (eval $ac_link) 2>conftest.er1
18529 ac_status=$?
18530 grep -v '^ *+' conftest.er1 >conftest.err
18531 rm -f conftest.er1
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } &&
18535 { ac_try='test -z "$ac_c_werror_flag"
18536 || test ! -s conftest.err'
18537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18538 (eval $ac_try) 2>&5
18539 ac_status=$?
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; } &&
18542 { ac_try='test -s conftest$ac_exeext'
18543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18544 (eval $ac_try) 2>&5
18545 ac_status=$?
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); }; }; then
18548 eval "$as_ac_var=yes"
18549 else
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18553 eval "$as_ac_var=no"
18555 rm -f conftest.err conftest.$ac_objext \
18556 conftest$ac_exeext conftest.$ac_ext
18558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18560 if test `eval echo '${'$as_ac_var'}'` = yes; then
18561 cat >>confdefs.h <<_ACEOF
18562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18563 _ACEOF
18566 done
18568 else
18570 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18571 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18572 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18573 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18579 ac_ext=cc
18580 ac_cpp='$CXXCPP $CPPFLAGS'
18581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18585 cat >conftest.$ac_ext <<_ACEOF
18586 /* confdefs.h. */
18587 _ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <math.h>
18592 #ifdef HAVE_IEEEFP_H
18593 #include <ieeefp.h>
18594 #endif
18597 main ()
18599 _finitef(0);
18601 return 0;
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18606 (eval $ac_compile) 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try='test -z "$ac_cxx_werror_flag"
18614 || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 glibcxx_cv_func__finitef_use=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 glibcxx_cv_func__finitef_use=no
18633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18634 ac_ext=c
18635 ac_cpp='$CPP $CPPFLAGS'
18636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18645 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18647 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18649 for ac_func in _finitef
18651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18652 echo "$as_me:$LINENO: checking for $ac_func" >&5
18653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18654 if eval "test \"\${$as_ac_var+set}\" = set"; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18656 else
18657 if test x$gcc_no_link = xyes; then
18658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18660 { (exit 1); exit 1; }; }
18662 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h. */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18670 #define $ac_func innocuous_$ac_func
18672 /* System header to define __stub macros and hopefully few prototypes,
18673 which can conflict with char $ac_func (); below.
18674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18675 <limits.h> exists even on freestanding compilers. */
18677 #ifdef __STDC__
18678 # include <limits.h>
18679 #else
18680 # include <assert.h>
18681 #endif
18683 #undef $ac_func
18685 /* Override any gcc2 internal prototype to avoid an error. */
18686 #ifdef __cplusplus
18687 extern "C"
18689 #endif
18690 /* We use char because int might match the return type of a gcc2
18691 builtin and then its argument prototype would still apply. */
18692 char $ac_func ();
18693 /* The GNU C library defines this for functions which it implements
18694 to always fail with ENOSYS. Some functions are actually named
18695 something starting with __ and the normal name is an alias. */
18696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18697 choke me
18698 #else
18699 char (*f) () = $ac_func;
18700 #endif
18701 #ifdef __cplusplus
18703 #endif
18706 main ()
18708 return f != $ac_func;
18710 return 0;
18712 _ACEOF
18713 rm -f conftest.$ac_objext conftest$ac_exeext
18714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18715 (eval $ac_link) 2>conftest.er1
18716 ac_status=$?
18717 grep -v '^ *+' conftest.er1 >conftest.err
18718 rm -f conftest.er1
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } &&
18722 { ac_try='test -z "$ac_c_werror_flag"
18723 || test ! -s conftest.err'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18726 ac_status=$?
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; } &&
18729 { ac_try='test -s conftest$ac_exeext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 eval "$as_ac_var=yes"
18736 else
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18740 eval "$as_ac_var=no"
18742 rm -f conftest.err conftest.$ac_objext \
18743 conftest$ac_exeext conftest.$ac_ext
18745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18747 if test `eval echo '${'$as_ac_var'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18750 _ACEOF
18753 done
18763 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18764 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18765 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18771 ac_ext=cc
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18777 cat >conftest.$ac_ext <<_ACEOF
18778 /* confdefs.h. */
18779 _ACEOF
18780 cat confdefs.h >>conftest.$ac_ext
18781 cat >>conftest.$ac_ext <<_ACEOF
18782 /* end confdefs.h. */
18783 #include <math.h>
18785 main ()
18787 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18789 return 0;
18791 _ACEOF
18792 rm -f conftest.$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -z "$ac_cxx_werror_flag"
18802 || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18805 ac_status=$?
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 glibcxx_cv_func_long_double_trig_use=yes
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18819 glibcxx_cv_func_long_double_trig_use=no
18821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18822 ac_ext=c
18823 ac_cpp='$CPP $CPPFLAGS'
18824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18831 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18832 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18842 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18845 echo "$as_me:$LINENO: checking for $ac_func" >&5
18846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18847 if eval "test \"\${$as_ac_var+set}\" = set"; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 else
18850 if test x$gcc_no_link = xyes; then
18851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18853 { (exit 1); exit 1; }; }
18855 cat >conftest.$ac_ext <<_ACEOF
18856 /* confdefs.h. */
18857 _ACEOF
18858 cat confdefs.h >>conftest.$ac_ext
18859 cat >>conftest.$ac_ext <<_ACEOF
18860 /* end confdefs.h. */
18861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18863 #define $ac_func innocuous_$ac_func
18865 /* System header to define __stub macros and hopefully few prototypes,
18866 which can conflict with char $ac_func (); below.
18867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18868 <limits.h> exists even on freestanding compilers. */
18870 #ifdef __STDC__
18871 # include <limits.h>
18872 #else
18873 # include <assert.h>
18874 #endif
18876 #undef $ac_func
18878 /* Override any gcc2 internal prototype to avoid an error. */
18879 #ifdef __cplusplus
18880 extern "C"
18882 #endif
18883 /* We use char because int might match the return type of a gcc2
18884 builtin and then its argument prototype would still apply. */
18885 char $ac_func ();
18886 /* The GNU C library defines this for functions which it implements
18887 to always fail with ENOSYS. Some functions are actually named
18888 something starting with __ and the normal name is an alias. */
18889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18890 choke me
18891 #else
18892 char (*f) () = $ac_func;
18893 #endif
18894 #ifdef __cplusplus
18896 #endif
18899 main ()
18901 return f != $ac_func;
18903 return 0;
18905 _ACEOF
18906 rm -f conftest.$ac_objext conftest$ac_exeext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18908 (eval $ac_link) 2>conftest.er1
18909 ac_status=$?
18910 grep -v '^ *+' conftest.er1 >conftest.err
18911 rm -f conftest.er1
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -z "$ac_c_werror_flag"
18916 || test ! -s conftest.err'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18919 ac_status=$?
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; } &&
18922 { ac_try='test -s conftest$ac_exeext'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; }; then
18928 eval "$as_ac_var=yes"
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 eval "$as_ac_var=no"
18935 rm -f conftest.err conftest.$ac_objext \
18936 conftest$ac_exeext conftest.$ac_ext
18938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18940 if test `eval echo '${'$as_ac_var'}'` = yes; then
18941 cat >>confdefs.h <<_ACEOF
18942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18943 _ACEOF
18946 done
18948 else
18949 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18950 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18951 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18952 echo $ECHO_N "(cached) $ECHO_C" >&6
18953 else
18957 ac_ext=cc
18958 ac_cpp='$CXXCPP $CPPFLAGS'
18959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18963 cat >conftest.$ac_ext <<_ACEOF
18964 /* confdefs.h. */
18965 _ACEOF
18966 cat confdefs.h >>conftest.$ac_ext
18967 cat >>conftest.$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 #include <math.h>
18971 main ()
18973 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18975 return 0;
18977 _ACEOF
18978 rm -f conftest.$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18981 ac_status=$?
18982 grep -v '^ *+' conftest.er1 >conftest.err
18983 rm -f conftest.er1
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_cxx_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest.$ac_objext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 glibcxx_cv_func__long_double_trig_use=yes
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 glibcxx_cv_func__long_double_trig_use=no
19007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19008 ac_ext=c
19009 ac_cpp='$CPP $CPPFLAGS'
19010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19017 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19018 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19028 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19031 echo "$as_me:$LINENO: checking for $ac_func" >&5
19032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19033 if eval "test \"\${$as_ac_var+set}\" = set"; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 else
19036 if test x$gcc_no_link = xyes; then
19037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19039 { (exit 1); exit 1; }; }
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19049 #define $ac_func innocuous_$ac_func
19051 /* System header to define __stub macros and hopefully few prototypes,
19052 which can conflict with char $ac_func (); below.
19053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19054 <limits.h> exists even on freestanding compilers. */
19056 #ifdef __STDC__
19057 # include <limits.h>
19058 #else
19059 # include <assert.h>
19060 #endif
19062 #undef $ac_func
19064 /* Override any gcc2 internal prototype to avoid an error. */
19065 #ifdef __cplusplus
19066 extern "C"
19068 #endif
19069 /* We use char because int might match the return type of a gcc2
19070 builtin and then its argument prototype would still apply. */
19071 char $ac_func ();
19072 /* The GNU C library defines this for functions which it implements
19073 to always fail with ENOSYS. Some functions are actually named
19074 something starting with __ and the normal name is an alias. */
19075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19076 choke me
19077 #else
19078 char (*f) () = $ac_func;
19079 #endif
19080 #ifdef __cplusplus
19082 #endif
19085 main ()
19087 return f != $ac_func;
19089 return 0;
19091 _ACEOF
19092 rm -f conftest.$ac_objext conftest$ac_exeext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19094 (eval $ac_link) 2>conftest.er1
19095 ac_status=$?
19096 grep -v '^ *+' conftest.er1 >conftest.err
19097 rm -f conftest.er1
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } &&
19101 { ac_try='test -z "$ac_c_werror_flag"
19102 || test ! -s conftest.err'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; } &&
19108 { ac_try='test -s conftest$ac_exeext'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; }; then
19114 eval "$as_ac_var=yes"
19115 else
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 eval "$as_ac_var=no"
19121 rm -f conftest.err conftest.$ac_objext \
19122 conftest$ac_exeext conftest.$ac_ext
19124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19126 if test `eval echo '${'$as_ac_var'}'` = yes; then
19127 cat >>confdefs.h <<_ACEOF
19128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19129 _ACEOF
19132 done
19150 echo "$as_me:$LINENO: checking for long double round functions" >&5
19151 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19152 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 else
19158 ac_ext=cc
19159 ac_cpp='$CXXCPP $CPPFLAGS'
19160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 #include <math.h>
19172 main ()
19174 ceill (0); floorl (0);
19176 return 0;
19178 _ACEOF
19179 rm -f conftest.$ac_objext
19180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19181 (eval $ac_compile) 2>conftest.er1
19182 ac_status=$?
19183 grep -v '^ *+' conftest.er1 >conftest.err
19184 rm -f conftest.er1
19185 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } &&
19188 { ac_try='test -z "$ac_cxx_werror_flag"
19189 || test ! -s conftest.err'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; } &&
19195 { ac_try='test -s conftest.$ac_objext'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; }; then
19201 glibcxx_cv_func_long_double_round_use=yes
19202 else
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 glibcxx_cv_func_long_double_round_use=no
19208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19209 ac_ext=c
19210 ac_cpp='$CPP $CPPFLAGS'
19211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19218 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19219 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19222 for ac_func in ceill floorl
19224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19225 echo "$as_me:$LINENO: checking for $ac_func" >&5
19226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19227 if eval "test \"\${$as_ac_var+set}\" = set"; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230 if test x$gcc_no_link = xyes; then
19231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19233 { (exit 1); exit 1; }; }
19235 cat >conftest.$ac_ext <<_ACEOF
19236 /* confdefs.h. */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19243 #define $ac_func innocuous_$ac_func
19245 /* System header to define __stub macros and hopefully few prototypes,
19246 which can conflict with char $ac_func (); below.
19247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19248 <limits.h> exists even on freestanding compilers. */
19250 #ifdef __STDC__
19251 # include <limits.h>
19252 #else
19253 # include <assert.h>
19254 #endif
19256 #undef $ac_func
19258 /* Override any gcc2 internal prototype to avoid an error. */
19259 #ifdef __cplusplus
19260 extern "C"
19262 #endif
19263 /* We use char because int might match the return type of a gcc2
19264 builtin and then its argument prototype would still apply. */
19265 char $ac_func ();
19266 /* The GNU C library defines this for functions which it implements
19267 to always fail with ENOSYS. Some functions are actually named
19268 something starting with __ and the normal name is an alias. */
19269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19270 choke me
19271 #else
19272 char (*f) () = $ac_func;
19273 #endif
19274 #ifdef __cplusplus
19276 #endif
19279 main ()
19281 return f != $ac_func;
19283 return 0;
19285 _ACEOF
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288 (eval $ac_link) 2>conftest.er1
19289 ac_status=$?
19290 grep -v '^ *+' conftest.er1 >conftest.err
19291 rm -f conftest.er1
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } &&
19295 { ac_try='test -z "$ac_c_werror_flag"
19296 || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19299 ac_status=$?
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest$ac_exeext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19305 ac_status=$?
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 eval "$as_ac_var=yes"
19309 else
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 eval "$as_ac_var=no"
19315 rm -f conftest.err conftest.$ac_objext \
19316 conftest$ac_exeext conftest.$ac_ext
19318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19320 if test `eval echo '${'$as_ac_var'}'` = yes; then
19321 cat >>confdefs.h <<_ACEOF
19322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19323 _ACEOF
19326 done
19328 else
19329 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19330 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19331 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19337 ac_ext=cc
19338 ac_cpp='$CXXCPP $CPPFLAGS'
19339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <math.h>
19351 main ()
19353 _ceill (0); _floorl (0);
19355 return 0;
19357 _ACEOF
19358 rm -f conftest.$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19361 ac_status=$?
19362 grep -v '^ *+' conftest.er1 >conftest.err
19363 rm -f conftest.er1
19364 cat conftest.err >&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try='test -z "$ac_cxx_werror_flag"
19368 || test ! -s conftest.err'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19371 ac_status=$?
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; } &&
19374 { ac_try='test -s conftest.$ac_objext'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19377 ac_status=$?
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; }; then
19380 glibcxx_cv_func__long_double_round_use=yes
19381 else
19382 echo "$as_me: failed program was:" >&5
19383 sed 's/^/| /' conftest.$ac_ext >&5
19385 glibcxx_cv_func__long_double_round_use=no
19387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19388 ac_ext=c
19389 ac_cpp='$CPP $CPPFLAGS'
19390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19396 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19397 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19398 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19401 for ac_func in _ceill _floorl
19403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19404 echo "$as_me:$LINENO: checking for $ac_func" >&5
19405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19406 if eval "test \"\${$as_ac_var+set}\" = set"; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 else
19409 if test x$gcc_no_link = xyes; then
19410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19412 { (exit 1); exit 1; }; }
19414 cat >conftest.$ac_ext <<_ACEOF
19415 /* confdefs.h. */
19416 _ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19422 #define $ac_func innocuous_$ac_func
19424 /* System header to define __stub macros and hopefully few prototypes,
19425 which can conflict with char $ac_func (); below.
19426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19427 <limits.h> exists even on freestanding compilers. */
19429 #ifdef __STDC__
19430 # include <limits.h>
19431 #else
19432 # include <assert.h>
19433 #endif
19435 #undef $ac_func
19437 /* Override any gcc2 internal prototype to avoid an error. */
19438 #ifdef __cplusplus
19439 extern "C"
19441 #endif
19442 /* We use char because int might match the return type of a gcc2
19443 builtin and then its argument prototype would still apply. */
19444 char $ac_func ();
19445 /* The GNU C library defines this for functions which it implements
19446 to always fail with ENOSYS. Some functions are actually named
19447 something starting with __ and the normal name is an alias. */
19448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19449 choke me
19450 #else
19451 char (*f) () = $ac_func;
19452 #endif
19453 #ifdef __cplusplus
19455 #endif
19458 main ()
19460 return f != $ac_func;
19462 return 0;
19464 _ACEOF
19465 rm -f conftest.$ac_objext conftest$ac_exeext
19466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19467 (eval $ac_link) 2>conftest.er1
19468 ac_status=$?
19469 grep -v '^ *+' conftest.er1 >conftest.err
19470 rm -f conftest.er1
19471 cat conftest.err >&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } &&
19474 { ac_try='test -z "$ac_c_werror_flag"
19475 || test ! -s conftest.err'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19478 ac_status=$?
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; } &&
19481 { ac_try='test -s conftest$ac_exeext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 eval "$as_ac_var=yes"
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 eval "$as_ac_var=no"
19494 rm -f conftest.err conftest.$ac_objext \
19495 conftest$ac_exeext conftest.$ac_ext
19497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19499 if test `eval echo '${'$as_ac_var'}'` = yes; then
19500 cat >>confdefs.h <<_ACEOF
19501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19502 _ACEOF
19505 done
19517 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19518 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19519 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19520 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 else
19526 ac_ext=cc
19527 ac_cpp='$CXXCPP $CPPFLAGS'
19528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19532 cat >conftest.$ac_ext <<_ACEOF
19533 /* confdefs.h. */
19534 _ACEOF
19535 cat confdefs.h >>conftest.$ac_ext
19536 cat >>conftest.$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <math.h>
19539 #ifdef HAVE_IEEEFP_H
19540 #include <ieeefp.h>
19541 #endif
19544 main ()
19546 isnanl(0);
19548 return 0;
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>conftest.er1
19554 ac_status=$?
19555 grep -v '^ *+' conftest.er1 >conftest.err
19556 rm -f conftest.er1
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try='test -z "$ac_cxx_werror_flag"
19561 || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19564 ac_status=$?
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try='test -s conftest.$ac_objext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19570 ac_status=$?
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19573 glibcxx_cv_func_isnanl_use=yes
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19578 glibcxx_cv_func_isnanl_use=no
19580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19581 ac_ext=c
19582 ac_cpp='$CPP $CPPFLAGS'
19583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19592 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19594 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19596 for ac_func in isnanl
19598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19599 echo "$as_me:$LINENO: checking for $ac_func" >&5
19600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19601 if eval "test \"\${$as_ac_var+set}\" = set"; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 else
19604 if test x$gcc_no_link = xyes; then
19605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19607 { (exit 1); exit 1; }; }
19609 cat >conftest.$ac_ext <<_ACEOF
19610 /* confdefs.h. */
19611 _ACEOF
19612 cat confdefs.h >>conftest.$ac_ext
19613 cat >>conftest.$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19617 #define $ac_func innocuous_$ac_func
19619 /* System header to define __stub macros and hopefully few prototypes,
19620 which can conflict with char $ac_func (); below.
19621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19622 <limits.h> exists even on freestanding compilers. */
19624 #ifdef __STDC__
19625 # include <limits.h>
19626 #else
19627 # include <assert.h>
19628 #endif
19630 #undef $ac_func
19632 /* Override any gcc2 internal prototype to avoid an error. */
19633 #ifdef __cplusplus
19634 extern "C"
19636 #endif
19637 /* We use char because int might match the return type of a gcc2
19638 builtin and then its argument prototype would still apply. */
19639 char $ac_func ();
19640 /* The GNU C library defines this for functions which it implements
19641 to always fail with ENOSYS. Some functions are actually named
19642 something starting with __ and the normal name is an alias. */
19643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19644 choke me
19645 #else
19646 char (*f) () = $ac_func;
19647 #endif
19648 #ifdef __cplusplus
19650 #endif
19653 main ()
19655 return f != $ac_func;
19657 return 0;
19659 _ACEOF
19660 rm -f conftest.$ac_objext conftest$ac_exeext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19662 (eval $ac_link) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_c_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest$ac_exeext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 eval "$as_ac_var=yes"
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 eval "$as_ac_var=no"
19689 rm -f conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19694 if test `eval echo '${'$as_ac_var'}'` = yes; then
19695 cat >>confdefs.h <<_ACEOF
19696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19697 _ACEOF
19700 done
19702 else
19704 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19705 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19706 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19707 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 else
19713 ac_ext=cc
19714 ac_cpp='$CXXCPP $CPPFLAGS'
19715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19719 cat >conftest.$ac_ext <<_ACEOF
19720 /* confdefs.h. */
19721 _ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #include <math.h>
19726 #ifdef HAVE_IEEEFP_H
19727 #include <ieeefp.h>
19728 #endif
19731 main ()
19733 _isnanl(0);
19735 return 0;
19737 _ACEOF
19738 rm -f conftest.$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>conftest.er1
19741 ac_status=$?
19742 grep -v '^ *+' conftest.er1 >conftest.err
19743 rm -f conftest.er1
19744 cat conftest.err >&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); } &&
19747 { ac_try='test -z "$ac_cxx_werror_flag"
19748 || test ! -s conftest.err'
19749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750 (eval $ac_try) 2>&5
19751 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; } &&
19754 { ac_try='test -s conftest.$ac_objext'
19755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756 (eval $ac_try) 2>&5
19757 ac_status=$?
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; }; then
19760 glibcxx_cv_func__isnanl_use=yes
19761 else
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19765 glibcxx_cv_func__isnanl_use=no
19767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19768 ac_ext=c
19769 ac_cpp='$CPP $CPPFLAGS'
19770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19779 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19781 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19783 for ac_func in _isnanl
19785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19786 echo "$as_me:$LINENO: checking for $ac_func" >&5
19787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19788 if eval "test \"\${$as_ac_var+set}\" = set"; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 else
19791 if test x$gcc_no_link = xyes; then
19792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19794 { (exit 1); exit 1; }; }
19796 cat >conftest.$ac_ext <<_ACEOF
19797 /* confdefs.h. */
19798 _ACEOF
19799 cat confdefs.h >>conftest.$ac_ext
19800 cat >>conftest.$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19804 #define $ac_func innocuous_$ac_func
19806 /* System header to define __stub macros and hopefully few prototypes,
19807 which can conflict with char $ac_func (); below.
19808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19809 <limits.h> exists even on freestanding compilers. */
19811 #ifdef __STDC__
19812 # include <limits.h>
19813 #else
19814 # include <assert.h>
19815 #endif
19817 #undef $ac_func
19819 /* Override any gcc2 internal prototype to avoid an error. */
19820 #ifdef __cplusplus
19821 extern "C"
19823 #endif
19824 /* We use char because int might match the return type of a gcc2
19825 builtin and then its argument prototype would still apply. */
19826 char $ac_func ();
19827 /* The GNU C library defines this for functions which it implements
19828 to always fail with ENOSYS. Some functions are actually named
19829 something starting with __ and the normal name is an alias. */
19830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19831 choke me
19832 #else
19833 char (*f) () = $ac_func;
19834 #endif
19835 #ifdef __cplusplus
19837 #endif
19840 main ()
19842 return f != $ac_func;
19844 return 0;
19846 _ACEOF
19847 rm -f conftest.$ac_objext conftest$ac_exeext
19848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19849 (eval $ac_link) 2>conftest.er1
19850 ac_status=$?
19851 grep -v '^ *+' conftest.er1 >conftest.err
19852 rm -f conftest.er1
19853 cat conftest.err >&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); } &&
19856 { ac_try='test -z "$ac_c_werror_flag"
19857 || test ! -s conftest.err'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19860 ac_status=$?
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; } &&
19863 { ac_try='test -s conftest$ac_exeext'
19864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19865 (eval $ac_try) 2>&5
19866 ac_status=$?
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19869 eval "$as_ac_var=yes"
19870 else
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 eval "$as_ac_var=no"
19876 rm -f conftest.err conftest.$ac_objext \
19877 conftest$ac_exeext conftest.$ac_ext
19879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19881 if test `eval echo '${'$as_ac_var'}'` = yes; then
19882 cat >>confdefs.h <<_ACEOF
19883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19884 _ACEOF
19887 done
19897 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19898 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19899 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19900 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 else
19906 ac_ext=cc
19907 ac_cpp='$CXXCPP $CPPFLAGS'
19908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19912 cat >conftest.$ac_ext <<_ACEOF
19913 /* confdefs.h. */
19914 _ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 #include <math.h>
19919 #ifdef HAVE_IEEEFP_H
19920 #include <ieeefp.h>
19921 #endif
19924 main ()
19926 isinfl(0);
19928 return 0;
19930 _ACEOF
19931 rm -f conftest.$ac_objext
19932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19933 (eval $ac_compile) 2>conftest.er1
19934 ac_status=$?
19935 grep -v '^ *+' conftest.er1 >conftest.err
19936 rm -f conftest.er1
19937 cat conftest.err >&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } &&
19940 { ac_try='test -z "$ac_cxx_werror_flag"
19941 || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19944 ac_status=$?
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try='test -s conftest.$ac_objext'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 glibcxx_cv_func_isinfl_use=yes
19954 else
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19958 glibcxx_cv_func_isinfl_use=no
19960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19961 ac_ext=c
19962 ac_cpp='$CPP $CPPFLAGS'
19963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19972 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19974 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19976 for ac_func in isinfl
19978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19979 echo "$as_me:$LINENO: checking for $ac_func" >&5
19980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19981 if eval "test \"\${$as_ac_var+set}\" = set"; then
19982 echo $ECHO_N "(cached) $ECHO_C" >&6
19983 else
19984 if test x$gcc_no_link = xyes; then
19985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19987 { (exit 1); exit 1; }; }
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19997 #define $ac_func innocuous_$ac_func
19999 /* System header to define __stub macros and hopefully few prototypes,
20000 which can conflict with char $ac_func (); below.
20001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20002 <limits.h> exists even on freestanding compilers. */
20004 #ifdef __STDC__
20005 # include <limits.h>
20006 #else
20007 # include <assert.h>
20008 #endif
20010 #undef $ac_func
20012 /* Override any gcc2 internal prototype to avoid an error. */
20013 #ifdef __cplusplus
20014 extern "C"
20016 #endif
20017 /* We use char because int might match the return type of a gcc2
20018 builtin and then its argument prototype would still apply. */
20019 char $ac_func ();
20020 /* The GNU C library defines this for functions which it implements
20021 to always fail with ENOSYS. Some functions are actually named
20022 something starting with __ and the normal name is an alias. */
20023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20024 choke me
20025 #else
20026 char (*f) () = $ac_func;
20027 #endif
20028 #ifdef __cplusplus
20030 #endif
20033 main ()
20035 return f != $ac_func;
20037 return 0;
20039 _ACEOF
20040 rm -f conftest.$ac_objext conftest$ac_exeext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20042 (eval $ac_link) 2>conftest.er1
20043 ac_status=$?
20044 grep -v '^ *+' conftest.er1 >conftest.err
20045 rm -f conftest.er1
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -z "$ac_c_werror_flag"
20050 || test ! -s conftest.err'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20053 ac_status=$?
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try='test -s conftest$ac_exeext'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20059 ac_status=$?
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then
20062 eval "$as_ac_var=yes"
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20067 eval "$as_ac_var=no"
20069 rm -f conftest.err conftest.$ac_objext \
20070 conftest$ac_exeext conftest.$ac_ext
20072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20074 if test `eval echo '${'$as_ac_var'}'` = yes; then
20075 cat >>confdefs.h <<_ACEOF
20076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20077 _ACEOF
20080 done
20082 else
20084 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20085 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20086 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20087 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20088 echo $ECHO_N "(cached) $ECHO_C" >&6
20089 else
20093 ac_ext=cc
20094 ac_cpp='$CXXCPP $CPPFLAGS'
20095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20099 cat >conftest.$ac_ext <<_ACEOF
20100 /* confdefs.h. */
20101 _ACEOF
20102 cat confdefs.h >>conftest.$ac_ext
20103 cat >>conftest.$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105 #include <math.h>
20106 #ifdef HAVE_IEEEFP_H
20107 #include <ieeefp.h>
20108 #endif
20111 main ()
20113 _isinfl(0);
20115 return 0;
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try='test -z "$ac_cxx_werror_flag"
20128 || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try='test -s conftest.$ac_objext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 glibcxx_cv_func__isinfl_use=yes
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20145 glibcxx_cv_func__isinfl_use=no
20147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20148 ac_ext=c
20149 ac_cpp='$CPP $CPPFLAGS'
20150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20159 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20161 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20163 for ac_func in _isinfl
20165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20166 echo "$as_me:$LINENO: checking for $ac_func" >&5
20167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20168 if eval "test \"\${$as_ac_var+set}\" = set"; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171 if test x$gcc_no_link = xyes; then
20172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20174 { (exit 1); exit 1; }; }
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20184 #define $ac_func innocuous_$ac_func
20186 /* System header to define __stub macros and hopefully few prototypes,
20187 which can conflict with char $ac_func (); below.
20188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20189 <limits.h> exists even on freestanding compilers. */
20191 #ifdef __STDC__
20192 # include <limits.h>
20193 #else
20194 # include <assert.h>
20195 #endif
20197 #undef $ac_func
20199 /* Override any gcc2 internal prototype to avoid an error. */
20200 #ifdef __cplusplus
20201 extern "C"
20203 #endif
20204 /* We use char because int might match the return type of a gcc2
20205 builtin and then its argument prototype would still apply. */
20206 char $ac_func ();
20207 /* The GNU C library defines this for functions which it implements
20208 to always fail with ENOSYS. Some functions are actually named
20209 something starting with __ and the normal name is an alias. */
20210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20211 choke me
20212 #else
20213 char (*f) () = $ac_func;
20214 #endif
20215 #ifdef __cplusplus
20217 #endif
20220 main ()
20222 return f != $ac_func;
20224 return 0;
20226 _ACEOF
20227 rm -f conftest.$ac_objext conftest$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229 (eval $ac_link) 2>conftest.er1
20230 ac_status=$?
20231 grep -v '^ *+' conftest.er1 >conftest.err
20232 rm -f conftest.er1
20233 cat conftest.err >&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } &&
20236 { ac_try='test -z "$ac_c_werror_flag"
20237 || test ! -s conftest.err'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20240 ac_status=$?
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; } &&
20243 { ac_try='test -s conftest$ac_exeext'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 eval "$as_ac_var=yes"
20250 else
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 eval "$as_ac_var=no"
20256 rm -f conftest.err conftest.$ac_objext \
20257 conftest$ac_exeext conftest.$ac_ext
20259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20261 if test `eval echo '${'$as_ac_var'}'` = yes; then
20262 cat >>confdefs.h <<_ACEOF
20263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20264 _ACEOF
20267 done
20277 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20278 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20279 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20280 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20282 else
20286 ac_ext=cc
20287 ac_cpp='$CXXCPP $CPPFLAGS'
20288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20292 cat >conftest.$ac_ext <<_ACEOF
20293 /* confdefs.h. */
20294 _ACEOF
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 #include <math.h>
20300 main ()
20302 copysignl(0, 0);
20304 return 0;
20306 _ACEOF
20307 rm -f conftest.$ac_objext
20308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20309 (eval $ac_compile) 2>conftest.er1
20310 ac_status=$?
20311 grep -v '^ *+' conftest.er1 >conftest.err
20312 rm -f conftest.er1
20313 cat conftest.err >&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); } &&
20316 { ac_try='test -z "$ac_cxx_werror_flag"
20317 || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 glibcxx_cv_func_copysignl_use=yes
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 glibcxx_cv_func_copysignl_use=no
20336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20337 ac_ext=c
20338 ac_cpp='$CPP $CPPFLAGS'
20339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20348 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20350 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20352 for ac_func in copysignl
20354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20355 echo "$as_me:$LINENO: checking for $ac_func" >&5
20356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20357 if eval "test \"\${$as_ac_var+set}\" = set"; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20359 else
20360 if test x$gcc_no_link = xyes; then
20361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20363 { (exit 1); exit 1; }; }
20365 cat >conftest.$ac_ext <<_ACEOF
20366 /* confdefs.h. */
20367 _ACEOF
20368 cat confdefs.h >>conftest.$ac_ext
20369 cat >>conftest.$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20373 #define $ac_func innocuous_$ac_func
20375 /* System header to define __stub macros and hopefully few prototypes,
20376 which can conflict with char $ac_func (); below.
20377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20378 <limits.h> exists even on freestanding compilers. */
20380 #ifdef __STDC__
20381 # include <limits.h>
20382 #else
20383 # include <assert.h>
20384 #endif
20386 #undef $ac_func
20388 /* Override any gcc2 internal prototype to avoid an error. */
20389 #ifdef __cplusplus
20390 extern "C"
20392 #endif
20393 /* We use char because int might match the return type of a gcc2
20394 builtin and then its argument prototype would still apply. */
20395 char $ac_func ();
20396 /* The GNU C library defines this for functions which it implements
20397 to always fail with ENOSYS. Some functions are actually named
20398 something starting with __ and the normal name is an alias. */
20399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20400 choke me
20401 #else
20402 char (*f) () = $ac_func;
20403 #endif
20404 #ifdef __cplusplus
20406 #endif
20409 main ()
20411 return f != $ac_func;
20413 return 0;
20415 _ACEOF
20416 rm -f conftest.$ac_objext conftest$ac_exeext
20417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20418 (eval $ac_link) 2>conftest.er1
20419 ac_status=$?
20420 grep -v '^ *+' conftest.er1 >conftest.err
20421 rm -f conftest.er1
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } &&
20425 { ac_try='test -z "$ac_c_werror_flag"
20426 || test ! -s conftest.err'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; } &&
20432 { ac_try='test -s conftest$ac_exeext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20435 ac_status=$?
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 eval "$as_ac_var=yes"
20439 else
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 eval "$as_ac_var=no"
20445 rm -f conftest.err conftest.$ac_objext \
20446 conftest$ac_exeext conftest.$ac_ext
20448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20450 if test `eval echo '${'$as_ac_var'}'` = yes; then
20451 cat >>confdefs.h <<_ACEOF
20452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20453 _ACEOF
20456 done
20458 else
20460 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20461 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20462 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20463 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20464 echo $ECHO_N "(cached) $ECHO_C" >&6
20465 else
20469 ac_ext=cc
20470 ac_cpp='$CXXCPP $CPPFLAGS'
20471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #include <math.h>
20483 main ()
20485 _copysignl(0, 0);
20487 return 0;
20489 _ACEOF
20490 rm -f conftest.$ac_objext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20492 (eval $ac_compile) 2>conftest.er1
20493 ac_status=$?
20494 grep -v '^ *+' conftest.er1 >conftest.err
20495 rm -f conftest.er1
20496 cat conftest.err >&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try='test -z "$ac_cxx_werror_flag"
20500 || test ! -s conftest.err'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20503 ac_status=$?
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; } &&
20506 { ac_try='test -s conftest.$ac_objext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 glibcxx_cv_func__copysignl_use=yes
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20517 glibcxx_cv_func__copysignl_use=no
20519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20520 ac_ext=c
20521 ac_cpp='$CPP $CPPFLAGS'
20522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20531 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20533 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20535 for ac_func in _copysignl
20537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20538 echo "$as_me:$LINENO: checking for $ac_func" >&5
20539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20540 if eval "test \"\${$as_ac_var+set}\" = set"; then
20541 echo $ECHO_N "(cached) $ECHO_C" >&6
20542 else
20543 if test x$gcc_no_link = xyes; then
20544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20546 { (exit 1); exit 1; }; }
20548 cat >conftest.$ac_ext <<_ACEOF
20549 /* confdefs.h. */
20550 _ACEOF
20551 cat confdefs.h >>conftest.$ac_ext
20552 cat >>conftest.$ac_ext <<_ACEOF
20553 /* end confdefs.h. */
20554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20556 #define $ac_func innocuous_$ac_func
20558 /* System header to define __stub macros and hopefully few prototypes,
20559 which can conflict with char $ac_func (); below.
20560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20561 <limits.h> exists even on freestanding compilers. */
20563 #ifdef __STDC__
20564 # include <limits.h>
20565 #else
20566 # include <assert.h>
20567 #endif
20569 #undef $ac_func
20571 /* Override any gcc2 internal prototype to avoid an error. */
20572 #ifdef __cplusplus
20573 extern "C"
20575 #endif
20576 /* We use char because int might match the return type of a gcc2
20577 builtin and then its argument prototype would still apply. */
20578 char $ac_func ();
20579 /* The GNU C library defines this for functions which it implements
20580 to always fail with ENOSYS. Some functions are actually named
20581 something starting with __ and the normal name is an alias. */
20582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20583 choke me
20584 #else
20585 char (*f) () = $ac_func;
20586 #endif
20587 #ifdef __cplusplus
20589 #endif
20592 main ()
20594 return f != $ac_func;
20596 return 0;
20598 _ACEOF
20599 rm -f conftest.$ac_objext conftest$ac_exeext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20601 (eval $ac_link) 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_c_werror_flag"
20609 || test ! -s conftest.err'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try='test -s conftest$ac_exeext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 eval "$as_ac_var=yes"
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20626 eval "$as_ac_var=no"
20628 rm -f conftest.err conftest.$ac_objext \
20629 conftest$ac_exeext conftest.$ac_ext
20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20633 if test `eval echo '${'$as_ac_var'}'` = yes; then
20634 cat >>confdefs.h <<_ACEOF
20635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20636 _ACEOF
20639 done
20649 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20650 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20651 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20652 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 else
20658 ac_ext=cc
20659 ac_cpp='$CXXCPP $CPPFLAGS'
20660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20664 cat >conftest.$ac_ext <<_ACEOF
20665 /* confdefs.h. */
20666 _ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 #include <math.h>
20672 main ()
20674 atan2l(0, 0);
20676 return 0;
20678 _ACEOF
20679 rm -f conftest.$ac_objext
20680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20681 (eval $ac_compile) 2>conftest.er1
20682 ac_status=$?
20683 grep -v '^ *+' conftest.er1 >conftest.err
20684 rm -f conftest.er1
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } &&
20688 { ac_try='test -z "$ac_cxx_werror_flag"
20689 || test ! -s conftest.err'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; } &&
20695 { ac_try='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 glibcxx_cv_func_atan2l_use=yes
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20706 glibcxx_cv_func_atan2l_use=no
20708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20720 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20722 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20724 for ac_func in atan2l
20726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 echo "$as_me:$LINENO: checking for $ac_func" >&5
20728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20729 if eval "test \"\${$as_ac_var+set}\" = set"; then
20730 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 else
20732 if test x$gcc_no_link = xyes; then
20733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20735 { (exit 1); exit 1; }; }
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20745 #define $ac_func innocuous_$ac_func
20747 /* System header to define __stub macros and hopefully few prototypes,
20748 which can conflict with char $ac_func (); below.
20749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20750 <limits.h> exists even on freestanding compilers. */
20752 #ifdef __STDC__
20753 # include <limits.h>
20754 #else
20755 # include <assert.h>
20756 #endif
20758 #undef $ac_func
20760 /* Override any gcc2 internal prototype to avoid an error. */
20761 #ifdef __cplusplus
20762 extern "C"
20764 #endif
20765 /* We use char because int might match the return type of a gcc2
20766 builtin and then its argument prototype would still apply. */
20767 char $ac_func ();
20768 /* The GNU C library defines this for functions which it implements
20769 to always fail with ENOSYS. Some functions are actually named
20770 something starting with __ and the normal name is an alias. */
20771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20772 choke me
20773 #else
20774 char (*f) () = $ac_func;
20775 #endif
20776 #ifdef __cplusplus
20778 #endif
20781 main ()
20783 return f != $ac_func;
20785 return 0;
20787 _ACEOF
20788 rm -f conftest.$ac_objext conftest$ac_exeext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20790 (eval $ac_link) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_c_werror_flag"
20798 || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest$ac_exeext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 eval "$as_ac_var=yes"
20811 else
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20815 eval "$as_ac_var=no"
20817 rm -f conftest.err conftest.$ac_objext \
20818 conftest$ac_exeext conftest.$ac_ext
20820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20822 if test `eval echo '${'$as_ac_var'}'` = yes; then
20823 cat >>confdefs.h <<_ACEOF
20824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20825 _ACEOF
20828 done
20830 else
20832 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20833 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20834 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20835 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20836 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 else
20841 ac_ext=cc
20842 ac_cpp='$CXXCPP $CPPFLAGS'
20843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20847 cat >conftest.$ac_ext <<_ACEOF
20848 /* confdefs.h. */
20849 _ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 #include <math.h>
20855 main ()
20857 _atan2l(0, 0);
20859 return 0;
20861 _ACEOF
20862 rm -f conftest.$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -z "$ac_cxx_werror_flag"
20872 || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try='test -s conftest.$ac_objext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20881 ac_status=$?
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 glibcxx_cv_func__atan2l_use=yes
20885 else
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.$ac_ext >&5
20889 glibcxx_cv_func__atan2l_use=no
20891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20892 ac_ext=c
20893 ac_cpp='$CPP $CPPFLAGS'
20894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20903 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20905 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20907 for ac_func in _atan2l
20909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20910 echo "$as_me:$LINENO: checking for $ac_func" >&5
20911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20912 if eval "test \"\${$as_ac_var+set}\" = set"; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20914 else
20915 if test x$gcc_no_link = xyes; then
20916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20918 { (exit 1); exit 1; }; }
20920 cat >conftest.$ac_ext <<_ACEOF
20921 /* confdefs.h. */
20922 _ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20928 #define $ac_func innocuous_$ac_func
20930 /* System header to define __stub macros and hopefully few prototypes,
20931 which can conflict with char $ac_func (); below.
20932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20933 <limits.h> exists even on freestanding compilers. */
20935 #ifdef __STDC__
20936 # include <limits.h>
20937 #else
20938 # include <assert.h>
20939 #endif
20941 #undef $ac_func
20943 /* Override any gcc2 internal prototype to avoid an error. */
20944 #ifdef __cplusplus
20945 extern "C"
20947 #endif
20948 /* We use char because int might match the return type of a gcc2
20949 builtin and then its argument prototype would still apply. */
20950 char $ac_func ();
20951 /* The GNU C library defines this for functions which it implements
20952 to always fail with ENOSYS. Some functions are actually named
20953 something starting with __ and the normal name is an alias. */
20954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20955 choke me
20956 #else
20957 char (*f) () = $ac_func;
20958 #endif
20959 #ifdef __cplusplus
20961 #endif
20964 main ()
20966 return f != $ac_func;
20968 return 0;
20970 _ACEOF
20971 rm -f conftest.$ac_objext conftest$ac_exeext
20972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20973 (eval $ac_link) 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } &&
20980 { ac_try='test -z "$ac_c_werror_flag"
20981 || test ! -s conftest.err'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20984 ac_status=$?
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; } &&
20987 { ac_try='test -s conftest$ac_exeext'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20990 ac_status=$?
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; }; then
20993 eval "$as_ac_var=yes"
20994 else
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.$ac_ext >&5
20998 eval "$as_ac_var=no"
21000 rm -f conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21005 if test `eval echo '${'$as_ac_var'}'` = yes; then
21006 cat >>confdefs.h <<_ACEOF
21007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21008 _ACEOF
21011 done
21021 echo "$as_me:$LINENO: checking for expl declaration" >&5
21022 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21023 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21024 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21025 echo $ECHO_N "(cached) $ECHO_C" >&6
21026 else
21030 ac_ext=cc
21031 ac_cpp='$CXXCPP $CPPFLAGS'
21032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21036 cat >conftest.$ac_ext <<_ACEOF
21037 /* confdefs.h. */
21038 _ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 #include <math.h>
21043 #ifdef HAVE_IEEEFP_H
21044 #include <ieeefp.h>
21045 #endif
21048 main ()
21050 expl(0);
21052 return 0;
21054 _ACEOF
21055 rm -f conftest.$ac_objext
21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21057 (eval $ac_compile) 2>conftest.er1
21058 ac_status=$?
21059 grep -v '^ *+' conftest.er1 >conftest.err
21060 rm -f conftest.er1
21061 cat conftest.err >&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try='test -z "$ac_cxx_werror_flag"
21065 || test ! -s conftest.err'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21068 ac_status=$?
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; } &&
21071 { ac_try='test -s conftest.$ac_objext'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21074 ac_status=$?
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; }; then
21077 glibcxx_cv_func_expl_use=yes
21078 else
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21082 glibcxx_cv_func_expl_use=no
21084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21085 ac_ext=c
21086 ac_cpp='$CPP $CPPFLAGS'
21087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21096 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21098 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21100 for ac_func in expl
21102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21103 echo "$as_me:$LINENO: checking for $ac_func" >&5
21104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21105 if eval "test \"\${$as_ac_var+set}\" = set"; then
21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 else
21108 if test x$gcc_no_link = xyes; then
21109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21111 { (exit 1); exit 1; }; }
21113 cat >conftest.$ac_ext <<_ACEOF
21114 /* confdefs.h. */
21115 _ACEOF
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21121 #define $ac_func innocuous_$ac_func
21123 /* System header to define __stub macros and hopefully few prototypes,
21124 which can conflict with char $ac_func (); below.
21125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21126 <limits.h> exists even on freestanding compilers. */
21128 #ifdef __STDC__
21129 # include <limits.h>
21130 #else
21131 # include <assert.h>
21132 #endif
21134 #undef $ac_func
21136 /* Override any gcc2 internal prototype to avoid an error. */
21137 #ifdef __cplusplus
21138 extern "C"
21140 #endif
21141 /* We use char because int might match the return type of a gcc2
21142 builtin and then its argument prototype would still apply. */
21143 char $ac_func ();
21144 /* The GNU C library defines this for functions which it implements
21145 to always fail with ENOSYS. Some functions are actually named
21146 something starting with __ and the normal name is an alias. */
21147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21148 choke me
21149 #else
21150 char (*f) () = $ac_func;
21151 #endif
21152 #ifdef __cplusplus
21154 #endif
21157 main ()
21159 return f != $ac_func;
21161 return 0;
21163 _ACEOF
21164 rm -f conftest.$ac_objext conftest$ac_exeext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21166 (eval $ac_link) 2>conftest.er1
21167 ac_status=$?
21168 grep -v '^ *+' conftest.er1 >conftest.err
21169 rm -f conftest.er1
21170 cat conftest.err >&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try='test -z "$ac_c_werror_flag"
21174 || test ! -s conftest.err'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; } &&
21180 { ac_try='test -s conftest$ac_exeext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21183 ac_status=$?
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 eval "$as_ac_var=yes"
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21191 eval "$as_ac_var=no"
21193 rm -f conftest.err conftest.$ac_objext \
21194 conftest$ac_exeext conftest.$ac_ext
21196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21198 if test `eval echo '${'$as_ac_var'}'` = yes; then
21199 cat >>confdefs.h <<_ACEOF
21200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21201 _ACEOF
21204 done
21206 else
21208 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21209 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21210 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21211 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 else
21217 ac_ext=cc
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21223 cat >conftest.$ac_ext <<_ACEOF
21224 /* confdefs.h. */
21225 _ACEOF
21226 cat confdefs.h >>conftest.$ac_ext
21227 cat >>conftest.$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 #include <math.h>
21230 #ifdef HAVE_IEEEFP_H
21231 #include <ieeefp.h>
21232 #endif
21235 main ()
21237 _expl(0);
21239 return 0;
21241 _ACEOF
21242 rm -f conftest.$ac_objext
21243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21244 (eval $ac_compile) 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } &&
21251 { ac_try='test -z "$ac_cxx_werror_flag"
21252 || test ! -s conftest.err'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21255 ac_status=$?
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; } &&
21258 { ac_try='test -s conftest.$ac_objext'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; }; then
21264 glibcxx_cv_func__expl_use=yes
21265 else
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 glibcxx_cv_func__expl_use=no
21271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21272 ac_ext=c
21273 ac_cpp='$CPP $CPPFLAGS'
21274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21283 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21285 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21287 for ac_func in _expl
21289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21290 echo "$as_me:$LINENO: checking for $ac_func" >&5
21291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21292 if eval "test \"\${$as_ac_var+set}\" = set"; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 if test x$gcc_no_link = xyes; then
21296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21298 { (exit 1); exit 1; }; }
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21308 #define $ac_func innocuous_$ac_func
21310 /* System header to define __stub macros and hopefully few prototypes,
21311 which can conflict with char $ac_func (); below.
21312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21313 <limits.h> exists even on freestanding compilers. */
21315 #ifdef __STDC__
21316 # include <limits.h>
21317 #else
21318 # include <assert.h>
21319 #endif
21321 #undef $ac_func
21323 /* Override any gcc2 internal prototype to avoid an error. */
21324 #ifdef __cplusplus
21325 extern "C"
21327 #endif
21328 /* We use char because int might match the return type of a gcc2
21329 builtin and then its argument prototype would still apply. */
21330 char $ac_func ();
21331 /* The GNU C library defines this for functions which it implements
21332 to always fail with ENOSYS. Some functions are actually named
21333 something starting with __ and the normal name is an alias. */
21334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21335 choke me
21336 #else
21337 char (*f) () = $ac_func;
21338 #endif
21339 #ifdef __cplusplus
21341 #endif
21344 main ()
21346 return f != $ac_func;
21348 return 0;
21350 _ACEOF
21351 rm -f conftest.$ac_objext conftest$ac_exeext
21352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21353 (eval $ac_link) 2>conftest.er1
21354 ac_status=$?
21355 grep -v '^ *+' conftest.er1 >conftest.err
21356 rm -f conftest.er1
21357 cat conftest.err >&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } &&
21360 { ac_try='test -z "$ac_c_werror_flag"
21361 || test ! -s conftest.err'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; } &&
21367 { ac_try='test -s conftest$ac_exeext'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; }; then
21373 eval "$as_ac_var=yes"
21374 else
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21378 eval "$as_ac_var=no"
21380 rm -f conftest.err conftest.$ac_objext \
21381 conftest$ac_exeext conftest.$ac_ext
21383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21385 if test `eval echo '${'$as_ac_var'}'` = yes; then
21386 cat >>confdefs.h <<_ACEOF
21387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21388 _ACEOF
21391 done
21401 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21402 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21403 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21404 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21405 echo $ECHO_N "(cached) $ECHO_C" >&6
21406 else
21410 ac_ext=cc
21411 ac_cpp='$CXXCPP $CPPFLAGS'
21412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 #include <math.h>
21423 #ifdef HAVE_IEEEFP_H
21424 #include <ieeefp.h>
21425 #endif
21428 main ()
21430 fabsl(0);
21432 return 0;
21434 _ACEOF
21435 rm -f conftest.$ac_objext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21437 (eval $ac_compile) 2>conftest.er1
21438 ac_status=$?
21439 grep -v '^ *+' conftest.er1 >conftest.err
21440 rm -f conftest.er1
21441 cat conftest.err >&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } &&
21444 { ac_try='test -z "$ac_cxx_werror_flag"
21445 || test ! -s conftest.err'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; } &&
21451 { ac_try='test -s conftest.$ac_objext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 glibcxx_cv_func_fabsl_use=yes
21458 else
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21462 glibcxx_cv_func_fabsl_use=no
21464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21465 ac_ext=c
21466 ac_cpp='$CPP $CPPFLAGS'
21467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21476 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21478 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21480 for ac_func in fabsl
21482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21483 echo "$as_me:$LINENO: checking for $ac_func" >&5
21484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21485 if eval "test \"\${$as_ac_var+set}\" = set"; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21487 else
21488 if test x$gcc_no_link = xyes; then
21489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21491 { (exit 1); exit 1; }; }
21493 cat >conftest.$ac_ext <<_ACEOF
21494 /* confdefs.h. */
21495 _ACEOF
21496 cat confdefs.h >>conftest.$ac_ext
21497 cat >>conftest.$ac_ext <<_ACEOF
21498 /* end confdefs.h. */
21499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21501 #define $ac_func innocuous_$ac_func
21503 /* System header to define __stub macros and hopefully few prototypes,
21504 which can conflict with char $ac_func (); below.
21505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21506 <limits.h> exists even on freestanding compilers. */
21508 #ifdef __STDC__
21509 # include <limits.h>
21510 #else
21511 # include <assert.h>
21512 #endif
21514 #undef $ac_func
21516 /* Override any gcc2 internal prototype to avoid an error. */
21517 #ifdef __cplusplus
21518 extern "C"
21520 #endif
21521 /* We use char because int might match the return type of a gcc2
21522 builtin and then its argument prototype would still apply. */
21523 char $ac_func ();
21524 /* The GNU C library defines this for functions which it implements
21525 to always fail with ENOSYS. Some functions are actually named
21526 something starting with __ and the normal name is an alias. */
21527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21528 choke me
21529 #else
21530 char (*f) () = $ac_func;
21531 #endif
21532 #ifdef __cplusplus
21534 #endif
21537 main ()
21539 return f != $ac_func;
21541 return 0;
21543 _ACEOF
21544 rm -f conftest.$ac_objext conftest$ac_exeext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21546 (eval $ac_link) 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try='test -z "$ac_c_werror_flag"
21554 || test ! -s conftest.err'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; } &&
21560 { ac_try='test -s conftest$ac_exeext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 eval "$as_ac_var=yes"
21567 else
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21571 eval "$as_ac_var=no"
21573 rm -f conftest.err conftest.$ac_objext \
21574 conftest$ac_exeext conftest.$ac_ext
21576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21578 if test `eval echo '${'$as_ac_var'}'` = yes; then
21579 cat >>confdefs.h <<_ACEOF
21580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21581 _ACEOF
21584 done
21586 else
21588 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21589 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21590 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21591 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 else
21597 ac_ext=cc
21598 ac_cpp='$CXXCPP $CPPFLAGS'
21599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 #include <math.h>
21610 #ifdef HAVE_IEEEFP_H
21611 #include <ieeefp.h>
21612 #endif
21615 main ()
21617 _fabsl(0);
21619 return 0;
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21624 (eval $ac_compile) 2>conftest.er1
21625 ac_status=$?
21626 grep -v '^ *+' conftest.er1 >conftest.err
21627 rm -f conftest.er1
21628 cat conftest.err >&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } &&
21631 { ac_try='test -z "$ac_cxx_werror_flag"
21632 || test ! -s conftest.err'
21633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634 (eval $ac_try) 2>&5
21635 ac_status=$?
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; } &&
21638 { ac_try='test -s conftest.$ac_objext'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; }; then
21644 glibcxx_cv_func__fabsl_use=yes
21645 else
21646 echo "$as_me: failed program was:" >&5
21647 sed 's/^/| /' conftest.$ac_ext >&5
21649 glibcxx_cv_func__fabsl_use=no
21651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652 ac_ext=c
21653 ac_cpp='$CPP $CPPFLAGS'
21654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21663 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21665 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21667 for ac_func in _fabsl
21669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21670 echo "$as_me:$LINENO: checking for $ac_func" >&5
21671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21672 if eval "test \"\${$as_ac_var+set}\" = set"; then
21673 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 else
21675 if test x$gcc_no_link = xyes; then
21676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21678 { (exit 1); exit 1; }; }
21680 cat >conftest.$ac_ext <<_ACEOF
21681 /* confdefs.h. */
21682 _ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h. */
21686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21688 #define $ac_func innocuous_$ac_func
21690 /* System header to define __stub macros and hopefully few prototypes,
21691 which can conflict with char $ac_func (); below.
21692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21693 <limits.h> exists even on freestanding compilers. */
21695 #ifdef __STDC__
21696 # include <limits.h>
21697 #else
21698 # include <assert.h>
21699 #endif
21701 #undef $ac_func
21703 /* Override any gcc2 internal prototype to avoid an error. */
21704 #ifdef __cplusplus
21705 extern "C"
21707 #endif
21708 /* We use char because int might match the return type of a gcc2
21709 builtin and then its argument prototype would still apply. */
21710 char $ac_func ();
21711 /* The GNU C library defines this for functions which it implements
21712 to always fail with ENOSYS. Some functions are actually named
21713 something starting with __ and the normal name is an alias. */
21714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21715 choke me
21716 #else
21717 char (*f) () = $ac_func;
21718 #endif
21719 #ifdef __cplusplus
21721 #endif
21724 main ()
21726 return f != $ac_func;
21728 return 0;
21730 _ACEOF
21731 rm -f conftest.$ac_objext conftest$ac_exeext
21732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21733 (eval $ac_link) 2>conftest.er1
21734 ac_status=$?
21735 grep -v '^ *+' conftest.er1 >conftest.err
21736 rm -f conftest.er1
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } &&
21740 { ac_try='test -z "$ac_c_werror_flag"
21741 || test ! -s conftest.err'
21742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743 (eval $ac_try) 2>&5
21744 ac_status=$?
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); }; } &&
21747 { ac_try='test -s conftest$ac_exeext'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; }; then
21753 eval "$as_ac_var=yes"
21754 else
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21758 eval "$as_ac_var=no"
21760 rm -f conftest.err conftest.$ac_objext \
21761 conftest$ac_exeext conftest.$ac_ext
21763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21765 if test `eval echo '${'$as_ac_var'}'` = yes; then
21766 cat >>confdefs.h <<_ACEOF
21767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21768 _ACEOF
21771 done
21781 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21782 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21783 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21784 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 else
21790 ac_ext=cc
21791 ac_cpp='$CXXCPP $CPPFLAGS'
21792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21796 cat >conftest.$ac_ext <<_ACEOF
21797 /* confdefs.h. */
21798 _ACEOF
21799 cat confdefs.h >>conftest.$ac_ext
21800 cat >>conftest.$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21802 #include <math.h>
21804 main ()
21806 fmodl(0, 0);
21808 return 0;
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813 (eval $ac_compile) 2>conftest.er1
21814 ac_status=$?
21815 grep -v '^ *+' conftest.er1 >conftest.err
21816 rm -f conftest.er1
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try='test -z "$ac_cxx_werror_flag"
21821 || test ! -s conftest.err'
21822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21823 (eval $ac_try) 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; } &&
21827 { ac_try='test -s conftest.$ac_objext'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; }; then
21833 glibcxx_cv_func_fmodl_use=yes
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21838 glibcxx_cv_func_fmodl_use=no
21840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21841 ac_ext=c
21842 ac_cpp='$CPP $CPPFLAGS'
21843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21852 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21854 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21856 for ac_func in fmodl
21858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21859 echo "$as_me:$LINENO: checking for $ac_func" >&5
21860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21861 if eval "test \"\${$as_ac_var+set}\" = set"; then
21862 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 else
21864 if test x$gcc_no_link = xyes; then
21865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21867 { (exit 1); exit 1; }; }
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h. */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21877 #define $ac_func innocuous_$ac_func
21879 /* System header to define __stub macros and hopefully few prototypes,
21880 which can conflict with char $ac_func (); below.
21881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21882 <limits.h> exists even on freestanding compilers. */
21884 #ifdef __STDC__
21885 # include <limits.h>
21886 #else
21887 # include <assert.h>
21888 #endif
21890 #undef $ac_func
21892 /* Override any gcc2 internal prototype to avoid an error. */
21893 #ifdef __cplusplus
21894 extern "C"
21896 #endif
21897 /* We use char because int might match the return type of a gcc2
21898 builtin and then its argument prototype would still apply. */
21899 char $ac_func ();
21900 /* The GNU C library defines this for functions which it implements
21901 to always fail with ENOSYS. Some functions are actually named
21902 something starting with __ and the normal name is an alias. */
21903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21904 choke me
21905 #else
21906 char (*f) () = $ac_func;
21907 #endif
21908 #ifdef __cplusplus
21910 #endif
21913 main ()
21915 return f != $ac_func;
21917 return 0;
21919 _ACEOF
21920 rm -f conftest.$ac_objext conftest$ac_exeext
21921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21922 (eval $ac_link) 2>conftest.er1
21923 ac_status=$?
21924 grep -v '^ *+' conftest.er1 >conftest.err
21925 rm -f conftest.er1
21926 cat conftest.err >&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); } &&
21929 { ac_try='test -z "$ac_c_werror_flag"
21930 || test ! -s conftest.err'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; } &&
21936 { ac_try='test -s conftest$ac_exeext'
21937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21938 (eval $ac_try) 2>&5
21939 ac_status=$?
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; }; then
21942 eval "$as_ac_var=yes"
21943 else
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21947 eval "$as_ac_var=no"
21949 rm -f conftest.err conftest.$ac_objext \
21950 conftest$ac_exeext conftest.$ac_ext
21952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21954 if test `eval echo '${'$as_ac_var'}'` = yes; then
21955 cat >>confdefs.h <<_ACEOF
21956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21957 _ACEOF
21960 done
21962 else
21964 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21965 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21966 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21967 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 else
21973 ac_ext=cc
21974 ac_cpp='$CXXCPP $CPPFLAGS'
21975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 #include <math.h>
21987 main ()
21989 _fmodl(0, 0);
21991 return 0;
21993 _ACEOF
21994 rm -f conftest.$ac_objext
21995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21996 (eval $ac_compile) 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } &&
22003 { ac_try='test -z "$ac_cxx_werror_flag"
22004 || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 glibcxx_cv_func__fmodl_use=yes
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22021 glibcxx_cv_func__fmodl_use=no
22023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22024 ac_ext=c
22025 ac_cpp='$CPP $CPPFLAGS'
22026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22035 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22037 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22039 for ac_func in _fmodl
22041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22042 echo "$as_me:$LINENO: checking for $ac_func" >&5
22043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22044 if eval "test \"\${$as_ac_var+set}\" = set"; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 else
22047 if test x$gcc_no_link = xyes; then
22048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22050 { (exit 1); exit 1; }; }
22052 cat >conftest.$ac_ext <<_ACEOF
22053 /* confdefs.h. */
22054 _ACEOF
22055 cat confdefs.h >>conftest.$ac_ext
22056 cat >>conftest.$ac_ext <<_ACEOF
22057 /* end confdefs.h. */
22058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22060 #define $ac_func innocuous_$ac_func
22062 /* System header to define __stub macros and hopefully few prototypes,
22063 which can conflict with char $ac_func (); below.
22064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22065 <limits.h> exists even on freestanding compilers. */
22067 #ifdef __STDC__
22068 # include <limits.h>
22069 #else
22070 # include <assert.h>
22071 #endif
22073 #undef $ac_func
22075 /* Override any gcc2 internal prototype to avoid an error. */
22076 #ifdef __cplusplus
22077 extern "C"
22079 #endif
22080 /* We use char because int might match the return type of a gcc2
22081 builtin and then its argument prototype would still apply. */
22082 char $ac_func ();
22083 /* The GNU C library defines this for functions which it implements
22084 to always fail with ENOSYS. Some functions are actually named
22085 something starting with __ and the normal name is an alias. */
22086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22087 choke me
22088 #else
22089 char (*f) () = $ac_func;
22090 #endif
22091 #ifdef __cplusplus
22093 #endif
22096 main ()
22098 return f != $ac_func;
22100 return 0;
22102 _ACEOF
22103 rm -f conftest.$ac_objext conftest$ac_exeext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22105 (eval $ac_link) 2>conftest.er1
22106 ac_status=$?
22107 grep -v '^ *+' conftest.er1 >conftest.err
22108 rm -f conftest.er1
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try='test -z "$ac_c_werror_flag"
22113 || test ! -s conftest.err'
22114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22115 (eval $ac_try) 2>&5
22116 ac_status=$?
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try='test -s conftest$ac_exeext'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22122 ac_status=$?
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; }; then
22125 eval "$as_ac_var=yes"
22126 else
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22130 eval "$as_ac_var=no"
22132 rm -f conftest.err conftest.$ac_objext \
22133 conftest$ac_exeext conftest.$ac_ext
22135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22137 if test `eval echo '${'$as_ac_var'}'` = yes; then
22138 cat >>confdefs.h <<_ACEOF
22139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22140 _ACEOF
22143 done
22153 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22154 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22155 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22156 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22157 echo $ECHO_N "(cached) $ECHO_C" >&6
22158 else
22162 ac_ext=cc
22163 ac_cpp='$CXXCPP $CPPFLAGS'
22164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22168 cat >conftest.$ac_ext <<_ACEOF
22169 /* confdefs.h. */
22170 _ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 #include <math.h>
22176 main ()
22178 frexpl(0, 0);
22180 return 0;
22182 _ACEOF
22183 rm -f conftest.$ac_objext
22184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22185 (eval $ac_compile) 2>conftest.er1
22186 ac_status=$?
22187 grep -v '^ *+' conftest.er1 >conftest.err
22188 rm -f conftest.er1
22189 cat conftest.err >&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } &&
22192 { ac_try='test -z "$ac_cxx_werror_flag"
22193 || test ! -s conftest.err'
22194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195 (eval $ac_try) 2>&5
22196 ac_status=$?
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); }; } &&
22199 { ac_try='test -s conftest.$ac_objext'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22202 ac_status=$?
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; }; then
22205 glibcxx_cv_func_frexpl_use=yes
22206 else
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.$ac_ext >&5
22210 glibcxx_cv_func_frexpl_use=no
22212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22213 ac_ext=c
22214 ac_cpp='$CPP $CPPFLAGS'
22215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22224 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22226 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22228 for ac_func in frexpl
22230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22231 echo "$as_me:$LINENO: checking for $ac_func" >&5
22232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22233 if eval "test \"\${$as_ac_var+set}\" = set"; then
22234 echo $ECHO_N "(cached) $ECHO_C" >&6
22235 else
22236 if test x$gcc_no_link = xyes; then
22237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22239 { (exit 1); exit 1; }; }
22241 cat >conftest.$ac_ext <<_ACEOF
22242 /* confdefs.h. */
22243 _ACEOF
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22249 #define $ac_func innocuous_$ac_func
22251 /* System header to define __stub macros and hopefully few prototypes,
22252 which can conflict with char $ac_func (); below.
22253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22254 <limits.h> exists even on freestanding compilers. */
22256 #ifdef __STDC__
22257 # include <limits.h>
22258 #else
22259 # include <assert.h>
22260 #endif
22262 #undef $ac_func
22264 /* Override any gcc2 internal prototype to avoid an error. */
22265 #ifdef __cplusplus
22266 extern "C"
22268 #endif
22269 /* We use char because int might match the return type of a gcc2
22270 builtin and then its argument prototype would still apply. */
22271 char $ac_func ();
22272 /* The GNU C library defines this for functions which it implements
22273 to always fail with ENOSYS. Some functions are actually named
22274 something starting with __ and the normal name is an alias. */
22275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22276 choke me
22277 #else
22278 char (*f) () = $ac_func;
22279 #endif
22280 #ifdef __cplusplus
22282 #endif
22285 main ()
22287 return f != $ac_func;
22289 return 0;
22291 _ACEOF
22292 rm -f conftest.$ac_objext conftest$ac_exeext
22293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22294 (eval $ac_link) 2>conftest.er1
22295 ac_status=$?
22296 grep -v '^ *+' conftest.er1 >conftest.err
22297 rm -f conftest.er1
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } &&
22301 { ac_try='test -z "$ac_c_werror_flag"
22302 || test ! -s conftest.err'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22305 ac_status=$?
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; } &&
22308 { ac_try='test -s conftest$ac_exeext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22314 eval "$as_ac_var=yes"
22315 else
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22319 eval "$as_ac_var=no"
22321 rm -f conftest.err conftest.$ac_objext \
22322 conftest$ac_exeext conftest.$ac_ext
22324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22326 if test `eval echo '${'$as_ac_var'}'` = yes; then
22327 cat >>confdefs.h <<_ACEOF
22328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22329 _ACEOF
22332 done
22334 else
22336 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22337 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22338 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22339 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else
22345 ac_ext=cc
22346 ac_cpp='$CXXCPP $CPPFLAGS'
22347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22351 cat >conftest.$ac_ext <<_ACEOF
22352 /* confdefs.h. */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 #include <math.h>
22359 main ()
22361 _frexpl(0, 0);
22363 return 0;
22365 _ACEOF
22366 rm -f conftest.$ac_objext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22368 (eval $ac_compile) 2>conftest.er1
22369 ac_status=$?
22370 grep -v '^ *+' conftest.er1 >conftest.err
22371 rm -f conftest.er1
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } &&
22375 { ac_try='test -z "$ac_cxx_werror_flag"
22376 || test ! -s conftest.err'
22377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22378 (eval $ac_try) 2>&5
22379 ac_status=$?
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); }; } &&
22382 { ac_try='test -s conftest.$ac_objext'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 glibcxx_cv_func__frexpl_use=yes
22389 else
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22393 glibcxx_cv_func__frexpl_use=no
22395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22396 ac_ext=c
22397 ac_cpp='$CPP $CPPFLAGS'
22398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22407 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22409 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22411 for ac_func in _frexpl
22413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22414 echo "$as_me:$LINENO: checking for $ac_func" >&5
22415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22416 if eval "test \"\${$as_ac_var+set}\" = set"; then
22417 echo $ECHO_N "(cached) $ECHO_C" >&6
22418 else
22419 if test x$gcc_no_link = xyes; then
22420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22422 { (exit 1); exit 1; }; }
22424 cat >conftest.$ac_ext <<_ACEOF
22425 /* confdefs.h. */
22426 _ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22432 #define $ac_func innocuous_$ac_func
22434 /* System header to define __stub macros and hopefully few prototypes,
22435 which can conflict with char $ac_func (); below.
22436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22437 <limits.h> exists even on freestanding compilers. */
22439 #ifdef __STDC__
22440 # include <limits.h>
22441 #else
22442 # include <assert.h>
22443 #endif
22445 #undef $ac_func
22447 /* Override any gcc2 internal prototype to avoid an error. */
22448 #ifdef __cplusplus
22449 extern "C"
22451 #endif
22452 /* We use char because int might match the return type of a gcc2
22453 builtin and then its argument prototype would still apply. */
22454 char $ac_func ();
22455 /* The GNU C library defines this for functions which it implements
22456 to always fail with ENOSYS. Some functions are actually named
22457 something starting with __ and the normal name is an alias. */
22458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22459 choke me
22460 #else
22461 char (*f) () = $ac_func;
22462 #endif
22463 #ifdef __cplusplus
22465 #endif
22468 main ()
22470 return f != $ac_func;
22472 return 0;
22474 _ACEOF
22475 rm -f conftest.$ac_objext conftest$ac_exeext
22476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22477 (eval $ac_link) 2>conftest.er1
22478 ac_status=$?
22479 grep -v '^ *+' conftest.er1 >conftest.err
22480 rm -f conftest.er1
22481 cat conftest.err >&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); } &&
22484 { ac_try='test -z "$ac_c_werror_flag"
22485 || test ! -s conftest.err'
22486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487 (eval $ac_try) 2>&5
22488 ac_status=$?
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); }; } &&
22491 { ac_try='test -s conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 eval "$as_ac_var=yes"
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22502 eval "$as_ac_var=no"
22504 rm -f conftest.err conftest.$ac_objext \
22505 conftest$ac_exeext conftest.$ac_ext
22507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22509 if test `eval echo '${'$as_ac_var'}'` = yes; then
22510 cat >>confdefs.h <<_ACEOF
22511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22512 _ACEOF
22515 done
22525 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22526 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22527 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22528 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22529 echo $ECHO_N "(cached) $ECHO_C" >&6
22530 else
22534 ac_ext=cc
22535 ac_cpp='$CXXCPP $CPPFLAGS'
22536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22540 cat >conftest.$ac_ext <<_ACEOF
22541 /* confdefs.h. */
22542 _ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 #include <math.h>
22548 main ()
22550 hypotl(0, 0);
22552 return 0;
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>conftest.er1
22558 ac_status=$?
22559 grep -v '^ *+' conftest.er1 >conftest.err
22560 rm -f conftest.er1
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try='test -z "$ac_cxx_werror_flag"
22565 || test ! -s conftest.err'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; } &&
22571 { ac_try='test -s conftest.$ac_objext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 glibcxx_cv_func_hypotl_use=yes
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22582 glibcxx_cv_func_hypotl_use=no
22584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22585 ac_ext=c
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22596 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22598 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22600 for ac_func in hypotl
22602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22603 echo "$as_me:$LINENO: checking for $ac_func" >&5
22604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22605 if eval "test \"\${$as_ac_var+set}\" = set"; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 else
22608 if test x$gcc_no_link = xyes; then
22609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22611 { (exit 1); exit 1; }; }
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22621 #define $ac_func innocuous_$ac_func
22623 /* System header to define __stub macros and hopefully few prototypes,
22624 which can conflict with char $ac_func (); below.
22625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22626 <limits.h> exists even on freestanding compilers. */
22628 #ifdef __STDC__
22629 # include <limits.h>
22630 #else
22631 # include <assert.h>
22632 #endif
22634 #undef $ac_func
22636 /* Override any gcc2 internal prototype to avoid an error. */
22637 #ifdef __cplusplus
22638 extern "C"
22640 #endif
22641 /* We use char because int might match the return type of a gcc2
22642 builtin and then its argument prototype would still apply. */
22643 char $ac_func ();
22644 /* The GNU C library defines this for functions which it implements
22645 to always fail with ENOSYS. Some functions are actually named
22646 something starting with __ and the normal name is an alias. */
22647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22648 choke me
22649 #else
22650 char (*f) () = $ac_func;
22651 #endif
22652 #ifdef __cplusplus
22654 #endif
22657 main ()
22659 return f != $ac_func;
22661 return 0;
22663 _ACEOF
22664 rm -f conftest.$ac_objext conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } &&
22673 { ac_try='test -z "$ac_c_werror_flag"
22674 || test ! -s conftest.err'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22677 ac_status=$?
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; } &&
22680 { ac_try='test -s conftest$ac_exeext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 eval "$as_ac_var=yes"
22687 else
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.$ac_ext >&5
22691 eval "$as_ac_var=no"
22693 rm -f conftest.err conftest.$ac_objext \
22694 conftest$ac_exeext conftest.$ac_ext
22696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22698 if test `eval echo '${'$as_ac_var'}'` = yes; then
22699 cat >>confdefs.h <<_ACEOF
22700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22701 _ACEOF
22704 done
22706 else
22708 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22709 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22710 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22711 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22712 echo $ECHO_N "(cached) $ECHO_C" >&6
22713 else
22717 ac_ext=cc
22718 ac_cpp='$CXXCPP $CPPFLAGS'
22719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 #include <math.h>
22731 main ()
22733 _hypotl(0, 0);
22735 return 0;
22737 _ACEOF
22738 rm -f conftest.$ac_objext
22739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22740 (eval $ac_compile) 2>conftest.er1
22741 ac_status=$?
22742 grep -v '^ *+' conftest.er1 >conftest.err
22743 rm -f conftest.er1
22744 cat conftest.err >&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } &&
22747 { ac_try='test -z "$ac_cxx_werror_flag"
22748 || test ! -s conftest.err'
22749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750 (eval $ac_try) 2>&5
22751 ac_status=$?
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); }; } &&
22754 { ac_try='test -s conftest.$ac_objext'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22757 ac_status=$?
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; }; then
22760 glibcxx_cv_func__hypotl_use=yes
22761 else
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22765 glibcxx_cv_func__hypotl_use=no
22767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22768 ac_ext=c
22769 ac_cpp='$CPP $CPPFLAGS'
22770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22779 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22781 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22783 for ac_func in _hypotl
22785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22786 echo "$as_me:$LINENO: checking for $ac_func" >&5
22787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22788 if eval "test \"\${$as_ac_var+set}\" = set"; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 if test x$gcc_no_link = xyes; then
22792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22794 { (exit 1); exit 1; }; }
22796 cat >conftest.$ac_ext <<_ACEOF
22797 /* confdefs.h. */
22798 _ACEOF
22799 cat confdefs.h >>conftest.$ac_ext
22800 cat >>conftest.$ac_ext <<_ACEOF
22801 /* end confdefs.h. */
22802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22804 #define $ac_func innocuous_$ac_func
22806 /* System header to define __stub macros and hopefully few prototypes,
22807 which can conflict with char $ac_func (); below.
22808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22809 <limits.h> exists even on freestanding compilers. */
22811 #ifdef __STDC__
22812 # include <limits.h>
22813 #else
22814 # include <assert.h>
22815 #endif
22817 #undef $ac_func
22819 /* Override any gcc2 internal prototype to avoid an error. */
22820 #ifdef __cplusplus
22821 extern "C"
22823 #endif
22824 /* We use char because int might match the return type of a gcc2
22825 builtin and then its argument prototype would still apply. */
22826 char $ac_func ();
22827 /* The GNU C library defines this for functions which it implements
22828 to always fail with ENOSYS. Some functions are actually named
22829 something starting with __ and the normal name is an alias. */
22830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22831 choke me
22832 #else
22833 char (*f) () = $ac_func;
22834 #endif
22835 #ifdef __cplusplus
22837 #endif
22840 main ()
22842 return f != $ac_func;
22844 return 0;
22846 _ACEOF
22847 rm -f conftest.$ac_objext conftest$ac_exeext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22849 (eval $ac_link) 2>conftest.er1
22850 ac_status=$?
22851 grep -v '^ *+' conftest.er1 >conftest.err
22852 rm -f conftest.er1
22853 cat conftest.err >&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } &&
22856 { ac_try='test -z "$ac_c_werror_flag"
22857 || test ! -s conftest.err'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; } &&
22863 { ac_try='test -s conftest$ac_exeext'
22864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865 (eval $ac_try) 2>&5
22866 ac_status=$?
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; }; then
22869 eval "$as_ac_var=yes"
22870 else
22871 echo "$as_me: failed program was:" >&5
22872 sed 's/^/| /' conftest.$ac_ext >&5
22874 eval "$as_ac_var=no"
22876 rm -f conftest.err conftest.$ac_objext \
22877 conftest$ac_exeext conftest.$ac_ext
22879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22881 if test `eval echo '${'$as_ac_var'}'` = yes; then
22882 cat >>confdefs.h <<_ACEOF
22883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22884 _ACEOF
22887 done
22897 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22898 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22899 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22900 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22901 echo $ECHO_N "(cached) $ECHO_C" >&6
22902 else
22906 ac_ext=cc
22907 ac_cpp='$CXXCPP $CPPFLAGS'
22908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912 cat >conftest.$ac_ext <<_ACEOF
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 #include <math.h>
22920 main ()
22922 ldexpl(0, 0);
22924 return 0;
22926 _ACEOF
22927 rm -f conftest.$ac_objext
22928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22929 (eval $ac_compile) 2>conftest.er1
22930 ac_status=$?
22931 grep -v '^ *+' conftest.er1 >conftest.err
22932 rm -f conftest.er1
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -z "$ac_cxx_werror_flag"
22937 || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try='test -s conftest.$ac_objext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 glibcxx_cv_func_ldexpl_use=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22954 glibcxx_cv_func_ldexpl_use=no
22956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22957 ac_ext=c
22958 ac_cpp='$CPP $CPPFLAGS'
22959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22968 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22970 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22972 for ac_func in ldexpl
22974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22975 echo "$as_me:$LINENO: checking for $ac_func" >&5
22976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22977 if eval "test \"\${$as_ac_var+set}\" = set"; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22979 else
22980 if test x$gcc_no_link = xyes; then
22981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22983 { (exit 1); exit 1; }; }
22985 cat >conftest.$ac_ext <<_ACEOF
22986 /* confdefs.h. */
22987 _ACEOF
22988 cat confdefs.h >>conftest.$ac_ext
22989 cat >>conftest.$ac_ext <<_ACEOF
22990 /* end confdefs.h. */
22991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22993 #define $ac_func innocuous_$ac_func
22995 /* System header to define __stub macros and hopefully few prototypes,
22996 which can conflict with char $ac_func (); below.
22997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22998 <limits.h> exists even on freestanding compilers. */
23000 #ifdef __STDC__
23001 # include <limits.h>
23002 #else
23003 # include <assert.h>
23004 #endif
23006 #undef $ac_func
23008 /* Override any gcc2 internal prototype to avoid an error. */
23009 #ifdef __cplusplus
23010 extern "C"
23012 #endif
23013 /* We use char because int might match the return type of a gcc2
23014 builtin and then its argument prototype would still apply. */
23015 char $ac_func ();
23016 /* The GNU C library defines this for functions which it implements
23017 to always fail with ENOSYS. Some functions are actually named
23018 something starting with __ and the normal name is an alias. */
23019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23020 choke me
23021 #else
23022 char (*f) () = $ac_func;
23023 #endif
23024 #ifdef __cplusplus
23026 #endif
23029 main ()
23031 return f != $ac_func;
23033 return 0;
23035 _ACEOF
23036 rm -f conftest.$ac_objext conftest$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>conftest.er1
23039 ac_status=$?
23040 grep -v '^ *+' conftest.er1 >conftest.err
23041 rm -f conftest.er1
23042 cat conftest.err >&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } &&
23045 { ac_try='test -z "$ac_c_werror_flag"
23046 || test ! -s conftest.err'
23047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23048 (eval $ac_try) 2>&5
23049 ac_status=$?
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); }; } &&
23052 { ac_try='test -s conftest$ac_exeext'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 eval "$as_ac_var=yes"
23059 else
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.$ac_ext >&5
23063 eval "$as_ac_var=no"
23065 rm -f conftest.err conftest.$ac_objext \
23066 conftest$ac_exeext conftest.$ac_ext
23068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23070 if test `eval echo '${'$as_ac_var'}'` = yes; then
23071 cat >>confdefs.h <<_ACEOF
23072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23073 _ACEOF
23076 done
23078 else
23080 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23081 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23082 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23083 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23089 ac_ext=cc
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095 cat >conftest.$ac_ext <<_ACEOF
23096 /* confdefs.h. */
23097 _ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23101 #include <math.h>
23103 main ()
23105 _ldexpl(0, 0);
23107 return 0;
23109 _ACEOF
23110 rm -f conftest.$ac_objext
23111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23112 (eval $ac_compile) 2>conftest.er1
23113 ac_status=$?
23114 grep -v '^ *+' conftest.er1 >conftest.err
23115 rm -f conftest.er1
23116 cat conftest.err >&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } &&
23119 { ac_try='test -z "$ac_cxx_werror_flag"
23120 || test ! -s conftest.err'
23121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23122 (eval $ac_try) 2>&5
23123 ac_status=$?
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); }; } &&
23126 { ac_try='test -s conftest.$ac_objext'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23129 ac_status=$?
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; }; then
23132 glibcxx_cv_func__ldexpl_use=yes
23133 else
23134 echo "$as_me: failed program was:" >&5
23135 sed 's/^/| /' conftest.$ac_ext >&5
23137 glibcxx_cv_func__ldexpl_use=no
23139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23151 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23153 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23155 for ac_func in _ldexpl
23157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23158 echo "$as_me:$LINENO: checking for $ac_func" >&5
23159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23160 if eval "test \"\${$as_ac_var+set}\" = set"; then
23161 echo $ECHO_N "(cached) $ECHO_C" >&6
23162 else
23163 if test x$gcc_no_link = xyes; then
23164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23166 { (exit 1); exit 1; }; }
23168 cat >conftest.$ac_ext <<_ACEOF
23169 /* confdefs.h. */
23170 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23176 #define $ac_func innocuous_$ac_func
23178 /* System header to define __stub macros and hopefully few prototypes,
23179 which can conflict with char $ac_func (); below.
23180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23181 <limits.h> exists even on freestanding compilers. */
23183 #ifdef __STDC__
23184 # include <limits.h>
23185 #else
23186 # include <assert.h>
23187 #endif
23189 #undef $ac_func
23191 /* Override any gcc2 internal prototype to avoid an error. */
23192 #ifdef __cplusplus
23193 extern "C"
23195 #endif
23196 /* We use char because int might match the return type of a gcc2
23197 builtin and then its argument prototype would still apply. */
23198 char $ac_func ();
23199 /* The GNU C library defines this for functions which it implements
23200 to always fail with ENOSYS. Some functions are actually named
23201 something starting with __ and the normal name is an alias. */
23202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23203 choke me
23204 #else
23205 char (*f) () = $ac_func;
23206 #endif
23207 #ifdef __cplusplus
23209 #endif
23212 main ()
23214 return f != $ac_func;
23216 return 0;
23218 _ACEOF
23219 rm -f conftest.$ac_objext conftest$ac_exeext
23220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23221 (eval $ac_link) 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try='test -z "$ac_c_werror_flag"
23229 || test ! -s conftest.err'
23230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23231 (eval $ac_try) 2>&5
23232 ac_status=$?
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); }; } &&
23235 { ac_try='test -s conftest$ac_exeext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23241 eval "$as_ac_var=yes"
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23246 eval "$as_ac_var=no"
23248 rm -f conftest.err conftest.$ac_objext \
23249 conftest$ac_exeext conftest.$ac_ext
23251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23253 if test `eval echo '${'$as_ac_var'}'` = yes; then
23254 cat >>confdefs.h <<_ACEOF
23255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23256 _ACEOF
23259 done
23269 echo "$as_me:$LINENO: checking for logl declaration" >&5
23270 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23271 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23272 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23273 echo $ECHO_N "(cached) $ECHO_C" >&6
23274 else
23278 ac_ext=cc
23279 ac_cpp='$CXXCPP $CPPFLAGS'
23280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 #include <math.h>
23291 #ifdef HAVE_IEEEFP_H
23292 #include <ieeefp.h>
23293 #endif
23296 main ()
23298 logl(0);
23300 return 0;
23302 _ACEOF
23303 rm -f conftest.$ac_objext
23304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23305 (eval $ac_compile) 2>conftest.er1
23306 ac_status=$?
23307 grep -v '^ *+' conftest.er1 >conftest.err
23308 rm -f conftest.er1
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try='test -z "$ac_cxx_werror_flag"
23313 || test ! -s conftest.err'
23314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23315 (eval $ac_try) 2>&5
23316 ac_status=$?
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); }; } &&
23319 { ac_try='test -s conftest.$ac_objext'
23320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23321 (eval $ac_try) 2>&5
23322 ac_status=$?
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); }; }; then
23325 glibcxx_cv_func_logl_use=yes
23326 else
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23330 glibcxx_cv_func_logl_use=no
23332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23333 ac_ext=c
23334 ac_cpp='$CPP $CPPFLAGS'
23335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23344 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23346 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23348 for ac_func in logl
23350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23351 echo "$as_me:$LINENO: checking for $ac_func" >&5
23352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23353 if eval "test \"\${$as_ac_var+set}\" = set"; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 else
23356 if test x$gcc_no_link = xyes; then
23357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23359 { (exit 1); exit 1; }; }
23361 cat >conftest.$ac_ext <<_ACEOF
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23369 #define $ac_func innocuous_$ac_func
23371 /* System header to define __stub macros and hopefully few prototypes,
23372 which can conflict with char $ac_func (); below.
23373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23374 <limits.h> exists even on freestanding compilers. */
23376 #ifdef __STDC__
23377 # include <limits.h>
23378 #else
23379 # include <assert.h>
23380 #endif
23382 #undef $ac_func
23384 /* Override any gcc2 internal prototype to avoid an error. */
23385 #ifdef __cplusplus
23386 extern "C"
23388 #endif
23389 /* We use char because int might match the return type of a gcc2
23390 builtin and then its argument prototype would still apply. */
23391 char $ac_func ();
23392 /* The GNU C library defines this for functions which it implements
23393 to always fail with ENOSYS. Some functions are actually named
23394 something starting with __ and the normal name is an alias. */
23395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23396 choke me
23397 #else
23398 char (*f) () = $ac_func;
23399 #endif
23400 #ifdef __cplusplus
23402 #endif
23405 main ()
23407 return f != $ac_func;
23409 return 0;
23411 _ACEOF
23412 rm -f conftest.$ac_objext conftest$ac_exeext
23413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23414 (eval $ac_link) 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try='test -z "$ac_c_werror_flag"
23422 || test ! -s conftest.err'
23423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23424 (eval $ac_try) 2>&5
23425 ac_status=$?
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; } &&
23428 { ac_try='test -s conftest$ac_exeext'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23431 ac_status=$?
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; }; then
23434 eval "$as_ac_var=yes"
23435 else
23436 echo "$as_me: failed program was:" >&5
23437 sed 's/^/| /' conftest.$ac_ext >&5
23439 eval "$as_ac_var=no"
23441 rm -f conftest.err conftest.$ac_objext \
23442 conftest$ac_exeext conftest.$ac_ext
23444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23446 if test `eval echo '${'$as_ac_var'}'` = yes; then
23447 cat >>confdefs.h <<_ACEOF
23448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23449 _ACEOF
23452 done
23454 else
23456 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23457 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23458 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23459 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23465 ac_ext=cc
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <math.h>
23478 #ifdef HAVE_IEEEFP_H
23479 #include <ieeefp.h>
23480 #endif
23483 main ()
23485 _logl(0);
23487 return 0;
23489 _ACEOF
23490 rm -f conftest.$ac_objext
23491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23492 (eval $ac_compile) 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -z "$ac_cxx_werror_flag"
23500 || test ! -s conftest.err'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; } &&
23506 { ac_try='test -s conftest.$ac_objext'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; }; then
23512 glibcxx_cv_func__logl_use=yes
23513 else
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23517 glibcxx_cv_func__logl_use=no
23519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23520 ac_ext=c
23521 ac_cpp='$CPP $CPPFLAGS'
23522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23531 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23533 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23535 for ac_func in _logl
23537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23538 echo "$as_me:$LINENO: checking for $ac_func" >&5
23539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23540 if eval "test \"\${$as_ac_var+set}\" = set"; then
23541 echo $ECHO_N "(cached) $ECHO_C" >&6
23542 else
23543 if test x$gcc_no_link = xyes; then
23544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23546 { (exit 1); exit 1; }; }
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23556 #define $ac_func innocuous_$ac_func
23558 /* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char $ac_func (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23563 #ifdef __STDC__
23564 # include <limits.h>
23565 #else
23566 # include <assert.h>
23567 #endif
23569 #undef $ac_func
23571 /* Override any gcc2 internal prototype to avoid an error. */
23572 #ifdef __cplusplus
23573 extern "C"
23575 #endif
23576 /* We use char because int might match the return type of a gcc2
23577 builtin and then its argument prototype would still apply. */
23578 char $ac_func ();
23579 /* The GNU C library defines this for functions which it implements
23580 to always fail with ENOSYS. Some functions are actually named
23581 something starting with __ and the normal name is an alias. */
23582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23583 choke me
23584 #else
23585 char (*f) () = $ac_func;
23586 #endif
23587 #ifdef __cplusplus
23589 #endif
23592 main ()
23594 return f != $ac_func;
23596 return 0;
23598 _ACEOF
23599 rm -f conftest.$ac_objext conftest$ac_exeext
23600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23601 (eval $ac_link) 2>conftest.er1
23602 ac_status=$?
23603 grep -v '^ *+' conftest.er1 >conftest.err
23604 rm -f conftest.er1
23605 cat conftest.err >&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try='test -z "$ac_c_werror_flag"
23609 || test ! -s conftest.err'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23612 ac_status=$?
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; } &&
23615 { ac_try='test -s conftest$ac_exeext'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23618 ac_status=$?
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; }; then
23621 eval "$as_ac_var=yes"
23622 else
23623 echo "$as_me: failed program was:" >&5
23624 sed 's/^/| /' conftest.$ac_ext >&5
23626 eval "$as_ac_var=no"
23628 rm -f conftest.err conftest.$ac_objext \
23629 conftest$ac_exeext conftest.$ac_ext
23631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23633 if test `eval echo '${'$as_ac_var'}'` = yes; then
23634 cat >>confdefs.h <<_ACEOF
23635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23636 _ACEOF
23639 done
23649 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23650 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23651 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23652 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 else
23658 ac_ext=cc
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat >conftest.$ac_ext <<_ACEOF
23665 /* confdefs.h. */
23666 _ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 #include <math.h>
23671 #ifdef HAVE_IEEEFP_H
23672 #include <ieeefp.h>
23673 #endif
23676 main ()
23678 log10l(0);
23680 return 0;
23682 _ACEOF
23683 rm -f conftest.$ac_objext
23684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23685 (eval $ac_compile) 2>conftest.er1
23686 ac_status=$?
23687 grep -v '^ *+' conftest.er1 >conftest.err
23688 rm -f conftest.er1
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } &&
23692 { ac_try='test -z "$ac_cxx_werror_flag"
23693 || test ! -s conftest.err'
23694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23695 (eval $ac_try) 2>&5
23696 ac_status=$?
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; } &&
23699 { ac_try='test -s conftest.$ac_objext'
23700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23701 (eval $ac_try) 2>&5
23702 ac_status=$?
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); }; }; then
23705 glibcxx_cv_func_log10l_use=yes
23706 else
23707 echo "$as_me: failed program was:" >&5
23708 sed 's/^/| /' conftest.$ac_ext >&5
23710 glibcxx_cv_func_log10l_use=no
23712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23713 ac_ext=c
23714 ac_cpp='$CPP $CPPFLAGS'
23715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23724 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23726 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23728 for ac_func in log10l
23730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23731 echo "$as_me:$LINENO: checking for $ac_func" >&5
23732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23733 if eval "test \"\${$as_ac_var+set}\" = set"; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 else
23736 if test x$gcc_no_link = xyes; then
23737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23739 { (exit 1); exit 1; }; }
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23749 #define $ac_func innocuous_$ac_func
23751 /* System header to define __stub macros and hopefully few prototypes,
23752 which can conflict with char $ac_func (); below.
23753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23754 <limits.h> exists even on freestanding compilers. */
23756 #ifdef __STDC__
23757 # include <limits.h>
23758 #else
23759 # include <assert.h>
23760 #endif
23762 #undef $ac_func
23764 /* Override any gcc2 internal prototype to avoid an error. */
23765 #ifdef __cplusplus
23766 extern "C"
23768 #endif
23769 /* We use char because int might match the return type of a gcc2
23770 builtin and then its argument prototype would still apply. */
23771 char $ac_func ();
23772 /* The GNU C library defines this for functions which it implements
23773 to always fail with ENOSYS. Some functions are actually named
23774 something starting with __ and the normal name is an alias. */
23775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23776 choke me
23777 #else
23778 char (*f) () = $ac_func;
23779 #endif
23780 #ifdef __cplusplus
23782 #endif
23785 main ()
23787 return f != $ac_func;
23789 return 0;
23791 _ACEOF
23792 rm -f conftest.$ac_objext conftest$ac_exeext
23793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23794 (eval $ac_link) 2>conftest.er1
23795 ac_status=$?
23796 grep -v '^ *+' conftest.er1 >conftest.err
23797 rm -f conftest.er1
23798 cat conftest.err >&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } &&
23801 { ac_try='test -z "$ac_c_werror_flag"
23802 || test ! -s conftest.err'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; } &&
23808 { ac_try='test -s conftest$ac_exeext'
23809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810 (eval $ac_try) 2>&5
23811 ac_status=$?
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); }; }; then
23814 eval "$as_ac_var=yes"
23815 else
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.$ac_ext >&5
23819 eval "$as_ac_var=no"
23821 rm -f conftest.err conftest.$ac_objext \
23822 conftest$ac_exeext conftest.$ac_ext
23824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23826 if test `eval echo '${'$as_ac_var'}'` = yes; then
23827 cat >>confdefs.h <<_ACEOF
23828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23829 _ACEOF
23832 done
23834 else
23836 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23837 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23838 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23839 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 else
23845 ac_ext=cc
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23851 cat >conftest.$ac_ext <<_ACEOF
23852 /* confdefs.h. */
23853 _ACEOF
23854 cat confdefs.h >>conftest.$ac_ext
23855 cat >>conftest.$ac_ext <<_ACEOF
23856 /* end confdefs.h. */
23857 #include <math.h>
23858 #ifdef HAVE_IEEEFP_H
23859 #include <ieeefp.h>
23860 #endif
23863 main ()
23865 _log10l(0);
23867 return 0;
23869 _ACEOF
23870 rm -f conftest.$ac_objext
23871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23872 (eval $ac_compile) 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } &&
23879 { ac_try='test -z "$ac_cxx_werror_flag"
23880 || test ! -s conftest.err'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23883 ac_status=$?
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; } &&
23886 { ac_try='test -s conftest.$ac_objext'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23892 glibcxx_cv_func__log10l_use=yes
23893 else
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23897 glibcxx_cv_func__log10l_use=no
23899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23900 ac_ext=c
23901 ac_cpp='$CPP $CPPFLAGS'
23902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23911 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23913 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23915 for ac_func in _log10l
23917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23918 echo "$as_me:$LINENO: checking for $ac_func" >&5
23919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23920 if eval "test \"\${$as_ac_var+set}\" = set"; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23922 else
23923 if test x$gcc_no_link = xyes; then
23924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23926 { (exit 1); exit 1; }; }
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23936 #define $ac_func innocuous_$ac_func
23938 /* System header to define __stub macros and hopefully few prototypes,
23939 which can conflict with char $ac_func (); below.
23940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23941 <limits.h> exists even on freestanding compilers. */
23943 #ifdef __STDC__
23944 # include <limits.h>
23945 #else
23946 # include <assert.h>
23947 #endif
23949 #undef $ac_func
23951 /* Override any gcc2 internal prototype to avoid an error. */
23952 #ifdef __cplusplus
23953 extern "C"
23955 #endif
23956 /* We use char because int might match the return type of a gcc2
23957 builtin and then its argument prototype would still apply. */
23958 char $ac_func ();
23959 /* The GNU C library defines this for functions which it implements
23960 to always fail with ENOSYS. Some functions are actually named
23961 something starting with __ and the normal name is an alias. */
23962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23963 choke me
23964 #else
23965 char (*f) () = $ac_func;
23966 #endif
23967 #ifdef __cplusplus
23969 #endif
23972 main ()
23974 return f != $ac_func;
23976 return 0;
23978 _ACEOF
23979 rm -f conftest.$ac_objext conftest$ac_exeext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23981 (eval $ac_link) 2>conftest.er1
23982 ac_status=$?
23983 grep -v '^ *+' conftest.er1 >conftest.err
23984 rm -f conftest.er1
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } &&
23988 { ac_try='test -z "$ac_c_werror_flag"
23989 || test ! -s conftest.err'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; } &&
23995 { ac_try='test -s conftest$ac_exeext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 eval "$as_ac_var=yes"
24002 else
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24006 eval "$as_ac_var=no"
24008 rm -f conftest.err conftest.$ac_objext \
24009 conftest$ac_exeext conftest.$ac_ext
24011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24013 if test `eval echo '${'$as_ac_var'}'` = yes; then
24014 cat >>confdefs.h <<_ACEOF
24015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24016 _ACEOF
24019 done
24029 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24030 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24031 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24032 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 else
24038 ac_ext=cc
24039 ac_cpp='$CXXCPP $CPPFLAGS'
24040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24044 cat >conftest.$ac_ext <<_ACEOF
24045 /* confdefs.h. */
24046 _ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050 #include <math.h>
24052 main ()
24054 modfl(0, 0);
24056 return 0;
24058 _ACEOF
24059 rm -f conftest.$ac_objext
24060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24061 (eval $ac_compile) 2>conftest.er1
24062 ac_status=$?
24063 grep -v '^ *+' conftest.er1 >conftest.err
24064 rm -f conftest.er1
24065 cat conftest.err >&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try='test -z "$ac_cxx_werror_flag"
24069 || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 glibcxx_cv_func_modfl_use=yes
24082 else
24083 echo "$as_me: failed program was:" >&5
24084 sed 's/^/| /' conftest.$ac_ext >&5
24086 glibcxx_cv_func_modfl_use=no
24088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24089 ac_ext=c
24090 ac_cpp='$CPP $CPPFLAGS'
24091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24100 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24102 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24104 for ac_func in modfl
24106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24107 echo "$as_me:$LINENO: checking for $ac_func" >&5
24108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24109 if eval "test \"\${$as_ac_var+set}\" = set"; then
24110 echo $ECHO_N "(cached) $ECHO_C" >&6
24111 else
24112 if test x$gcc_no_link = xyes; then
24113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24115 { (exit 1); exit 1; }; }
24117 cat >conftest.$ac_ext <<_ACEOF
24118 /* confdefs.h. */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24125 #define $ac_func innocuous_$ac_func
24127 /* System header to define __stub macros and hopefully few prototypes,
24128 which can conflict with char $ac_func (); below.
24129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24130 <limits.h> exists even on freestanding compilers. */
24132 #ifdef __STDC__
24133 # include <limits.h>
24134 #else
24135 # include <assert.h>
24136 #endif
24138 #undef $ac_func
24140 /* Override any gcc2 internal prototype to avoid an error. */
24141 #ifdef __cplusplus
24142 extern "C"
24144 #endif
24145 /* We use char because int might match the return type of a gcc2
24146 builtin and then its argument prototype would still apply. */
24147 char $ac_func ();
24148 /* The GNU C library defines this for functions which it implements
24149 to always fail with ENOSYS. Some functions are actually named
24150 something starting with __ and the normal name is an alias. */
24151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24152 choke me
24153 #else
24154 char (*f) () = $ac_func;
24155 #endif
24156 #ifdef __cplusplus
24158 #endif
24161 main ()
24163 return f != $ac_func;
24165 return 0;
24167 _ACEOF
24168 rm -f conftest.$ac_objext conftest$ac_exeext
24169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24170 (eval $ac_link) 2>conftest.er1
24171 ac_status=$?
24172 grep -v '^ *+' conftest.er1 >conftest.err
24173 rm -f conftest.er1
24174 cat conftest.err >&5
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } &&
24177 { ac_try='test -z "$ac_c_werror_flag"
24178 || test ! -s conftest.err'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; } &&
24184 { ac_try='test -s conftest$ac_exeext'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24187 ac_status=$?
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; }; then
24190 eval "$as_ac_var=yes"
24191 else
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.$ac_ext >&5
24195 eval "$as_ac_var=no"
24197 rm -f conftest.err conftest.$ac_objext \
24198 conftest$ac_exeext conftest.$ac_ext
24200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24202 if test `eval echo '${'$as_ac_var'}'` = yes; then
24203 cat >>confdefs.h <<_ACEOF
24204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24205 _ACEOF
24208 done
24210 else
24212 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24213 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24214 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24215 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 else
24221 ac_ext=cc
24222 ac_cpp='$CXXCPP $CPPFLAGS'
24223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24227 cat >conftest.$ac_ext <<_ACEOF
24228 /* confdefs.h. */
24229 _ACEOF
24230 cat confdefs.h >>conftest.$ac_ext
24231 cat >>conftest.$ac_ext <<_ACEOF
24232 /* end confdefs.h. */
24233 #include <math.h>
24235 main ()
24237 _modfl(0, 0);
24239 return 0;
24241 _ACEOF
24242 rm -f conftest.$ac_objext
24243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24244 (eval $ac_compile) 2>conftest.er1
24245 ac_status=$?
24246 grep -v '^ *+' conftest.er1 >conftest.err
24247 rm -f conftest.er1
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try='test -z "$ac_cxx_werror_flag"
24252 || test ! -s conftest.err'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; } &&
24258 { ac_try='test -s conftest.$ac_objext'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24261 ac_status=$?
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; }; then
24264 glibcxx_cv_func__modfl_use=yes
24265 else
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24269 glibcxx_cv_func__modfl_use=no
24271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24272 ac_ext=c
24273 ac_cpp='$CPP $CPPFLAGS'
24274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24283 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24285 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24287 for ac_func in _modfl
24289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24290 echo "$as_me:$LINENO: checking for $ac_func" >&5
24291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24292 if eval "test \"\${$as_ac_var+set}\" = set"; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 else
24295 if test x$gcc_no_link = xyes; then
24296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24298 { (exit 1); exit 1; }; }
24300 cat >conftest.$ac_ext <<_ACEOF
24301 /* confdefs.h. */
24302 _ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24308 #define $ac_func innocuous_$ac_func
24310 /* System header to define __stub macros and hopefully few prototypes,
24311 which can conflict with char $ac_func (); below.
24312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24313 <limits.h> exists even on freestanding compilers. */
24315 #ifdef __STDC__
24316 # include <limits.h>
24317 #else
24318 # include <assert.h>
24319 #endif
24321 #undef $ac_func
24323 /* Override any gcc2 internal prototype to avoid an error. */
24324 #ifdef __cplusplus
24325 extern "C"
24327 #endif
24328 /* We use char because int might match the return type of a gcc2
24329 builtin and then its argument prototype would still apply. */
24330 char $ac_func ();
24331 /* The GNU C library defines this for functions which it implements
24332 to always fail with ENOSYS. Some functions are actually named
24333 something starting with __ and the normal name is an alias. */
24334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24335 choke me
24336 #else
24337 char (*f) () = $ac_func;
24338 #endif
24339 #ifdef __cplusplus
24341 #endif
24344 main ()
24346 return f != $ac_func;
24348 return 0;
24350 _ACEOF
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24353 (eval $ac_link) 2>conftest.er1
24354 ac_status=$?
24355 grep -v '^ *+' conftest.er1 >conftest.err
24356 rm -f conftest.er1
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } &&
24360 { ac_try='test -z "$ac_c_werror_flag"
24361 || test ! -s conftest.err'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; } &&
24367 { ac_try='test -s conftest$ac_exeext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24370 ac_status=$?
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24373 eval "$as_ac_var=yes"
24374 else
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24378 eval "$as_ac_var=no"
24380 rm -f conftest.err conftest.$ac_objext \
24381 conftest$ac_exeext conftest.$ac_ext
24383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24385 if test `eval echo '${'$as_ac_var'}'` = yes; then
24386 cat >>confdefs.h <<_ACEOF
24387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24388 _ACEOF
24391 done
24401 echo "$as_me:$LINENO: checking for powl declaration" >&5
24402 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24403 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24404 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24410 ac_ext=cc
24411 ac_cpp='$CXXCPP $CPPFLAGS'
24412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24416 cat >conftest.$ac_ext <<_ACEOF
24417 /* confdefs.h. */
24418 _ACEOF
24419 cat confdefs.h >>conftest.$ac_ext
24420 cat >>conftest.$ac_ext <<_ACEOF
24421 /* end confdefs.h. */
24422 #include <math.h>
24424 main ()
24426 powl(0, 0);
24428 return 0;
24430 _ACEOF
24431 rm -f conftest.$ac_objext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24433 (eval $ac_compile) 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try='test -z "$ac_cxx_werror_flag"
24441 || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24444 ac_status=$?
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try='test -s conftest.$ac_objext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24450 ac_status=$?
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 glibcxx_cv_func_powl_use=yes
24454 else
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.$ac_ext >&5
24458 glibcxx_cv_func_powl_use=no
24460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24461 ac_ext=c
24462 ac_cpp='$CPP $CPPFLAGS'
24463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24472 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24474 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24476 for ac_func in powl
24478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24479 echo "$as_me:$LINENO: checking for $ac_func" >&5
24480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24481 if eval "test \"\${$as_ac_var+set}\" = set"; then
24482 echo $ECHO_N "(cached) $ECHO_C" >&6
24483 else
24484 if test x$gcc_no_link = xyes; then
24485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24487 { (exit 1); exit 1; }; }
24489 cat >conftest.$ac_ext <<_ACEOF
24490 /* confdefs.h. */
24491 _ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24497 #define $ac_func innocuous_$ac_func
24499 /* System header to define __stub macros and hopefully few prototypes,
24500 which can conflict with char $ac_func (); below.
24501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24502 <limits.h> exists even on freestanding compilers. */
24504 #ifdef __STDC__
24505 # include <limits.h>
24506 #else
24507 # include <assert.h>
24508 #endif
24510 #undef $ac_func
24512 /* Override any gcc2 internal prototype to avoid an error. */
24513 #ifdef __cplusplus
24514 extern "C"
24516 #endif
24517 /* We use char because int might match the return type of a gcc2
24518 builtin and then its argument prototype would still apply. */
24519 char $ac_func ();
24520 /* The GNU C library defines this for functions which it implements
24521 to always fail with ENOSYS. Some functions are actually named
24522 something starting with __ and the normal name is an alias. */
24523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24524 choke me
24525 #else
24526 char (*f) () = $ac_func;
24527 #endif
24528 #ifdef __cplusplus
24530 #endif
24533 main ()
24535 return f != $ac_func;
24537 return 0;
24539 _ACEOF
24540 rm -f conftest.$ac_objext conftest$ac_exeext
24541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24542 (eval $ac_link) 2>conftest.er1
24543 ac_status=$?
24544 grep -v '^ *+' conftest.er1 >conftest.err
24545 rm -f conftest.er1
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } &&
24549 { ac_try='test -z "$ac_c_werror_flag"
24550 || test ! -s conftest.err'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; } &&
24556 { ac_try='test -s conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24559 ac_status=$?
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 eval "$as_ac_var=yes"
24563 else
24564 echo "$as_me: failed program was:" >&5
24565 sed 's/^/| /' conftest.$ac_ext >&5
24567 eval "$as_ac_var=no"
24569 rm -f conftest.err conftest.$ac_objext \
24570 conftest$ac_exeext conftest.$ac_ext
24572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24574 if test `eval echo '${'$as_ac_var'}'` = yes; then
24575 cat >>confdefs.h <<_ACEOF
24576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24577 _ACEOF
24580 done
24582 else
24584 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24585 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24586 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24587 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24593 ac_ext=cc
24594 ac_cpp='$CXXCPP $CPPFLAGS'
24595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 #include <math.h>
24607 main ()
24609 _powl(0, 0);
24611 return 0;
24613 _ACEOF
24614 rm -f conftest.$ac_objext
24615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24616 (eval $ac_compile) 2>conftest.er1
24617 ac_status=$?
24618 grep -v '^ *+' conftest.er1 >conftest.err
24619 rm -f conftest.er1
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } &&
24623 { ac_try='test -z "$ac_cxx_werror_flag"
24624 || test ! -s conftest.err'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; } &&
24630 { ac_try='test -s conftest.$ac_objext'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24633 ac_status=$?
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; }; then
24636 glibcxx_cv_func__powl_use=yes
24637 else
24638 echo "$as_me: failed program was:" >&5
24639 sed 's/^/| /' conftest.$ac_ext >&5
24641 glibcxx_cv_func__powl_use=no
24643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24644 ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24655 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24657 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24659 for ac_func in _powl
24661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24662 echo "$as_me:$LINENO: checking for $ac_func" >&5
24663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24664 if eval "test \"\${$as_ac_var+set}\" = set"; then
24665 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 else
24667 if test x$gcc_no_link = xyes; then
24668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24670 { (exit 1); exit 1; }; }
24672 cat >conftest.$ac_ext <<_ACEOF
24673 /* confdefs.h. */
24674 _ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24680 #define $ac_func innocuous_$ac_func
24682 /* System header to define __stub macros and hopefully few prototypes,
24683 which can conflict with char $ac_func (); below.
24684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24685 <limits.h> exists even on freestanding compilers. */
24687 #ifdef __STDC__
24688 # include <limits.h>
24689 #else
24690 # include <assert.h>
24691 #endif
24693 #undef $ac_func
24695 /* Override any gcc2 internal prototype to avoid an error. */
24696 #ifdef __cplusplus
24697 extern "C"
24699 #endif
24700 /* We use char because int might match the return type of a gcc2
24701 builtin and then its argument prototype would still apply. */
24702 char $ac_func ();
24703 /* The GNU C library defines this for functions which it implements
24704 to always fail with ENOSYS. Some functions are actually named
24705 something starting with __ and the normal name is an alias. */
24706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24707 choke me
24708 #else
24709 char (*f) () = $ac_func;
24710 #endif
24711 #ifdef __cplusplus
24713 #endif
24716 main ()
24718 return f != $ac_func;
24720 return 0;
24722 _ACEOF
24723 rm -f conftest.$ac_objext conftest$ac_exeext
24724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24725 (eval $ac_link) 2>conftest.er1
24726 ac_status=$?
24727 grep -v '^ *+' conftest.er1 >conftest.err
24728 rm -f conftest.er1
24729 cat conftest.err >&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } &&
24732 { ac_try='test -z "$ac_c_werror_flag"
24733 || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 eval "$as_ac_var=yes"
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 eval "$as_ac_var=no"
24752 rm -f conftest.err conftest.$ac_objext \
24753 conftest$ac_exeext conftest.$ac_ext
24755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24757 if test `eval echo '${'$as_ac_var'}'` = yes; then
24758 cat >>confdefs.h <<_ACEOF
24759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24760 _ACEOF
24763 done
24773 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24774 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24775 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24776 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24778 else
24782 ac_ext=cc
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 cat >conftest.$ac_ext <<_ACEOF
24789 /* confdefs.h. */
24790 _ACEOF
24791 cat confdefs.h >>conftest.$ac_ext
24792 cat >>conftest.$ac_ext <<_ACEOF
24793 /* end confdefs.h. */
24794 #include <math.h>
24795 #ifdef HAVE_IEEEFP_H
24796 #include <ieeefp.h>
24797 #endif
24800 main ()
24802 sqrtl(0);
24804 return 0;
24806 _ACEOF
24807 rm -f conftest.$ac_objext
24808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24809 (eval $ac_compile) 2>conftest.er1
24810 ac_status=$?
24811 grep -v '^ *+' conftest.er1 >conftest.err
24812 rm -f conftest.er1
24813 cat conftest.err >&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } &&
24816 { ac_try='test -z "$ac_cxx_werror_flag"
24817 || test ! -s conftest.err'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24820 ac_status=$?
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; } &&
24823 { ac_try='test -s conftest.$ac_objext'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24826 ac_status=$?
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; }; then
24829 glibcxx_cv_func_sqrtl_use=yes
24830 else
24831 echo "$as_me: failed program was:" >&5
24832 sed 's/^/| /' conftest.$ac_ext >&5
24834 glibcxx_cv_func_sqrtl_use=no
24836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24837 ac_ext=c
24838 ac_cpp='$CPP $CPPFLAGS'
24839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24848 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24850 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24852 for ac_func in sqrtl
24854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24855 echo "$as_me:$LINENO: checking for $ac_func" >&5
24856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24857 if eval "test \"\${$as_ac_var+set}\" = set"; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860 if test x$gcc_no_link = xyes; then
24861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24863 { (exit 1); exit 1; }; }
24865 cat >conftest.$ac_ext <<_ACEOF
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24873 #define $ac_func innocuous_$ac_func
24875 /* System header to define __stub macros and hopefully few prototypes,
24876 which can conflict with char $ac_func (); below.
24877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24878 <limits.h> exists even on freestanding compilers. */
24880 #ifdef __STDC__
24881 # include <limits.h>
24882 #else
24883 # include <assert.h>
24884 #endif
24886 #undef $ac_func
24888 /* Override any gcc2 internal prototype to avoid an error. */
24889 #ifdef __cplusplus
24890 extern "C"
24892 #endif
24893 /* We use char because int might match the return type of a gcc2
24894 builtin and then its argument prototype would still apply. */
24895 char $ac_func ();
24896 /* The GNU C library defines this for functions which it implements
24897 to always fail with ENOSYS. Some functions are actually named
24898 something starting with __ and the normal name is an alias. */
24899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24900 choke me
24901 #else
24902 char (*f) () = $ac_func;
24903 #endif
24904 #ifdef __cplusplus
24906 #endif
24909 main ()
24911 return f != $ac_func;
24913 return 0;
24915 _ACEOF
24916 rm -f conftest.$ac_objext conftest$ac_exeext
24917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24918 (eval $ac_link) 2>conftest.er1
24919 ac_status=$?
24920 grep -v '^ *+' conftest.er1 >conftest.err
24921 rm -f conftest.er1
24922 cat conftest.err >&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
24925 { ac_try='test -z "$ac_c_werror_flag"
24926 || test ! -s conftest.err'
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24929 ac_status=$?
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); }; } &&
24932 { ac_try='test -s conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 eval "$as_ac_var=yes"
24939 else
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.$ac_ext >&5
24943 eval "$as_ac_var=no"
24945 rm -f conftest.err conftest.$ac_objext \
24946 conftest$ac_exeext conftest.$ac_ext
24948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24950 if test `eval echo '${'$as_ac_var'}'` = yes; then
24951 cat >>confdefs.h <<_ACEOF
24952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24953 _ACEOF
24956 done
24958 else
24960 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24961 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24962 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24963 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24964 echo $ECHO_N "(cached) $ECHO_C" >&6
24965 else
24969 ac_ext=cc
24970 ac_cpp='$CXXCPP $CPPFLAGS'
24971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981 #include <math.h>
24982 #ifdef HAVE_IEEEFP_H
24983 #include <ieeefp.h>
24984 #endif
24987 main ()
24989 _sqrtl(0);
24991 return 0;
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24996 (eval $ac_compile) 2>conftest.er1
24997 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1
25000 cat conftest.err >&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try='test -z "$ac_cxx_werror_flag"
25004 || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try='test -s conftest.$ac_objext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 glibcxx_cv_func__sqrtl_use=yes
25017 else
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25021 glibcxx_cv_func__sqrtl_use=no
25023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25024 ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25035 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25037 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25039 for ac_func in _sqrtl
25041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25042 echo "$as_me:$LINENO: checking for $ac_func" >&5
25043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25044 if eval "test \"\${$as_ac_var+set}\" = set"; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 else
25047 if test x$gcc_no_link = xyes; then
25048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25050 { (exit 1); exit 1; }; }
25052 cat >conftest.$ac_ext <<_ACEOF
25053 /* confdefs.h. */
25054 _ACEOF
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25060 #define $ac_func innocuous_$ac_func
25062 /* System header to define __stub macros and hopefully few prototypes,
25063 which can conflict with char $ac_func (); below.
25064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25065 <limits.h> exists even on freestanding compilers. */
25067 #ifdef __STDC__
25068 # include <limits.h>
25069 #else
25070 # include <assert.h>
25071 #endif
25073 #undef $ac_func
25075 /* Override any gcc2 internal prototype to avoid an error. */
25076 #ifdef __cplusplus
25077 extern "C"
25079 #endif
25080 /* We use char because int might match the return type of a gcc2
25081 builtin and then its argument prototype would still apply. */
25082 char $ac_func ();
25083 /* The GNU C library defines this for functions which it implements
25084 to always fail with ENOSYS. Some functions are actually named
25085 something starting with __ and the normal name is an alias. */
25086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25087 choke me
25088 #else
25089 char (*f) () = $ac_func;
25090 #endif
25091 #ifdef __cplusplus
25093 #endif
25096 main ()
25098 return f != $ac_func;
25100 return 0;
25102 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25105 (eval $ac_link) 2>conftest.er1
25106 ac_status=$?
25107 grep -v '^ *+' conftest.er1 >conftest.err
25108 rm -f conftest.er1
25109 cat conftest.err >&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); } &&
25112 { ac_try='test -z "$ac_c_werror_flag"
25113 || test ! -s conftest.err'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; } &&
25119 { ac_try='test -s conftest$ac_exeext'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; }; then
25125 eval "$as_ac_var=yes"
25126 else
25127 echo "$as_me: failed program was:" >&5
25128 sed 's/^/| /' conftest.$ac_ext >&5
25130 eval "$as_ac_var=no"
25132 rm -f conftest.err conftest.$ac_objext \
25133 conftest$ac_exeext conftest.$ac_ext
25135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25137 if test `eval echo '${'$as_ac_var'}'` = yes; then
25138 cat >>confdefs.h <<_ACEOF
25139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25140 _ACEOF
25143 done
25153 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25154 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25155 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25156 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25157 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 else
25162 ac_ext=cc
25163 ac_cpp='$CXXCPP $CPPFLAGS'
25164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25168 cat >conftest.$ac_ext <<_ACEOF
25169 /* confdefs.h. */
25170 _ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25174 #include <math.h>
25176 main ()
25178 sincosl(0, 0, 0);
25180 return 0;
25182 _ACEOF
25183 rm -f conftest.$ac_objext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25185 (eval $ac_compile) 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try='test -z "$ac_cxx_werror_flag"
25193 || test ! -s conftest.err'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; } &&
25199 { ac_try='test -s conftest.$ac_objext'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25202 ac_status=$?
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; }; then
25205 glibcxx_cv_func_sincosl_use=yes
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25210 glibcxx_cv_func_sincosl_use=no
25212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25213 ac_ext=c
25214 ac_cpp='$CPP $CPPFLAGS'
25215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25224 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25226 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25228 for ac_func in sincosl
25230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25231 echo "$as_me:$LINENO: checking for $ac_func" >&5
25232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25233 if eval "test \"\${$as_ac_var+set}\" = set"; then
25234 echo $ECHO_N "(cached) $ECHO_C" >&6
25235 else
25236 if test x$gcc_no_link = xyes; then
25237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25239 { (exit 1); exit 1; }; }
25241 cat >conftest.$ac_ext <<_ACEOF
25242 /* confdefs.h. */
25243 _ACEOF
25244 cat confdefs.h >>conftest.$ac_ext
25245 cat >>conftest.$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25249 #define $ac_func innocuous_$ac_func
25251 /* System header to define __stub macros and hopefully few prototypes,
25252 which can conflict with char $ac_func (); below.
25253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25254 <limits.h> exists even on freestanding compilers. */
25256 #ifdef __STDC__
25257 # include <limits.h>
25258 #else
25259 # include <assert.h>
25260 #endif
25262 #undef $ac_func
25264 /* Override any gcc2 internal prototype to avoid an error. */
25265 #ifdef __cplusplus
25266 extern "C"
25268 #endif
25269 /* We use char because int might match the return type of a gcc2
25270 builtin and then its argument prototype would still apply. */
25271 char $ac_func ();
25272 /* The GNU C library defines this for functions which it implements
25273 to always fail with ENOSYS. Some functions are actually named
25274 something starting with __ and the normal name is an alias. */
25275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25276 choke me
25277 #else
25278 char (*f) () = $ac_func;
25279 #endif
25280 #ifdef __cplusplus
25282 #endif
25285 main ()
25287 return f != $ac_func;
25289 return 0;
25291 _ACEOF
25292 rm -f conftest.$ac_objext conftest$ac_exeext
25293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25294 (eval $ac_link) 2>conftest.er1
25295 ac_status=$?
25296 grep -v '^ *+' conftest.er1 >conftest.err
25297 rm -f conftest.er1
25298 cat conftest.err >&5
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); } &&
25301 { ac_try='test -z "$ac_c_werror_flag"
25302 || test ! -s conftest.err'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; } &&
25308 { ac_try='test -s conftest$ac_exeext'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25311 ac_status=$?
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; }; then
25314 eval "$as_ac_var=yes"
25315 else
25316 echo "$as_me: failed program was:" >&5
25317 sed 's/^/| /' conftest.$ac_ext >&5
25319 eval "$as_ac_var=no"
25321 rm -f conftest.err conftest.$ac_objext \
25322 conftest$ac_exeext conftest.$ac_ext
25324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25326 if test `eval echo '${'$as_ac_var'}'` = yes; then
25327 cat >>confdefs.h <<_ACEOF
25328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25329 _ACEOF
25332 done
25334 else
25336 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25337 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25338 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25339 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25341 else
25345 ac_ext=cc
25346 ac_cpp='$CXXCPP $CPPFLAGS'
25347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25351 cat >conftest.$ac_ext <<_ACEOF
25352 /* confdefs.h. */
25353 _ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <math.h>
25359 main ()
25361 _sincosl(0, 0, 0);
25363 return 0;
25365 _ACEOF
25366 rm -f conftest.$ac_objext
25367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25368 (eval $ac_compile) 2>conftest.er1
25369 ac_status=$?
25370 grep -v '^ *+' conftest.er1 >conftest.err
25371 rm -f conftest.er1
25372 cat conftest.err >&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); } &&
25375 { ac_try='test -z "$ac_cxx_werror_flag"
25376 || test ! -s conftest.err'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25379 ac_status=$?
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; } &&
25382 { ac_try='test -s conftest.$ac_objext'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25385 ac_status=$?
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; }; then
25388 glibcxx_cv_func__sincosl_use=yes
25389 else
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.$ac_ext >&5
25393 glibcxx_cv_func__sincosl_use=no
25395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25407 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25409 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25411 for ac_func in _sincosl
25413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25414 echo "$as_me:$LINENO: checking for $ac_func" >&5
25415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25416 if eval "test \"\${$as_ac_var+set}\" = set"; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 else
25419 if test x$gcc_no_link = xyes; then
25420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25422 { (exit 1); exit 1; }; }
25424 cat >conftest.$ac_ext <<_ACEOF
25425 /* confdefs.h. */
25426 _ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25432 #define $ac_func innocuous_$ac_func
25434 /* System header to define __stub macros and hopefully few prototypes,
25435 which can conflict with char $ac_func (); below.
25436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25437 <limits.h> exists even on freestanding compilers. */
25439 #ifdef __STDC__
25440 # include <limits.h>
25441 #else
25442 # include <assert.h>
25443 #endif
25445 #undef $ac_func
25447 /* Override any gcc2 internal prototype to avoid an error. */
25448 #ifdef __cplusplus
25449 extern "C"
25451 #endif
25452 /* We use char because int might match the return type of a gcc2
25453 builtin and then its argument prototype would still apply. */
25454 char $ac_func ();
25455 /* The GNU C library defines this for functions which it implements
25456 to always fail with ENOSYS. Some functions are actually named
25457 something starting with __ and the normal name is an alias. */
25458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25459 choke me
25460 #else
25461 char (*f) () = $ac_func;
25462 #endif
25463 #ifdef __cplusplus
25465 #endif
25468 main ()
25470 return f != $ac_func;
25472 return 0;
25474 _ACEOF
25475 rm -f conftest.$ac_objext conftest$ac_exeext
25476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25477 (eval $ac_link) 2>conftest.er1
25478 ac_status=$?
25479 grep -v '^ *+' conftest.er1 >conftest.err
25480 rm -f conftest.er1
25481 cat conftest.err >&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); } &&
25484 { ac_try='test -z "$ac_c_werror_flag"
25485 || test ! -s conftest.err'
25486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25487 (eval $ac_try) 2>&5
25488 ac_status=$?
25489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25490 (exit $ac_status); }; } &&
25491 { ac_try='test -s conftest$ac_exeext'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25494 ac_status=$?
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; }; then
25497 eval "$as_ac_var=yes"
25498 else
25499 echo "$as_me: failed program was:" >&5
25500 sed 's/^/| /' conftest.$ac_ext >&5
25502 eval "$as_ac_var=no"
25504 rm -f conftest.err conftest.$ac_objext \
25505 conftest$ac_exeext conftest.$ac_ext
25507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25509 if test `eval echo '${'$as_ac_var'}'` = yes; then
25510 cat >>confdefs.h <<_ACEOF
25511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25512 _ACEOF
25515 done
25525 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25526 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25530 else
25534 ac_ext=cc
25535 ac_cpp='$CXXCPP $CPPFLAGS'
25536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25540 cat >conftest.$ac_ext <<_ACEOF
25541 /* confdefs.h. */
25542 _ACEOF
25543 cat confdefs.h >>conftest.$ac_ext
25544 cat >>conftest.$ac_ext <<_ACEOF
25545 /* end confdefs.h. */
25546 #include <math.h>
25547 #ifdef HAVE_IEEEFP_H
25548 #include <ieeefp.h>
25549 #endif
25552 main ()
25554 finitel(0);
25556 return 0;
25558 _ACEOF
25559 rm -f conftest.$ac_objext
25560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25561 (eval $ac_compile) 2>conftest.er1
25562 ac_status=$?
25563 grep -v '^ *+' conftest.er1 >conftest.err
25564 rm -f conftest.er1
25565 cat conftest.err >&5
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); } &&
25568 { ac_try='test -z "$ac_cxx_werror_flag"
25569 || test ! -s conftest.err'
25570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25571 (eval $ac_try) 2>&5
25572 ac_status=$?
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); }; } &&
25575 { ac_try='test -s conftest.$ac_objext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25578 ac_status=$?
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581 glibcxx_cv_func_finitel_use=yes
25582 else
25583 echo "$as_me: failed program was:" >&5
25584 sed 's/^/| /' conftest.$ac_ext >&5
25586 glibcxx_cv_func_finitel_use=no
25588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25589 ac_ext=c
25590 ac_cpp='$CPP $CPPFLAGS'
25591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25600 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25602 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25604 for ac_func in finitel
25606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25607 echo "$as_me:$LINENO: checking for $ac_func" >&5
25608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25609 if eval "test \"\${$as_ac_var+set}\" = set"; then
25610 echo $ECHO_N "(cached) $ECHO_C" >&6
25611 else
25612 if test x$gcc_no_link = xyes; then
25613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25615 { (exit 1); exit 1; }; }
25617 cat >conftest.$ac_ext <<_ACEOF
25618 /* confdefs.h. */
25619 _ACEOF
25620 cat confdefs.h >>conftest.$ac_ext
25621 cat >>conftest.$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25625 #define $ac_func innocuous_$ac_func
25627 /* System header to define __stub macros and hopefully few prototypes,
25628 which can conflict with char $ac_func (); below.
25629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25630 <limits.h> exists even on freestanding compilers. */
25632 #ifdef __STDC__
25633 # include <limits.h>
25634 #else
25635 # include <assert.h>
25636 #endif
25638 #undef $ac_func
25640 /* Override any gcc2 internal prototype to avoid an error. */
25641 #ifdef __cplusplus
25642 extern "C"
25644 #endif
25645 /* We use char because int might match the return type of a gcc2
25646 builtin and then its argument prototype would still apply. */
25647 char $ac_func ();
25648 /* The GNU C library defines this for functions which it implements
25649 to always fail with ENOSYS. Some functions are actually named
25650 something starting with __ and the normal name is an alias. */
25651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25652 choke me
25653 #else
25654 char (*f) () = $ac_func;
25655 #endif
25656 #ifdef __cplusplus
25658 #endif
25661 main ()
25663 return f != $ac_func;
25665 return 0;
25667 _ACEOF
25668 rm -f conftest.$ac_objext conftest$ac_exeext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25670 (eval $ac_link) 2>conftest.er1
25671 ac_status=$?
25672 grep -v '^ *+' conftest.er1 >conftest.err
25673 rm -f conftest.er1
25674 cat conftest.err >&5
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); } &&
25677 { ac_try='test -z "$ac_c_werror_flag"
25678 || test ! -s conftest.err'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25681 ac_status=$?
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; } &&
25684 { ac_try='test -s conftest$ac_exeext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25687 ac_status=$?
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690 eval "$as_ac_var=yes"
25691 else
25692 echo "$as_me: failed program was:" >&5
25693 sed 's/^/| /' conftest.$ac_ext >&5
25695 eval "$as_ac_var=no"
25697 rm -f conftest.err conftest.$ac_objext \
25698 conftest$ac_exeext conftest.$ac_ext
25700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25702 if test `eval echo '${'$as_ac_var'}'` = yes; then
25703 cat >>confdefs.h <<_ACEOF
25704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25705 _ACEOF
25708 done
25710 else
25712 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25713 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25714 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25715 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25716 echo $ECHO_N "(cached) $ECHO_C" >&6
25717 else
25721 ac_ext=cc
25722 ac_cpp='$CXXCPP $CPPFLAGS'
25723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25727 cat >conftest.$ac_ext <<_ACEOF
25728 /* confdefs.h. */
25729 _ACEOF
25730 cat confdefs.h >>conftest.$ac_ext
25731 cat >>conftest.$ac_ext <<_ACEOF
25732 /* end confdefs.h. */
25733 #include <math.h>
25734 #ifdef HAVE_IEEEFP_H
25735 #include <ieeefp.h>
25736 #endif
25739 main ()
25741 _finitel(0);
25743 return 0;
25745 _ACEOF
25746 rm -f conftest.$ac_objext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748 (eval $ac_compile) 2>conftest.er1
25749 ac_status=$?
25750 grep -v '^ *+' conftest.er1 >conftest.err
25751 rm -f conftest.er1
25752 cat conftest.err >&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try='test -z "$ac_cxx_werror_flag"
25756 || test ! -s conftest.err'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25759 ac_status=$?
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try='test -s conftest.$ac_objext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25768 glibcxx_cv_func__finitel_use=yes
25769 else
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.$ac_ext >&5
25773 glibcxx_cv_func__finitel_use=no
25775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25776 ac_ext=c
25777 ac_cpp='$CPP $CPPFLAGS'
25778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25787 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25789 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25791 for ac_func in _finitel
25793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25794 echo "$as_me:$LINENO: checking for $ac_func" >&5
25795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25796 if eval "test \"\${$as_ac_var+set}\" = set"; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25799 if test x$gcc_no_link = xyes; then
25800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25802 { (exit 1); exit 1; }; }
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25812 #define $ac_func innocuous_$ac_func
25814 /* System header to define __stub macros and hopefully few prototypes,
25815 which can conflict with char $ac_func (); below.
25816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25817 <limits.h> exists even on freestanding compilers. */
25819 #ifdef __STDC__
25820 # include <limits.h>
25821 #else
25822 # include <assert.h>
25823 #endif
25825 #undef $ac_func
25827 /* Override any gcc2 internal prototype to avoid an error. */
25828 #ifdef __cplusplus
25829 extern "C"
25831 #endif
25832 /* We use char because int might match the return type of a gcc2
25833 builtin and then its argument prototype would still apply. */
25834 char $ac_func ();
25835 /* The GNU C library defines this for functions which it implements
25836 to always fail with ENOSYS. Some functions are actually named
25837 something starting with __ and the normal name is an alias. */
25838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25839 choke me
25840 #else
25841 char (*f) () = $ac_func;
25842 #endif
25843 #ifdef __cplusplus
25845 #endif
25848 main ()
25850 return f != $ac_func;
25852 return 0;
25854 _ACEOF
25855 rm -f conftest.$ac_objext conftest$ac_exeext
25856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25857 (eval $ac_link) 2>conftest.er1
25858 ac_status=$?
25859 grep -v '^ *+' conftest.er1 >conftest.err
25860 rm -f conftest.er1
25861 cat conftest.err >&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } &&
25864 { ac_try='test -z "$ac_c_werror_flag"
25865 || test ! -s conftest.err'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25868 ac_status=$?
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; } &&
25871 { ac_try='test -s conftest$ac_exeext'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25874 ac_status=$?
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; }; then
25877 eval "$as_ac_var=yes"
25878 else
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.$ac_ext >&5
25882 eval "$as_ac_var=no"
25884 rm -f conftest.err conftest.$ac_objext \
25885 conftest$ac_exeext conftest.$ac_ext
25887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25889 if test `eval echo '${'$as_ac_var'}'` = yes; then
25890 cat >>confdefs.h <<_ACEOF
25891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25892 _ACEOF
25895 done
25904 LIBS="$ac_save_LIBS"
25905 CXXFLAGS="$ac_save_CXXFLAGS"
25909 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25910 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25911 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25912 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25918 ac_ext=cc
25919 ac_cpp='$CXXCPP $CPPFLAGS'
25920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25924 cat >conftest.$ac_ext <<_ACEOF
25925 /* confdefs.h. */
25926 _ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930 #include <math.h>
25932 main ()
25934 __builtin_abs(0);
25936 return 0;
25938 _ACEOF
25939 rm -f conftest.$ac_objext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25941 (eval $ac_compile) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_cxx_werror_flag"
25949 || test ! -s conftest.err'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25952 ac_status=$?
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; } &&
25955 { ac_try='test -s conftest.$ac_objext'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25958 ac_status=$?
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; }; then
25961 glibcxx_cv_func___builtin_abs_use=yes
25962 else
25963 echo "$as_me: failed program was:" >&5
25964 sed 's/^/| /' conftest.$ac_ext >&5
25966 glibcxx_cv_func___builtin_abs_use=no
25968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25969 ac_ext=c
25970 ac_cpp='$CPP $CPPFLAGS'
25971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25980 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25981 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25982 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25983 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25984 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25985 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 else
25989 if test x$gcc_no_link = xyes; then
25990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25992 { (exit 1); exit 1; }; }
25994 cat >conftest.$ac_ext <<_ACEOF
25995 /* confdefs.h. */
25996 _ACEOF
25997 cat confdefs.h >>conftest.$ac_ext
25998 cat >>conftest.$ac_ext <<_ACEOF
25999 /* end confdefs.h. */
26000 #include <math.h>
26002 main ()
26004 __builtin_abs(0);
26006 return 0;
26008 _ACEOF
26009 rm -f conftest.$ac_objext conftest$ac_exeext
26010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26011 (eval $ac_link) 2>conftest.er1
26012 ac_status=$?
26013 grep -v '^ *+' conftest.er1 >conftest.err
26014 rm -f conftest.er1
26015 cat conftest.err >&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); } &&
26018 { ac_try='test -z "$ac_c_werror_flag"
26019 || test ! -s conftest.err'
26020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26021 (eval $ac_try) 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; } &&
26025 { ac_try='test -s conftest$ac_exeext'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26028 ac_status=$?
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; }; then
26031 glibcxx_cv_func___builtin_abs_link=yes
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26036 glibcxx_cv_func___builtin_abs_link=no
26038 rm -f conftest.err conftest.$ac_objext \
26039 conftest$ac_exeext conftest.$ac_ext
26044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26045 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26047 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26049 cat >>confdefs.h <<\_ACEOF
26050 #define HAVE___BUILTIN_ABS 1
26051 _ACEOF
26058 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26059 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26060 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26061 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26067 ac_ext=cc
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26073 cat >conftest.$ac_ext <<_ACEOF
26074 /* confdefs.h. */
26075 _ACEOF
26076 cat confdefs.h >>conftest.$ac_ext
26077 cat >>conftest.$ac_ext <<_ACEOF
26078 /* end confdefs.h. */
26079 #include <math.h>
26081 main ()
26083 __builtin_fabsf(0);
26085 return 0;
26087 _ACEOF
26088 rm -f conftest.$ac_objext
26089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26090 (eval $ac_compile) 2>conftest.er1
26091 ac_status=$?
26092 grep -v '^ *+' conftest.er1 >conftest.err
26093 rm -f conftest.er1
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } &&
26097 { ac_try='test -z "$ac_cxx_werror_flag"
26098 || test ! -s conftest.err'
26099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26100 (eval $ac_try) 2>&5
26101 ac_status=$?
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); }; } &&
26104 { ac_try='test -s conftest.$ac_objext'
26105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106 (eval $ac_try) 2>&5
26107 ac_status=$?
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; }; then
26110 glibcxx_cv_func___builtin_fabsf_use=yes
26111 else
26112 echo "$as_me: failed program was:" >&5
26113 sed 's/^/| /' conftest.$ac_ext >&5
26115 glibcxx_cv_func___builtin_fabsf_use=no
26117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26118 ac_ext=c
26119 ac_cpp='$CPP $CPPFLAGS'
26120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26129 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26130 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26131 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26132 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26133 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26134 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26135 echo $ECHO_N "(cached) $ECHO_C" >&6
26136 else
26138 if test x$gcc_no_link = xyes; then
26139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26141 { (exit 1); exit 1; }; }
26143 cat >conftest.$ac_ext <<_ACEOF
26144 /* confdefs.h. */
26145 _ACEOF
26146 cat confdefs.h >>conftest.$ac_ext
26147 cat >>conftest.$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 #include <math.h>
26151 main ()
26153 __builtin_fabsf(0);
26155 return 0;
26157 _ACEOF
26158 rm -f conftest.$ac_objext conftest$ac_exeext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26160 (eval $ac_link) 2>conftest.er1
26161 ac_status=$?
26162 grep -v '^ *+' conftest.er1 >conftest.err
26163 rm -f conftest.er1
26164 cat conftest.err >&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try='test -z "$ac_c_werror_flag"
26168 || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try='test -s conftest$ac_exeext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26177 ac_status=$?
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 glibcxx_cv_func___builtin_fabsf_link=yes
26181 else
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26185 glibcxx_cv_func___builtin_fabsf_link=no
26187 rm -f conftest.err conftest.$ac_objext \
26188 conftest$ac_exeext conftest.$ac_ext
26193 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26194 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26196 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26198 cat >>confdefs.h <<\_ACEOF
26199 #define HAVE___BUILTIN_FABSF 1
26200 _ACEOF
26207 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26208 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26209 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26210 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 else
26216 ac_ext=cc
26217 ac_cpp='$CXXCPP $CPPFLAGS'
26218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26222 cat >conftest.$ac_ext <<_ACEOF
26223 /* confdefs.h. */
26224 _ACEOF
26225 cat confdefs.h >>conftest.$ac_ext
26226 cat >>conftest.$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26228 #include <math.h>
26230 main ()
26232 __builtin_fabs(0);
26234 return 0;
26236 _ACEOF
26237 rm -f conftest.$ac_objext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26239 (eval $ac_compile) 2>conftest.er1
26240 ac_status=$?
26241 grep -v '^ *+' conftest.er1 >conftest.err
26242 rm -f conftest.er1
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try='test -z "$ac_cxx_werror_flag"
26247 || test ! -s conftest.err'
26248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26249 (eval $ac_try) 2>&5
26250 ac_status=$?
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); }; } &&
26253 { ac_try='test -s conftest.$ac_objext'
26254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26255 (eval $ac_try) 2>&5
26256 ac_status=$?
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); }; }; then
26259 glibcxx_cv_func___builtin_fabs_use=yes
26260 else
26261 echo "$as_me: failed program was:" >&5
26262 sed 's/^/| /' conftest.$ac_ext >&5
26264 glibcxx_cv_func___builtin_fabs_use=no
26266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26267 ac_ext=c
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26278 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26279 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26280 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26281 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26282 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26283 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26284 echo $ECHO_N "(cached) $ECHO_C" >&6
26285 else
26287 if test x$gcc_no_link = xyes; then
26288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26290 { (exit 1); exit 1; }; }
26292 cat >conftest.$ac_ext <<_ACEOF
26293 /* confdefs.h. */
26294 _ACEOF
26295 cat confdefs.h >>conftest.$ac_ext
26296 cat >>conftest.$ac_ext <<_ACEOF
26297 /* end confdefs.h. */
26298 #include <math.h>
26300 main ()
26302 __builtin_fabs(0);
26304 return 0;
26306 _ACEOF
26307 rm -f conftest.$ac_objext conftest$ac_exeext
26308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26309 (eval $ac_link) 2>conftest.er1
26310 ac_status=$?
26311 grep -v '^ *+' conftest.er1 >conftest.err
26312 rm -f conftest.er1
26313 cat conftest.err >&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } &&
26316 { ac_try='test -z "$ac_c_werror_flag"
26317 || test ! -s conftest.err'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; } &&
26323 { ac_try='test -s conftest$ac_exeext'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26326 ac_status=$?
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; }; then
26329 glibcxx_cv_func___builtin_fabs_link=yes
26330 else
26331 echo "$as_me: failed program was:" >&5
26332 sed 's/^/| /' conftest.$ac_ext >&5
26334 glibcxx_cv_func___builtin_fabs_link=no
26336 rm -f conftest.err conftest.$ac_objext \
26337 conftest$ac_exeext conftest.$ac_ext
26342 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26343 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26345 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26347 cat >>confdefs.h <<\_ACEOF
26348 #define HAVE___BUILTIN_FABS 1
26349 _ACEOF
26356 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26357 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26358 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26359 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26360 echo $ECHO_N "(cached) $ECHO_C" >&6
26361 else
26365 ac_ext=cc
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26371 cat >conftest.$ac_ext <<_ACEOF
26372 /* confdefs.h. */
26373 _ACEOF
26374 cat confdefs.h >>conftest.$ac_ext
26375 cat >>conftest.$ac_ext <<_ACEOF
26376 /* end confdefs.h. */
26377 #include <math.h>
26379 main ()
26381 __builtin_fabsl(0);
26383 return 0;
26385 _ACEOF
26386 rm -f conftest.$ac_objext
26387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26388 (eval $ac_compile) 2>conftest.er1
26389 ac_status=$?
26390 grep -v '^ *+' conftest.er1 >conftest.err
26391 rm -f conftest.er1
26392 cat conftest.err >&5
26393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394 (exit $ac_status); } &&
26395 { ac_try='test -z "$ac_cxx_werror_flag"
26396 || test ! -s conftest.err'
26397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26398 (eval $ac_try) 2>&5
26399 ac_status=$?
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); }; } &&
26402 { ac_try='test -s conftest.$ac_objext'
26403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26404 (eval $ac_try) 2>&5
26405 ac_status=$?
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); }; }; then
26408 glibcxx_cv_func___builtin_fabsl_use=yes
26409 else
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 glibcxx_cv_func___builtin_fabsl_use=no
26415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26416 ac_ext=c
26417 ac_cpp='$CPP $CPPFLAGS'
26418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26426 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26427 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26428 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26429 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26430 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26431 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26432 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26433 echo $ECHO_N "(cached) $ECHO_C" >&6
26434 else
26436 if test x$gcc_no_link = xyes; then
26437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26439 { (exit 1); exit 1; }; }
26441 cat >conftest.$ac_ext <<_ACEOF
26442 /* confdefs.h. */
26443 _ACEOF
26444 cat confdefs.h >>conftest.$ac_ext
26445 cat >>conftest.$ac_ext <<_ACEOF
26446 /* end confdefs.h. */
26447 #include <math.h>
26449 main ()
26451 __builtin_fabsl(0);
26453 return 0;
26455 _ACEOF
26456 rm -f conftest.$ac_objext conftest$ac_exeext
26457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26458 (eval $ac_link) 2>conftest.er1
26459 ac_status=$?
26460 grep -v '^ *+' conftest.er1 >conftest.err
26461 rm -f conftest.er1
26462 cat conftest.err >&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); } &&
26465 { ac_try='test -z "$ac_c_werror_flag"
26466 || test ! -s conftest.err'
26467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26468 (eval $ac_try) 2>&5
26469 ac_status=$?
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); }; } &&
26472 { ac_try='test -s conftest$ac_exeext'
26473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26474 (eval $ac_try) 2>&5
26475 ac_status=$?
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); }; }; then
26478 glibcxx_cv_func___builtin_fabsl_link=yes
26479 else
26480 echo "$as_me: failed program was:" >&5
26481 sed 's/^/| /' conftest.$ac_ext >&5
26483 glibcxx_cv_func___builtin_fabsl_link=no
26485 rm -f conftest.err conftest.$ac_objext \
26486 conftest$ac_exeext conftest.$ac_ext
26491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26492 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26494 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26496 cat >>confdefs.h <<\_ACEOF
26497 #define HAVE___BUILTIN_FABSL 1
26498 _ACEOF
26505 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26506 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26507 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26508 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26509 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 else
26514 ac_ext=cc
26515 ac_cpp='$CXXCPP $CPPFLAGS'
26516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26520 cat >conftest.$ac_ext <<_ACEOF
26521 /* confdefs.h. */
26522 _ACEOF
26523 cat confdefs.h >>conftest.$ac_ext
26524 cat >>conftest.$ac_ext <<_ACEOF
26525 /* end confdefs.h. */
26526 #include <math.h>
26528 main ()
26530 __builtin_labs(0);
26532 return 0;
26534 _ACEOF
26535 rm -f conftest.$ac_objext
26536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26537 (eval $ac_compile) 2>conftest.er1
26538 ac_status=$?
26539 grep -v '^ *+' conftest.er1 >conftest.err
26540 rm -f conftest.er1
26541 cat conftest.err >&5
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); } &&
26544 { ac_try='test -z "$ac_cxx_werror_flag"
26545 || test ! -s conftest.err'
26546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26547 (eval $ac_try) 2>&5
26548 ac_status=$?
26549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26550 (exit $ac_status); }; } &&
26551 { ac_try='test -s conftest.$ac_objext'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26554 ac_status=$?
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; }; then
26557 glibcxx_cv_func___builtin_labs_use=yes
26558 else
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26562 glibcxx_cv_func___builtin_labs_use=no
26564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_ext=c
26566 ac_cpp='$CPP $CPPFLAGS'
26567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26575 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26576 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26577 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26578 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26579 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26580 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26581 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26582 echo $ECHO_N "(cached) $ECHO_C" >&6
26583 else
26585 if test x$gcc_no_link = xyes; then
26586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26588 { (exit 1); exit 1; }; }
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596 #include <math.h>
26598 main ()
26600 __builtin_labs(0);
26602 return 0;
26604 _ACEOF
26605 rm -f conftest.$ac_objext conftest$ac_exeext
26606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26607 (eval $ac_link) 2>conftest.er1
26608 ac_status=$?
26609 grep -v '^ *+' conftest.er1 >conftest.err
26610 rm -f conftest.er1
26611 cat conftest.err >&5
26612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613 (exit $ac_status); } &&
26614 { ac_try='test -z "$ac_c_werror_flag"
26615 || test ! -s conftest.err'
26616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26617 (eval $ac_try) 2>&5
26618 ac_status=$?
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); }; } &&
26621 { ac_try='test -s conftest$ac_exeext'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26624 ac_status=$?
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; }; then
26627 glibcxx_cv_func___builtin_labs_link=yes
26628 else
26629 echo "$as_me: failed program was:" >&5
26630 sed 's/^/| /' conftest.$ac_ext >&5
26632 glibcxx_cv_func___builtin_labs_link=no
26634 rm -f conftest.err conftest.$ac_objext \
26635 conftest$ac_exeext conftest.$ac_ext
26640 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26641 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26643 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26645 cat >>confdefs.h <<\_ACEOF
26646 #define HAVE___BUILTIN_LABS 1
26647 _ACEOF
26655 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26656 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26657 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26658 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26659 echo $ECHO_N "(cached) $ECHO_C" >&6
26660 else
26664 ac_ext=cc
26665 ac_cpp='$CXXCPP $CPPFLAGS'
26666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26670 cat >conftest.$ac_ext <<_ACEOF
26671 /* confdefs.h. */
26672 _ACEOF
26673 cat confdefs.h >>conftest.$ac_ext
26674 cat >>conftest.$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26676 #include <math.h>
26678 main ()
26680 __builtin_sqrtf(0);
26682 return 0;
26684 _ACEOF
26685 rm -f conftest.$ac_objext
26686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26687 (eval $ac_compile) 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } &&
26694 { ac_try='test -z "$ac_cxx_werror_flag"
26695 || test ! -s conftest.err'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26698 ac_status=$?
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; } &&
26701 { ac_try='test -s conftest.$ac_objext'
26702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26703 (eval $ac_try) 2>&5
26704 ac_status=$?
26705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26706 (exit $ac_status); }; }; then
26707 glibcxx_cv_func___builtin_sqrtf_use=yes
26708 else
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26712 glibcxx_cv_func___builtin_sqrtf_use=no
26714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26715 ac_ext=c
26716 ac_cpp='$CPP $CPPFLAGS'
26717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26726 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26727 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26728 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26729 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26730 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26731 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26732 echo $ECHO_N "(cached) $ECHO_C" >&6
26733 else
26735 if test x$gcc_no_link = xyes; then
26736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26738 { (exit 1); exit 1; }; }
26740 cat >conftest.$ac_ext <<_ACEOF
26741 /* confdefs.h. */
26742 _ACEOF
26743 cat confdefs.h >>conftest.$ac_ext
26744 cat >>conftest.$ac_ext <<_ACEOF
26745 /* end confdefs.h. */
26746 #include <math.h>
26748 main ()
26750 __builtin_sqrtf(0);
26752 return 0;
26754 _ACEOF
26755 rm -f conftest.$ac_objext conftest$ac_exeext
26756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26757 (eval $ac_link) 2>conftest.er1
26758 ac_status=$?
26759 grep -v '^ *+' conftest.er1 >conftest.err
26760 rm -f conftest.er1
26761 cat conftest.err >&5
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); } &&
26764 { ac_try='test -z "$ac_c_werror_flag"
26765 || test ! -s conftest.err'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; } &&
26771 { ac_try='test -s conftest$ac_exeext'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; }; then
26777 glibcxx_cv_func___builtin_sqrtf_link=yes
26778 else
26779 echo "$as_me: failed program was:" >&5
26780 sed 's/^/| /' conftest.$ac_ext >&5
26782 glibcxx_cv_func___builtin_sqrtf_link=no
26784 rm -f conftest.err conftest.$ac_objext \
26785 conftest$ac_exeext conftest.$ac_ext
26790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26791 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26793 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26795 cat >>confdefs.h <<\_ACEOF
26796 #define HAVE___BUILTIN_SQRTF 1
26797 _ACEOF
26804 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26805 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26806 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26807 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26813 ac_ext=cc
26814 ac_cpp='$CXXCPP $CPPFLAGS'
26815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26819 cat >conftest.$ac_ext <<_ACEOF
26820 /* confdefs.h. */
26821 _ACEOF
26822 cat confdefs.h >>conftest.$ac_ext
26823 cat >>conftest.$ac_ext <<_ACEOF
26824 /* end confdefs.h. */
26825 #include <math.h>
26827 main ()
26829 __builtin_sqrt(0);
26831 return 0;
26833 _ACEOF
26834 rm -f conftest.$ac_objext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836 (eval $ac_compile) 2>conftest.er1
26837 ac_status=$?
26838 grep -v '^ *+' conftest.er1 >conftest.err
26839 rm -f conftest.er1
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try='test -z "$ac_cxx_werror_flag"
26844 || test ! -s conftest.err'
26845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846 (eval $ac_try) 2>&5
26847 ac_status=$?
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); }; } &&
26850 { ac_try='test -s conftest.$ac_objext'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26853 ac_status=$?
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; }; then
26856 glibcxx_cv_func___builtin_sqrt_use=yes
26857 else
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26861 glibcxx_cv_func___builtin_sqrt_use=no
26863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26864 ac_ext=c
26865 ac_cpp='$CPP $CPPFLAGS'
26866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26875 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26876 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26877 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26878 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26879 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26880 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26881 echo $ECHO_N "(cached) $ECHO_C" >&6
26882 else
26884 if test x$gcc_no_link = xyes; then
26885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26887 { (exit 1); exit 1; }; }
26889 cat >conftest.$ac_ext <<_ACEOF
26890 /* confdefs.h. */
26891 _ACEOF
26892 cat confdefs.h >>conftest.$ac_ext
26893 cat >>conftest.$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26895 #include <math.h>
26897 main ()
26899 __builtin_sqrt(0);
26901 return 0;
26903 _ACEOF
26904 rm -f conftest.$ac_objext conftest$ac_exeext
26905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26906 (eval $ac_link) 2>conftest.er1
26907 ac_status=$?
26908 grep -v '^ *+' conftest.er1 >conftest.err
26909 rm -f conftest.er1
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } &&
26913 { ac_try='test -z "$ac_c_werror_flag"
26914 || test ! -s conftest.err'
26915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26916 (eval $ac_try) 2>&5
26917 ac_status=$?
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); }; } &&
26920 { ac_try='test -s conftest$ac_exeext'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26923 ac_status=$?
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; }; then
26926 glibcxx_cv_func___builtin_sqrt_link=yes
26927 else
26928 echo "$as_me: failed program was:" >&5
26929 sed 's/^/| /' conftest.$ac_ext >&5
26931 glibcxx_cv_func___builtin_sqrt_link=no
26933 rm -f conftest.err conftest.$ac_objext \
26934 conftest$ac_exeext conftest.$ac_ext
26939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26940 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26942 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26944 cat >>confdefs.h <<\_ACEOF
26945 #define HAVE___BUILTIN_SQRT 1
26946 _ACEOF
26953 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26954 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26955 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26956 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26957 echo $ECHO_N "(cached) $ECHO_C" >&6
26958 else
26962 ac_ext=cc
26963 ac_cpp='$CXXCPP $CPPFLAGS'
26964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26968 cat >conftest.$ac_ext <<_ACEOF
26969 /* confdefs.h. */
26970 _ACEOF
26971 cat confdefs.h >>conftest.$ac_ext
26972 cat >>conftest.$ac_ext <<_ACEOF
26973 /* end confdefs.h. */
26974 #include <math.h>
26976 main ()
26978 __builtin_sqrtl(0);
26980 return 0;
26982 _ACEOF
26983 rm -f conftest.$ac_objext
26984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26985 (eval $ac_compile) 2>conftest.er1
26986 ac_status=$?
26987 grep -v '^ *+' conftest.er1 >conftest.err
26988 rm -f conftest.er1
26989 cat conftest.err >&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); } &&
26992 { ac_try='test -z "$ac_cxx_werror_flag"
26993 || test ! -s conftest.err'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26996 ac_status=$?
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; } &&
26999 { ac_try='test -s conftest.$ac_objext'
27000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001 (eval $ac_try) 2>&5
27002 ac_status=$?
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); }; }; then
27005 glibcxx_cv_func___builtin_sqrtl_use=yes
27006 else
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.$ac_ext >&5
27010 glibcxx_cv_func___builtin_sqrtl_use=no
27012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27013 ac_ext=c
27014 ac_cpp='$CPP $CPPFLAGS'
27015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27024 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27025 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27026 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27027 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27028 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27029 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27031 else
27033 if test x$gcc_no_link = xyes; then
27034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27036 { (exit 1); exit 1; }; }
27038 cat >conftest.$ac_ext <<_ACEOF
27039 /* confdefs.h. */
27040 _ACEOF
27041 cat confdefs.h >>conftest.$ac_ext
27042 cat >>conftest.$ac_ext <<_ACEOF
27043 /* end confdefs.h. */
27044 #include <math.h>
27046 main ()
27048 __builtin_sqrtl(0);
27050 return 0;
27052 _ACEOF
27053 rm -f conftest.$ac_objext conftest$ac_exeext
27054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27055 (eval $ac_link) 2>conftest.er1
27056 ac_status=$?
27057 grep -v '^ *+' conftest.er1 >conftest.err
27058 rm -f conftest.er1
27059 cat conftest.err >&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); } &&
27062 { ac_try='test -z "$ac_c_werror_flag"
27063 || test ! -s conftest.err'
27064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27065 (eval $ac_try) 2>&5
27066 ac_status=$?
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); }; } &&
27069 { ac_try='test -s conftest$ac_exeext'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27072 ac_status=$?
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 glibcxx_cv_func___builtin_sqrtl_link=yes
27076 else
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.$ac_ext >&5
27080 glibcxx_cv_func___builtin_sqrtl_link=no
27082 rm -f conftest.err conftest.$ac_objext \
27083 conftest$ac_exeext conftest.$ac_ext
27088 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27089 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27091 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27093 cat >>confdefs.h <<\_ACEOF
27094 #define HAVE___BUILTIN_SQRTL 1
27095 _ACEOF
27103 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27104 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27105 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27106 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 else
27112 ac_ext=cc
27113 ac_cpp='$CXXCPP $CPPFLAGS'
27114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27118 cat >conftest.$ac_ext <<_ACEOF
27119 /* confdefs.h. */
27120 _ACEOF
27121 cat confdefs.h >>conftest.$ac_ext
27122 cat >>conftest.$ac_ext <<_ACEOF
27123 /* end confdefs.h. */
27124 #include <math.h>
27126 main ()
27128 __builtin_sinf(0);
27130 return 0;
27132 _ACEOF
27133 rm -f conftest.$ac_objext
27134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27135 (eval $ac_compile) 2>conftest.er1
27136 ac_status=$?
27137 grep -v '^ *+' conftest.er1 >conftest.err
27138 rm -f conftest.er1
27139 cat conftest.err >&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } &&
27142 { ac_try='test -z "$ac_cxx_werror_flag"
27143 || test ! -s conftest.err'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27146 ac_status=$?
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; } &&
27149 { ac_try='test -s conftest.$ac_objext'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; }; then
27155 glibcxx_cv_func___builtin_sinf_use=yes
27156 else
27157 echo "$as_me: failed program was:" >&5
27158 sed 's/^/| /' conftest.$ac_ext >&5
27160 glibcxx_cv_func___builtin_sinf_use=no
27162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27163 ac_ext=c
27164 ac_cpp='$CPP $CPPFLAGS'
27165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27174 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27175 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27176 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27177 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27178 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27179 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 else
27183 if test x$gcc_no_link = xyes; then
27184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27186 { (exit 1); exit 1; }; }
27188 cat >conftest.$ac_ext <<_ACEOF
27189 /* confdefs.h. */
27190 _ACEOF
27191 cat confdefs.h >>conftest.$ac_ext
27192 cat >>conftest.$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27194 #include <math.h>
27196 main ()
27198 __builtin_sinf(0);
27200 return 0;
27202 _ACEOF
27203 rm -f conftest.$ac_objext conftest$ac_exeext
27204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27205 (eval $ac_link) 2>conftest.er1
27206 ac_status=$?
27207 grep -v '^ *+' conftest.er1 >conftest.err
27208 rm -f conftest.er1
27209 cat conftest.err >&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } &&
27212 { ac_try='test -z "$ac_c_werror_flag"
27213 || test ! -s conftest.err'
27214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 (eval $ac_try) 2>&5
27216 ac_status=$?
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); }; } &&
27219 { ac_try='test -s conftest$ac_exeext'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27222 ac_status=$?
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; }; then
27225 glibcxx_cv_func___builtin_sinf_link=yes
27226 else
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27230 glibcxx_cv_func___builtin_sinf_link=no
27232 rm -f conftest.err conftest.$ac_objext \
27233 conftest$ac_exeext conftest.$ac_ext
27238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27239 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27241 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27243 cat >>confdefs.h <<\_ACEOF
27244 #define HAVE___BUILTIN_SINF 1
27245 _ACEOF
27252 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27253 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27254 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27255 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27257 else
27261 ac_ext=cc
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27267 cat >conftest.$ac_ext <<_ACEOF
27268 /* confdefs.h. */
27269 _ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27273 #include <math.h>
27275 main ()
27277 __builtin_sin(0);
27279 return 0;
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_cxx_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 glibcxx_cv_func___builtin_sin_use=yes
27305 else
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27309 glibcxx_cv_func___builtin_sin_use=no
27311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27312 ac_ext=c
27313 ac_cpp='$CPP $CPPFLAGS'
27314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27323 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27324 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27325 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27326 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27327 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27328 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27329 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 else
27332 if test x$gcc_no_link = xyes; then
27333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27335 { (exit 1); exit 1; }; }
27337 cat >conftest.$ac_ext <<_ACEOF
27338 /* confdefs.h. */
27339 _ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 #include <math.h>
27345 main ()
27347 __builtin_sin(0);
27349 return 0;
27351 _ACEOF
27352 rm -f conftest.$ac_objext conftest$ac_exeext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27354 (eval $ac_link) 2>conftest.er1
27355 ac_status=$?
27356 grep -v '^ *+' conftest.er1 >conftest.err
27357 rm -f conftest.er1
27358 cat conftest.err >&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); } &&
27361 { ac_try='test -z "$ac_c_werror_flag"
27362 || test ! -s conftest.err'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27365 ac_status=$?
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; } &&
27368 { ac_try='test -s conftest$ac_exeext'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27371 ac_status=$?
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; }; then
27374 glibcxx_cv_func___builtin_sin_link=yes
27375 else
27376 echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27379 glibcxx_cv_func___builtin_sin_link=no
27381 rm -f conftest.err conftest.$ac_objext \
27382 conftest$ac_exeext conftest.$ac_ext
27387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27388 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27390 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27392 cat >>confdefs.h <<\_ACEOF
27393 #define HAVE___BUILTIN_SIN 1
27394 _ACEOF
27401 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27402 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27403 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27404 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27406 else
27410 ac_ext=cc
27411 ac_cpp='$CXXCPP $CPPFLAGS'
27412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27416 cat >conftest.$ac_ext <<_ACEOF
27417 /* confdefs.h. */
27418 _ACEOF
27419 cat confdefs.h >>conftest.$ac_ext
27420 cat >>conftest.$ac_ext <<_ACEOF
27421 /* end confdefs.h. */
27422 #include <math.h>
27424 main ()
27426 __builtin_sinl(0);
27428 return 0;
27430 _ACEOF
27431 rm -f conftest.$ac_objext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27433 (eval $ac_compile) 2>conftest.er1
27434 ac_status=$?
27435 grep -v '^ *+' conftest.er1 >conftest.err
27436 rm -f conftest.er1
27437 cat conftest.err >&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -z "$ac_cxx_werror_flag"
27441 || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest.$ac_objext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 glibcxx_cv_func___builtin_sinl_use=yes
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27458 glibcxx_cv_func___builtin_sinl_use=no
27460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27461 ac_ext=c
27462 ac_cpp='$CPP $CPPFLAGS'
27463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27471 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27472 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27473 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27474 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27475 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27476 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27477 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27478 echo $ECHO_N "(cached) $ECHO_C" >&6
27479 else
27481 if test x$gcc_no_link = xyes; then
27482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27484 { (exit 1); exit 1; }; }
27486 cat >conftest.$ac_ext <<_ACEOF
27487 /* confdefs.h. */
27488 _ACEOF
27489 cat confdefs.h >>conftest.$ac_ext
27490 cat >>conftest.$ac_ext <<_ACEOF
27491 /* end confdefs.h. */
27492 #include <math.h>
27494 main ()
27496 __builtin_sinl(0);
27498 return 0;
27500 _ACEOF
27501 rm -f conftest.$ac_objext conftest$ac_exeext
27502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27503 (eval $ac_link) 2>conftest.er1
27504 ac_status=$?
27505 grep -v '^ *+' conftest.er1 >conftest.err
27506 rm -f conftest.er1
27507 cat conftest.err >&5
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); } &&
27510 { ac_try='test -z "$ac_c_werror_flag"
27511 || test ! -s conftest.err'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27514 ac_status=$?
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; } &&
27517 { ac_try='test -s conftest$ac_exeext'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27520 ac_status=$?
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27523 glibcxx_cv_func___builtin_sinl_link=yes
27524 else
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27528 glibcxx_cv_func___builtin_sinl_link=no
27530 rm -f conftest.err conftest.$ac_objext \
27531 conftest$ac_exeext conftest.$ac_ext
27536 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27537 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27539 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27541 cat >>confdefs.h <<\_ACEOF
27542 #define HAVE___BUILTIN_SINL 1
27543 _ACEOF
27551 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27552 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27553 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27554 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 else
27560 ac_ext=cc
27561 ac_cpp='$CXXCPP $CPPFLAGS'
27562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27566 cat >conftest.$ac_ext <<_ACEOF
27567 /* confdefs.h. */
27568 _ACEOF
27569 cat confdefs.h >>conftest.$ac_ext
27570 cat >>conftest.$ac_ext <<_ACEOF
27571 /* end confdefs.h. */
27572 #include <math.h>
27574 main ()
27576 __builtin_cosf(0);
27578 return 0;
27580 _ACEOF
27581 rm -f conftest.$ac_objext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27583 (eval $ac_compile) 2>conftest.er1
27584 ac_status=$?
27585 grep -v '^ *+' conftest.er1 >conftest.err
27586 rm -f conftest.er1
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try='test -z "$ac_cxx_werror_flag"
27591 || test ! -s conftest.err'
27592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27593 (eval $ac_try) 2>&5
27594 ac_status=$?
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); }; } &&
27597 { ac_try='test -s conftest.$ac_objext'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27600 ac_status=$?
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; }; then
27603 glibcxx_cv_func___builtin_cosf_use=yes
27604 else
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27608 glibcxx_cv_func___builtin_cosf_use=no
27610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27611 ac_ext=c
27612 ac_cpp='$CPP $CPPFLAGS'
27613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27622 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27623 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27624 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27625 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27626 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27627 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27628 echo $ECHO_N "(cached) $ECHO_C" >&6
27629 else
27631 if test x$gcc_no_link = xyes; then
27632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27634 { (exit 1); exit 1; }; }
27636 cat >conftest.$ac_ext <<_ACEOF
27637 /* confdefs.h. */
27638 _ACEOF
27639 cat confdefs.h >>conftest.$ac_ext
27640 cat >>conftest.$ac_ext <<_ACEOF
27641 /* end confdefs.h. */
27642 #include <math.h>
27644 main ()
27646 __builtin_cosf(0);
27648 return 0;
27650 _ACEOF
27651 rm -f conftest.$ac_objext conftest$ac_exeext
27652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27653 (eval $ac_link) 2>conftest.er1
27654 ac_status=$?
27655 grep -v '^ *+' conftest.er1 >conftest.err
27656 rm -f conftest.er1
27657 cat conftest.err >&5
27658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659 (exit $ac_status); } &&
27660 { ac_try='test -z "$ac_c_werror_flag"
27661 || test ! -s conftest.err'
27662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27663 (eval $ac_try) 2>&5
27664 ac_status=$?
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); }; } &&
27667 { ac_try='test -s conftest$ac_exeext'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27670 ac_status=$?
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; }; then
27673 glibcxx_cv_func___builtin_cosf_link=yes
27674 else
27675 echo "$as_me: failed program was:" >&5
27676 sed 's/^/| /' conftest.$ac_ext >&5
27678 glibcxx_cv_func___builtin_cosf_link=no
27680 rm -f conftest.err conftest.$ac_objext \
27681 conftest$ac_exeext conftest.$ac_ext
27686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27687 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27689 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27691 cat >>confdefs.h <<\_ACEOF
27692 #define HAVE___BUILTIN_COSF 1
27693 _ACEOF
27700 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27701 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27702 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27703 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27704 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 else
27709 ac_ext=cc
27710 ac_cpp='$CXXCPP $CPPFLAGS'
27711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27715 cat >conftest.$ac_ext <<_ACEOF
27716 /* confdefs.h. */
27717 _ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h. */
27721 #include <math.h>
27723 main ()
27725 __builtin_cos(0);
27727 return 0;
27729 _ACEOF
27730 rm -f conftest.$ac_objext
27731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27732 (eval $ac_compile) 2>conftest.er1
27733 ac_status=$?
27734 grep -v '^ *+' conftest.er1 >conftest.err
27735 rm -f conftest.er1
27736 cat conftest.err >&5
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } &&
27739 { ac_try='test -z "$ac_cxx_werror_flag"
27740 || test ! -s conftest.err'
27741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27742 (eval $ac_try) 2>&5
27743 ac_status=$?
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); }; } &&
27746 { ac_try='test -s conftest.$ac_objext'
27747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27748 (eval $ac_try) 2>&5
27749 ac_status=$?
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); }; }; then
27752 glibcxx_cv_func___builtin_cos_use=yes
27753 else
27754 echo "$as_me: failed program was:" >&5
27755 sed 's/^/| /' conftest.$ac_ext >&5
27757 glibcxx_cv_func___builtin_cos_use=no
27759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27760 ac_ext=c
27761 ac_cpp='$CPP $CPPFLAGS'
27762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27771 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27772 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27773 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27774 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27775 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27776 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27777 echo $ECHO_N "(cached) $ECHO_C" >&6
27778 else
27780 if test x$gcc_no_link = xyes; then
27781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27783 { (exit 1); exit 1; }; }
27785 cat >conftest.$ac_ext <<_ACEOF
27786 /* confdefs.h. */
27787 _ACEOF
27788 cat confdefs.h >>conftest.$ac_ext
27789 cat >>conftest.$ac_ext <<_ACEOF
27790 /* end confdefs.h. */
27791 #include <math.h>
27793 main ()
27795 __builtin_cos(0);
27797 return 0;
27799 _ACEOF
27800 rm -f conftest.$ac_objext conftest$ac_exeext
27801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27802 (eval $ac_link) 2>conftest.er1
27803 ac_status=$?
27804 grep -v '^ *+' conftest.er1 >conftest.err
27805 rm -f conftest.er1
27806 cat conftest.err >&5
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); } &&
27809 { ac_try='test -z "$ac_c_werror_flag"
27810 || test ! -s conftest.err'
27811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27812 (eval $ac_try) 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; } &&
27816 { ac_try='test -s conftest$ac_exeext'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27819 ac_status=$?
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; }; then
27822 glibcxx_cv_func___builtin_cos_link=yes
27823 else
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.$ac_ext >&5
27827 glibcxx_cv_func___builtin_cos_link=no
27829 rm -f conftest.err conftest.$ac_objext \
27830 conftest$ac_exeext conftest.$ac_ext
27835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27836 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27838 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27840 cat >>confdefs.h <<\_ACEOF
27841 #define HAVE___BUILTIN_COS 1
27842 _ACEOF
27849 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27850 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27851 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27852 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6
27854 else
27858 ac_ext=cc
27859 ac_cpp='$CXXCPP $CPPFLAGS'
27860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27864 cat >conftest.$ac_ext <<_ACEOF
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870 #include <math.h>
27872 main ()
27874 __builtin_cosl(0);
27876 return 0;
27878 _ACEOF
27879 rm -f conftest.$ac_objext
27880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27881 (eval $ac_compile) 2>conftest.er1
27882 ac_status=$?
27883 grep -v '^ *+' conftest.er1 >conftest.err
27884 rm -f conftest.er1
27885 cat conftest.err >&5
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); } &&
27888 { ac_try='test -z "$ac_cxx_werror_flag"
27889 || test ! -s conftest.err'
27890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891 (eval $ac_try) 2>&5
27892 ac_status=$?
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; } &&
27895 { ac_try='test -s conftest.$ac_objext'
27896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27897 (eval $ac_try) 2>&5
27898 ac_status=$?
27899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27900 (exit $ac_status); }; }; then
27901 glibcxx_cv_func___builtin_cosl_use=yes
27902 else
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.$ac_ext >&5
27906 glibcxx_cv_func___builtin_cosl_use=no
27908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27920 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27921 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27922 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27923 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27924 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27925 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27927 else
27929 if test x$gcc_no_link = xyes; then
27930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27932 { (exit 1); exit 1; }; }
27934 cat >conftest.$ac_ext <<_ACEOF
27935 /* confdefs.h. */
27936 _ACEOF
27937 cat confdefs.h >>conftest.$ac_ext
27938 cat >>conftest.$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27940 #include <math.h>
27942 main ()
27944 __builtin_cosl(0);
27946 return 0;
27948 _ACEOF
27949 rm -f conftest.$ac_objext conftest$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>conftest.er1
27952 ac_status=$?
27953 grep -v '^ *+' conftest.er1 >conftest.err
27954 rm -f conftest.er1
27955 cat conftest.err >&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try='test -z "$ac_c_werror_flag"
27959 || test ! -s conftest.err'
27960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27961 (eval $ac_try) 2>&5
27962 ac_status=$?
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); }; } &&
27965 { ac_try='test -s conftest$ac_exeext'
27966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27967 (eval $ac_try) 2>&5
27968 ac_status=$?
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); }; }; then
27971 glibcxx_cv_func___builtin_cosl_link=yes
27972 else
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.$ac_ext >&5
27976 glibcxx_cv_func___builtin_cosl_link=no
27978 rm -f conftest.err conftest.$ac_objext \
27979 conftest$ac_exeext conftest.$ac_ext
27984 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27985 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27987 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27989 cat >>confdefs.h <<\_ACEOF
27990 #define HAVE___BUILTIN_COSL 1
27991 _ACEOF
28000 echo "$as_me:$LINENO: checking for main in -lm" >&5
28001 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28002 if test "${ac_cv_lib_m_main+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005 ac_check_lib_save_LIBS=$LIBS
28006 LIBS="-lm $LIBS"
28007 if test x$gcc_no_link = xyes; then
28008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28010 { (exit 1); exit 1; }; }
28012 cat >conftest.$ac_ext <<_ACEOF
28013 /* confdefs.h. */
28014 _ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28021 main ()
28023 main ();
28025 return 0;
28027 _ACEOF
28028 rm -f conftest.$ac_objext conftest$ac_exeext
28029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28030 (eval $ac_link) 2>conftest.er1
28031 ac_status=$?
28032 grep -v '^ *+' conftest.er1 >conftest.err
28033 rm -f conftest.er1
28034 cat conftest.err >&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); } &&
28037 { ac_try='test -z "$ac_c_werror_flag"
28038 || test ! -s conftest.err'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28041 ac_status=$?
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; } &&
28044 { ac_try='test -s conftest$ac_exeext'
28045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28046 (eval $ac_try) 2>&5
28047 ac_status=$?
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); }; }; then
28050 ac_cv_lib_m_main=yes
28051 else
28052 echo "$as_me: failed program was:" >&5
28053 sed 's/^/| /' conftest.$ac_ext >&5
28055 ac_cv_lib_m_main=no
28057 rm -f conftest.err conftest.$ac_objext \
28058 conftest$ac_exeext conftest.$ac_ext
28059 LIBS=$ac_check_lib_save_LIBS
28061 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28062 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28063 if test $ac_cv_lib_m_main = yes; then
28064 cat >>confdefs.h <<_ACEOF
28065 #define HAVE_LIBM 1
28066 _ACEOF
28068 LIBS="-lm $LIBS"
28073 for ac_func in copysignf
28075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28076 echo "$as_me:$LINENO: checking for $ac_func" >&5
28077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28078 if eval "test \"\${$as_ac_var+set}\" = set"; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 else
28081 if test x$gcc_no_link = xyes; then
28082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28084 { (exit 1); exit 1; }; }
28086 cat >conftest.$ac_ext <<_ACEOF
28087 /* confdefs.h. */
28088 _ACEOF
28089 cat confdefs.h >>conftest.$ac_ext
28090 cat >>conftest.$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28094 #define $ac_func innocuous_$ac_func
28096 /* System header to define __stub macros and hopefully few prototypes,
28097 which can conflict with char $ac_func (); below.
28098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28099 <limits.h> exists even on freestanding compilers. */
28101 #ifdef __STDC__
28102 # include <limits.h>
28103 #else
28104 # include <assert.h>
28105 #endif
28107 #undef $ac_func
28109 /* Override any gcc2 internal prototype to avoid an error. */
28110 #ifdef __cplusplus
28111 extern "C"
28113 #endif
28114 /* We use char because int might match the return type of a gcc2
28115 builtin and then its argument prototype would still apply. */
28116 char $ac_func ();
28117 /* The GNU C library defines this for functions which it implements
28118 to always fail with ENOSYS. Some functions are actually named
28119 something starting with __ and the normal name is an alias. */
28120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28121 choke me
28122 #else
28123 char (*f) () = $ac_func;
28124 #endif
28125 #ifdef __cplusplus
28127 #endif
28130 main ()
28132 return f != $ac_func;
28134 return 0;
28136 _ACEOF
28137 rm -f conftest.$ac_objext conftest$ac_exeext
28138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28139 (eval $ac_link) 2>conftest.er1
28140 ac_status=$?
28141 grep -v '^ *+' conftest.er1 >conftest.err
28142 rm -f conftest.er1
28143 cat conftest.err >&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); } &&
28146 { ac_try='test -z "$ac_c_werror_flag"
28147 || test ! -s conftest.err'
28148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28149 (eval $ac_try) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); }; } &&
28153 { ac_try='test -s conftest$ac_exeext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28156 ac_status=$?
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 eval "$as_ac_var=yes"
28160 else
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28164 eval "$as_ac_var=no"
28166 rm -f conftest.err conftest.$ac_objext \
28167 conftest$ac_exeext conftest.$ac_ext
28169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28171 if test `eval echo '${'$as_ac_var'}'` = yes; then
28172 cat >>confdefs.h <<_ACEOF
28173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28174 _ACEOF
28176 else
28177 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28179 done
28183 for ac_func in __signbit
28185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28186 echo "$as_me:$LINENO: checking for $ac_func" >&5
28187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28188 if eval "test \"\${$as_ac_var+set}\" = set"; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28190 else
28191 if test x$gcc_no_link = xyes; then
28192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28194 { (exit 1); exit 1; }; }
28196 cat >conftest.$ac_ext <<_ACEOF
28197 /* confdefs.h. */
28198 _ACEOF
28199 cat confdefs.h >>conftest.$ac_ext
28200 cat >>conftest.$ac_ext <<_ACEOF
28201 /* end confdefs.h. */
28202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28204 #define $ac_func innocuous_$ac_func
28206 /* System header to define __stub macros and hopefully few prototypes,
28207 which can conflict with char $ac_func (); below.
28208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28209 <limits.h> exists even on freestanding compilers. */
28211 #ifdef __STDC__
28212 # include <limits.h>
28213 #else
28214 # include <assert.h>
28215 #endif
28217 #undef $ac_func
28219 /* Override any gcc2 internal prototype to avoid an error. */
28220 #ifdef __cplusplus
28221 extern "C"
28223 #endif
28224 /* We use char because int might match the return type of a gcc2
28225 builtin and then its argument prototype would still apply. */
28226 char $ac_func ();
28227 /* The GNU C library defines this for functions which it implements
28228 to always fail with ENOSYS. Some functions are actually named
28229 something starting with __ and the normal name is an alias. */
28230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28231 choke me
28232 #else
28233 char (*f) () = $ac_func;
28234 #endif
28235 #ifdef __cplusplus
28237 #endif
28240 main ()
28242 return f != $ac_func;
28244 return 0;
28246 _ACEOF
28247 rm -f conftest.$ac_objext conftest$ac_exeext
28248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28249 (eval $ac_link) 2>conftest.er1
28250 ac_status=$?
28251 grep -v '^ *+' conftest.er1 >conftest.err
28252 rm -f conftest.er1
28253 cat conftest.err >&5
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); } &&
28256 { ac_try='test -z "$ac_c_werror_flag"
28257 || test ! -s conftest.err'
28258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28259 (eval $ac_try) 2>&5
28260 ac_status=$?
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); }; } &&
28263 { ac_try='test -s conftest$ac_exeext'
28264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28265 (eval $ac_try) 2>&5
28266 ac_status=$?
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; }; then
28269 eval "$as_ac_var=yes"
28270 else
28271 echo "$as_me: failed program was:" >&5
28272 sed 's/^/| /' conftest.$ac_ext >&5
28274 eval "$as_ac_var=no"
28276 rm -f conftest.err conftest.$ac_objext \
28277 conftest$ac_exeext conftest.$ac_ext
28279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28281 if test `eval echo '${'$as_ac_var'}'` = yes; then
28282 cat >>confdefs.h <<_ACEOF
28283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28284 _ACEOF
28286 else
28287 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28289 done
28293 for ac_func in __signbitf
28295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28296 echo "$as_me:$LINENO: checking for $ac_func" >&5
28297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28298 if eval "test \"\${$as_ac_var+set}\" = set"; then
28299 echo $ECHO_N "(cached) $ECHO_C" >&6
28300 else
28301 if test x$gcc_no_link = xyes; then
28302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28304 { (exit 1); exit 1; }; }
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28314 #define $ac_func innocuous_$ac_func
28316 /* System header to define __stub macros and hopefully few prototypes,
28317 which can conflict with char $ac_func (); below.
28318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28319 <limits.h> exists even on freestanding compilers. */
28321 #ifdef __STDC__
28322 # include <limits.h>
28323 #else
28324 # include <assert.h>
28325 #endif
28327 #undef $ac_func
28329 /* Override any gcc2 internal prototype to avoid an error. */
28330 #ifdef __cplusplus
28331 extern "C"
28333 #endif
28334 /* We use char because int might match the return type of a gcc2
28335 builtin and then its argument prototype would still apply. */
28336 char $ac_func ();
28337 /* The GNU C library defines this for functions which it implements
28338 to always fail with ENOSYS. Some functions are actually named
28339 something starting with __ and the normal name is an alias. */
28340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28341 choke me
28342 #else
28343 char (*f) () = $ac_func;
28344 #endif
28345 #ifdef __cplusplus
28347 #endif
28350 main ()
28352 return f != $ac_func;
28354 return 0;
28356 _ACEOF
28357 rm -f conftest.$ac_objext conftest$ac_exeext
28358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28359 (eval $ac_link) 2>conftest.er1
28360 ac_status=$?
28361 grep -v '^ *+' conftest.er1 >conftest.err
28362 rm -f conftest.er1
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } &&
28366 { ac_try='test -z "$ac_c_werror_flag"
28367 || test ! -s conftest.err'
28368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369 (eval $ac_try) 2>&5
28370 ac_status=$?
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); }; } &&
28373 { ac_try='test -s conftest$ac_exeext'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28376 ac_status=$?
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; }; then
28379 eval "$as_ac_var=yes"
28380 else
28381 echo "$as_me: failed program was:" >&5
28382 sed 's/^/| /' conftest.$ac_ext >&5
28384 eval "$as_ac_var=no"
28386 rm -f conftest.err conftest.$ac_objext \
28387 conftest$ac_exeext conftest.$ac_ext
28389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28391 if test `eval echo '${'$as_ac_var'}'` = yes; then
28392 cat >>confdefs.h <<_ACEOF
28393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28394 _ACEOF
28396 else
28397 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28399 done
28402 if test x$ac_cv_func_copysignl = x"yes"; then
28404 for ac_func in __signbitl
28406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28407 echo "$as_me:$LINENO: checking for $ac_func" >&5
28408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28409 if eval "test \"\${$as_ac_var+set}\" = set"; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28411 else
28412 if test x$gcc_no_link = xyes; then
28413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28415 { (exit 1); exit 1; }; }
28417 cat >conftest.$ac_ext <<_ACEOF
28418 /* confdefs.h. */
28419 _ACEOF
28420 cat confdefs.h >>conftest.$ac_ext
28421 cat >>conftest.$ac_ext <<_ACEOF
28422 /* end confdefs.h. */
28423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28425 #define $ac_func innocuous_$ac_func
28427 /* System header to define __stub macros and hopefully few prototypes,
28428 which can conflict with char $ac_func (); below.
28429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28430 <limits.h> exists even on freestanding compilers. */
28432 #ifdef __STDC__
28433 # include <limits.h>
28434 #else
28435 # include <assert.h>
28436 #endif
28438 #undef $ac_func
28440 /* Override any gcc2 internal prototype to avoid an error. */
28441 #ifdef __cplusplus
28442 extern "C"
28444 #endif
28445 /* We use char because int might match the return type of a gcc2
28446 builtin and then its argument prototype would still apply. */
28447 char $ac_func ();
28448 /* The GNU C library defines this for functions which it implements
28449 to always fail with ENOSYS. Some functions are actually named
28450 something starting with __ and the normal name is an alias. */
28451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28452 choke me
28453 #else
28454 char (*f) () = $ac_func;
28455 #endif
28456 #ifdef __cplusplus
28458 #endif
28461 main ()
28463 return f != $ac_func;
28465 return 0;
28467 _ACEOF
28468 rm -f conftest.$ac_objext conftest$ac_exeext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28470 (eval $ac_link) 2>conftest.er1
28471 ac_status=$?
28472 grep -v '^ *+' conftest.er1 >conftest.err
28473 rm -f conftest.er1
28474 cat conftest.err >&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } &&
28477 { ac_try='test -z "$ac_c_werror_flag"
28478 || test ! -s conftest.err'
28479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28480 (eval $ac_try) 2>&5
28481 ac_status=$?
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); }; } &&
28484 { ac_try='test -s conftest$ac_exeext'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28487 ac_status=$?
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; }; then
28490 eval "$as_ac_var=yes"
28491 else
28492 echo "$as_me: failed program was:" >&5
28493 sed 's/^/| /' conftest.$ac_ext >&5
28495 eval "$as_ac_var=no"
28497 rm -f conftest.err conftest.$ac_objext \
28498 conftest$ac_exeext conftest.$ac_ext
28500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28502 if test `eval echo '${'$as_ac_var'}'` = yes; then
28503 cat >>confdefs.h <<_ACEOF
28504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28505 _ACEOF
28507 else
28508 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28510 done
28514 # Used in libmath/Makefile.am.
28515 if test -n "$LIBMATHOBJS"; then
28516 need_libmath=yes
28521 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28522 ac_save_CXXFLAGS="$CXXFLAGS"
28523 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28526 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28527 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28528 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28529 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28530 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 else
28535 ac_ext=cc
28536 ac_cpp='$CXXCPP $CPPFLAGS'
28537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28541 cat >conftest.$ac_ext <<_ACEOF
28542 /* confdefs.h. */
28543 _ACEOF
28544 cat confdefs.h >>conftest.$ac_ext
28545 cat >>conftest.$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28547 #include <stdlib.h>
28549 main ()
28551 strtold(0, 0);
28553 return 0;
28555 _ACEOF
28556 rm -f conftest.$ac_objext
28557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28558 (eval $ac_compile) 2>conftest.er1
28559 ac_status=$?
28560 grep -v '^ *+' conftest.er1 >conftest.err
28561 rm -f conftest.er1
28562 cat conftest.err >&5
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } &&
28565 { ac_try='test -z "$ac_cxx_werror_flag"
28566 || test ! -s conftest.err'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28569 ac_status=$?
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; } &&
28572 { ac_try='test -s conftest.$ac_objext'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28575 ac_status=$?
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; }; then
28578 glibcxx_cv_func_strtold_use=yes
28579 else
28580 echo "$as_me: failed program was:" >&5
28581 sed 's/^/| /' conftest.$ac_ext >&5
28583 glibcxx_cv_func_strtold_use=no
28585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28586 ac_ext=c
28587 ac_cpp='$CPP $CPPFLAGS'
28588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28597 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28598 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28600 for ac_func in strtold
28602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28603 echo "$as_me:$LINENO: checking for $ac_func" >&5
28604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28605 if eval "test \"\${$as_ac_var+set}\" = set"; then
28606 echo $ECHO_N "(cached) $ECHO_C" >&6
28607 else
28608 if test x$gcc_no_link = xyes; then
28609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28611 { (exit 1); exit 1; }; }
28613 cat >conftest.$ac_ext <<_ACEOF
28614 /* confdefs.h. */
28615 _ACEOF
28616 cat confdefs.h >>conftest.$ac_ext
28617 cat >>conftest.$ac_ext <<_ACEOF
28618 /* end confdefs.h. */
28619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28621 #define $ac_func innocuous_$ac_func
28623 /* System header to define __stub macros and hopefully few prototypes,
28624 which can conflict with char $ac_func (); below.
28625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28626 <limits.h> exists even on freestanding compilers. */
28628 #ifdef __STDC__
28629 # include <limits.h>
28630 #else
28631 # include <assert.h>
28632 #endif
28634 #undef $ac_func
28636 /* Override any gcc2 internal prototype to avoid an error. */
28637 #ifdef __cplusplus
28638 extern "C"
28640 #endif
28641 /* We use char because int might match the return type of a gcc2
28642 builtin and then its argument prototype would still apply. */
28643 char $ac_func ();
28644 /* The GNU C library defines this for functions which it implements
28645 to always fail with ENOSYS. Some functions are actually named
28646 something starting with __ and the normal name is an alias. */
28647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28648 choke me
28649 #else
28650 char (*f) () = $ac_func;
28651 #endif
28652 #ifdef __cplusplus
28654 #endif
28657 main ()
28659 return f != $ac_func;
28661 return 0;
28663 _ACEOF
28664 rm -f conftest.$ac_objext conftest$ac_exeext
28665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28666 (eval $ac_link) 2>conftest.er1
28667 ac_status=$?
28668 grep -v '^ *+' conftest.er1 >conftest.err
28669 rm -f conftest.er1
28670 cat conftest.err >&5
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); } &&
28673 { ac_try='test -z "$ac_c_werror_flag"
28674 || test ! -s conftest.err'
28675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28676 (eval $ac_try) 2>&5
28677 ac_status=$?
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); }; } &&
28680 { ac_try='test -s conftest$ac_exeext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 eval "$as_ac_var=yes"
28687 else
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28691 eval "$as_ac_var=no"
28693 rm -f conftest.err conftest.$ac_objext \
28694 conftest$ac_exeext conftest.$ac_ext
28696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28698 if test `eval echo '${'$as_ac_var'}'` = yes; then
28699 cat >>confdefs.h <<_ACEOF
28700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28701 _ACEOF
28704 done
28712 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28713 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28714 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28715 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 else
28721 ac_ext=cc
28722 ac_cpp='$CXXCPP $CPPFLAGS'
28723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <stdlib.h>
28735 main ()
28737 strtof(0, 0);
28739 return 0;
28741 _ACEOF
28742 rm -f conftest.$ac_objext
28743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28744 (eval $ac_compile) 2>conftest.er1
28745 ac_status=$?
28746 grep -v '^ *+' conftest.er1 >conftest.err
28747 rm -f conftest.er1
28748 cat conftest.err >&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); } &&
28751 { ac_try='test -z "$ac_cxx_werror_flag"
28752 || test ! -s conftest.err'
28753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 (eval $ac_try) 2>&5
28755 ac_status=$?
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; } &&
28758 { ac_try='test -s conftest.$ac_objext'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28761 ac_status=$?
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; }; then
28764 glibcxx_cv_func_strtof_use=yes
28765 else
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28769 glibcxx_cv_func_strtof_use=no
28771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28772 ac_ext=c
28773 ac_cpp='$CPP $CPPFLAGS'
28774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28783 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28784 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28786 for ac_func in strtof
28788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28789 echo "$as_me:$LINENO: checking for $ac_func" >&5
28790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28791 if eval "test \"\${$as_ac_var+set}\" = set"; then
28792 echo $ECHO_N "(cached) $ECHO_C" >&6
28793 else
28794 if test x$gcc_no_link = xyes; then
28795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28797 { (exit 1); exit 1; }; }
28799 cat >conftest.$ac_ext <<_ACEOF
28800 /* confdefs.h. */
28801 _ACEOF
28802 cat confdefs.h >>conftest.$ac_ext
28803 cat >>conftest.$ac_ext <<_ACEOF
28804 /* end confdefs.h. */
28805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28807 #define $ac_func innocuous_$ac_func
28809 /* System header to define __stub macros and hopefully few prototypes,
28810 which can conflict with char $ac_func (); below.
28811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28812 <limits.h> exists even on freestanding compilers. */
28814 #ifdef __STDC__
28815 # include <limits.h>
28816 #else
28817 # include <assert.h>
28818 #endif
28820 #undef $ac_func
28822 /* Override any gcc2 internal prototype to avoid an error. */
28823 #ifdef __cplusplus
28824 extern "C"
28826 #endif
28827 /* We use char because int might match the return type of a gcc2
28828 builtin and then its argument prototype would still apply. */
28829 char $ac_func ();
28830 /* The GNU C library defines this for functions which it implements
28831 to always fail with ENOSYS. Some functions are actually named
28832 something starting with __ and the normal name is an alias. */
28833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28834 choke me
28835 #else
28836 char (*f) () = $ac_func;
28837 #endif
28838 #ifdef __cplusplus
28840 #endif
28843 main ()
28845 return f != $ac_func;
28847 return 0;
28849 _ACEOF
28850 rm -f conftest.$ac_objext conftest$ac_exeext
28851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28852 (eval $ac_link) 2>conftest.er1
28853 ac_status=$?
28854 grep -v '^ *+' conftest.er1 >conftest.err
28855 rm -f conftest.er1
28856 cat conftest.err >&5
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } &&
28859 { ac_try='test -z "$ac_c_werror_flag"
28860 || test ! -s conftest.err'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; } &&
28866 { ac_try='test -s conftest$ac_exeext'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; }; then
28872 eval "$as_ac_var=yes"
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28877 eval "$as_ac_var=no"
28879 rm -f conftest.err conftest.$ac_objext \
28880 conftest$ac_exeext conftest.$ac_ext
28882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28884 if test `eval echo '${'$as_ac_var'}'` = yes; then
28885 cat >>confdefs.h <<_ACEOF
28886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28887 _ACEOF
28890 done
28898 CXXFLAGS="$ac_save_CXXFLAGS"
28901 # For showmanyc_helper().
28904 for ac_header in sys/ioctl.h sys/filio.h
28906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28908 echo "$as_me:$LINENO: checking for $ac_header" >&5
28909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28911 echo $ECHO_N "(cached) $ECHO_C" >&6
28913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28915 else
28916 # Is the header compilable?
28917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28919 cat >conftest.$ac_ext <<_ACEOF
28920 /* confdefs.h. */
28921 _ACEOF
28922 cat confdefs.h >>conftest.$ac_ext
28923 cat >>conftest.$ac_ext <<_ACEOF
28924 /* end confdefs.h. */
28925 $ac_includes_default
28926 #include <$ac_header>
28927 _ACEOF
28928 rm -f conftest.$ac_objext
28929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28930 (eval $ac_compile) 2>conftest.er1
28931 ac_status=$?
28932 grep -v '^ *+' conftest.er1 >conftest.err
28933 rm -f conftest.er1
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } &&
28937 { ac_try='test -z "$ac_c_werror_flag"
28938 || test ! -s conftest.err'
28939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28940 (eval $ac_try) 2>&5
28941 ac_status=$?
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); }; } &&
28944 { ac_try='test -s conftest.$ac_objext'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; }; then
28950 ac_header_compiler=yes
28951 else
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.$ac_ext >&5
28955 ac_header_compiler=no
28957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28959 echo "${ECHO_T}$ac_header_compiler" >&6
28961 # Is the header present?
28962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28964 cat >conftest.$ac_ext <<_ACEOF
28965 /* confdefs.h. */
28966 _ACEOF
28967 cat confdefs.h >>conftest.$ac_ext
28968 cat >>conftest.$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 #include <$ac_header>
28971 _ACEOF
28972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28974 ac_status=$?
28975 grep -v '^ *+' conftest.er1 >conftest.err
28976 rm -f conftest.er1
28977 cat conftest.err >&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } >/dev/null; then
28980 if test -s conftest.err; then
28981 ac_cpp_err=$ac_c_preproc_warn_flag
28982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28983 else
28984 ac_cpp_err=
28986 else
28987 ac_cpp_err=yes
28989 if test -z "$ac_cpp_err"; then
28990 ac_header_preproc=yes
28991 else
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28995 ac_header_preproc=no
28997 rm -f conftest.err conftest.$ac_ext
28998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28999 echo "${ECHO_T}$ac_header_preproc" >&6
29001 # So? What about this header?
29002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29003 yes:no: )
29004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29008 ac_header_preproc=yes
29010 no:yes:* )
29011 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29013 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29014 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29015 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29017 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29018 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29021 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29024 cat <<\_ASBOX
29025 ## ----------------------------------------- ##
29026 ## Report this to the package-unused lists. ##
29027 ## ----------------------------------------- ##
29028 _ASBOX
29030 sed "s/^/$as_me: WARNING: /" >&2
29032 esac
29033 echo "$as_me:$LINENO: checking for $ac_header" >&5
29034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29036 echo $ECHO_N "(cached) $ECHO_C" >&6
29037 else
29038 eval "$as_ac_Header=\$ac_header_preproc"
29040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29045 cat >>confdefs.h <<_ACEOF
29046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29047 _ACEOF
29051 done
29054 echo "$as_me:$LINENO: checking for poll" >&5
29055 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29056 if test "${glibcxx_cv_POLL+set}" = set; then
29057 echo $ECHO_N "(cached) $ECHO_C" >&6
29058 else
29060 if test x$gcc_no_link = xyes; then
29061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29063 { (exit 1); exit 1; }; }
29065 cat >conftest.$ac_ext <<_ACEOF
29066 /* confdefs.h. */
29067 _ACEOF
29068 cat confdefs.h >>conftest.$ac_ext
29069 cat >>conftest.$ac_ext <<_ACEOF
29070 /* end confdefs.h. */
29071 #include <poll.h>
29073 main ()
29075 struct pollfd pfd[1];
29076 pfd[0].events = POLLIN;
29077 poll(pfd, 1, 0);
29079 return 0;
29081 _ACEOF
29082 rm -f conftest.$ac_objext conftest$ac_exeext
29083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29084 (eval $ac_link) 2>conftest.er1
29085 ac_status=$?
29086 grep -v '^ *+' conftest.er1 >conftest.err
29087 rm -f conftest.er1
29088 cat conftest.err >&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } &&
29091 { ac_try='test -z "$ac_c_werror_flag"
29092 || test ! -s conftest.err'
29093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29094 (eval $ac_try) 2>&5
29095 ac_status=$?
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; } &&
29098 { ac_try='test -s conftest$ac_exeext'
29099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100 (eval $ac_try) 2>&5
29101 ac_status=$?
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); }; }; then
29104 glibcxx_cv_POLL=yes
29105 else
29106 echo "$as_me: failed program was:" >&5
29107 sed 's/^/| /' conftest.$ac_ext >&5
29109 glibcxx_cv_POLL=no
29111 rm -f conftest.err conftest.$ac_objext \
29112 conftest$ac_exeext conftest.$ac_ext
29116 if test $glibcxx_cv_POLL = yes; then
29118 cat >>confdefs.h <<\_ACEOF
29119 #define HAVE_POLL 1
29120 _ACEOF
29123 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29124 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29127 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29128 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29129 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 else
29133 if test x$gcc_no_link = xyes; then
29134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29136 { (exit 1); exit 1; }; }
29138 cat >conftest.$ac_ext <<_ACEOF
29139 /* confdefs.h. */
29140 _ACEOF
29141 cat confdefs.h >>conftest.$ac_ext
29142 cat >>conftest.$ac_ext <<_ACEOF
29143 /* end confdefs.h. */
29144 #include <sys/stat.h>
29146 main ()
29148 struct stat buffer;
29149 fstat(0, &buffer);
29150 S_ISREG(buffer.st_mode);
29152 return 0;
29154 _ACEOF
29155 rm -f conftest.$ac_objext conftest$ac_exeext
29156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29157 (eval $ac_link) 2>conftest.er1
29158 ac_status=$?
29159 grep -v '^ *+' conftest.er1 >conftest.err
29160 rm -f conftest.er1
29161 cat conftest.err >&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } &&
29164 { ac_try='test -z "$ac_c_werror_flag"
29165 || test ! -s conftest.err'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; } &&
29171 { ac_try='test -s conftest$ac_exeext'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29174 ac_status=$?
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; }; then
29177 glibcxx_cv_S_ISREG=yes
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29182 glibcxx_cv_S_ISREG=no
29184 rm -f conftest.err conftest.$ac_objext \
29185 conftest$ac_exeext conftest.$ac_ext
29189 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29190 echo $ECHO_N "(cached) $ECHO_C" >&6
29191 else
29193 if test x$gcc_no_link = xyes; then
29194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29196 { (exit 1); exit 1; }; }
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 #include <sys/stat.h>
29206 main ()
29208 struct stat buffer;
29209 fstat(0, &buffer);
29210 S_IFREG & buffer.st_mode;
29212 return 0;
29214 _ACEOF
29215 rm -f conftest.$ac_objext conftest$ac_exeext
29216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29217 (eval $ac_link) 2>conftest.er1
29218 ac_status=$?
29219 grep -v '^ *+' conftest.er1 >conftest.err
29220 rm -f conftest.er1
29221 cat conftest.err >&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); } &&
29224 { ac_try='test -z "$ac_c_werror_flag"
29225 || test ! -s conftest.err'
29226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227 (eval $ac_try) 2>&5
29228 ac_status=$?
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); }; } &&
29231 { ac_try='test -s conftest$ac_exeext'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29234 ac_status=$?
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; }; then
29237 glibcxx_cv_S_IFREG=yes
29238 else
29239 echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29242 glibcxx_cv_S_IFREG=no
29244 rm -f conftest.err conftest.$ac_objext \
29245 conftest$ac_exeext conftest.$ac_ext
29249 res=no
29250 if test $glibcxx_cv_S_ISREG = yes; then
29252 cat >>confdefs.h <<\_ACEOF
29253 #define HAVE_S_ISREG 1
29254 _ACEOF
29256 res=S_ISREG
29257 elif test $glibcxx_cv_S_IFREG = yes; then
29259 cat >>confdefs.h <<\_ACEOF
29260 #define HAVE_S_IFREG 1
29261 _ACEOF
29263 res=S_IFREG
29265 echo "$as_me:$LINENO: result: $res" >&5
29266 echo "${ECHO_T}$res" >&6
29269 # For xsputn_2().
29271 for ac_header in sys/uio.h
29273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29275 echo "$as_me:$LINENO: checking for $ac_header" >&5
29276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29282 else
29283 # Is the header compilable?
29284 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29286 cat >conftest.$ac_ext <<_ACEOF
29287 /* confdefs.h. */
29288 _ACEOF
29289 cat confdefs.h >>conftest.$ac_ext
29290 cat >>conftest.$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29292 $ac_includes_default
29293 #include <$ac_header>
29294 _ACEOF
29295 rm -f conftest.$ac_objext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29297 (eval $ac_compile) 2>conftest.er1
29298 ac_status=$?
29299 grep -v '^ *+' conftest.er1 >conftest.err
29300 rm -f conftest.er1
29301 cat conftest.err >&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } &&
29304 { ac_try='test -z "$ac_c_werror_flag"
29305 || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29308 ac_status=$?
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try='test -s conftest.$ac_objext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29314 ac_status=$?
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 ac_header_compiler=yes
29318 else
29319 echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.$ac_ext >&5
29322 ac_header_compiler=no
29324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29326 echo "${ECHO_T}$ac_header_compiler" >&6
29328 # Is the header present?
29329 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29330 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29331 cat >conftest.$ac_ext <<_ACEOF
29332 /* confdefs.h. */
29333 _ACEOF
29334 cat confdefs.h >>conftest.$ac_ext
29335 cat >>conftest.$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337 #include <$ac_header>
29338 _ACEOF
29339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29341 ac_status=$?
29342 grep -v '^ *+' conftest.er1 >conftest.err
29343 rm -f conftest.er1
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } >/dev/null; then
29347 if test -s conftest.err; then
29348 ac_cpp_err=$ac_c_preproc_warn_flag
29349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29350 else
29351 ac_cpp_err=
29353 else
29354 ac_cpp_err=yes
29356 if test -z "$ac_cpp_err"; then
29357 ac_header_preproc=yes
29358 else
29359 echo "$as_me: failed program was:" >&5
29360 sed 's/^/| /' conftest.$ac_ext >&5
29362 ac_header_preproc=no
29364 rm -f conftest.err conftest.$ac_ext
29365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29366 echo "${ECHO_T}$ac_header_preproc" >&6
29368 # So? What about this header?
29369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29370 yes:no: )
29371 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29372 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29374 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29375 ac_header_preproc=yes
29377 no:yes:* )
29378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29382 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29383 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29384 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29385 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29388 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29389 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29391 cat <<\_ASBOX
29392 ## ----------------------------------------- ##
29393 ## Report this to the package-unused lists. ##
29394 ## ----------------------------------------- ##
29395 _ASBOX
29397 sed "s/^/$as_me: WARNING: /" >&2
29399 esac
29400 echo "$as_me:$LINENO: checking for $ac_header" >&5
29401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29405 eval "$as_ac_Header=\$ac_header_preproc"
29407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29412 cat >>confdefs.h <<_ACEOF
29413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29414 _ACEOF
29418 done
29421 echo "$as_me:$LINENO: checking for writev" >&5
29422 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29423 if test "${glibcxx_cv_WRITEV+set}" = set; then
29424 echo $ECHO_N "(cached) $ECHO_C" >&6
29425 else
29427 if test x$gcc_no_link = xyes; then
29428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29430 { (exit 1); exit 1; }; }
29432 cat >conftest.$ac_ext <<_ACEOF
29433 /* confdefs.h. */
29434 _ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29438 #include <sys/uio.h>
29440 main ()
29442 struct iovec iov[2];
29443 writev(0, iov, 0);
29445 return 0;
29447 _ACEOF
29448 rm -f conftest.$ac_objext conftest$ac_exeext
29449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29450 (eval $ac_link) 2>conftest.er1
29451 ac_status=$?
29452 grep -v '^ *+' conftest.er1 >conftest.err
29453 rm -f conftest.er1
29454 cat conftest.err >&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } &&
29457 { ac_try='test -z "$ac_c_werror_flag"
29458 || test ! -s conftest.err'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29461 ac_status=$?
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; } &&
29464 { ac_try='test -s conftest$ac_exeext'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29467 ac_status=$?
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; }; then
29470 glibcxx_cv_WRITEV=yes
29471 else
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.$ac_ext >&5
29475 glibcxx_cv_WRITEV=no
29477 rm -f conftest.err conftest.$ac_objext \
29478 conftest$ac_exeext conftest.$ac_ext
29482 if test $glibcxx_cv_WRITEV = yes; then
29484 cat >>confdefs.h <<\_ACEOF
29485 #define HAVE_WRITEV 1
29486 _ACEOF
29489 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29490 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29493 # For the __streamoff_base_type typedef.
29495 echo "$as_me:$LINENO: checking for int64_t" >&5
29496 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29497 if test "${glibcxx_cv_INT64_T+set}" = set; then
29498 echo $ECHO_N "(cached) $ECHO_C" >&6
29499 else
29501 cat >conftest.$ac_ext <<_ACEOF
29502 /* confdefs.h. */
29503 _ACEOF
29504 cat confdefs.h >>conftest.$ac_ext
29505 cat >>conftest.$ac_ext <<_ACEOF
29506 /* end confdefs.h. */
29507 #include <stdint.h>
29509 main ()
29511 int64_t var;
29513 return 0;
29515 _ACEOF
29516 rm -f conftest.$ac_objext
29517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29518 (eval $ac_compile) 2>conftest.er1
29519 ac_status=$?
29520 grep -v '^ *+' conftest.er1 >conftest.err
29521 rm -f conftest.er1
29522 cat conftest.err >&5
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); } &&
29525 { ac_try='test -z "$ac_c_werror_flag"
29526 || test ! -s conftest.err'
29527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29528 (eval $ac_try) 2>&5
29529 ac_status=$?
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); }; } &&
29532 { ac_try='test -s conftest.$ac_objext'
29533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534 (eval $ac_try) 2>&5
29535 ac_status=$?
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; }; then
29538 glibcxx_cv_INT64_T=yes
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29543 glibcxx_cv_INT64_T=no
29545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29549 if test $glibcxx_cv_INT64_T = yes; then
29551 cat >>confdefs.h <<\_ACEOF
29552 #define HAVE_INT64_T 1
29553 _ACEOF
29556 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29557 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29560 # For LFS support.
29564 ac_ext=cc
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29570 ac_save_CXXFLAGS="$CXXFLAGS"
29571 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29572 echo "$as_me:$LINENO: checking for LFS support" >&5
29573 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29574 if test "${glibcxx_cv_LFS+set}" = set; then
29575 echo $ECHO_N "(cached) $ECHO_C" >&6
29576 else
29578 if test x$gcc_no_link = xyes; then
29579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29581 { (exit 1); exit 1; }; }
29583 cat >conftest.$ac_ext <<_ACEOF
29584 /* confdefs.h. */
29585 _ACEOF
29586 cat confdefs.h >>conftest.$ac_ext
29587 cat >>conftest.$ac_ext <<_ACEOF
29588 /* end confdefs.h. */
29589 #include <unistd.h>
29590 #include <stdio.h>
29591 #include <sys/stat.h>
29594 main ()
29596 FILE* fp;
29597 fopen64("t", "w");
29598 fseeko64(fp, 0, SEEK_CUR);
29599 ftello64(fp);
29600 lseek64(1, 0, SEEK_CUR);
29601 struct stat64 buf;
29602 fstat64(1, &buf);
29604 return 0;
29606 _ACEOF
29607 rm -f conftest.$ac_objext conftest$ac_exeext
29608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29609 (eval $ac_link) 2>conftest.er1
29610 ac_status=$?
29611 grep -v '^ *+' conftest.er1 >conftest.err
29612 rm -f conftest.er1
29613 cat conftest.err >&5
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); } &&
29616 { ac_try='test -z "$ac_cxx_werror_flag"
29617 || test ! -s conftest.err'
29618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29619 (eval $ac_try) 2>&5
29620 ac_status=$?
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); }; } &&
29623 { ac_try='test -s conftest$ac_exeext'
29624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625 (eval $ac_try) 2>&5
29626 ac_status=$?
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; }; then
29629 glibcxx_cv_LFS=yes
29630 else
29631 echo "$as_me: failed program was:" >&5
29632 sed 's/^/| /' conftest.$ac_ext >&5
29634 glibcxx_cv_LFS=no
29636 rm -f conftest.err conftest.$ac_objext \
29637 conftest$ac_exeext conftest.$ac_ext
29641 if test $glibcxx_cv_LFS = yes; then
29643 cat >>confdefs.h <<\_ACEOF
29644 #define _GLIBCXX_USE_LFS 1
29645 _ACEOF
29648 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29649 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29650 CXXFLAGS="$ac_save_CXXFLAGS"
29651 ac_ext=c
29652 ac_cpp='$CPP $CPPFLAGS'
29653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29659 # For C99 support to TR1.
29664 ac_ext=cc
29665 ac_cpp='$CXXCPP $CPPFLAGS'
29666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29671 # Check for the existence of <complex.h> complex math functions used
29672 # by tr1/complex.
29674 for ac_header in complex.h
29676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29678 echo "$as_me:$LINENO: checking for $ac_header" >&5
29679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29685 else
29686 # Is the header compilable?
29687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29689 cat >conftest.$ac_ext <<_ACEOF
29690 /* confdefs.h. */
29691 _ACEOF
29692 cat confdefs.h >>conftest.$ac_ext
29693 cat >>conftest.$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29695 $ac_includes_default
29696 #include <$ac_header>
29697 _ACEOF
29698 rm -f conftest.$ac_objext
29699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29700 (eval $ac_compile) 2>conftest.er1
29701 ac_status=$?
29702 grep -v '^ *+' conftest.er1 >conftest.err
29703 rm -f conftest.er1
29704 cat conftest.err >&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } &&
29707 { ac_try='test -z "$ac_cxx_werror_flag"
29708 || test ! -s conftest.err'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29711 ac_status=$?
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; } &&
29714 { ac_try='test -s conftest.$ac_objext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29717 ac_status=$?
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29720 ac_header_compiler=yes
29721 else
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.$ac_ext >&5
29725 ac_header_compiler=no
29727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29729 echo "${ECHO_T}$ac_header_compiler" >&6
29731 # Is the header present?
29732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29734 cat >conftest.$ac_ext <<_ACEOF
29735 /* confdefs.h. */
29736 _ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740 #include <$ac_header>
29741 _ACEOF
29742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29744 ac_status=$?
29745 grep -v '^ *+' conftest.er1 >conftest.err
29746 rm -f conftest.er1
29747 cat conftest.err >&5
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); } >/dev/null; then
29750 if test -s conftest.err; then
29751 ac_cpp_err=$ac_cxx_preproc_warn_flag
29752 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29753 else
29754 ac_cpp_err=
29756 else
29757 ac_cpp_err=yes
29759 if test -z "$ac_cpp_err"; then
29760 ac_header_preproc=yes
29761 else
29762 echo "$as_me: failed program was:" >&5
29763 sed 's/^/| /' conftest.$ac_ext >&5
29765 ac_header_preproc=no
29767 rm -f conftest.err conftest.$ac_ext
29768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29769 echo "${ECHO_T}$ac_header_preproc" >&6
29771 # So? What about this header?
29772 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
29773 yes:no: )
29774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29778 ac_header_preproc=yes
29780 no:yes:* )
29781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29794 cat <<\_ASBOX
29795 ## ----------------------------------------- ##
29796 ## Report this to the package-unused lists. ##
29797 ## ----------------------------------------- ##
29798 _ASBOX
29800 sed "s/^/$as_me: WARNING: /" >&2
29802 esac
29803 echo "$as_me:$LINENO: checking for $ac_header" >&5
29804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808 eval "$as_ac_Header=\$ac_header_preproc"
29810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29815 cat >>confdefs.h <<_ACEOF
29816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29817 _ACEOF
29818 ac_has_complex_h=yes
29819 else
29820 ac_has_complex_h=no
29823 done
29825 ac_c99_complex_tr1=no;
29826 if test x"$ac_has_complex_h" = x"yes"; then
29827 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
29828 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
29829 cat >conftest.$ac_ext <<_ACEOF
29830 /* confdefs.h. */
29831 _ACEOF
29832 cat confdefs.h >>conftest.$ac_ext
29833 cat >>conftest.$ac_ext <<_ACEOF
29834 /* end confdefs.h. */
29835 #include <complex.h>
29837 main ()
29839 typedef __complex__ float float_type; float_type tmpf;
29840 cacosf(tmpf);
29841 casinf(tmpf);
29842 catanf(tmpf);
29843 cacoshf(tmpf);
29844 casinhf(tmpf);
29845 catanhf(tmpf);
29846 typedef __complex__ double double_type; double_type tmpd;
29847 cacos(tmpd);
29848 casin(tmpd);
29849 catan(tmpd);
29850 cacosh(tmpd);
29851 casinh(tmpd);
29852 catanh(tmpd);
29853 typedef __complex__ long double ld_type; ld_type tmpld;
29854 cacosl(tmpld);
29855 casinl(tmpld);
29856 catanl(tmpld);
29857 cacoshl(tmpld);
29858 casinhl(tmpld);
29859 catanhl(tmpld);
29862 return 0;
29864 _ACEOF
29865 rm -f conftest.$ac_objext
29866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29867 (eval $ac_compile) 2>conftest.er1
29868 ac_status=$?
29869 grep -v '^ *+' conftest.er1 >conftest.err
29870 rm -f conftest.er1
29871 cat conftest.err >&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } &&
29874 { ac_try='test -z "$ac_cxx_werror_flag"
29875 || test ! -s conftest.err'
29876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877 (eval $ac_try) 2>&5
29878 ac_status=$?
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; } &&
29881 { ac_try='test -s conftest.$ac_objext'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29884 ac_status=$?
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_c99_complex_tr1=yes
29888 else
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.$ac_ext >&5
29892 ac_c99_complex_tr1=no
29894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29896 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
29897 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
29898 if test x"$ac_c99_complex_tr1" = x"yes"; then
29900 cat >>confdefs.h <<\_ACEOF
29901 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
29902 _ACEOF
29906 # Check for the existence of <ctype.h> functions.
29907 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
29908 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
29909 if test "${ac_c99_ctype_tr1+set}" = set; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29911 else
29913 cat >conftest.$ac_ext <<_ACEOF
29914 /* confdefs.h. */
29915 _ACEOF
29916 cat confdefs.h >>conftest.$ac_ext
29917 cat >>conftest.$ac_ext <<_ACEOF
29918 /* end confdefs.h. */
29919 #include <ctype.h>
29921 main ()
29923 int ch;
29924 int ret;
29925 ret = isblank(ch);
29928 return 0;
29930 _ACEOF
29931 rm -f conftest.$ac_objext
29932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29933 (eval $ac_compile) 2>conftest.er1
29934 ac_status=$?
29935 grep -v '^ *+' conftest.er1 >conftest.err
29936 rm -f conftest.er1
29937 cat conftest.err >&5
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); } &&
29940 { ac_try='test -z "$ac_cxx_werror_flag"
29941 || test ! -s conftest.err'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29944 ac_status=$?
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; } &&
29947 { ac_try='test -s conftest.$ac_objext'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29950 ac_status=$?
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; }; then
29953 ac_c99_ctype_tr1=yes
29954 else
29955 echo "$as_me: failed program was:" >&5
29956 sed 's/^/| /' conftest.$ac_ext >&5
29958 ac_c99_ctype_tr1=no
29960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29964 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
29965 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
29966 if test x"$ac_c99_ctype_tr1" = x"yes"; then
29968 cat >>confdefs.h <<\_ACEOF
29969 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
29970 _ACEOF
29974 # Check for the existence of <fenv.h> functions.
29976 for ac_header in fenv.h
29978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29980 echo "$as_me:$LINENO: checking for $ac_header" >&5
29981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29983 echo $ECHO_N "(cached) $ECHO_C" >&6
29985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29987 else
29988 # Is the header compilable?
29989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29991 cat >conftest.$ac_ext <<_ACEOF
29992 /* confdefs.h. */
29993 _ACEOF
29994 cat confdefs.h >>conftest.$ac_ext
29995 cat >>conftest.$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29997 $ac_includes_default
29998 #include <$ac_header>
29999 _ACEOF
30000 rm -f conftest.$ac_objext
30001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30002 (eval $ac_compile) 2>conftest.er1
30003 ac_status=$?
30004 grep -v '^ *+' conftest.er1 >conftest.err
30005 rm -f conftest.er1
30006 cat conftest.err >&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } &&
30009 { ac_try='test -z "$ac_cxx_werror_flag"
30010 || test ! -s conftest.err'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30013 ac_status=$?
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; } &&
30016 { ac_try='test -s conftest.$ac_objext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30019 ac_status=$?
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30022 ac_header_compiler=yes
30023 else
30024 echo "$as_me: failed program was:" >&5
30025 sed 's/^/| /' conftest.$ac_ext >&5
30027 ac_header_compiler=no
30029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30031 echo "${ECHO_T}$ac_header_compiler" >&6
30033 # Is the header present?
30034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30036 cat >conftest.$ac_ext <<_ACEOF
30037 /* confdefs.h. */
30038 _ACEOF
30039 cat confdefs.h >>conftest.$ac_ext
30040 cat >>conftest.$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 #include <$ac_header>
30043 _ACEOF
30044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30046 ac_status=$?
30047 grep -v '^ *+' conftest.er1 >conftest.err
30048 rm -f conftest.er1
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } >/dev/null; then
30052 if test -s conftest.err; then
30053 ac_cpp_err=$ac_cxx_preproc_warn_flag
30054 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30055 else
30056 ac_cpp_err=
30058 else
30059 ac_cpp_err=yes
30061 if test -z "$ac_cpp_err"; then
30062 ac_header_preproc=yes
30063 else
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30067 ac_header_preproc=no
30069 rm -f conftest.err conftest.$ac_ext
30070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30071 echo "${ECHO_T}$ac_header_preproc" >&6
30073 # So? What about this header?
30074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30075 yes:no: )
30076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30080 ac_header_preproc=yes
30082 no:yes:* )
30083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30096 cat <<\_ASBOX
30097 ## ----------------------------------------- ##
30098 ## Report this to the package-unused lists. ##
30099 ## ----------------------------------------- ##
30100 _ASBOX
30102 sed "s/^/$as_me: WARNING: /" >&2
30104 esac
30105 echo "$as_me:$LINENO: checking for $ac_header" >&5
30106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 else
30110 eval "$as_ac_Header=\$ac_header_preproc"
30112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30117 cat >>confdefs.h <<_ACEOF
30118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30119 _ACEOF
30120 ac_has_fenv_h=yes
30121 else
30122 ac_has_fenv_h=no
30125 done
30127 ac_c99_fenv_tr1=no;
30128 if test x"$ac_has_fenv_h" = x"yes"; then
30129 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30130 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30131 cat >conftest.$ac_ext <<_ACEOF
30132 /* confdefs.h. */
30133 _ACEOF
30134 cat confdefs.h >>conftest.$ac_ext
30135 cat >>conftest.$ac_ext <<_ACEOF
30136 /* end confdefs.h. */
30137 #include <fenv.h>
30139 main ()
30141 int except, mode;
30142 fexcept_t* pflag;
30143 fenv_t* penv;
30144 int ret;
30145 ret = feclearexcept(except);
30146 ret = fegetexceptflag(pflag, except);
30147 ret = feraiseexcept(except);
30148 ret = fesetexceptflag(pflag, except);
30149 ret = fetestexcept(except);
30150 ret = fegetround();
30151 ret = fesetround(mode);
30152 ret = fegetenv(penv);
30153 ret = feholdexcept(penv);
30154 ret = fesetenv(penv);
30155 ret = feupdateenv(penv);
30158 return 0;
30160 _ACEOF
30161 rm -f conftest.$ac_objext
30162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30163 (eval $ac_compile) 2>conftest.er1
30164 ac_status=$?
30165 grep -v '^ *+' conftest.er1 >conftest.err
30166 rm -f conftest.er1
30167 cat conftest.err >&5
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); } &&
30170 { ac_try='test -z "$ac_cxx_werror_flag"
30171 || test ! -s conftest.err'
30172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30173 (eval $ac_try) 2>&5
30174 ac_status=$?
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; } &&
30177 { ac_try='test -s conftest.$ac_objext'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30180 ac_status=$?
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; }; then
30183 ac_c99_fenv_tr1=yes
30184 else
30185 echo "$as_me: failed program was:" >&5
30186 sed 's/^/| /' conftest.$ac_ext >&5
30188 ac_c99_fenv_tr1=no
30190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30192 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30193 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30194 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30196 cat >>confdefs.h <<\_ACEOF
30197 #define _GLIBCXX_USE_C99_FENV_TR1 1
30198 _ACEOF
30202 # Check for the existence of <stdint.h> types.
30203 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30204 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30205 if test "${ac_c99_stdint_tr1+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 else
30209 cat >conftest.$ac_ext <<_ACEOF
30210 /* confdefs.h. */
30211 _ACEOF
30212 cat confdefs.h >>conftest.$ac_ext
30213 cat >>conftest.$ac_ext <<_ACEOF
30214 /* end confdefs.h. */
30215 #include <stdint.h>
30217 main ()
30219 typedef int8_t my_int8_t;
30220 typedef int16_t my_int16_t;
30221 typedef int32_t my_int32_t;
30222 typedef int64_t my_int64_t;
30223 typedef int_fast8_t my_int_fast8_t;
30224 typedef int_fast16_t my_int_fast16_t;
30225 typedef int_fast32_t my_int_fast32_t;
30226 typedef int_fast64_t my_int_fast64_t;
30227 typedef int_least8_t my_int_least8_t;
30228 typedef int_least16_t my_int_least16_t;
30229 typedef int_least32_t my_int_least32_t;
30230 typedef int_least64_t my_int_least64_t;
30231 typedef intmax_t my_intmax_t;
30232 typedef intptr_t my_intptr_t;
30233 typedef uint8_t my_uint8_t;
30234 typedef uint16_t my_uint16_t;
30235 typedef uint32_t my_uint32_t;
30236 typedef uint64_t my_uint64_t;
30237 typedef uint_fast8_t my_uint_fast8_t;
30238 typedef uint_fast16_t my_uint_fast16_t;
30239 typedef uint_fast32_t my_uint_fast32_t;
30240 typedef uint_fast64_t my_uint_fast64_t;
30241 typedef uint_least8_t my_uint_least8_t;
30242 typedef uint_least16_t my_uint_least16_t;
30243 typedef uint_least32_t my_uint_least32_t;
30244 typedef uint_least64_t my_uint_least64_t;
30245 typedef uintmax_t my_uintmax_t;
30246 typedef uintptr_t my_uintptr_t;
30249 return 0;
30251 _ACEOF
30252 rm -f conftest.$ac_objext
30253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30254 (eval $ac_compile) 2>conftest.er1
30255 ac_status=$?
30256 grep -v '^ *+' conftest.er1 >conftest.err
30257 rm -f conftest.er1
30258 cat conftest.err >&5
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); } &&
30261 { ac_try='test -z "$ac_cxx_werror_flag"
30262 || test ! -s conftest.err'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30265 ac_status=$?
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; } &&
30268 { ac_try='test -s conftest.$ac_objext'
30269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270 (eval $ac_try) 2>&5
30271 ac_status=$?
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; }; then
30274 ac_c99_stdint_tr1=yes
30275 else
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30279 ac_c99_stdint_tr1=no
30281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30285 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30286 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30287 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30289 cat >>confdefs.h <<\_ACEOF
30290 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30291 _ACEOF
30295 # Check for the existence of <math.h> functions.
30296 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30297 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30298 if test "${ac_c99_math_tr1+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30302 cat >conftest.$ac_ext <<_ACEOF
30303 /* confdefs.h. */
30304 _ACEOF
30305 cat confdefs.h >>conftest.$ac_ext
30306 cat >>conftest.$ac_ext <<_ACEOF
30307 /* end confdefs.h. */
30308 #include <math.h>
30310 main ()
30312 typedef double_t my_double_t;
30313 typedef float_t my_float_t;
30314 acosh(0.0);
30315 acoshf(0.0f);
30316 acoshl(0.0l);
30317 asinh(0.0);
30318 asinhf(0.0f);
30319 asinhl(0.0l);
30320 atanh(0.0);
30321 atanhf(0.0f);
30322 atanhl(0.0l);
30323 cbrt(0.0);
30324 cbrtf(0.0f);
30325 cbrtl(0.0l);
30326 copysign(0.0, 0.0);
30327 copysignf(0.0f, 0.0f);
30328 copysignl(0.0l, 0.0l);
30329 erf(0.0);
30330 erff(0.0f);
30331 erfl(0.0l);
30332 erfc(0.0);
30333 erfcf(0.0f);
30334 erfcl(0.0l);
30335 exp2(0.0);
30336 exp2f(0.0f);
30337 exp2l(0.0l);
30338 expm1(0.0);
30339 expm1f(0.0f);
30340 expm1l(0.0l);
30341 fdim(0.0, 0.0);
30342 fdimf(0.0f, 0.0f);
30343 fdiml(0.0l, 0.0l);
30344 fma(0.0, 0.0, 0.0);
30345 fmaf(0.0f, 0.0f, 0.0f);
30346 fmal(0.0l, 0.0l, 0.0l);
30347 fmax(0.0, 0.0);
30348 fmaxf(0.0f, 0.0f);
30349 fmaxl(0.0l, 0.0l);
30350 fmin(0.0, 0.0);
30351 fminf(0.0f, 0.0f);
30352 fminl(0.0l, 0.0l);
30353 hypot(0.0, 0.0);
30354 hypotf(0.0f, 0.0f);
30355 hypotl(0.0l, 0.0l);
30356 ilogb(0.0);
30357 ilogbf(0.0f);
30358 ilogbl(0.0l);
30359 lgamma(0.0);
30360 lgammaf(0.0f);
30361 lgammal(0.0l);
30362 llrint(0.0);
30363 llrintf(0.0f);
30364 llrintl(0.0l);
30365 llround(0.0);
30366 llroundf(0.0f);
30367 llroundl(0.0l);
30368 log1p(0.0);
30369 log1pf(0.0f);
30370 log1pl(0.0l);
30371 log2(0.0);
30372 log2f(0.0f);
30373 log2l(0.0l);
30374 logb(0.0);
30375 logbf(0.0f);
30376 logbl(0.0l);
30377 lrint(0.0);
30378 lrintf(0.0f);
30379 lrintl(0.0l);
30380 lround(0.0);
30381 lroundf(0.0f);
30382 lroundl(0.0l);
30383 nan(0);
30384 nanf(0);
30385 nanl(0);
30386 nearbyint(0.0);
30387 nearbyintf(0.0f);
30388 nearbyintl(0.0l);
30389 nextafter(0.0, 0.0);
30390 nextafterf(0.0f, 0.0f);
30391 nextafterl(0.0l, 0.0l);
30392 nexttoward(0.0, 0.0);
30393 nexttowardf(0.0f, 0.0f);
30394 nexttowardl(0.0l, 0.0l);
30395 remainder(0.0, 0.0);
30396 remainderf(0.0f, 0.0f);
30397 remainderl(0.0l, 0.0l);
30398 remquo(0.0, 0.0, 0);
30399 remquo(0.0f, 0.0f, 0);
30400 remquo(0.0l, 0.0l, 0);
30401 rint(0.0);
30402 rintf(0.0f);
30403 rintl(0.0l);
30404 round(0.0);
30405 roundf(0.0f);
30406 roundl(0.0l);
30407 scalbln(0.0, 0l);
30408 scalblnf(0.0f, 0l);
30409 scalblnl(0.0l, 0l);
30410 scalbn(0.0, 0);
30411 scalbnf(0.0f, 0);
30412 scalbnl(0.0l, 0);
30413 tgamma(0.0);
30414 tgammaf(0.0f);
30415 tgammal(0.0l);
30416 trunc(0.0);
30417 truncf(0.0f);
30418 truncl(0.0l);
30421 return 0;
30423 _ACEOF
30424 rm -f conftest.$ac_objext
30425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30426 (eval $ac_compile) 2>conftest.er1
30427 ac_status=$?
30428 grep -v '^ *+' conftest.er1 >conftest.err
30429 rm -f conftest.er1
30430 cat conftest.err >&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); } &&
30433 { ac_try='test -z "$ac_cxx_werror_flag"
30434 || test ! -s conftest.err'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; } &&
30440 { ac_try='test -s conftest.$ac_objext'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; }; then
30446 ac_c99_math_tr1=yes
30447 else
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30451 ac_c99_math_tr1=no
30453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30457 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30458 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30459 if test x"$ac_c99_math_tr1" = x"yes"; then
30461 cat >>confdefs.h <<\_ACEOF
30462 #define _GLIBCXX_USE_C99_MATH_TR1 1
30463 _ACEOF
30467 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30468 # sense if the previous check fails, per C99, 7.8/1).
30469 ac_c99_inttypes_tr1=no;
30470 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30471 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30472 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30473 cat >conftest.$ac_ext <<_ACEOF
30474 /* confdefs.h. */
30475 _ACEOF
30476 cat confdefs.h >>conftest.$ac_ext
30477 cat >>conftest.$ac_ext <<_ACEOF
30478 /* end confdefs.h. */
30479 #include <inttypes.h>
30481 main ()
30483 intmax_t i, numer, denom, base;
30484 const char* s;
30485 char** endptr;
30486 intmax_t ret = imaxabs(i);
30487 imaxdiv_t dret = imaxdiv(numer, denom);
30488 ret = strtoimax(s, endptr, base);
30489 uintmax_t uret = strtoumax(s, endptr, base);
30492 return 0;
30494 _ACEOF
30495 rm -f conftest.$ac_objext
30496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30497 (eval $ac_compile) 2>conftest.er1
30498 ac_status=$?
30499 grep -v '^ *+' conftest.er1 >conftest.err
30500 rm -f conftest.er1
30501 cat conftest.err >&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); } &&
30504 { ac_try='test -z "$ac_cxx_werror_flag"
30505 || test ! -s conftest.err'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; } &&
30511 { ac_try='test -s conftest.$ac_objext'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30514 ac_status=$?
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; }; then
30517 ac_c99_inttypes_tr1=yes
30518 else
30519 echo "$as_me: failed program was:" >&5
30520 sed 's/^/| /' conftest.$ac_ext >&5
30522 ac_c99_inttypes_tr1=no
30524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30526 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30527 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30528 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30530 cat >>confdefs.h <<\_ACEOF
30531 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30532 _ACEOF
30536 # Check for the existence of the <stdbool.h> header.
30538 for ac_header in stdbool.h
30540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30542 echo "$as_me:$LINENO: checking for $ac_header" >&5
30543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30545 echo $ECHO_N "(cached) $ECHO_C" >&6
30547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30549 else
30550 # Is the header compilable?
30551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30553 cat >conftest.$ac_ext <<_ACEOF
30554 /* confdefs.h. */
30555 _ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 cat >>conftest.$ac_ext <<_ACEOF
30558 /* end confdefs.h. */
30559 $ac_includes_default
30560 #include <$ac_header>
30561 _ACEOF
30562 rm -f conftest.$ac_objext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30564 (eval $ac_compile) 2>conftest.er1
30565 ac_status=$?
30566 grep -v '^ *+' conftest.er1 >conftest.err
30567 rm -f conftest.er1
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try='test -z "$ac_cxx_werror_flag"
30572 || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30575 ac_status=$?
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 ac_header_compiler=yes
30585 else
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30589 ac_header_compiler=no
30591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30593 echo "${ECHO_T}$ac_header_compiler" >&6
30595 # Is the header present?
30596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30598 cat >conftest.$ac_ext <<_ACEOF
30599 /* confdefs.h. */
30600 _ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30604 #include <$ac_header>
30605 _ACEOF
30606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30608 ac_status=$?
30609 grep -v '^ *+' conftest.er1 >conftest.err
30610 rm -f conftest.er1
30611 cat conftest.err >&5
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); } >/dev/null; then
30614 if test -s conftest.err; then
30615 ac_cpp_err=$ac_cxx_preproc_warn_flag
30616 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30617 else
30618 ac_cpp_err=
30620 else
30621 ac_cpp_err=yes
30623 if test -z "$ac_cpp_err"; then
30624 ac_header_preproc=yes
30625 else
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30629 ac_header_preproc=no
30631 rm -f conftest.err conftest.$ac_ext
30632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30633 echo "${ECHO_T}$ac_header_preproc" >&6
30635 # So? What about this header?
30636 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30637 yes:no: )
30638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30641 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30642 ac_header_preproc=yes
30644 no:yes:* )
30645 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30646 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30647 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30648 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30649 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30650 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30651 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30652 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30655 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30656 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30658 cat <<\_ASBOX
30659 ## ----------------------------------------- ##
30660 ## Report this to the package-unused lists. ##
30661 ## ----------------------------------------- ##
30662 _ASBOX
30664 sed "s/^/$as_me: WARNING: /" >&2
30666 esac
30667 echo "$as_me:$LINENO: checking for $ac_header" >&5
30668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30670 echo $ECHO_N "(cached) $ECHO_C" >&6
30671 else
30672 eval "$as_ac_Header=\$ac_header_preproc"
30674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30679 cat >>confdefs.h <<_ACEOF
30680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30681 _ACEOF
30685 done
30688 ac_ext=c
30689 ac_cpp='$CPP $CPPFLAGS'
30690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30696 # For dev/random and dev/urandom for TR1.
30699 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
30700 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
30701 if test "${ac_random_tr1+set}" = set; then
30702 echo $ECHO_N "(cached) $ECHO_C" >&6
30703 else
30705 if test "$cross_compiling" = yes; then
30706 ac_random_tr1=no
30707 else
30708 cat >conftest.$ac_ext <<_ACEOF
30709 /* confdefs.h. */
30710 _ACEOF
30711 cat confdefs.h >>conftest.$ac_ext
30712 cat >>conftest.$ac_ext <<_ACEOF
30713 /* end confdefs.h. */
30714 #include <stdio.h>
30715 int main()
30717 return !(fopen("/dev/random", "r")
30718 && fopen("/dev/urandom", "r"));
30721 _ACEOF
30722 rm -f conftest$ac_exeext
30723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30724 (eval $ac_link) 2>&5
30725 ac_status=$?
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733 ac_random_tr1=yes
30734 else
30735 echo "$as_me: program exited with status $ac_status" >&5
30736 echo "$as_me: failed program was:" >&5
30737 sed 's/^/| /' conftest.$ac_ext >&5
30739 ( exit $ac_status )
30740 ac_random_tr1=no
30742 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30747 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
30748 echo "${ECHO_T}$ac_random_tr1" >&6
30749 if test x"$ac_random_tr1" = x"yes"; then
30751 cat >>confdefs.h <<\_ACEOF
30752 #define _GLIBCXX_USE_RANDOM_TR1 1
30753 _ACEOF
30759 # For TLS support.
30761 # Check whether --enable-tls or --disable-tls was given.
30762 if test "${enable_tls+set}" = set; then
30763 enableval="$enable_tls"
30765 case "$enableval" in
30766 yes|no) ;;
30767 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30768 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30769 { (exit 1); exit 1; }; } ;;
30770 esac
30772 else
30773 enable_tls=yes
30776 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30777 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30778 if test "${have_tls+set}" = set; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 else
30782 if test "$cross_compiling" = yes; then
30783 if test x$gcc_no_link = xyes; then
30784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30786 { (exit 1); exit 1; }; }
30788 cat >conftest.$ac_ext <<_ACEOF
30789 __thread int a; int b; int main() { return a = b; }
30790 _ACEOF
30791 rm -f conftest.$ac_objext conftest$ac_exeext
30792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30793 (eval $ac_link) 2>conftest.er1
30794 ac_status=$?
30795 grep -v '^ *+' conftest.er1 >conftest.err
30796 rm -f conftest.er1
30797 cat conftest.err >&5
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); } &&
30800 { ac_try='test -z "$ac_c_werror_flag"
30801 || test ! -s conftest.err'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30804 ac_status=$?
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; } &&
30807 { ac_try='test -s conftest$ac_exeext'
30808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30809 (eval $ac_try) 2>&5
30810 ac_status=$?
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); }; }; then
30813 have_tls=yes
30814 else
30815 echo "$as_me: failed program was:" >&5
30816 sed 's/^/| /' conftest.$ac_ext >&5
30818 have_tls=no
30820 rm -f conftest.err conftest.$ac_objext \
30821 conftest$ac_exeext conftest.$ac_ext
30824 else
30825 cat >conftest.$ac_ext <<_ACEOF
30826 __thread int a; int b; int main() { return a = b; }
30827 _ACEOF
30828 rm -f conftest$ac_exeext
30829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30830 (eval $ac_link) 2>&5
30831 ac_status=$?
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30836 ac_status=$?
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30839 chktls_save_LDFLAGS="$LDFLAGS"
30840 LDFLAGS="-static $LDFLAGS"
30841 if test x$gcc_no_link = xyes; then
30842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30844 { (exit 1); exit 1; }; }
30846 cat >conftest.$ac_ext <<_ACEOF
30847 int main() { return 0; }
30848 _ACEOF
30849 rm -f conftest.$ac_objext conftest$ac_exeext
30850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30851 (eval $ac_link) 2>conftest.er1
30852 ac_status=$?
30853 grep -v '^ *+' conftest.er1 >conftest.err
30854 rm -f conftest.er1
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } &&
30858 { ac_try='test -z "$ac_c_werror_flag"
30859 || test ! -s conftest.err'
30860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30862 ac_status=$?
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; } &&
30865 { ac_try='test -s conftest$ac_exeext'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30868 ac_status=$?
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; }; then
30871 if test "$cross_compiling" = yes; then
30872 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30873 See \`config.log' for more details." >&5
30874 echo "$as_me: error: cannot run test program while cross compiling
30875 See \`config.log' for more details." >&2;}
30876 { (exit 1); exit 1; }; }
30877 else
30878 cat >conftest.$ac_ext <<_ACEOF
30879 __thread int a; int b; int main() { return a = b; }
30880 _ACEOF
30881 rm -f conftest$ac_exeext
30882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30883 (eval $ac_link) 2>&5
30884 ac_status=$?
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30889 ac_status=$?
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; }; then
30892 have_tls=yes
30893 else
30894 echo "$as_me: program exited with status $ac_status" >&5
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.$ac_ext >&5
30898 ( exit $ac_status )
30899 have_tls=no
30901 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30903 else
30904 echo "$as_me: failed program was:" >&5
30905 sed 's/^/| /' conftest.$ac_ext >&5
30907 have_tls=yes
30909 rm -f conftest.err conftest.$ac_objext \
30910 conftest$ac_exeext conftest.$ac_ext
30911 LDFLAGS="$chktls_save_LDFLAGS"
30912 if test $have_tls = yes; then
30913 chktls_save_CFLAGS="$CFLAGS"
30914 thread_CFLAGS=failed
30915 for flag in '' '-pthread' '-lpthread'; do
30916 CFLAGS="$flag $chktls_save_CFLAGS"
30917 if test x$gcc_no_link = xyes; then
30918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30920 { (exit 1); exit 1; }; }
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928 #include <pthread.h>
30929 void *g(void *d) { return NULL; }
30931 main ()
30933 pthread_t t; pthread_create(&t,NULL,g,NULL);
30935 return 0;
30937 _ACEOF
30938 rm -f conftest.$ac_objext conftest$ac_exeext
30939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30940 (eval $ac_link) 2>conftest.er1
30941 ac_status=$?
30942 grep -v '^ *+' conftest.er1 >conftest.err
30943 rm -f conftest.er1
30944 cat conftest.err >&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); } &&
30947 { ac_try='test -z "$ac_c_werror_flag"
30948 || test ! -s conftest.err'
30949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30950 (eval $ac_try) 2>&5
30951 ac_status=$?
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); }; } &&
30954 { ac_try='test -s conftest$ac_exeext'
30955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30956 (eval $ac_try) 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; }; then
30960 thread_CFLAGS="$flag"
30961 else
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.$ac_ext >&5
30966 rm -f conftest.err conftest.$ac_objext \
30967 conftest$ac_exeext conftest.$ac_ext
30968 if test "X$thread_CFLAGS" != Xfailed; then
30969 break
30971 done
30972 CFLAGS="$chktls_save_CFLAGS"
30973 if test "X$thread_CFLAGS" != Xfailed; then
30974 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
30975 if test "$cross_compiling" = yes; then
30976 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30977 See \`config.log' for more details." >&5
30978 echo "$as_me: error: cannot run test program while cross compiling
30979 See \`config.log' for more details." >&2;}
30980 { (exit 1); exit 1; }; }
30981 else
30982 cat >conftest.$ac_ext <<_ACEOF
30983 /* confdefs.h. */
30984 _ACEOF
30985 cat confdefs.h >>conftest.$ac_ext
30986 cat >>conftest.$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988 #include <pthread.h>
30989 __thread int a;
30990 static int *a_in_other_thread;
30991 static void *
30992 thread_func (void *arg)
30994 a_in_other_thread = &a;
30995 return (void *)0;
30998 main ()
31000 pthread_t thread;
31001 void *thread_retval;
31002 int *a_in_main_thread;
31003 if (pthread_create (&thread, (pthread_attr_t *)0,
31004 thread_func, (void *)0))
31005 return 0;
31006 a_in_main_thread = &a;
31007 if (pthread_join (thread, &thread_retval))
31008 return 0;
31009 return (a_in_other_thread == a_in_main_thread);
31011 return 0;
31013 _ACEOF
31014 rm -f conftest$ac_exeext
31015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31016 (eval $ac_link) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31022 ac_status=$?
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; }; then
31025 have_tls=yes
31026 else
31027 echo "$as_me: program exited with status $ac_status" >&5
31028 echo "$as_me: failed program was:" >&5
31029 sed 's/^/| /' conftest.$ac_ext >&5
31031 ( exit $ac_status )
31032 have_tls=no
31034 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31036 CFLAGS="$chktls_save_CFLAGS"
31039 else
31040 echo "$as_me: program exited with status $ac_status" >&5
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31044 ( exit $ac_status )
31045 have_tls=no
31047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31050 echo "$as_me:$LINENO: result: $have_tls" >&5
31051 echo "${ECHO_T}$have_tls" >&6
31052 if test "$enable_tls $have_tls" = "yes yes"; then
31054 cat >>confdefs.h <<\_ACEOF
31055 #define HAVE_TLS 1
31056 _ACEOF
31060 # For _Unwind_GetIPInfo.
31064 ac_ext=cc
31065 ac_cpp='$CXXCPP $CPPFLAGS'
31066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31070 ac_save_CXXFLAGS="$CXXFLAGS"
31071 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31072 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31073 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31074 if test "${gcc_cv_getipinfo+set}" = set; then
31075 echo $ECHO_N "(cached) $ECHO_C" >&6
31076 else
31078 if test x$gcc_no_link = xyes; then
31079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31081 { (exit 1); exit 1; }; }
31083 cat >conftest.$ac_ext <<_ACEOF
31084 /* confdefs.h. */
31085 _ACEOF
31086 cat confdefs.h >>conftest.$ac_ext
31087 cat >>conftest.$ac_ext <<_ACEOF
31088 /* end confdefs.h. */
31089 extern "C" { extern void _Unwind_GetIPInfo(); }
31091 main ()
31093 _Unwind_GetIPInfo();
31095 return 0;
31097 _ACEOF
31098 rm -f conftest.$ac_objext conftest$ac_exeext
31099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31100 (eval $ac_link) 2>conftest.er1
31101 ac_status=$?
31102 grep -v '^ *+' conftest.er1 >conftest.err
31103 rm -f conftest.er1
31104 cat conftest.err >&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } &&
31107 { ac_try='test -z "$ac_cxx_werror_flag"
31108 || test ! -s conftest.err'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; } &&
31114 { ac_try='test -s conftest$ac_exeext'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31117 ac_status=$?
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; }; then
31120 gcc_cv_getipinfo=yes
31121 else
31122 echo "$as_me: failed program was:" >&5
31123 sed 's/^/| /' conftest.$ac_ext >&5
31125 gcc_cv_getipinfo=no
31127 rm -f conftest.err conftest.$ac_objext \
31128 conftest$ac_exeext conftest.$ac_ext
31132 if test $gcc_cv_getipinfo = yes; then
31134 cat >>confdefs.h <<\_ACEOF
31135 #define HAVE_GETIPINFO 1
31136 _ACEOF
31139 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31140 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31141 CXXFLAGS="$ac_save_CXXFLAGS"
31142 ac_ext=c
31143 ac_cpp='$CPP $CPPFLAGS'
31144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31151 if test "${ac_cv_header_locale_h+set}" = set; then
31152 echo "$as_me:$LINENO: checking for locale.h" >&5
31153 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31154 if test "${ac_cv_header_locale_h+set}" = set; then
31155 echo $ECHO_N "(cached) $ECHO_C" >&6
31157 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31158 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31159 else
31160 # Is the header compilable?
31161 echo "$as_me:$LINENO: checking locale.h usability" >&5
31162 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31163 cat >conftest.$ac_ext <<_ACEOF
31164 /* confdefs.h. */
31165 _ACEOF
31166 cat confdefs.h >>conftest.$ac_ext
31167 cat >>conftest.$ac_ext <<_ACEOF
31168 /* end confdefs.h. */
31169 $ac_includes_default
31170 #include <locale.h>
31171 _ACEOF
31172 rm -f conftest.$ac_objext
31173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31174 (eval $ac_compile) 2>conftest.er1
31175 ac_status=$?
31176 grep -v '^ *+' conftest.er1 >conftest.err
31177 rm -f conftest.er1
31178 cat conftest.err >&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } &&
31181 { ac_try='test -z "$ac_c_werror_flag"
31182 || test ! -s conftest.err'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; } &&
31188 { ac_try='test -s conftest.$ac_objext'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31191 ac_status=$?
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; }; then
31194 ac_header_compiler=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31199 ac_header_compiler=no
31201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31203 echo "${ECHO_T}$ac_header_compiler" >&6
31205 # Is the header present?
31206 echo "$as_me:$LINENO: checking locale.h presence" >&5
31207 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31208 cat >conftest.$ac_ext <<_ACEOF
31209 /* confdefs.h. */
31210 _ACEOF
31211 cat confdefs.h >>conftest.$ac_ext
31212 cat >>conftest.$ac_ext <<_ACEOF
31213 /* end confdefs.h. */
31214 #include <locale.h>
31215 _ACEOF
31216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31218 ac_status=$?
31219 grep -v '^ *+' conftest.er1 >conftest.err
31220 rm -f conftest.er1
31221 cat conftest.err >&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } >/dev/null; then
31224 if test -s conftest.err; then
31225 ac_cpp_err=$ac_c_preproc_warn_flag
31226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31227 else
31228 ac_cpp_err=
31230 else
31231 ac_cpp_err=yes
31233 if test -z "$ac_cpp_err"; then
31234 ac_header_preproc=yes
31235 else
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.$ac_ext >&5
31239 ac_header_preproc=no
31241 rm -f conftest.err conftest.$ac_ext
31242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31243 echo "${ECHO_T}$ac_header_preproc" >&6
31245 # So? What about this header?
31246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31247 yes:no: )
31248 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31249 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31250 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31251 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31252 ac_header_preproc=yes
31254 no:yes:* )
31255 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31256 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31257 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31258 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31259 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31260 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31261 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31262 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31263 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31264 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31265 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31266 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31268 cat <<\_ASBOX
31269 ## ----------------------------------------- ##
31270 ## Report this to the package-unused lists. ##
31271 ## ----------------------------------------- ##
31272 _ASBOX
31274 sed "s/^/$as_me: WARNING: /" >&2
31276 esac
31277 echo "$as_me:$LINENO: checking for locale.h" >&5
31278 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31279 if test "${ac_cv_header_locale_h+set}" = set; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 else
31282 ac_cv_header_locale_h=$ac_header_preproc
31284 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31285 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31288 if test $ac_cv_header_locale_h = yes; then
31290 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31291 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31292 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 if test x$gcc_no_link = xyes; then
31296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31298 { (exit 1); exit 1; }; }
31300 cat >conftest.$ac_ext <<_ACEOF
31301 /* confdefs.h. */
31302 _ACEOF
31303 cat confdefs.h >>conftest.$ac_ext
31304 cat >>conftest.$ac_ext <<_ACEOF
31305 /* end confdefs.h. */
31306 #include <locale.h>
31308 main ()
31310 return LC_MESSAGES
31312 return 0;
31314 _ACEOF
31315 rm -f conftest.$ac_objext conftest$ac_exeext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31317 (eval $ac_link) 2>conftest.er1
31318 ac_status=$?
31319 grep -v '^ *+' conftest.er1 >conftest.err
31320 rm -f conftest.er1
31321 cat conftest.err >&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try='test -z "$ac_c_werror_flag"
31325 || test ! -s conftest.err'
31326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327 (eval $ac_try) 2>&5
31328 ac_status=$?
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); }; } &&
31331 { ac_try='test -s conftest$ac_exeext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 ac_cv_val_LC_MESSAGES=yes
31338 else
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.$ac_ext >&5
31342 ac_cv_val_LC_MESSAGES=no
31344 rm -f conftest.err conftest.$ac_objext \
31345 conftest$ac_exeext conftest.$ac_ext
31347 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31348 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31349 if test $ac_cv_val_LC_MESSAGES = yes; then
31351 cat >>confdefs.h <<\_ACEOF
31352 #define HAVE_LC_MESSAGES 1
31353 _ACEOF
31362 cat >conftest.$ac_ext <<_ACEOF
31363 /* confdefs.h. */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31368 #include <setjmp.h>
31370 main ()
31372 sigjmp_buf env;
31373 while (! sigsetjmp (env, 1))
31374 siglongjmp (env, 1);
31377 return 0;
31379 _ACEOF
31380 rm -f conftest.$ac_objext
31381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31382 (eval $ac_compile) 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } &&
31389 { ac_try='test -z "$ac_c_werror_flag"
31390 || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try='test -s conftest.$ac_objext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31403 cat >>confdefs.h <<\_ACEOF
31404 #define HAVE_SIGSETJMP 1
31405 _ACEOF
31407 else
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.$ac_ext >&5
31412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31414 if test x$gcc_no_link = xyes; then
31415 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31416 ac_cv_func_mmap_fixed_mapped=no
31419 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31422 for ac_header in stdlib.h unistd.h
31424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31426 echo "$as_me:$LINENO: checking for $ac_header" >&5
31427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31429 echo $ECHO_N "(cached) $ECHO_C" >&6
31431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31433 else
31434 # Is the header compilable?
31435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31437 cat >conftest.$ac_ext <<_ACEOF
31438 /* confdefs.h. */
31439 _ACEOF
31440 cat confdefs.h >>conftest.$ac_ext
31441 cat >>conftest.$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31443 $ac_includes_default
31444 #include <$ac_header>
31445 _ACEOF
31446 rm -f conftest.$ac_objext
31447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31448 (eval $ac_compile) 2>conftest.er1
31449 ac_status=$?
31450 grep -v '^ *+' conftest.er1 >conftest.err
31451 rm -f conftest.er1
31452 cat conftest.err >&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); } &&
31455 { ac_try='test -z "$ac_c_werror_flag"
31456 || test ! -s conftest.err'
31457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31458 (eval $ac_try) 2>&5
31459 ac_status=$?
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); }; } &&
31462 { ac_try='test -s conftest.$ac_objext'
31463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31464 (eval $ac_try) 2>&5
31465 ac_status=$?
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); }; }; then
31468 ac_header_compiler=yes
31469 else
31470 echo "$as_me: failed program was:" >&5
31471 sed 's/^/| /' conftest.$ac_ext >&5
31473 ac_header_compiler=no
31475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31477 echo "${ECHO_T}$ac_header_compiler" >&6
31479 # Is the header present?
31480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31482 cat >conftest.$ac_ext <<_ACEOF
31483 /* confdefs.h. */
31484 _ACEOF
31485 cat confdefs.h >>conftest.$ac_ext
31486 cat >>conftest.$ac_ext <<_ACEOF
31487 /* end confdefs.h. */
31488 #include <$ac_header>
31489 _ACEOF
31490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31491 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31492 ac_status=$?
31493 grep -v '^ *+' conftest.er1 >conftest.err
31494 rm -f conftest.er1
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } >/dev/null; then
31498 if test -s conftest.err; then
31499 ac_cpp_err=$ac_c_preproc_warn_flag
31500 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31501 else
31502 ac_cpp_err=
31504 else
31505 ac_cpp_err=yes
31507 if test -z "$ac_cpp_err"; then
31508 ac_header_preproc=yes
31509 else
31510 echo "$as_me: failed program was:" >&5
31511 sed 's/^/| /' conftest.$ac_ext >&5
31513 ac_header_preproc=no
31515 rm -f conftest.err conftest.$ac_ext
31516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31517 echo "${ECHO_T}$ac_header_preproc" >&6
31519 # So? What about this header?
31520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31521 yes:no: )
31522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31526 ac_header_preproc=yes
31528 no:yes:* )
31529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31542 cat <<\_ASBOX
31543 ## ----------------------------------------- ##
31544 ## Report this to the package-unused lists. ##
31545 ## ----------------------------------------- ##
31546 _ASBOX
31548 sed "s/^/$as_me: WARNING: /" >&2
31550 esac
31551 echo "$as_me:$LINENO: checking for $ac_header" >&5
31552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31554 echo $ECHO_N "(cached) $ECHO_C" >&6
31555 else
31556 eval "$as_ac_Header=\$ac_header_preproc"
31558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31563 cat >>confdefs.h <<_ACEOF
31564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31565 _ACEOF
31569 done
31572 for ac_func in getpagesize
31574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31575 echo "$as_me:$LINENO: checking for $ac_func" >&5
31576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31577 if eval "test \"\${$as_ac_var+set}\" = set"; then
31578 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 else
31580 if test x$gcc_no_link = xyes; then
31581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31583 { (exit 1); exit 1; }; }
31585 cat >conftest.$ac_ext <<_ACEOF
31586 /* confdefs.h. */
31587 _ACEOF
31588 cat confdefs.h >>conftest.$ac_ext
31589 cat >>conftest.$ac_ext <<_ACEOF
31590 /* end confdefs.h. */
31591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31593 #define $ac_func innocuous_$ac_func
31595 /* System header to define __stub macros and hopefully few prototypes,
31596 which can conflict with char $ac_func (); below.
31597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31598 <limits.h> exists even on freestanding compilers. */
31600 #ifdef __STDC__
31601 # include <limits.h>
31602 #else
31603 # include <assert.h>
31604 #endif
31606 #undef $ac_func
31608 /* Override any gcc2 internal prototype to avoid an error. */
31609 #ifdef __cplusplus
31610 extern "C"
31612 #endif
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31615 char $ac_func ();
31616 /* The GNU C library defines this for functions which it implements
31617 to always fail with ENOSYS. Some functions are actually named
31618 something starting with __ and the normal name is an alias. */
31619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31620 choke me
31621 #else
31622 char (*f) () = $ac_func;
31623 #endif
31624 #ifdef __cplusplus
31626 #endif
31629 main ()
31631 return f != $ac_func;
31633 return 0;
31635 _ACEOF
31636 rm -f conftest.$ac_objext conftest$ac_exeext
31637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31638 (eval $ac_link) 2>conftest.er1
31639 ac_status=$?
31640 grep -v '^ *+' conftest.er1 >conftest.err
31641 rm -f conftest.er1
31642 cat conftest.err >&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); } &&
31645 { ac_try='test -z "$ac_c_werror_flag"
31646 || test ! -s conftest.err'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31649 ac_status=$?
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; } &&
31652 { ac_try='test -s conftest$ac_exeext'
31653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31654 (eval $ac_try) 2>&5
31655 ac_status=$?
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); }; }; then
31658 eval "$as_ac_var=yes"
31659 else
31660 echo "$as_me: failed program was:" >&5
31661 sed 's/^/| /' conftest.$ac_ext >&5
31663 eval "$as_ac_var=no"
31665 rm -f conftest.err conftest.$ac_objext \
31666 conftest$ac_exeext conftest.$ac_ext
31668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31670 if test `eval echo '${'$as_ac_var'}'` = yes; then
31671 cat >>confdefs.h <<_ACEOF
31672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31673 _ACEOF
31676 done
31678 echo "$as_me:$LINENO: checking for working mmap" >&5
31679 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31680 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31681 echo $ECHO_N "(cached) $ECHO_C" >&6
31682 else
31683 if test "$cross_compiling" = yes; then
31684 ac_cv_func_mmap_fixed_mapped=no
31685 else
31686 cat >conftest.$ac_ext <<_ACEOF
31687 /* confdefs.h. */
31688 _ACEOF
31689 cat confdefs.h >>conftest.$ac_ext
31690 cat >>conftest.$ac_ext <<_ACEOF
31691 /* end confdefs.h. */
31692 $ac_includes_default
31693 /* malloc might have been renamed as rpl_malloc. */
31694 #undef malloc
31696 /* Thanks to Mike Haertel and Jim Avera for this test.
31697 Here is a matrix of mmap possibilities:
31698 mmap private not fixed
31699 mmap private fixed at somewhere currently unmapped
31700 mmap private fixed at somewhere already mapped
31701 mmap shared not fixed
31702 mmap shared fixed at somewhere currently unmapped
31703 mmap shared fixed at somewhere already mapped
31704 For private mappings, we should verify that changes cannot be read()
31705 back from the file, nor mmap's back from the file at a different
31706 address. (There have been systems where private was not correctly
31707 implemented like the infamous i386 svr4.0, and systems where the
31708 VM page cache was not coherent with the file system buffer cache
31709 like early versions of FreeBSD and possibly contemporary NetBSD.)
31710 For shared mappings, we should conversely verify that changes get
31711 propagated back to all the places they're supposed to be.
31713 Grep wants private fixed already mapped.
31714 The main things grep needs to know about mmap are:
31715 * does it exist and is it safe to write into the mmap'd area
31716 * how to use it (BSD variants) */
31718 #include <fcntl.h>
31719 #include <sys/mman.h>
31721 #if !STDC_HEADERS && !HAVE_STDLIB_H
31722 char *malloc ();
31723 #endif
31725 /* This mess was copied from the GNU getpagesize.h. */
31726 #if !HAVE_GETPAGESIZE
31727 /* Assume that all systems that can run configure have sys/param.h. */
31728 # if !HAVE_SYS_PARAM_H
31729 # define HAVE_SYS_PARAM_H 1
31730 # endif
31732 # ifdef _SC_PAGESIZE
31733 # define getpagesize() sysconf(_SC_PAGESIZE)
31734 # else /* no _SC_PAGESIZE */
31735 # if HAVE_SYS_PARAM_H
31736 # include <sys/param.h>
31737 # ifdef EXEC_PAGESIZE
31738 # define getpagesize() EXEC_PAGESIZE
31739 # else /* no EXEC_PAGESIZE */
31740 # ifdef NBPG
31741 # define getpagesize() NBPG * CLSIZE
31742 # ifndef CLSIZE
31743 # define CLSIZE 1
31744 # endif /* no CLSIZE */
31745 # else /* no NBPG */
31746 # ifdef NBPC
31747 # define getpagesize() NBPC
31748 # else /* no NBPC */
31749 # ifdef PAGESIZE
31750 # define getpagesize() PAGESIZE
31751 # endif /* PAGESIZE */
31752 # endif /* no NBPC */
31753 # endif /* no NBPG */
31754 # endif /* no EXEC_PAGESIZE */
31755 # else /* no HAVE_SYS_PARAM_H */
31756 # define getpagesize() 8192 /* punt totally */
31757 # endif /* no HAVE_SYS_PARAM_H */
31758 # endif /* no _SC_PAGESIZE */
31760 #endif /* no HAVE_GETPAGESIZE */
31763 main ()
31765 char *data, *data2, *data3;
31766 int i, pagesize;
31767 int fd;
31769 pagesize = getpagesize ();
31771 /* First, make a file with some known garbage in it. */
31772 data = (char *) malloc (pagesize);
31773 if (!data)
31774 exit (1);
31775 for (i = 0; i < pagesize; ++i)
31776 *(data + i) = rand ();
31777 umask (0);
31778 fd = creat ("conftest.mmap", 0600);
31779 if (fd < 0)
31780 exit (1);
31781 if (write (fd, data, pagesize) != pagesize)
31782 exit (1);
31783 close (fd);
31785 /* Next, try to mmap the file at a fixed address which already has
31786 something else allocated at it. If we can, also make sure that
31787 we see the same garbage. */
31788 fd = open ("conftest.mmap", O_RDWR);
31789 if (fd < 0)
31790 exit (1);
31791 data2 = (char *) malloc (2 * pagesize);
31792 if (!data2)
31793 exit (1);
31794 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31795 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31796 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31797 exit (1);
31798 for (i = 0; i < pagesize; ++i)
31799 if (*(data + i) != *(data2 + i))
31800 exit (1);
31802 /* Finally, make sure that changes to the mapped area do not
31803 percolate back to the file as seen by read(). (This is a bug on
31804 some variants of i386 svr4.0.) */
31805 for (i = 0; i < pagesize; ++i)
31806 *(data2 + i) = *(data2 + i) + 1;
31807 data3 = (char *) malloc (pagesize);
31808 if (!data3)
31809 exit (1);
31810 if (read (fd, data3, pagesize) != pagesize)
31811 exit (1);
31812 for (i = 0; i < pagesize; ++i)
31813 if (*(data + i) != *(data3 + i))
31814 exit (1);
31815 close (fd);
31816 exit (0);
31818 _ACEOF
31819 rm -f conftest$ac_exeext
31820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31821 (eval $ac_link) 2>&5
31822 ac_status=$?
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31826 (eval $ac_try) 2>&5
31827 ac_status=$?
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); }; }; then
31830 ac_cv_func_mmap_fixed_mapped=yes
31831 else
31832 echo "$as_me: program exited with status $ac_status" >&5
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.$ac_ext >&5
31836 ( exit $ac_status )
31837 ac_cv_func_mmap_fixed_mapped=no
31839 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31842 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31843 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31844 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31846 cat >>confdefs.h <<\_ACEOF
31847 #define HAVE_MMAP 1
31848 _ACEOF
31851 rm -f conftest.mmap
31855 # For iconv support.
31857 if test "X$prefix" = "XNONE"; then
31858 acl_final_prefix="$ac_default_prefix"
31859 else
31860 acl_final_prefix="$prefix"
31862 if test "X$exec_prefix" = "XNONE"; then
31863 acl_final_exec_prefix='${prefix}'
31864 else
31865 acl_final_exec_prefix="$exec_prefix"
31867 acl_save_prefix="$prefix"
31868 prefix="$acl_final_prefix"
31869 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
31870 prefix="$acl_save_prefix"
31873 # Check whether --with-gnu-ld or --without-gnu-ld was given.
31874 if test "${with_gnu_ld+set}" = set; then
31875 withval="$with_gnu_ld"
31876 test "$withval" = no || with_gnu_ld=yes
31877 else
31878 with_gnu_ld=no
31880 # Prepare PATH_SEPARATOR.
31881 # The user is always right.
31882 if test "${PATH_SEPARATOR+set}" != set; then
31883 echo "#! /bin/sh" >conf$$.sh
31884 echo "exit 0" >>conf$$.sh
31885 chmod +x conf$$.sh
31886 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31887 PATH_SEPARATOR=';'
31888 else
31889 PATH_SEPARATOR=:
31891 rm -f conf$$.sh
31893 ac_prog=ld
31894 if test "$GCC" = yes; then
31895 # Check if gcc -print-prog-name=ld gives a path.
31896 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
31897 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
31898 case $host in
31899 *-*-mingw*)
31900 # gcc leaves a trailing carriage return which upsets mingw
31901 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
31903 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
31904 esac
31905 case $ac_prog in
31906 # Accept absolute paths.
31907 [\\/]* | [A-Za-z]:[\\/]*)
31908 re_direlt='/[^/][^/]*/\.\./'
31909 # Canonicalize the path of ld
31910 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
31911 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
31912 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
31913 done
31914 test -z "$LD" && LD="$ac_prog"
31917 # If it fails, then pretend we aren't using GCC.
31918 ac_prog=ld
31921 # If it is relative, then search for the first ld in PATH.
31922 with_gnu_ld=unknown
31924 esac
31925 elif test "$with_gnu_ld" = yes; then
31926 echo "$as_me:$LINENO: checking for GNU ld" >&5
31927 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
31928 else
31929 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
31930 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
31932 if test "${acl_cv_path_LD+set}" = set; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31934 else
31935 if test -z "$LD"; then
31936 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
31937 for ac_dir in $PATH; do
31938 test -z "$ac_dir" && ac_dir=.
31939 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
31940 acl_cv_path_LD="$ac_dir/$ac_prog"
31941 # Check to see if the program is GNU ld. I'd rather use --version,
31942 # but apparently some GNU ld's only accept -v.
31943 # Break only if it was the GNU/non-GNU ld that we prefer.
31944 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
31945 test "$with_gnu_ld" != no && break
31946 else
31947 test "$with_gnu_ld" != yes && break
31950 done
31951 IFS="$ac_save_ifs"
31952 else
31953 acl_cv_path_LD="$LD" # Let the user override the test with a path.
31957 LD="$acl_cv_path_LD"
31958 if test -n "$LD"; then
31959 echo "$as_me:$LINENO: result: $LD" >&5
31960 echo "${ECHO_T}$LD" >&6
31961 else
31962 echo "$as_me:$LINENO: result: no" >&5
31963 echo "${ECHO_T}no" >&6
31965 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
31966 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
31967 { (exit 1); exit 1; }; }
31968 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
31969 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
31970 if test "${acl_cv_prog_gnu_ld+set}" = set; then
31971 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 else
31973 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
31974 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
31975 acl_cv_prog_gnu_ld=yes
31976 else
31977 acl_cv_prog_gnu_ld=no
31980 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
31981 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
31982 with_gnu_ld=$acl_cv_prog_gnu_ld
31986 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
31987 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
31988 if test "${acl_cv_rpath+set}" = set; then
31989 echo $ECHO_N "(cached) $ECHO_C" >&6
31990 else
31992 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
31993 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
31994 . ./conftest.sh
31995 rm -f ./conftest.sh
31996 acl_cv_rpath=done
31999 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
32000 echo "${ECHO_T}$acl_cv_rpath" >&6
32001 wl="$acl_cv_wl"
32002 libext="$acl_cv_libext"
32003 shlibext="$acl_cv_shlibext"
32004 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
32005 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
32006 hardcode_direct="$acl_cv_hardcode_direct"
32007 hardcode_minus_L="$acl_cv_hardcode_minus_L"
32008 # Check whether --enable-rpath or --disable-rpath was given.
32009 if test "${enable_rpath+set}" = set; then
32010 enableval="$enable_rpath"
32012 else
32013 enable_rpath=yes
32022 use_additional=yes
32024 acl_save_prefix="$prefix"
32025 prefix="$acl_final_prefix"
32026 acl_save_exec_prefix="$exec_prefix"
32027 exec_prefix="$acl_final_exec_prefix"
32029 eval additional_includedir=\"$includedir\"
32030 eval additional_libdir=\"$libdir\"
32032 exec_prefix="$acl_save_exec_prefix"
32033 prefix="$acl_save_prefix"
32036 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32037 if test "${with_libiconv_prefix+set}" = set; then
32038 withval="$with_libiconv_prefix"
32040 if test "X$withval" = "Xno"; then
32041 use_additional=no
32042 else
32043 if test "X$withval" = "X"; then
32045 acl_save_prefix="$prefix"
32046 prefix="$acl_final_prefix"
32047 acl_save_exec_prefix="$exec_prefix"
32048 exec_prefix="$acl_final_exec_prefix"
32050 eval additional_includedir=\"$includedir\"
32051 eval additional_libdir=\"$libdir\"
32053 exec_prefix="$acl_save_exec_prefix"
32054 prefix="$acl_save_prefix"
32056 else
32057 additional_includedir="$withval/include"
32058 additional_libdir="$withval/lib"
32063 LIBICONV=
32064 LTLIBICONV=
32065 INCICONV=
32066 rpathdirs=
32067 ltrpathdirs=
32068 names_already_handled=
32069 names_next_round='iconv '
32070 while test -n "$names_next_round"; do
32071 names_this_round="$names_next_round"
32072 names_next_round=
32073 for name in $names_this_round; do
32074 already_handled=
32075 for n in $names_already_handled; do
32076 if test "$n" = "$name"; then
32077 already_handled=yes
32078 break
32080 done
32081 if test -z "$already_handled"; then
32082 names_already_handled="$names_already_handled $name"
32083 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
32084 eval value=\"\$HAVE_LIB$uppername\"
32085 if test -n "$value"; then
32086 if test "$value" = yes; then
32087 eval value=\"\$LIB$uppername\"
32088 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
32089 eval value=\"\$LTLIB$uppername\"
32090 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
32091 else
32094 else
32095 found_dir=
32096 found_la=
32097 found_so=
32098 found_a=
32099 if test $use_additional = yes; then
32100 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
32101 found_dir="$additional_libdir"
32102 found_so="$additional_libdir/lib$name.$shlibext"
32103 if test -f "$additional_libdir/lib$name.la"; then
32104 found_la="$additional_libdir/lib$name.la"
32106 else
32107 if test -f "$additional_libdir/lib$name.$libext"; then
32108 found_dir="$additional_libdir"
32109 found_a="$additional_libdir/lib$name.$libext"
32110 if test -f "$additional_libdir/lib$name.la"; then
32111 found_la="$additional_libdir/lib$name.la"
32116 if test "X$found_dir" = "X"; then
32117 for x in $LDFLAGS $LTLIBICONV; do
32119 acl_save_prefix="$prefix"
32120 prefix="$acl_final_prefix"
32121 acl_save_exec_prefix="$exec_prefix"
32122 exec_prefix="$acl_final_exec_prefix"
32123 eval x=\"$x\"
32124 exec_prefix="$acl_save_exec_prefix"
32125 prefix="$acl_save_prefix"
32127 case "$x" in
32128 -L*)
32129 dir=`echo "X$x" | sed -e 's/^X-L//'`
32130 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
32131 found_dir="$dir"
32132 found_so="$dir/lib$name.$shlibext"
32133 if test -f "$dir/lib$name.la"; then
32134 found_la="$dir/lib$name.la"
32136 else
32137 if test -f "$dir/lib$name.$libext"; then
32138 found_dir="$dir"
32139 found_a="$dir/lib$name.$libext"
32140 if test -f "$dir/lib$name.la"; then
32141 found_la="$dir/lib$name.la"
32146 esac
32147 if test "X$found_dir" != "X"; then
32148 break
32150 done
32152 if test "X$found_dir" != "X"; then
32153 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
32154 if test "X$found_so" != "X"; then
32155 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
32156 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32157 else
32158 haveit=
32159 for x in $ltrpathdirs; do
32160 if test "X$x" = "X$found_dir"; then
32161 haveit=yes
32162 break
32164 done
32165 if test -z "$haveit"; then
32166 ltrpathdirs="$ltrpathdirs $found_dir"
32168 if test "$hardcode_direct" = yes; then
32169 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32170 else
32171 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
32172 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32173 haveit=
32174 for x in $rpathdirs; do
32175 if test "X$x" = "X$found_dir"; then
32176 haveit=yes
32177 break
32179 done
32180 if test -z "$haveit"; then
32181 rpathdirs="$rpathdirs $found_dir"
32183 else
32184 haveit=
32185 for x in $LDFLAGS $LIBICONV; do
32187 acl_save_prefix="$prefix"
32188 prefix="$acl_final_prefix"
32189 acl_save_exec_prefix="$exec_prefix"
32190 exec_prefix="$acl_final_exec_prefix"
32191 eval x=\"$x\"
32192 exec_prefix="$acl_save_exec_prefix"
32193 prefix="$acl_save_prefix"
32195 if test "X$x" = "X-L$found_dir"; then
32196 haveit=yes
32197 break
32199 done
32200 if test -z "$haveit"; then
32201 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
32203 if test "$hardcode_minus_L" != no; then
32204 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32205 else
32206 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32211 else
32212 if test "X$found_a" != "X"; then
32213 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
32214 else
32215 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
32218 additional_includedir=
32219 case "$found_dir" in
32220 */lib | */lib/)
32221 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
32222 additional_includedir="$basedir/include"
32224 esac
32225 if test "X$additional_includedir" != "X"; then
32226 if test "X$additional_includedir" != "X/usr/include"; then
32227 haveit=
32228 if test "X$additional_includedir" = "X/usr/local/include"; then
32229 if test -n "$GCC"; then
32230 case $host_os in
32231 linux*) haveit=yes;;
32232 esac
32235 if test -z "$haveit"; then
32236 for x in $CPPFLAGS $INCICONV; do
32238 acl_save_prefix="$prefix"
32239 prefix="$acl_final_prefix"
32240 acl_save_exec_prefix="$exec_prefix"
32241 exec_prefix="$acl_final_exec_prefix"
32242 eval x=\"$x\"
32243 exec_prefix="$acl_save_exec_prefix"
32244 prefix="$acl_save_prefix"
32246 if test "X$x" = "X-I$additional_includedir"; then
32247 haveit=yes
32248 break
32250 done
32251 if test -z "$haveit"; then
32252 if test -d "$additional_includedir"; then
32253 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
32259 if test -n "$found_la"; then
32260 save_libdir="$libdir"
32261 case "$found_la" in
32262 */* | *\\*) . "$found_la" ;;
32263 *) . "./$found_la" ;;
32264 esac
32265 libdir="$save_libdir"
32266 for dep in $dependency_libs; do
32267 case "$dep" in
32268 -L*)
32269 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
32270 if test "X$additional_libdir" != "X/usr/lib"; then
32271 haveit=
32272 if test "X$additional_libdir" = "X/usr/local/lib"; then
32273 if test -n "$GCC"; then
32274 case $host_os in
32275 linux*) haveit=yes;;
32276 esac
32279 if test -z "$haveit"; then
32280 haveit=
32281 for x in $LDFLAGS $LIBICONV; do
32283 acl_save_prefix="$prefix"
32284 prefix="$acl_final_prefix"
32285 acl_save_exec_prefix="$exec_prefix"
32286 exec_prefix="$acl_final_exec_prefix"
32287 eval x=\"$x\"
32288 exec_prefix="$acl_save_exec_prefix"
32289 prefix="$acl_save_prefix"
32291 if test "X$x" = "X-L$additional_libdir"; then
32292 haveit=yes
32293 break
32295 done
32296 if test -z "$haveit"; then
32297 if test -d "$additional_libdir"; then
32298 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
32301 haveit=
32302 for x in $LDFLAGS $LTLIBICONV; do
32304 acl_save_prefix="$prefix"
32305 prefix="$acl_final_prefix"
32306 acl_save_exec_prefix="$exec_prefix"
32307 exec_prefix="$acl_final_exec_prefix"
32308 eval x=\"$x\"
32309 exec_prefix="$acl_save_exec_prefix"
32310 prefix="$acl_save_prefix"
32312 if test "X$x" = "X-L$additional_libdir"; then
32313 haveit=yes
32314 break
32316 done
32317 if test -z "$haveit"; then
32318 if test -d "$additional_libdir"; then
32319 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
32325 -R*)
32326 dir=`echo "X$dep" | sed -e 's/^X-R//'`
32327 if test "$enable_rpath" != no; then
32328 haveit=
32329 for x in $rpathdirs; do
32330 if test "X$x" = "X$dir"; then
32331 haveit=yes
32332 break
32334 done
32335 if test -z "$haveit"; then
32336 rpathdirs="$rpathdirs $dir"
32338 haveit=
32339 for x in $ltrpathdirs; do
32340 if test "X$x" = "X$dir"; then
32341 haveit=yes
32342 break
32344 done
32345 if test -z "$haveit"; then
32346 ltrpathdirs="$ltrpathdirs $dir"
32350 -l*)
32351 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
32353 *.la)
32354 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
32357 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
32358 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
32360 esac
32361 done
32363 else
32364 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32365 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
32369 done
32370 done
32371 if test "X$rpathdirs" != "X"; then
32372 if test -n "$hardcode_libdir_separator"; then
32373 alldirs=
32374 for found_dir in $rpathdirs; do
32375 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
32376 done
32377 acl_save_libdir="$libdir"
32378 libdir="$alldirs"
32379 eval flag=\"$hardcode_libdir_flag_spec\"
32380 libdir="$acl_save_libdir"
32381 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32382 else
32383 for found_dir in $rpathdirs; do
32384 acl_save_libdir="$libdir"
32385 libdir="$found_dir"
32386 eval flag=\"$hardcode_libdir_flag_spec\"
32387 libdir="$acl_save_libdir"
32388 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32389 done
32392 if test "X$ltrpathdirs" != "X"; then
32393 for found_dir in $ltrpathdirs; do
32394 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
32395 done
32404 am_save_CPPFLAGS="$CPPFLAGS"
32406 for element in $INCICONV; do
32407 haveit=
32408 for x in $CPPFLAGS; do
32410 acl_save_prefix="$prefix"
32411 prefix="$acl_final_prefix"
32412 acl_save_exec_prefix="$exec_prefix"
32413 exec_prefix="$acl_final_exec_prefix"
32414 eval x=\"$x\"
32415 exec_prefix="$acl_save_exec_prefix"
32416 prefix="$acl_save_prefix"
32418 if test "X$x" = "X$element"; then
32419 haveit=yes
32420 break
32422 done
32423 if test -z "$haveit"; then
32424 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
32426 done
32429 echo "$as_me:$LINENO: checking for iconv" >&5
32430 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32431 if test "${am_cv_func_iconv+set}" = set; then
32432 echo $ECHO_N "(cached) $ECHO_C" >&6
32433 else
32435 am_cv_func_iconv="no, consider installing GNU libiconv"
32436 am_cv_lib_iconv=no
32437 if test x$gcc_no_link = xyes; then
32438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32440 { (exit 1); exit 1; }; }
32442 cat >conftest.$ac_ext <<_ACEOF
32443 /* confdefs.h. */
32444 _ACEOF
32445 cat confdefs.h >>conftest.$ac_ext
32446 cat >>conftest.$ac_ext <<_ACEOF
32447 /* end confdefs.h. */
32448 #include <stdlib.h>
32449 #include <iconv.h>
32451 main ()
32453 iconv_t cd = iconv_open("","");
32454 iconv(cd,NULL,NULL,NULL,NULL);
32455 iconv_close(cd);
32457 return 0;
32459 _ACEOF
32460 rm -f conftest.$ac_objext conftest$ac_exeext
32461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32462 (eval $ac_link) 2>conftest.er1
32463 ac_status=$?
32464 grep -v '^ *+' conftest.er1 >conftest.err
32465 rm -f conftest.er1
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } &&
32469 { ac_try='test -z "$ac_c_werror_flag"
32470 || test ! -s conftest.err'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try='test -s conftest$ac_exeext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 am_cv_func_iconv=yes
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32488 rm -f conftest.err conftest.$ac_objext \
32489 conftest$ac_exeext conftest.$ac_ext
32490 if test "$am_cv_func_iconv" != yes; then
32491 am_save_LIBS="$LIBS"
32492 LIBS="$LIBS $LIBICONV"
32493 if test x$gcc_no_link = xyes; then
32494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32496 { (exit 1); exit 1; }; }
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 #include <stdlib.h>
32505 #include <iconv.h>
32507 main ()
32509 iconv_t cd = iconv_open("","");
32510 iconv(cd,NULL,NULL,NULL,NULL);
32511 iconv_close(cd);
32513 return 0;
32515 _ACEOF
32516 rm -f conftest.$ac_objext conftest$ac_exeext
32517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32518 (eval $ac_link) 2>conftest.er1
32519 ac_status=$?
32520 grep -v '^ *+' conftest.er1 >conftest.err
32521 rm -f conftest.er1
32522 cat conftest.err >&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); } &&
32525 { ac_try='test -z "$ac_c_werror_flag"
32526 || test ! -s conftest.err'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32529 ac_status=$?
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; } &&
32532 { ac_try='test -s conftest$ac_exeext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32535 ac_status=$?
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 am_cv_lib_iconv=yes
32539 am_cv_func_iconv=yes
32540 else
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32545 rm -f conftest.err conftest.$ac_objext \
32546 conftest$ac_exeext conftest.$ac_ext
32547 LIBS="$am_save_LIBS"
32551 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32552 echo "${ECHO_T}$am_cv_func_iconv" >&6
32553 if test "$am_cv_func_iconv" = yes; then
32555 cat >>confdefs.h <<\_ACEOF
32556 #define HAVE_ICONV 1
32557 _ACEOF
32560 if test "$am_cv_lib_iconv" = yes; then
32561 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
32562 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
32563 echo "$as_me:$LINENO: result: $LIBICONV" >&5
32564 echo "${ECHO_T}$LIBICONV" >&6
32565 else
32566 CPPFLAGS="$am_save_CPPFLAGS"
32567 LIBICONV=
32568 LTLIBICONV=
32573 if test "$am_cv_func_iconv" = yes; then
32574 echo "$as_me:$LINENO: checking for iconv declaration" >&5
32575 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
32576 if test "${am_cv_proto_iconv+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 else
32580 cat >conftest.$ac_ext <<_ACEOF
32581 /* confdefs.h. */
32582 _ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32587 #include <stdlib.h>
32588 #include <iconv.h>
32589 extern
32590 #ifdef __cplusplus
32592 #endif
32593 #if defined(__STDC__) || defined(__cplusplus)
32594 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32595 #else
32596 size_t iconv();
32597 #endif
32600 main ()
32604 return 0;
32606 _ACEOF
32607 rm -f conftest.$ac_objext
32608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32609 (eval $ac_compile) 2>conftest.er1
32610 ac_status=$?
32611 grep -v '^ *+' conftest.er1 >conftest.err
32612 rm -f conftest.er1
32613 cat conftest.err >&5
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); } &&
32616 { ac_try='test -z "$ac_c_werror_flag"
32617 || test ! -s conftest.err'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32620 ac_status=$?
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; } &&
32623 { ac_try='test -s conftest.$ac_objext'
32624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32625 (eval $ac_try) 2>&5
32626 ac_status=$?
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); }; }; then
32629 am_cv_proto_iconv_arg1=""
32630 else
32631 echo "$as_me: failed program was:" >&5
32632 sed 's/^/| /' conftest.$ac_ext >&5
32634 am_cv_proto_iconv_arg1="const"
32636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32637 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);"
32640 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
32641 echo "$as_me:$LINENO: result: ${ac_t:-
32642 }$am_cv_proto_iconv" >&5
32643 echo "${ECHO_T}${ac_t:-
32644 }$am_cv_proto_iconv" >&6
32646 cat >>confdefs.h <<_ACEOF
32647 #define ICONV_CONST $am_cv_proto_iconv_arg1
32648 _ACEOF
32653 else
32655 # This lets us hard-code the functionality we know we'll have in the cross
32656 # target environment. "Let" is a sugar-coated word placed on an especially
32657 # dull and tedious hack, actually.
32659 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32660 # that involve linking, can't be used:
32661 # "cannot open sim-crt0.o"
32662 # "cannot open crt0.o"
32663 # etc. All this is because there currently exists no unified, consistent
32664 # way for top level CC information to be passed down to target directories:
32665 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32666 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32667 # crosses can be removed.
32669 # If Canadian cross, then don't pick up tools from the build directory.
32670 # Used only in GLIBCXX_EXPORT_INCLUDES.
32671 if test -n "$with_cross_host" &&
32672 test x"$build_alias" != x"$with_cross_host" &&
32673 test x"$build" != x"$target";
32674 then
32675 CANADIAN=yes
32676 else
32677 CANADIAN=no
32680 # Construct crosses by hand, eliminating bits that need ld...
32681 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32682 # GLIBCXX_CHECK_MATH_SUPPORT
32684 # First, test for "known" system libraries. We may be using newlib even
32685 # on a hosted environment.
32686 if test "x${with_newlib}" = "xyes"; then
32687 os_include_dir="os/newlib"
32688 cat >>confdefs.h <<\_ACEOF
32689 #define HAVE_HYPOT 1
32690 _ACEOF
32693 # GLIBCXX_CHECK_STDLIB_SUPPORT
32694 cat >>confdefs.h <<\_ACEOF
32695 #define HAVE_STRTOF 1
32696 _ACEOF
32698 # AC_FUNC_MMAP
32699 cat >>confdefs.h <<\_ACEOF
32700 #define HAVE_MMAP 1
32701 _ACEOF
32704 cat >>confdefs.h <<\_ACEOF
32705 #define HAVE_ACOSF 1
32706 _ACEOF
32708 cat >>confdefs.h <<\_ACEOF
32709 #define HAVE_ASINF 1
32710 _ACEOF
32712 cat >>confdefs.h <<\_ACEOF
32713 #define HAVE_ATAN2F 1
32714 _ACEOF
32716 cat >>confdefs.h <<\_ACEOF
32717 #define HAVE_ATANF 1
32718 _ACEOF
32720 cat >>confdefs.h <<\_ACEOF
32721 #define HAVE_CEILF 1
32722 _ACEOF
32724 cat >>confdefs.h <<\_ACEOF
32725 #define HAVE_COPYSIGN 1
32726 _ACEOF
32728 cat >>confdefs.h <<\_ACEOF
32729 #define HAVE_COPYSIGNF 1
32730 _ACEOF
32732 cat >>confdefs.h <<\_ACEOF
32733 #define HAVE_COSF 1
32734 _ACEOF
32736 cat >>confdefs.h <<\_ACEOF
32737 #define HAVE_COSHF 1
32738 _ACEOF
32740 cat >>confdefs.h <<\_ACEOF
32741 #define HAVE_EXPF 1
32742 _ACEOF
32744 cat >>confdefs.h <<\_ACEOF
32745 #define HAVE_FABSF 1
32746 _ACEOF
32748 cat >>confdefs.h <<\_ACEOF
32749 #define HAVE_FLOORF 1
32750 _ACEOF
32752 cat >>confdefs.h <<\_ACEOF
32753 #define HAVE_FMODF 1
32754 _ACEOF
32756 cat >>confdefs.h <<\_ACEOF
32757 #define HAVE_FREXPF 1
32758 _ACEOF
32760 cat >>confdefs.h <<\_ACEOF
32761 #define HAVE_LDEXPF 1
32762 _ACEOF
32764 cat >>confdefs.h <<\_ACEOF
32765 #define HAVE_LOG10F 1
32766 _ACEOF
32768 cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_LOGF 1
32770 _ACEOF
32772 cat >>confdefs.h <<\_ACEOF
32773 #define HAVE_MODFF 1
32774 _ACEOF
32776 cat >>confdefs.h <<\_ACEOF
32777 #define HAVE_POWF 1
32778 _ACEOF
32780 cat >>confdefs.h <<\_ACEOF
32781 #define HAVE_SINF 1
32782 _ACEOF
32784 cat >>confdefs.h <<\_ACEOF
32785 #define HAVE_SINHF 1
32786 _ACEOF
32788 cat >>confdefs.h <<\_ACEOF
32789 #define HAVE_SQRTF 1
32790 _ACEOF
32792 cat >>confdefs.h <<\_ACEOF
32793 #define HAVE_TANF 1
32794 _ACEOF
32796 cat >>confdefs.h <<\_ACEOF
32797 #define HAVE_TANHF 1
32798 _ACEOF
32801 cat >>confdefs.h <<\_ACEOF
32802 #define HAVE_S_ISREG 1
32803 _ACEOF
32805 cat >>confdefs.h <<\_ACEOF
32806 #define HAVE_S_IFREG 1
32807 _ACEOF
32810 cat >>confdefs.h <<\_ACEOF
32811 #define HAVE_ICONV 1
32812 _ACEOF
32814 else
32816 # Base decisions on target environment.
32817 case "${host}" in
32818 arm*-*-symbianelf*)
32819 # This is a freestanding configuration; there is nothing to do here.
32822 *-darwin*)
32823 # Darwin versions vary, but the linker should work in a cross environment,
32824 # so we just check for all the features here.
32825 # Check for available headers.
32839 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32840 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32841 sys/types.h
32843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32845 echo "$as_me:$LINENO: checking for $ac_header" >&5
32846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32848 echo $ECHO_N "(cached) $ECHO_C" >&6
32850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32852 else
32853 # Is the header compilable?
32854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32856 cat >conftest.$ac_ext <<_ACEOF
32857 /* confdefs.h. */
32858 _ACEOF
32859 cat confdefs.h >>conftest.$ac_ext
32860 cat >>conftest.$ac_ext <<_ACEOF
32861 /* end confdefs.h. */
32862 $ac_includes_default
32863 #include <$ac_header>
32864 _ACEOF
32865 rm -f conftest.$ac_objext
32866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32867 (eval $ac_compile) 2>conftest.er1
32868 ac_status=$?
32869 grep -v '^ *+' conftest.er1 >conftest.err
32870 rm -f conftest.er1
32871 cat conftest.err >&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } &&
32874 { ac_try='test -z "$ac_c_werror_flag"
32875 || test ! -s conftest.err'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; } &&
32881 { ac_try='test -s conftest.$ac_objext'
32882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32883 (eval $ac_try) 2>&5
32884 ac_status=$?
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); }; }; then
32887 ac_header_compiler=yes
32888 else
32889 echo "$as_me: failed program was:" >&5
32890 sed 's/^/| /' conftest.$ac_ext >&5
32892 ac_header_compiler=no
32894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32896 echo "${ECHO_T}$ac_header_compiler" >&6
32898 # Is the header present?
32899 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32900 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32901 cat >conftest.$ac_ext <<_ACEOF
32902 /* confdefs.h. */
32903 _ACEOF
32904 cat confdefs.h >>conftest.$ac_ext
32905 cat >>conftest.$ac_ext <<_ACEOF
32906 /* end confdefs.h. */
32907 #include <$ac_header>
32908 _ACEOF
32909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32911 ac_status=$?
32912 grep -v '^ *+' conftest.er1 >conftest.err
32913 rm -f conftest.er1
32914 cat conftest.err >&5
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); } >/dev/null; then
32917 if test -s conftest.err; then
32918 ac_cpp_err=$ac_c_preproc_warn_flag
32919 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32920 else
32921 ac_cpp_err=
32923 else
32924 ac_cpp_err=yes
32926 if test -z "$ac_cpp_err"; then
32927 ac_header_preproc=yes
32928 else
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.$ac_ext >&5
32932 ac_header_preproc=no
32934 rm -f conftest.err conftest.$ac_ext
32935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32936 echo "${ECHO_T}$ac_header_preproc" >&6
32938 # So? What about this header?
32939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32940 yes:no: )
32941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32945 ac_header_preproc=yes
32947 no:yes:* )
32948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32961 cat <<\_ASBOX
32962 ## ----------------------------------------- ##
32963 ## Report this to the package-unused lists. ##
32964 ## ----------------------------------------- ##
32965 _ASBOX
32967 sed "s/^/$as_me: WARNING: /" >&2
32969 esac
32970 echo "$as_me:$LINENO: checking for $ac_header" >&5
32971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32973 echo $ECHO_N "(cached) $ECHO_C" >&6
32974 else
32975 eval "$as_ac_Header=\$ac_header_preproc"
32977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32978 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32982 cat >>confdefs.h <<_ACEOF
32983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32984 _ACEOF
32988 done
32991 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32993 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32994 ac_save_CXXFLAGS="$CXXFLAGS"
32995 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32997 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32998 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32999 if test "${ac_cv_lib_m_sin+set}" = set; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 else
33002 ac_check_lib_save_LIBS=$LIBS
33003 LIBS="-lm $LIBS"
33004 if test x$gcc_no_link = xyes; then
33005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33007 { (exit 1); exit 1; }; }
33009 cat >conftest.$ac_ext <<_ACEOF
33010 /* confdefs.h. */
33011 _ACEOF
33012 cat confdefs.h >>conftest.$ac_ext
33013 cat >>conftest.$ac_ext <<_ACEOF
33014 /* end confdefs.h. */
33016 /* Override any gcc2 internal prototype to avoid an error. */
33017 #ifdef __cplusplus
33018 extern "C"
33019 #endif
33020 /* We use char because int might match the return type of a gcc2
33021 builtin and then its argument prototype would still apply. */
33022 char sin ();
33024 main ()
33026 sin ();
33028 return 0;
33030 _ACEOF
33031 rm -f conftest.$ac_objext conftest$ac_exeext
33032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33033 (eval $ac_link) 2>conftest.er1
33034 ac_status=$?
33035 grep -v '^ *+' conftest.er1 >conftest.err
33036 rm -f conftest.er1
33037 cat conftest.err >&5
33038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33039 (exit $ac_status); } &&
33040 { ac_try='test -z "$ac_c_werror_flag"
33041 || test ! -s conftest.err'
33042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33043 (eval $ac_try) 2>&5
33044 ac_status=$?
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; } &&
33047 { ac_try='test -s conftest$ac_exeext'
33048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33049 (eval $ac_try) 2>&5
33050 ac_status=$?
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); }; }; then
33053 ac_cv_lib_m_sin=yes
33054 else
33055 echo "$as_me: failed program was:" >&5
33056 sed 's/^/| /' conftest.$ac_ext >&5
33058 ac_cv_lib_m_sin=no
33060 rm -f conftest.err conftest.$ac_objext \
33061 conftest$ac_exeext conftest.$ac_ext
33062 LIBS=$ac_check_lib_save_LIBS
33064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
33065 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
33066 if test $ac_cv_lib_m_sin = yes; then
33067 libm="-lm"
33070 ac_save_LIBS="$LIBS"
33071 LIBS="$LIBS $libm"
33075 echo "$as_me:$LINENO: checking for isinf declaration" >&5
33076 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
33077 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33078 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
33079 echo $ECHO_N "(cached) $ECHO_C" >&6
33080 else
33084 ac_ext=cc
33085 ac_cpp='$CXXCPP $CPPFLAGS'
33086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33090 cat >conftest.$ac_ext <<_ACEOF
33091 /* confdefs.h. */
33092 _ACEOF
33093 cat confdefs.h >>conftest.$ac_ext
33094 cat >>conftest.$ac_ext <<_ACEOF
33095 /* end confdefs.h. */
33096 #include <math.h>
33097 #ifdef HAVE_IEEEFP_H
33098 #include <ieeefp.h>
33099 #endif
33102 main ()
33104 isinf(0);
33106 return 0;
33108 _ACEOF
33109 rm -f conftest.$ac_objext
33110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33111 (eval $ac_compile) 2>conftest.er1
33112 ac_status=$?
33113 grep -v '^ *+' conftest.er1 >conftest.err
33114 rm -f conftest.er1
33115 cat conftest.err >&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } &&
33118 { ac_try='test -z "$ac_cxx_werror_flag"
33119 || test ! -s conftest.err'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33122 ac_status=$?
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; } &&
33125 { ac_try='test -s conftest.$ac_objext'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; }; then
33131 glibcxx_cv_func_isinf_use=yes
33132 else
33133 echo "$as_me: failed program was:" >&5
33134 sed 's/^/| /' conftest.$ac_ext >&5
33136 glibcxx_cv_func_isinf_use=no
33138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33139 ac_ext=c
33140 ac_cpp='$CPP $CPPFLAGS'
33141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33150 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33152 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33154 for ac_func in isinf
33156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33157 echo "$as_me:$LINENO: checking for $ac_func" >&5
33158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33159 if eval "test \"\${$as_ac_var+set}\" = set"; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162 if test x$gcc_no_link = xyes; then
33163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33165 { (exit 1); exit 1; }; }
33167 cat >conftest.$ac_ext <<_ACEOF
33168 /* confdefs.h. */
33169 _ACEOF
33170 cat confdefs.h >>conftest.$ac_ext
33171 cat >>conftest.$ac_ext <<_ACEOF
33172 /* end confdefs.h. */
33173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33175 #define $ac_func innocuous_$ac_func
33177 /* System header to define __stub macros and hopefully few prototypes,
33178 which can conflict with char $ac_func (); below.
33179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33180 <limits.h> exists even on freestanding compilers. */
33182 #ifdef __STDC__
33183 # include <limits.h>
33184 #else
33185 # include <assert.h>
33186 #endif
33188 #undef $ac_func
33190 /* Override any gcc2 internal prototype to avoid an error. */
33191 #ifdef __cplusplus
33192 extern "C"
33194 #endif
33195 /* We use char because int might match the return type of a gcc2
33196 builtin and then its argument prototype would still apply. */
33197 char $ac_func ();
33198 /* The GNU C library defines this for functions which it implements
33199 to always fail with ENOSYS. Some functions are actually named
33200 something starting with __ and the normal name is an alias. */
33201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33202 choke me
33203 #else
33204 char (*f) () = $ac_func;
33205 #endif
33206 #ifdef __cplusplus
33208 #endif
33211 main ()
33213 return f != $ac_func;
33215 return 0;
33217 _ACEOF
33218 rm -f conftest.$ac_objext conftest$ac_exeext
33219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33220 (eval $ac_link) 2>conftest.er1
33221 ac_status=$?
33222 grep -v '^ *+' conftest.er1 >conftest.err
33223 rm -f conftest.er1
33224 cat conftest.err >&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } &&
33227 { ac_try='test -z "$ac_c_werror_flag"
33228 || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try='test -s conftest$ac_exeext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 eval "$as_ac_var=yes"
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33245 eval "$as_ac_var=no"
33247 rm -f conftest.err conftest.$ac_objext \
33248 conftest$ac_exeext conftest.$ac_ext
33250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33252 if test `eval echo '${'$as_ac_var'}'` = yes; then
33253 cat >>confdefs.h <<_ACEOF
33254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33255 _ACEOF
33258 done
33260 else
33262 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33263 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33264 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33265 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33267 else
33271 ac_ext=cc
33272 ac_cpp='$CXXCPP $CPPFLAGS'
33273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 #ifdef HAVE_IEEEFP_H
33285 #include <ieeefp.h>
33286 #endif
33289 main ()
33291 _isinf(0);
33293 return 0;
33295 _ACEOF
33296 rm -f conftest.$ac_objext
33297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33298 (eval $ac_compile) 2>conftest.er1
33299 ac_status=$?
33300 grep -v '^ *+' conftest.er1 >conftest.err
33301 rm -f conftest.er1
33302 cat conftest.err >&5
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); } &&
33305 { ac_try='test -z "$ac_cxx_werror_flag"
33306 || test ! -s conftest.err'
33307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33308 (eval $ac_try) 2>&5
33309 ac_status=$?
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); }; } &&
33312 { ac_try='test -s conftest.$ac_objext'
33313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33314 (eval $ac_try) 2>&5
33315 ac_status=$?
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; }; then
33318 glibcxx_cv_func__isinf_use=yes
33319 else
33320 echo "$as_me: failed program was:" >&5
33321 sed 's/^/| /' conftest.$ac_ext >&5
33323 glibcxx_cv_func__isinf_use=no
33325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33326 ac_ext=c
33327 ac_cpp='$CPP $CPPFLAGS'
33328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33337 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33339 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33341 for ac_func in _isinf
33343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33344 echo "$as_me:$LINENO: checking for $ac_func" >&5
33345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33346 if eval "test \"\${$as_ac_var+set}\" = set"; then
33347 echo $ECHO_N "(cached) $ECHO_C" >&6
33348 else
33349 if test x$gcc_no_link = xyes; then
33350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33352 { (exit 1); exit 1; }; }
33354 cat >conftest.$ac_ext <<_ACEOF
33355 /* confdefs.h. */
33356 _ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33362 #define $ac_func innocuous_$ac_func
33364 /* System header to define __stub macros and hopefully few prototypes,
33365 which can conflict with char $ac_func (); below.
33366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33367 <limits.h> exists even on freestanding compilers. */
33369 #ifdef __STDC__
33370 # include <limits.h>
33371 #else
33372 # include <assert.h>
33373 #endif
33375 #undef $ac_func
33377 /* Override any gcc2 internal prototype to avoid an error. */
33378 #ifdef __cplusplus
33379 extern "C"
33381 #endif
33382 /* We use char because int might match the return type of a gcc2
33383 builtin and then its argument prototype would still apply. */
33384 char $ac_func ();
33385 /* The GNU C library defines this for functions which it implements
33386 to always fail with ENOSYS. Some functions are actually named
33387 something starting with __ and the normal name is an alias. */
33388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33389 choke me
33390 #else
33391 char (*f) () = $ac_func;
33392 #endif
33393 #ifdef __cplusplus
33395 #endif
33398 main ()
33400 return f != $ac_func;
33402 return 0;
33404 _ACEOF
33405 rm -f conftest.$ac_objext conftest$ac_exeext
33406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33407 (eval $ac_link) 2>conftest.er1
33408 ac_status=$?
33409 grep -v '^ *+' conftest.er1 >conftest.err
33410 rm -f conftest.er1
33411 cat conftest.err >&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); } &&
33414 { ac_try='test -z "$ac_c_werror_flag"
33415 || test ! -s conftest.err'
33416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33417 (eval $ac_try) 2>&5
33418 ac_status=$?
33419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33420 (exit $ac_status); }; } &&
33421 { ac_try='test -s conftest$ac_exeext'
33422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33423 (eval $ac_try) 2>&5
33424 ac_status=$?
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); }; }; then
33427 eval "$as_ac_var=yes"
33428 else
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.$ac_ext >&5
33432 eval "$as_ac_var=no"
33434 rm -f conftest.err conftest.$ac_objext \
33435 conftest$ac_exeext conftest.$ac_ext
33437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33439 if test `eval echo '${'$as_ac_var'}'` = yes; then
33440 cat >>confdefs.h <<_ACEOF
33441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33442 _ACEOF
33445 done
33455 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33456 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33457 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33458 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33459 echo $ECHO_N "(cached) $ECHO_C" >&6
33460 else
33464 ac_ext=cc
33465 ac_cpp='$CXXCPP $CPPFLAGS'
33466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33470 cat >conftest.$ac_ext <<_ACEOF
33471 /* confdefs.h. */
33472 _ACEOF
33473 cat confdefs.h >>conftest.$ac_ext
33474 cat >>conftest.$ac_ext <<_ACEOF
33475 /* end confdefs.h. */
33476 #include <math.h>
33477 #ifdef HAVE_IEEEFP_H
33478 #include <ieeefp.h>
33479 #endif
33482 main ()
33484 isnan(0);
33486 return 0;
33488 _ACEOF
33489 rm -f conftest.$ac_objext
33490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33491 (eval $ac_compile) 2>conftest.er1
33492 ac_status=$?
33493 grep -v '^ *+' conftest.er1 >conftest.err
33494 rm -f conftest.er1
33495 cat conftest.err >&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } &&
33498 { ac_try='test -z "$ac_cxx_werror_flag"
33499 || test ! -s conftest.err'
33500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33501 (eval $ac_try) 2>&5
33502 ac_status=$?
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); }; } &&
33505 { ac_try='test -s conftest.$ac_objext'
33506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33507 (eval $ac_try) 2>&5
33508 ac_status=$?
33509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510 (exit $ac_status); }; }; then
33511 glibcxx_cv_func_isnan_use=yes
33512 else
33513 echo "$as_me: failed program was:" >&5
33514 sed 's/^/| /' conftest.$ac_ext >&5
33516 glibcxx_cv_func_isnan_use=no
33518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33519 ac_ext=c
33520 ac_cpp='$CPP $CPPFLAGS'
33521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33530 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33532 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33534 for ac_func in isnan
33536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33537 echo "$as_me:$LINENO: checking for $ac_func" >&5
33538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33539 if eval "test \"\${$as_ac_var+set}\" = set"; then
33540 echo $ECHO_N "(cached) $ECHO_C" >&6
33541 else
33542 if test x$gcc_no_link = xyes; then
33543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33545 { (exit 1); exit 1; }; }
33547 cat >conftest.$ac_ext <<_ACEOF
33548 /* confdefs.h. */
33549 _ACEOF
33550 cat confdefs.h >>conftest.$ac_ext
33551 cat >>conftest.$ac_ext <<_ACEOF
33552 /* end confdefs.h. */
33553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33555 #define $ac_func innocuous_$ac_func
33557 /* System header to define __stub macros and hopefully few prototypes,
33558 which can conflict with char $ac_func (); below.
33559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33560 <limits.h> exists even on freestanding compilers. */
33562 #ifdef __STDC__
33563 # include <limits.h>
33564 #else
33565 # include <assert.h>
33566 #endif
33568 #undef $ac_func
33570 /* Override any gcc2 internal prototype to avoid an error. */
33571 #ifdef __cplusplus
33572 extern "C"
33574 #endif
33575 /* We use char because int might match the return type of a gcc2
33576 builtin and then its argument prototype would still apply. */
33577 char $ac_func ();
33578 /* The GNU C library defines this for functions which it implements
33579 to always fail with ENOSYS. Some functions are actually named
33580 something starting with __ and the normal name is an alias. */
33581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33582 choke me
33583 #else
33584 char (*f) () = $ac_func;
33585 #endif
33586 #ifdef __cplusplus
33588 #endif
33591 main ()
33593 return f != $ac_func;
33595 return 0;
33597 _ACEOF
33598 rm -f conftest.$ac_objext conftest$ac_exeext
33599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33600 (eval $ac_link) 2>conftest.er1
33601 ac_status=$?
33602 grep -v '^ *+' conftest.er1 >conftest.err
33603 rm -f conftest.er1
33604 cat conftest.err >&5
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); } &&
33607 { ac_try='test -z "$ac_c_werror_flag"
33608 || test ! -s conftest.err'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; } &&
33614 { ac_try='test -s conftest$ac_exeext'
33615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33616 (eval $ac_try) 2>&5
33617 ac_status=$?
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); }; }; then
33620 eval "$as_ac_var=yes"
33621 else
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33625 eval "$as_ac_var=no"
33627 rm -f conftest.err conftest.$ac_objext \
33628 conftest$ac_exeext conftest.$ac_ext
33630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33632 if test `eval echo '${'$as_ac_var'}'` = yes; then
33633 cat >>confdefs.h <<_ACEOF
33634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33635 _ACEOF
33638 done
33640 else
33642 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33643 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33644 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33645 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33647 else
33651 ac_ext=cc
33652 ac_cpp='$CXXCPP $CPPFLAGS'
33653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33657 cat >conftest.$ac_ext <<_ACEOF
33658 /* confdefs.h. */
33659 _ACEOF
33660 cat confdefs.h >>conftest.$ac_ext
33661 cat >>conftest.$ac_ext <<_ACEOF
33662 /* end confdefs.h. */
33663 #include <math.h>
33664 #ifdef HAVE_IEEEFP_H
33665 #include <ieeefp.h>
33666 #endif
33669 main ()
33671 _isnan(0);
33673 return 0;
33675 _ACEOF
33676 rm -f conftest.$ac_objext
33677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33678 (eval $ac_compile) 2>conftest.er1
33679 ac_status=$?
33680 grep -v '^ *+' conftest.er1 >conftest.err
33681 rm -f conftest.er1
33682 cat conftest.err >&5
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); } &&
33685 { ac_try='test -z "$ac_cxx_werror_flag"
33686 || test ! -s conftest.err'
33687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33688 (eval $ac_try) 2>&5
33689 ac_status=$?
33690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33691 (exit $ac_status); }; } &&
33692 { ac_try='test -s conftest.$ac_objext'
33693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33694 (eval $ac_try) 2>&5
33695 ac_status=$?
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); }; }; then
33698 glibcxx_cv_func__isnan_use=yes
33699 else
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.$ac_ext >&5
33703 glibcxx_cv_func__isnan_use=no
33705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33706 ac_ext=c
33707 ac_cpp='$CPP $CPPFLAGS'
33708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33716 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33717 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33719 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33721 for ac_func in _isnan
33723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33724 echo "$as_me:$LINENO: checking for $ac_func" >&5
33725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33726 if eval "test \"\${$as_ac_var+set}\" = set"; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 else
33729 if test x$gcc_no_link = xyes; then
33730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33732 { (exit 1); exit 1; }; }
33734 cat >conftest.$ac_ext <<_ACEOF
33735 /* confdefs.h. */
33736 _ACEOF
33737 cat confdefs.h >>conftest.$ac_ext
33738 cat >>conftest.$ac_ext <<_ACEOF
33739 /* end confdefs.h. */
33740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33742 #define $ac_func innocuous_$ac_func
33744 /* System header to define __stub macros and hopefully few prototypes,
33745 which can conflict with char $ac_func (); below.
33746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33747 <limits.h> exists even on freestanding compilers. */
33749 #ifdef __STDC__
33750 # include <limits.h>
33751 #else
33752 # include <assert.h>
33753 #endif
33755 #undef $ac_func
33757 /* Override any gcc2 internal prototype to avoid an error. */
33758 #ifdef __cplusplus
33759 extern "C"
33761 #endif
33762 /* We use char because int might match the return type of a gcc2
33763 builtin and then its argument prototype would still apply. */
33764 char $ac_func ();
33765 /* The GNU C library defines this for functions which it implements
33766 to always fail with ENOSYS. Some functions are actually named
33767 something starting with __ and the normal name is an alias. */
33768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33769 choke me
33770 #else
33771 char (*f) () = $ac_func;
33772 #endif
33773 #ifdef __cplusplus
33775 #endif
33778 main ()
33780 return f != $ac_func;
33782 return 0;
33784 _ACEOF
33785 rm -f conftest.$ac_objext conftest$ac_exeext
33786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33787 (eval $ac_link) 2>conftest.er1
33788 ac_status=$?
33789 grep -v '^ *+' conftest.er1 >conftest.err
33790 rm -f conftest.er1
33791 cat conftest.err >&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } &&
33794 { ac_try='test -z "$ac_c_werror_flag"
33795 || test ! -s conftest.err'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; } &&
33801 { ac_try='test -s conftest$ac_exeext'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33804 ac_status=$?
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; }; then
33807 eval "$as_ac_var=yes"
33808 else
33809 echo "$as_me: failed program was:" >&5
33810 sed 's/^/| /' conftest.$ac_ext >&5
33812 eval "$as_ac_var=no"
33814 rm -f conftest.err conftest.$ac_objext \
33815 conftest$ac_exeext conftest.$ac_ext
33817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33819 if test `eval echo '${'$as_ac_var'}'` = yes; then
33820 cat >>confdefs.h <<_ACEOF
33821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33822 _ACEOF
33825 done
33835 echo "$as_me:$LINENO: checking for finite declaration" >&5
33836 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33837 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33838 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33840 else
33844 ac_ext=cc
33845 ac_cpp='$CXXCPP $CPPFLAGS'
33846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33850 cat >conftest.$ac_ext <<_ACEOF
33851 /* confdefs.h. */
33852 _ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856 #include <math.h>
33857 #ifdef HAVE_IEEEFP_H
33858 #include <ieeefp.h>
33859 #endif
33862 main ()
33864 finite(0);
33866 return 0;
33868 _ACEOF
33869 rm -f conftest.$ac_objext
33870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33871 (eval $ac_compile) 2>conftest.er1
33872 ac_status=$?
33873 grep -v '^ *+' conftest.er1 >conftest.err
33874 rm -f conftest.er1
33875 cat conftest.err >&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try='test -z "$ac_cxx_werror_flag"
33879 || test ! -s conftest.err'
33880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33881 (eval $ac_try) 2>&5
33882 ac_status=$?
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); }; } &&
33885 { ac_try='test -s conftest.$ac_objext'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33888 ac_status=$?
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; }; then
33891 glibcxx_cv_func_finite_use=yes
33892 else
33893 echo "$as_me: failed program was:" >&5
33894 sed 's/^/| /' conftest.$ac_ext >&5
33896 glibcxx_cv_func_finite_use=no
33898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33899 ac_ext=c
33900 ac_cpp='$CPP $CPPFLAGS'
33901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33910 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33912 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33914 for ac_func in finite
33916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33917 echo "$as_me:$LINENO: checking for $ac_func" >&5
33918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33919 if eval "test \"\${$as_ac_var+set}\" = set"; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 else
33922 if test x$gcc_no_link = xyes; then
33923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33925 { (exit 1); exit 1; }; }
33927 cat >conftest.$ac_ext <<_ACEOF
33928 /* confdefs.h. */
33929 _ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33935 #define $ac_func innocuous_$ac_func
33937 /* System header to define __stub macros and hopefully few prototypes,
33938 which can conflict with char $ac_func (); below.
33939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33940 <limits.h> exists even on freestanding compilers. */
33942 #ifdef __STDC__
33943 # include <limits.h>
33944 #else
33945 # include <assert.h>
33946 #endif
33948 #undef $ac_func
33950 /* Override any gcc2 internal prototype to avoid an error. */
33951 #ifdef __cplusplus
33952 extern "C"
33954 #endif
33955 /* We use char because int might match the return type of a gcc2
33956 builtin and then its argument prototype would still apply. */
33957 char $ac_func ();
33958 /* The GNU C library defines this for functions which it implements
33959 to always fail with ENOSYS. Some functions are actually named
33960 something starting with __ and the normal name is an alias. */
33961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33962 choke me
33963 #else
33964 char (*f) () = $ac_func;
33965 #endif
33966 #ifdef __cplusplus
33968 #endif
33971 main ()
33973 return f != $ac_func;
33975 return 0;
33977 _ACEOF
33978 rm -f conftest.$ac_objext conftest$ac_exeext
33979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33980 (eval $ac_link) 2>conftest.er1
33981 ac_status=$?
33982 grep -v '^ *+' conftest.er1 >conftest.err
33983 rm -f conftest.er1
33984 cat conftest.err >&5
33985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33986 (exit $ac_status); } &&
33987 { ac_try='test -z "$ac_c_werror_flag"
33988 || test ! -s conftest.err'
33989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33990 (eval $ac_try) 2>&5
33991 ac_status=$?
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); }; } &&
33994 { ac_try='test -s conftest$ac_exeext'
33995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33996 (eval $ac_try) 2>&5
33997 ac_status=$?
33998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999 (exit $ac_status); }; }; then
34000 eval "$as_ac_var=yes"
34001 else
34002 echo "$as_me: failed program was:" >&5
34003 sed 's/^/| /' conftest.$ac_ext >&5
34005 eval "$as_ac_var=no"
34007 rm -f conftest.err conftest.$ac_objext \
34008 conftest$ac_exeext conftest.$ac_ext
34010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34012 if test `eval echo '${'$as_ac_var'}'` = yes; then
34013 cat >>confdefs.h <<_ACEOF
34014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34015 _ACEOF
34018 done
34020 else
34022 echo "$as_me:$LINENO: checking for _finite declaration" >&5
34023 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
34024 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34025 if test "${glibcxx_cv_func__finite_use+set}" = set; then
34026 echo $ECHO_N "(cached) $ECHO_C" >&6
34027 else
34031 ac_ext=cc
34032 ac_cpp='$CXXCPP $CPPFLAGS'
34033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 #include <math.h>
34044 #ifdef HAVE_IEEEFP_H
34045 #include <ieeefp.h>
34046 #endif
34049 main ()
34051 _finite(0);
34053 return 0;
34055 _ACEOF
34056 rm -f conftest.$ac_objext
34057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34058 (eval $ac_compile) 2>conftest.er1
34059 ac_status=$?
34060 grep -v '^ *+' conftest.er1 >conftest.err
34061 rm -f conftest.er1
34062 cat conftest.err >&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); } &&
34065 { ac_try='test -z "$ac_cxx_werror_flag"
34066 || test ! -s conftest.err'
34067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34068 (eval $ac_try) 2>&5
34069 ac_status=$?
34070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34071 (exit $ac_status); }; } &&
34072 { ac_try='test -s conftest.$ac_objext'
34073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34074 (eval $ac_try) 2>&5
34075 ac_status=$?
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); }; }; then
34078 glibcxx_cv_func__finite_use=yes
34079 else
34080 echo "$as_me: failed program was:" >&5
34081 sed 's/^/| /' conftest.$ac_ext >&5
34083 glibcxx_cv_func__finite_use=no
34085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
34097 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
34099 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34101 for ac_func in _finite
34103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34104 echo "$as_me:$LINENO: checking for $ac_func" >&5
34105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34106 if eval "test \"\${$as_ac_var+set}\" = set"; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 else
34109 if test x$gcc_no_link = xyes; then
34110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34112 { (exit 1); exit 1; }; }
34114 cat >conftest.$ac_ext <<_ACEOF
34115 /* confdefs.h. */
34116 _ACEOF
34117 cat confdefs.h >>conftest.$ac_ext
34118 cat >>conftest.$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34122 #define $ac_func innocuous_$ac_func
34124 /* System header to define __stub macros and hopefully few prototypes,
34125 which can conflict with char $ac_func (); below.
34126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34127 <limits.h> exists even on freestanding compilers. */
34129 #ifdef __STDC__
34130 # include <limits.h>
34131 #else
34132 # include <assert.h>
34133 #endif
34135 #undef $ac_func
34137 /* Override any gcc2 internal prototype to avoid an error. */
34138 #ifdef __cplusplus
34139 extern "C"
34141 #endif
34142 /* We use char because int might match the return type of a gcc2
34143 builtin and then its argument prototype would still apply. */
34144 char $ac_func ();
34145 /* The GNU C library defines this for functions which it implements
34146 to always fail with ENOSYS. Some functions are actually named
34147 something starting with __ and the normal name is an alias. */
34148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34149 choke me
34150 #else
34151 char (*f) () = $ac_func;
34152 #endif
34153 #ifdef __cplusplus
34155 #endif
34158 main ()
34160 return f != $ac_func;
34162 return 0;
34164 _ACEOF
34165 rm -f conftest.$ac_objext conftest$ac_exeext
34166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34167 (eval $ac_link) 2>conftest.er1
34168 ac_status=$?
34169 grep -v '^ *+' conftest.er1 >conftest.err
34170 rm -f conftest.er1
34171 cat conftest.err >&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } &&
34174 { ac_try='test -z "$ac_c_werror_flag"
34175 || test ! -s conftest.err'
34176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34177 (eval $ac_try) 2>&5
34178 ac_status=$?
34179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34180 (exit $ac_status); }; } &&
34181 { ac_try='test -s conftest$ac_exeext'
34182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34183 (eval $ac_try) 2>&5
34184 ac_status=$?
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); }; }; then
34187 eval "$as_ac_var=yes"
34188 else
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34192 eval "$as_ac_var=no"
34194 rm -f conftest.err conftest.$ac_objext \
34195 conftest$ac_exeext conftest.$ac_ext
34197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34199 if test `eval echo '${'$as_ac_var'}'` = yes; then
34200 cat >>confdefs.h <<_ACEOF
34201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34202 _ACEOF
34205 done
34215 echo "$as_me:$LINENO: checking for copysign declaration" >&5
34216 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34217 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34218 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34219 echo $ECHO_N "(cached) $ECHO_C" >&6
34220 else
34224 ac_ext=cc
34225 ac_cpp='$CXXCPP $CPPFLAGS'
34226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34230 cat >conftest.$ac_ext <<_ACEOF
34231 /* confdefs.h. */
34232 _ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34236 #include <math.h>
34238 main ()
34240 copysign(0, 0);
34242 return 0;
34244 _ACEOF
34245 rm -f conftest.$ac_objext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34247 (eval $ac_compile) 2>conftest.er1
34248 ac_status=$?
34249 grep -v '^ *+' conftest.er1 >conftest.err
34250 rm -f conftest.er1
34251 cat conftest.err >&5
34252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253 (exit $ac_status); } &&
34254 { ac_try='test -z "$ac_cxx_werror_flag"
34255 || test ! -s conftest.err'
34256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34257 (eval $ac_try) 2>&5
34258 ac_status=$?
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); }; } &&
34261 { ac_try='test -s conftest.$ac_objext'
34262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34263 (eval $ac_try) 2>&5
34264 ac_status=$?
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); }; }; then
34267 glibcxx_cv_func_copysign_use=yes
34268 else
34269 echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.$ac_ext >&5
34272 glibcxx_cv_func_copysign_use=no
34274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34275 ac_ext=c
34276 ac_cpp='$CPP $CPPFLAGS'
34277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34286 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34288 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34290 for ac_func in copysign
34292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34293 echo "$as_me:$LINENO: checking for $ac_func" >&5
34294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34295 if eval "test \"\${$as_ac_var+set}\" = set"; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298 if test x$gcc_no_link = xyes; then
34299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34301 { (exit 1); exit 1; }; }
34303 cat >conftest.$ac_ext <<_ACEOF
34304 /* confdefs.h. */
34305 _ACEOF
34306 cat confdefs.h >>conftest.$ac_ext
34307 cat >>conftest.$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34311 #define $ac_func innocuous_$ac_func
34313 /* System header to define __stub macros and hopefully few prototypes,
34314 which can conflict with char $ac_func (); below.
34315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34316 <limits.h> exists even on freestanding compilers. */
34318 #ifdef __STDC__
34319 # include <limits.h>
34320 #else
34321 # include <assert.h>
34322 #endif
34324 #undef $ac_func
34326 /* Override any gcc2 internal prototype to avoid an error. */
34327 #ifdef __cplusplus
34328 extern "C"
34330 #endif
34331 /* We use char because int might match the return type of a gcc2
34332 builtin and then its argument prototype would still apply. */
34333 char $ac_func ();
34334 /* The GNU C library defines this for functions which it implements
34335 to always fail with ENOSYS. Some functions are actually named
34336 something starting with __ and the normal name is an alias. */
34337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34338 choke me
34339 #else
34340 char (*f) () = $ac_func;
34341 #endif
34342 #ifdef __cplusplus
34344 #endif
34347 main ()
34349 return f != $ac_func;
34351 return 0;
34353 _ACEOF
34354 rm -f conftest.$ac_objext conftest$ac_exeext
34355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34356 (eval $ac_link) 2>conftest.er1
34357 ac_status=$?
34358 grep -v '^ *+' conftest.er1 >conftest.err
34359 rm -f conftest.er1
34360 cat conftest.err >&5
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); } &&
34363 { ac_try='test -z "$ac_c_werror_flag"
34364 || test ! -s conftest.err'
34365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34366 (eval $ac_try) 2>&5
34367 ac_status=$?
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); }; } &&
34370 { ac_try='test -s conftest$ac_exeext'
34371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34372 (eval $ac_try) 2>&5
34373 ac_status=$?
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); }; }; then
34376 eval "$as_ac_var=yes"
34377 else
34378 echo "$as_me: failed program was:" >&5
34379 sed 's/^/| /' conftest.$ac_ext >&5
34381 eval "$as_ac_var=no"
34383 rm -f conftest.err conftest.$ac_objext \
34384 conftest$ac_exeext conftest.$ac_ext
34386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34388 if test `eval echo '${'$as_ac_var'}'` = yes; then
34389 cat >>confdefs.h <<_ACEOF
34390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34391 _ACEOF
34394 done
34396 else
34398 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34399 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34400 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34401 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34402 echo $ECHO_N "(cached) $ECHO_C" >&6
34403 else
34407 ac_ext=cc
34408 ac_cpp='$CXXCPP $CPPFLAGS'
34409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34413 cat >conftest.$ac_ext <<_ACEOF
34414 /* confdefs.h. */
34415 _ACEOF
34416 cat confdefs.h >>conftest.$ac_ext
34417 cat >>conftest.$ac_ext <<_ACEOF
34418 /* end confdefs.h. */
34419 #include <math.h>
34421 main ()
34423 _copysign(0, 0);
34425 return 0;
34427 _ACEOF
34428 rm -f conftest.$ac_objext
34429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34430 (eval $ac_compile) 2>conftest.er1
34431 ac_status=$?
34432 grep -v '^ *+' conftest.er1 >conftest.err
34433 rm -f conftest.er1
34434 cat conftest.err >&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } &&
34437 { ac_try='test -z "$ac_cxx_werror_flag"
34438 || test ! -s conftest.err'
34439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440 (eval $ac_try) 2>&5
34441 ac_status=$?
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); }; } &&
34444 { ac_try='test -s conftest.$ac_objext'
34445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446 (eval $ac_try) 2>&5
34447 ac_status=$?
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); }; }; then
34450 glibcxx_cv_func__copysign_use=yes
34451 else
34452 echo "$as_me: failed program was:" >&5
34453 sed 's/^/| /' conftest.$ac_ext >&5
34455 glibcxx_cv_func__copysign_use=no
34457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34458 ac_ext=c
34459 ac_cpp='$CPP $CPPFLAGS'
34460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34469 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34471 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34473 for ac_func in _copysign
34475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34476 echo "$as_me:$LINENO: checking for $ac_func" >&5
34477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34478 if eval "test \"\${$as_ac_var+set}\" = set"; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34481 if test x$gcc_no_link = xyes; then
34482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34484 { (exit 1); exit 1; }; }
34486 cat >conftest.$ac_ext <<_ACEOF
34487 /* confdefs.h. */
34488 _ACEOF
34489 cat confdefs.h >>conftest.$ac_ext
34490 cat >>conftest.$ac_ext <<_ACEOF
34491 /* end confdefs.h. */
34492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34494 #define $ac_func innocuous_$ac_func
34496 /* System header to define __stub macros and hopefully few prototypes,
34497 which can conflict with char $ac_func (); below.
34498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34499 <limits.h> exists even on freestanding compilers. */
34501 #ifdef __STDC__
34502 # include <limits.h>
34503 #else
34504 # include <assert.h>
34505 #endif
34507 #undef $ac_func
34509 /* Override any gcc2 internal prototype to avoid an error. */
34510 #ifdef __cplusplus
34511 extern "C"
34513 #endif
34514 /* We use char because int might match the return type of a gcc2
34515 builtin and then its argument prototype would still apply. */
34516 char $ac_func ();
34517 /* The GNU C library defines this for functions which it implements
34518 to always fail with ENOSYS. Some functions are actually named
34519 something starting with __ and the normal name is an alias. */
34520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34521 choke me
34522 #else
34523 char (*f) () = $ac_func;
34524 #endif
34525 #ifdef __cplusplus
34527 #endif
34530 main ()
34532 return f != $ac_func;
34534 return 0;
34536 _ACEOF
34537 rm -f conftest.$ac_objext conftest$ac_exeext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34539 (eval $ac_link) 2>conftest.er1
34540 ac_status=$?
34541 grep -v '^ *+' conftest.er1 >conftest.err
34542 rm -f conftest.er1
34543 cat conftest.err >&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try='test -z "$ac_c_werror_flag"
34547 || test ! -s conftest.err'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; } &&
34553 { ac_try='test -s conftest$ac_exeext'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34556 ac_status=$?
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; }; then
34559 eval "$as_ac_var=yes"
34560 else
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34564 eval "$as_ac_var=no"
34566 rm -f conftest.err conftest.$ac_objext \
34567 conftest$ac_exeext conftest.$ac_ext
34569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34571 if test `eval echo '${'$as_ac_var'}'` = yes; then
34572 cat >>confdefs.h <<_ACEOF
34573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34574 _ACEOF
34577 done
34587 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34588 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34589 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34590 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34596 ac_ext=cc
34597 ac_cpp='$CXXCPP $CPPFLAGS'
34598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34602 cat >conftest.$ac_ext <<_ACEOF
34603 /* confdefs.h. */
34604 _ACEOF
34605 cat confdefs.h >>conftest.$ac_ext
34606 cat >>conftest.$ac_ext <<_ACEOF
34607 /* end confdefs.h. */
34608 #include <math.h>
34610 main ()
34612 sincos(0, 0, 0);
34614 return 0;
34616 _ACEOF
34617 rm -f conftest.$ac_objext
34618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34619 (eval $ac_compile) 2>conftest.er1
34620 ac_status=$?
34621 grep -v '^ *+' conftest.er1 >conftest.err
34622 rm -f conftest.er1
34623 cat conftest.err >&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } &&
34626 { ac_try='test -z "$ac_cxx_werror_flag"
34627 || test ! -s conftest.err'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34630 ac_status=$?
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; } &&
34633 { ac_try='test -s conftest.$ac_objext'
34634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34635 (eval $ac_try) 2>&5
34636 ac_status=$?
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); }; }; then
34639 glibcxx_cv_func_sincos_use=yes
34640 else
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34644 glibcxx_cv_func_sincos_use=no
34646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34647 ac_ext=c
34648 ac_cpp='$CPP $CPPFLAGS'
34649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34658 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34660 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34662 for ac_func in sincos
34664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34665 echo "$as_me:$LINENO: checking for $ac_func" >&5
34666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34667 if eval "test \"\${$as_ac_var+set}\" = set"; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 else
34670 if test x$gcc_no_link = xyes; then
34671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34673 { (exit 1); exit 1; }; }
34675 cat >conftest.$ac_ext <<_ACEOF
34676 /* confdefs.h. */
34677 _ACEOF
34678 cat confdefs.h >>conftest.$ac_ext
34679 cat >>conftest.$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34683 #define $ac_func innocuous_$ac_func
34685 /* System header to define __stub macros and hopefully few prototypes,
34686 which can conflict with char $ac_func (); below.
34687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34688 <limits.h> exists even on freestanding compilers. */
34690 #ifdef __STDC__
34691 # include <limits.h>
34692 #else
34693 # include <assert.h>
34694 #endif
34696 #undef $ac_func
34698 /* Override any gcc2 internal prototype to avoid an error. */
34699 #ifdef __cplusplus
34700 extern "C"
34702 #endif
34703 /* We use char because int might match the return type of a gcc2
34704 builtin and then its argument prototype would still apply. */
34705 char $ac_func ();
34706 /* The GNU C library defines this for functions which it implements
34707 to always fail with ENOSYS. Some functions are actually named
34708 something starting with __ and the normal name is an alias. */
34709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34710 choke me
34711 #else
34712 char (*f) () = $ac_func;
34713 #endif
34714 #ifdef __cplusplus
34716 #endif
34719 main ()
34721 return f != $ac_func;
34723 return 0;
34725 _ACEOF
34726 rm -f conftest.$ac_objext conftest$ac_exeext
34727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34728 (eval $ac_link) 2>conftest.er1
34729 ac_status=$?
34730 grep -v '^ *+' conftest.er1 >conftest.err
34731 rm -f conftest.er1
34732 cat conftest.err >&5
34733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34734 (exit $ac_status); } &&
34735 { ac_try='test -z "$ac_c_werror_flag"
34736 || test ! -s conftest.err'
34737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34738 (eval $ac_try) 2>&5
34739 ac_status=$?
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; } &&
34742 { ac_try='test -s conftest$ac_exeext'
34743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744 (eval $ac_try) 2>&5
34745 ac_status=$?
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); }; }; then
34748 eval "$as_ac_var=yes"
34749 else
34750 echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.$ac_ext >&5
34753 eval "$as_ac_var=no"
34755 rm -f conftest.err conftest.$ac_objext \
34756 conftest$ac_exeext conftest.$ac_ext
34758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34760 if test `eval echo '${'$as_ac_var'}'` = yes; then
34761 cat >>confdefs.h <<_ACEOF
34762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34763 _ACEOF
34766 done
34768 else
34770 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34771 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34772 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34773 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34775 else
34779 ac_ext=cc
34780 ac_cpp='$CXXCPP $CPPFLAGS'
34781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34785 cat >conftest.$ac_ext <<_ACEOF
34786 /* confdefs.h. */
34787 _ACEOF
34788 cat confdefs.h >>conftest.$ac_ext
34789 cat >>conftest.$ac_ext <<_ACEOF
34790 /* end confdefs.h. */
34791 #include <math.h>
34793 main ()
34795 _sincos(0, 0, 0);
34797 return 0;
34799 _ACEOF
34800 rm -f conftest.$ac_objext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34802 (eval $ac_compile) 2>conftest.er1
34803 ac_status=$?
34804 grep -v '^ *+' conftest.er1 >conftest.err
34805 rm -f conftest.er1
34806 cat conftest.err >&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try='test -z "$ac_cxx_werror_flag"
34810 || test ! -s conftest.err'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34813 ac_status=$?
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; } &&
34816 { ac_try='test -s conftest.$ac_objext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34819 ac_status=$?
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34822 glibcxx_cv_func__sincos_use=yes
34823 else
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.$ac_ext >&5
34827 glibcxx_cv_func__sincos_use=no
34829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34830 ac_ext=c
34831 ac_cpp='$CPP $CPPFLAGS'
34832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34841 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34843 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34845 for ac_func in _sincos
34847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34848 echo "$as_me:$LINENO: checking for $ac_func" >&5
34849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34850 if eval "test \"\${$as_ac_var+set}\" = set"; then
34851 echo $ECHO_N "(cached) $ECHO_C" >&6
34852 else
34853 if test x$gcc_no_link = xyes; then
34854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34856 { (exit 1); exit 1; }; }
34858 cat >conftest.$ac_ext <<_ACEOF
34859 /* confdefs.h. */
34860 _ACEOF
34861 cat confdefs.h >>conftest.$ac_ext
34862 cat >>conftest.$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34866 #define $ac_func innocuous_$ac_func
34868 /* System header to define __stub macros and hopefully few prototypes,
34869 which can conflict with char $ac_func (); below.
34870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34871 <limits.h> exists even on freestanding compilers. */
34873 #ifdef __STDC__
34874 # include <limits.h>
34875 #else
34876 # include <assert.h>
34877 #endif
34879 #undef $ac_func
34881 /* Override any gcc2 internal prototype to avoid an error. */
34882 #ifdef __cplusplus
34883 extern "C"
34885 #endif
34886 /* We use char because int might match the return type of a gcc2
34887 builtin and then its argument prototype would still apply. */
34888 char $ac_func ();
34889 /* The GNU C library defines this for functions which it implements
34890 to always fail with ENOSYS. Some functions are actually named
34891 something starting with __ and the normal name is an alias. */
34892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34893 choke me
34894 #else
34895 char (*f) () = $ac_func;
34896 #endif
34897 #ifdef __cplusplus
34899 #endif
34902 main ()
34904 return f != $ac_func;
34906 return 0;
34908 _ACEOF
34909 rm -f conftest.$ac_objext conftest$ac_exeext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34911 (eval $ac_link) 2>conftest.er1
34912 ac_status=$?
34913 grep -v '^ *+' conftest.er1 >conftest.err
34914 rm -f conftest.er1
34915 cat conftest.err >&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try='test -z "$ac_c_werror_flag"
34919 || test ! -s conftest.err'
34920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34921 (eval $ac_try) 2>&5
34922 ac_status=$?
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); }; } &&
34925 { ac_try='test -s conftest$ac_exeext'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34928 ac_status=$?
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; }; then
34931 eval "$as_ac_var=yes"
34932 else
34933 echo "$as_me: failed program was:" >&5
34934 sed 's/^/| /' conftest.$ac_ext >&5
34936 eval "$as_ac_var=no"
34938 rm -f conftest.err conftest.$ac_objext \
34939 conftest$ac_exeext conftest.$ac_ext
34941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34943 if test `eval echo '${'$as_ac_var'}'` = yes; then
34944 cat >>confdefs.h <<_ACEOF
34945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34946 _ACEOF
34949 done
34959 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34960 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34961 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34962 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 else
34968 ac_ext=cc
34969 ac_cpp='$CXXCPP $CPPFLAGS'
34970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34974 cat >conftest.$ac_ext <<_ACEOF
34975 /* confdefs.h. */
34976 _ACEOF
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34980 #include <math.h>
34981 #ifdef HAVE_IEEEFP_H
34982 #include <ieeefp.h>
34983 #endif
34986 main ()
34988 fpclass(0);
34990 return 0;
34992 _ACEOF
34993 rm -f conftest.$ac_objext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34995 (eval $ac_compile) 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } &&
35002 { ac_try='test -z "$ac_cxx_werror_flag"
35003 || test ! -s conftest.err'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35006 ac_status=$?
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; } &&
35009 { ac_try='test -s conftest.$ac_objext'
35010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35011 (eval $ac_try) 2>&5
35012 ac_status=$?
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); }; }; then
35015 glibcxx_cv_func_fpclass_use=yes
35016 else
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35020 glibcxx_cv_func_fpclass_use=no
35022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35023 ac_ext=c
35024 ac_cpp='$CPP $CPPFLAGS'
35025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
35034 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
35036 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35038 for ac_func in fpclass
35040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35041 echo "$as_me:$LINENO: checking for $ac_func" >&5
35042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35043 if eval "test \"\${$as_ac_var+set}\" = set"; then
35044 echo $ECHO_N "(cached) $ECHO_C" >&6
35045 else
35046 if test x$gcc_no_link = xyes; then
35047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35049 { (exit 1); exit 1; }; }
35051 cat >conftest.$ac_ext <<_ACEOF
35052 /* confdefs.h. */
35053 _ACEOF
35054 cat confdefs.h >>conftest.$ac_ext
35055 cat >>conftest.$ac_ext <<_ACEOF
35056 /* end confdefs.h. */
35057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35059 #define $ac_func innocuous_$ac_func
35061 /* System header to define __stub macros and hopefully few prototypes,
35062 which can conflict with char $ac_func (); below.
35063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35064 <limits.h> exists even on freestanding compilers. */
35066 #ifdef __STDC__
35067 # include <limits.h>
35068 #else
35069 # include <assert.h>
35070 #endif
35072 #undef $ac_func
35074 /* Override any gcc2 internal prototype to avoid an error. */
35075 #ifdef __cplusplus
35076 extern "C"
35078 #endif
35079 /* We use char because int might match the return type of a gcc2
35080 builtin and then its argument prototype would still apply. */
35081 char $ac_func ();
35082 /* The GNU C library defines this for functions which it implements
35083 to always fail with ENOSYS. Some functions are actually named
35084 something starting with __ and the normal name is an alias. */
35085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35086 choke me
35087 #else
35088 char (*f) () = $ac_func;
35089 #endif
35090 #ifdef __cplusplus
35092 #endif
35095 main ()
35097 return f != $ac_func;
35099 return 0;
35101 _ACEOF
35102 rm -f conftest.$ac_objext conftest$ac_exeext
35103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35104 (eval $ac_link) 2>conftest.er1
35105 ac_status=$?
35106 grep -v '^ *+' conftest.er1 >conftest.err
35107 rm -f conftest.er1
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try='test -z "$ac_c_werror_flag"
35112 || test ! -s conftest.err'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35115 ac_status=$?
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; } &&
35118 { ac_try='test -s conftest$ac_exeext'
35119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35120 (eval $ac_try) 2>&5
35121 ac_status=$?
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); }; }; then
35124 eval "$as_ac_var=yes"
35125 else
35126 echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35129 eval "$as_ac_var=no"
35131 rm -f conftest.err conftest.$ac_objext \
35132 conftest$ac_exeext conftest.$ac_ext
35134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35136 if test `eval echo '${'$as_ac_var'}'` = yes; then
35137 cat >>confdefs.h <<_ACEOF
35138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35139 _ACEOF
35142 done
35144 else
35146 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35147 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35148 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35149 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35151 else
35155 ac_ext=cc
35156 ac_cpp='$CXXCPP $CPPFLAGS'
35157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35161 cat >conftest.$ac_ext <<_ACEOF
35162 /* confdefs.h. */
35163 _ACEOF
35164 cat confdefs.h >>conftest.$ac_ext
35165 cat >>conftest.$ac_ext <<_ACEOF
35166 /* end confdefs.h. */
35167 #include <math.h>
35168 #ifdef HAVE_IEEEFP_H
35169 #include <ieeefp.h>
35170 #endif
35173 main ()
35175 _fpclass(0);
35177 return 0;
35179 _ACEOF
35180 rm -f conftest.$ac_objext
35181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35182 (eval $ac_compile) 2>conftest.er1
35183 ac_status=$?
35184 grep -v '^ *+' conftest.er1 >conftest.err
35185 rm -f conftest.er1
35186 cat conftest.err >&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); } &&
35189 { ac_try='test -z "$ac_cxx_werror_flag"
35190 || test ! -s conftest.err'
35191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35192 (eval $ac_try) 2>&5
35193 ac_status=$?
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); }; } &&
35196 { ac_try='test -s conftest.$ac_objext'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35199 ac_status=$?
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; }; then
35202 glibcxx_cv_func__fpclass_use=yes
35203 else
35204 echo "$as_me: failed program was:" >&5
35205 sed 's/^/| /' conftest.$ac_ext >&5
35207 glibcxx_cv_func__fpclass_use=no
35209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35210 ac_ext=c
35211 ac_cpp='$CPP $CPPFLAGS'
35212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35221 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35223 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35225 for ac_func in _fpclass
35227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35228 echo "$as_me:$LINENO: checking for $ac_func" >&5
35229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35230 if eval "test \"\${$as_ac_var+set}\" = set"; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 else
35233 if test x$gcc_no_link = xyes; then
35234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35236 { (exit 1); exit 1; }; }
35238 cat >conftest.$ac_ext <<_ACEOF
35239 /* confdefs.h. */
35240 _ACEOF
35241 cat confdefs.h >>conftest.$ac_ext
35242 cat >>conftest.$ac_ext <<_ACEOF
35243 /* end confdefs.h. */
35244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35246 #define $ac_func innocuous_$ac_func
35248 /* System header to define __stub macros and hopefully few prototypes,
35249 which can conflict with char $ac_func (); below.
35250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35251 <limits.h> exists even on freestanding compilers. */
35253 #ifdef __STDC__
35254 # include <limits.h>
35255 #else
35256 # include <assert.h>
35257 #endif
35259 #undef $ac_func
35261 /* Override any gcc2 internal prototype to avoid an error. */
35262 #ifdef __cplusplus
35263 extern "C"
35265 #endif
35266 /* We use char because int might match the return type of a gcc2
35267 builtin and then its argument prototype would still apply. */
35268 char $ac_func ();
35269 /* The GNU C library defines this for functions which it implements
35270 to always fail with ENOSYS. Some functions are actually named
35271 something starting with __ and the normal name is an alias. */
35272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35273 choke me
35274 #else
35275 char (*f) () = $ac_func;
35276 #endif
35277 #ifdef __cplusplus
35279 #endif
35282 main ()
35284 return f != $ac_func;
35286 return 0;
35288 _ACEOF
35289 rm -f conftest.$ac_objext conftest$ac_exeext
35290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35291 (eval $ac_link) 2>conftest.er1
35292 ac_status=$?
35293 grep -v '^ *+' conftest.er1 >conftest.err
35294 rm -f conftest.er1
35295 cat conftest.err >&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); } &&
35298 { ac_try='test -z "$ac_c_werror_flag"
35299 || test ! -s conftest.err'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; } &&
35305 { ac_try='test -s conftest$ac_exeext'
35306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35307 (eval $ac_try) 2>&5
35308 ac_status=$?
35309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35310 (exit $ac_status); }; }; then
35311 eval "$as_ac_var=yes"
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35316 eval "$as_ac_var=no"
35318 rm -f conftest.err conftest.$ac_objext \
35319 conftest$ac_exeext conftest.$ac_ext
35321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35323 if test `eval echo '${'$as_ac_var'}'` = yes; then
35324 cat >>confdefs.h <<_ACEOF
35325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35326 _ACEOF
35329 done
35339 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35340 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35341 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35342 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35343 echo $ECHO_N "(cached) $ECHO_C" >&6
35344 else
35348 ac_ext=cc
35349 ac_cpp='$CXXCPP $CPPFLAGS'
35350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35354 cat >conftest.$ac_ext <<_ACEOF
35355 /* confdefs.h. */
35356 _ACEOF
35357 cat confdefs.h >>conftest.$ac_ext
35358 cat >>conftest.$ac_ext <<_ACEOF
35359 /* end confdefs.h. */
35360 #include <math.h>
35361 #ifdef HAVE_IEEEFP_H
35362 #include <ieeefp.h>
35363 #endif
35366 main ()
35368 qfpclass(0);
35370 return 0;
35372 _ACEOF
35373 rm -f conftest.$ac_objext
35374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35375 (eval $ac_compile) 2>conftest.er1
35376 ac_status=$?
35377 grep -v '^ *+' conftest.er1 >conftest.err
35378 rm -f conftest.er1
35379 cat conftest.err >&5
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); } &&
35382 { ac_try='test -z "$ac_cxx_werror_flag"
35383 || test ! -s conftest.err'
35384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35385 (eval $ac_try) 2>&5
35386 ac_status=$?
35387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35388 (exit $ac_status); }; } &&
35389 { ac_try='test -s conftest.$ac_objext'
35390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35391 (eval $ac_try) 2>&5
35392 ac_status=$?
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); }; }; then
35395 glibcxx_cv_func_qfpclass_use=yes
35396 else
35397 echo "$as_me: failed program was:" >&5
35398 sed 's/^/| /' conftest.$ac_ext >&5
35400 glibcxx_cv_func_qfpclass_use=no
35402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35403 ac_ext=c
35404 ac_cpp='$CPP $CPPFLAGS'
35405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35414 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35416 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35418 for ac_func in qfpclass
35420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35421 echo "$as_me:$LINENO: checking for $ac_func" >&5
35422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35423 if eval "test \"\${$as_ac_var+set}\" = set"; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 else
35426 if test x$gcc_no_link = xyes; then
35427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35429 { (exit 1); exit 1; }; }
35431 cat >conftest.$ac_ext <<_ACEOF
35432 /* confdefs.h. */
35433 _ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35439 #define $ac_func innocuous_$ac_func
35441 /* System header to define __stub macros and hopefully few prototypes,
35442 which can conflict with char $ac_func (); below.
35443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35444 <limits.h> exists even on freestanding compilers. */
35446 #ifdef __STDC__
35447 # include <limits.h>
35448 #else
35449 # include <assert.h>
35450 #endif
35452 #undef $ac_func
35454 /* Override any gcc2 internal prototype to avoid an error. */
35455 #ifdef __cplusplus
35456 extern "C"
35458 #endif
35459 /* We use char because int might match the return type of a gcc2
35460 builtin and then its argument prototype would still apply. */
35461 char $ac_func ();
35462 /* The GNU C library defines this for functions which it implements
35463 to always fail with ENOSYS. Some functions are actually named
35464 something starting with __ and the normal name is an alias. */
35465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35466 choke me
35467 #else
35468 char (*f) () = $ac_func;
35469 #endif
35470 #ifdef __cplusplus
35472 #endif
35475 main ()
35477 return f != $ac_func;
35479 return 0;
35481 _ACEOF
35482 rm -f conftest.$ac_objext conftest$ac_exeext
35483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35484 (eval $ac_link) 2>conftest.er1
35485 ac_status=$?
35486 grep -v '^ *+' conftest.er1 >conftest.err
35487 rm -f conftest.er1
35488 cat conftest.err >&5
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); } &&
35491 { ac_try='test -z "$ac_c_werror_flag"
35492 || test ! -s conftest.err'
35493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35494 (eval $ac_try) 2>&5
35495 ac_status=$?
35496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35497 (exit $ac_status); }; } &&
35498 { ac_try='test -s conftest$ac_exeext'
35499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35500 (eval $ac_try) 2>&5
35501 ac_status=$?
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); }; }; then
35504 eval "$as_ac_var=yes"
35505 else
35506 echo "$as_me: failed program was:" >&5
35507 sed 's/^/| /' conftest.$ac_ext >&5
35509 eval "$as_ac_var=no"
35511 rm -f conftest.err conftest.$ac_objext \
35512 conftest$ac_exeext conftest.$ac_ext
35514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35516 if test `eval echo '${'$as_ac_var'}'` = yes; then
35517 cat >>confdefs.h <<_ACEOF
35518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35519 _ACEOF
35522 done
35524 else
35526 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35527 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35528 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35529 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35530 echo $ECHO_N "(cached) $ECHO_C" >&6
35531 else
35535 ac_ext=cc
35536 ac_cpp='$CXXCPP $CPPFLAGS'
35537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35541 cat >conftest.$ac_ext <<_ACEOF
35542 /* confdefs.h. */
35543 _ACEOF
35544 cat confdefs.h >>conftest.$ac_ext
35545 cat >>conftest.$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35547 #include <math.h>
35548 #ifdef HAVE_IEEEFP_H
35549 #include <ieeefp.h>
35550 #endif
35553 main ()
35555 _qfpclass(0);
35557 return 0;
35559 _ACEOF
35560 rm -f conftest.$ac_objext
35561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35562 (eval $ac_compile) 2>conftest.er1
35563 ac_status=$?
35564 grep -v '^ *+' conftest.er1 >conftest.err
35565 rm -f conftest.er1
35566 cat conftest.err >&5
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); } &&
35569 { ac_try='test -z "$ac_cxx_werror_flag"
35570 || test ! -s conftest.err'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35573 ac_status=$?
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; } &&
35576 { ac_try='test -s conftest.$ac_objext'
35577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35578 (eval $ac_try) 2>&5
35579 ac_status=$?
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); }; }; then
35582 glibcxx_cv_func__qfpclass_use=yes
35583 else
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35587 glibcxx_cv_func__qfpclass_use=no
35589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35590 ac_ext=c
35591 ac_cpp='$CPP $CPPFLAGS'
35592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35601 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35603 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35605 for ac_func in _qfpclass
35607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35608 echo "$as_me:$LINENO: checking for $ac_func" >&5
35609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35610 if eval "test \"\${$as_ac_var+set}\" = set"; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35612 else
35613 if test x$gcc_no_link = xyes; then
35614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35616 { (exit 1); exit 1; }; }
35618 cat >conftest.$ac_ext <<_ACEOF
35619 /* confdefs.h. */
35620 _ACEOF
35621 cat confdefs.h >>conftest.$ac_ext
35622 cat >>conftest.$ac_ext <<_ACEOF
35623 /* end confdefs.h. */
35624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35626 #define $ac_func innocuous_$ac_func
35628 /* System header to define __stub macros and hopefully few prototypes,
35629 which can conflict with char $ac_func (); below.
35630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35631 <limits.h> exists even on freestanding compilers. */
35633 #ifdef __STDC__
35634 # include <limits.h>
35635 #else
35636 # include <assert.h>
35637 #endif
35639 #undef $ac_func
35641 /* Override any gcc2 internal prototype to avoid an error. */
35642 #ifdef __cplusplus
35643 extern "C"
35645 #endif
35646 /* We use char because int might match the return type of a gcc2
35647 builtin and then its argument prototype would still apply. */
35648 char $ac_func ();
35649 /* The GNU C library defines this for functions which it implements
35650 to always fail with ENOSYS. Some functions are actually named
35651 something starting with __ and the normal name is an alias. */
35652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35653 choke me
35654 #else
35655 char (*f) () = $ac_func;
35656 #endif
35657 #ifdef __cplusplus
35659 #endif
35662 main ()
35664 return f != $ac_func;
35666 return 0;
35668 _ACEOF
35669 rm -f conftest.$ac_objext conftest$ac_exeext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35671 (eval $ac_link) 2>conftest.er1
35672 ac_status=$?
35673 grep -v '^ *+' conftest.er1 >conftest.err
35674 rm -f conftest.er1
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try='test -z "$ac_c_werror_flag"
35679 || test ! -s conftest.err'
35680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35681 (eval $ac_try) 2>&5
35682 ac_status=$?
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); }; } &&
35685 { ac_try='test -s conftest$ac_exeext'
35686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35687 (eval $ac_try) 2>&5
35688 ac_status=$?
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); }; }; then
35691 eval "$as_ac_var=yes"
35692 else
35693 echo "$as_me: failed program was:" >&5
35694 sed 's/^/| /' conftest.$ac_ext >&5
35696 eval "$as_ac_var=no"
35698 rm -f conftest.err conftest.$ac_objext \
35699 conftest$ac_exeext conftest.$ac_ext
35701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35703 if test `eval echo '${'$as_ac_var'}'` = yes; then
35704 cat >>confdefs.h <<_ACEOF
35705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35706 _ACEOF
35709 done
35719 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35720 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35721 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35722 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35728 ac_ext=cc
35729 ac_cpp='$CXXCPP $CPPFLAGS'
35730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35734 cat >conftest.$ac_ext <<_ACEOF
35735 /* confdefs.h. */
35736 _ACEOF
35737 cat confdefs.h >>conftest.$ac_ext
35738 cat >>conftest.$ac_ext <<_ACEOF
35739 /* end confdefs.h. */
35740 #include <math.h>
35742 main ()
35744 hypot(0, 0);
35746 return 0;
35748 _ACEOF
35749 rm -f conftest.$ac_objext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35751 (eval $ac_compile) 2>conftest.er1
35752 ac_status=$?
35753 grep -v '^ *+' conftest.er1 >conftest.err
35754 rm -f conftest.er1
35755 cat conftest.err >&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); } &&
35758 { ac_try='test -z "$ac_cxx_werror_flag"
35759 || test ! -s conftest.err'
35760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761 (eval $ac_try) 2>&5
35762 ac_status=$?
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); }; } &&
35765 { ac_try='test -s conftest.$ac_objext'
35766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35767 (eval $ac_try) 2>&5
35768 ac_status=$?
35769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); }; }; then
35771 glibcxx_cv_func_hypot_use=yes
35772 else
35773 echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35776 glibcxx_cv_func_hypot_use=no
35778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35779 ac_ext=c
35780 ac_cpp='$CPP $CPPFLAGS'
35781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35790 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35792 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35794 for ac_func in hypot
35796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35797 echo "$as_me:$LINENO: checking for $ac_func" >&5
35798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35799 if eval "test \"\${$as_ac_var+set}\" = set"; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35801 else
35802 if test x$gcc_no_link = xyes; then
35803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35805 { (exit 1); exit 1; }; }
35807 cat >conftest.$ac_ext <<_ACEOF
35808 /* confdefs.h. */
35809 _ACEOF
35810 cat confdefs.h >>conftest.$ac_ext
35811 cat >>conftest.$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35815 #define $ac_func innocuous_$ac_func
35817 /* System header to define __stub macros and hopefully few prototypes,
35818 which can conflict with char $ac_func (); below.
35819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35820 <limits.h> exists even on freestanding compilers. */
35822 #ifdef __STDC__
35823 # include <limits.h>
35824 #else
35825 # include <assert.h>
35826 #endif
35828 #undef $ac_func
35830 /* Override any gcc2 internal prototype to avoid an error. */
35831 #ifdef __cplusplus
35832 extern "C"
35834 #endif
35835 /* We use char because int might match the return type of a gcc2
35836 builtin and then its argument prototype would still apply. */
35837 char $ac_func ();
35838 /* The GNU C library defines this for functions which it implements
35839 to always fail with ENOSYS. Some functions are actually named
35840 something starting with __ and the normal name is an alias. */
35841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35842 choke me
35843 #else
35844 char (*f) () = $ac_func;
35845 #endif
35846 #ifdef __cplusplus
35848 #endif
35851 main ()
35853 return f != $ac_func;
35855 return 0;
35857 _ACEOF
35858 rm -f conftest.$ac_objext conftest$ac_exeext
35859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35860 (eval $ac_link) 2>conftest.er1
35861 ac_status=$?
35862 grep -v '^ *+' conftest.er1 >conftest.err
35863 rm -f conftest.er1
35864 cat conftest.err >&5
35865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35866 (exit $ac_status); } &&
35867 { ac_try='test -z "$ac_c_werror_flag"
35868 || test ! -s conftest.err'
35869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35870 (eval $ac_try) 2>&5
35871 ac_status=$?
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); }; } &&
35874 { ac_try='test -s conftest$ac_exeext'
35875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35876 (eval $ac_try) 2>&5
35877 ac_status=$?
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); }; }; then
35880 eval "$as_ac_var=yes"
35881 else
35882 echo "$as_me: failed program was:" >&5
35883 sed 's/^/| /' conftest.$ac_ext >&5
35885 eval "$as_ac_var=no"
35887 rm -f conftest.err conftest.$ac_objext \
35888 conftest$ac_exeext conftest.$ac_ext
35890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35892 if test `eval echo '${'$as_ac_var'}'` = yes; then
35893 cat >>confdefs.h <<_ACEOF
35894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35895 _ACEOF
35898 done
35900 else
35902 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35903 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35904 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35905 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35906 echo $ECHO_N "(cached) $ECHO_C" >&6
35907 else
35911 ac_ext=cc
35912 ac_cpp='$CXXCPP $CPPFLAGS'
35913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35917 cat >conftest.$ac_ext <<_ACEOF
35918 /* confdefs.h. */
35919 _ACEOF
35920 cat confdefs.h >>conftest.$ac_ext
35921 cat >>conftest.$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35923 #include <math.h>
35925 main ()
35927 _hypot(0, 0);
35929 return 0;
35931 _ACEOF
35932 rm -f conftest.$ac_objext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35934 (eval $ac_compile) 2>conftest.er1
35935 ac_status=$?
35936 grep -v '^ *+' conftest.er1 >conftest.err
35937 rm -f conftest.er1
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } &&
35941 { ac_try='test -z "$ac_cxx_werror_flag"
35942 || test ! -s conftest.err'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35945 ac_status=$?
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; } &&
35948 { ac_try='test -s conftest.$ac_objext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35951 ac_status=$?
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35954 glibcxx_cv_func__hypot_use=yes
35955 else
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35959 glibcxx_cv_func__hypot_use=no
35961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35962 ac_ext=c
35963 ac_cpp='$CPP $CPPFLAGS'
35964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35973 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35975 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35977 for ac_func in _hypot
35979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35980 echo "$as_me:$LINENO: checking for $ac_func" >&5
35981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35982 if eval "test \"\${$as_ac_var+set}\" = set"; then
35983 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 else
35985 if test x$gcc_no_link = xyes; then
35986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35988 { (exit 1); exit 1; }; }
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35998 #define $ac_func innocuous_$ac_func
36000 /* System header to define __stub macros and hopefully few prototypes,
36001 which can conflict with char $ac_func (); below.
36002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36003 <limits.h> exists even on freestanding compilers. */
36005 #ifdef __STDC__
36006 # include <limits.h>
36007 #else
36008 # include <assert.h>
36009 #endif
36011 #undef $ac_func
36013 /* Override any gcc2 internal prototype to avoid an error. */
36014 #ifdef __cplusplus
36015 extern "C"
36017 #endif
36018 /* We use char because int might match the return type of a gcc2
36019 builtin and then its argument prototype would still apply. */
36020 char $ac_func ();
36021 /* The GNU C library defines this for functions which it implements
36022 to always fail with ENOSYS. Some functions are actually named
36023 something starting with __ and the normal name is an alias. */
36024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36025 choke me
36026 #else
36027 char (*f) () = $ac_func;
36028 #endif
36029 #ifdef __cplusplus
36031 #endif
36034 main ()
36036 return f != $ac_func;
36038 return 0;
36040 _ACEOF
36041 rm -f conftest.$ac_objext conftest$ac_exeext
36042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36043 (eval $ac_link) 2>conftest.er1
36044 ac_status=$?
36045 grep -v '^ *+' conftest.er1 >conftest.err
36046 rm -f conftest.er1
36047 cat conftest.err >&5
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); } &&
36050 { ac_try='test -z "$ac_c_werror_flag"
36051 || test ! -s conftest.err'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36054 ac_status=$?
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; } &&
36057 { ac_try='test -s conftest$ac_exeext'
36058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36059 (eval $ac_try) 2>&5
36060 ac_status=$?
36061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36062 (exit $ac_status); }; }; then
36063 eval "$as_ac_var=yes"
36064 else
36065 echo "$as_me: failed program was:" >&5
36066 sed 's/^/| /' conftest.$ac_ext >&5
36068 eval "$as_ac_var=no"
36070 rm -f conftest.err conftest.$ac_objext \
36071 conftest$ac_exeext conftest.$ac_ext
36073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36075 if test `eval echo '${'$as_ac_var'}'` = yes; then
36076 cat >>confdefs.h <<_ACEOF
36077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36078 _ACEOF
36081 done
36091 echo "$as_me:$LINENO: checking for float trig functions" >&5
36092 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
36093 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
36094 echo $ECHO_N "(cached) $ECHO_C" >&6
36095 else
36099 ac_ext=cc
36100 ac_cpp='$CXXCPP $CPPFLAGS'
36101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36105 cat >conftest.$ac_ext <<_ACEOF
36106 /* confdefs.h. */
36107 _ACEOF
36108 cat confdefs.h >>conftest.$ac_ext
36109 cat >>conftest.$ac_ext <<_ACEOF
36110 /* end confdefs.h. */
36111 #include <math.h>
36113 main ()
36115 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36117 return 0;
36119 _ACEOF
36120 rm -f conftest.$ac_objext
36121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36122 (eval $ac_compile) 2>conftest.er1
36123 ac_status=$?
36124 grep -v '^ *+' conftest.er1 >conftest.err
36125 rm -f conftest.er1
36126 cat conftest.err >&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } &&
36129 { ac_try='test -z "$ac_cxx_werror_flag"
36130 || test ! -s conftest.err'
36131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36132 (eval $ac_try) 2>&5
36133 ac_status=$?
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); }; } &&
36136 { ac_try='test -s conftest.$ac_objext'
36137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36138 (eval $ac_try) 2>&5
36139 ac_status=$?
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); }; }; then
36142 glibcxx_cv_func_float_trig_use=yes
36143 else
36144 echo "$as_me: failed program was:" >&5
36145 sed 's/^/| /' conftest.$ac_ext >&5
36147 glibcxx_cv_func_float_trig_use=no
36149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36150 ac_ext=c
36151 ac_cpp='$CPP $CPPFLAGS'
36152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36159 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36160 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36170 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36173 echo "$as_me:$LINENO: checking for $ac_func" >&5
36174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36175 if eval "test \"\${$as_ac_var+set}\" = set"; then
36176 echo $ECHO_N "(cached) $ECHO_C" >&6
36177 else
36178 if test x$gcc_no_link = xyes; then
36179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36181 { (exit 1); exit 1; }; }
36183 cat >conftest.$ac_ext <<_ACEOF
36184 /* confdefs.h. */
36185 _ACEOF
36186 cat confdefs.h >>conftest.$ac_ext
36187 cat >>conftest.$ac_ext <<_ACEOF
36188 /* end confdefs.h. */
36189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36191 #define $ac_func innocuous_$ac_func
36193 /* System header to define __stub macros and hopefully few prototypes,
36194 which can conflict with char $ac_func (); below.
36195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36196 <limits.h> exists even on freestanding compilers. */
36198 #ifdef __STDC__
36199 # include <limits.h>
36200 #else
36201 # include <assert.h>
36202 #endif
36204 #undef $ac_func
36206 /* Override any gcc2 internal prototype to avoid an error. */
36207 #ifdef __cplusplus
36208 extern "C"
36210 #endif
36211 /* We use char because int might match the return type of a gcc2
36212 builtin and then its argument prototype would still apply. */
36213 char $ac_func ();
36214 /* The GNU C library defines this for functions which it implements
36215 to always fail with ENOSYS. Some functions are actually named
36216 something starting with __ and the normal name is an alias. */
36217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36218 choke me
36219 #else
36220 char (*f) () = $ac_func;
36221 #endif
36222 #ifdef __cplusplus
36224 #endif
36227 main ()
36229 return f != $ac_func;
36231 return 0;
36233 _ACEOF
36234 rm -f conftest.$ac_objext conftest$ac_exeext
36235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36236 (eval $ac_link) 2>conftest.er1
36237 ac_status=$?
36238 grep -v '^ *+' conftest.er1 >conftest.err
36239 rm -f conftest.er1
36240 cat conftest.err >&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); } &&
36243 { ac_try='test -z "$ac_c_werror_flag"
36244 || test ! -s conftest.err'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; } &&
36250 { ac_try='test -s conftest$ac_exeext'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36253 ac_status=$?
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; }; then
36256 eval "$as_ac_var=yes"
36257 else
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.$ac_ext >&5
36261 eval "$as_ac_var=no"
36263 rm -f conftest.err conftest.$ac_objext \
36264 conftest$ac_exeext conftest.$ac_ext
36266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36268 if test `eval echo '${'$as_ac_var'}'` = yes; then
36269 cat >>confdefs.h <<_ACEOF
36270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36271 _ACEOF
36274 done
36276 else
36277 echo "$as_me:$LINENO: checking for _float trig functions" >&5
36278 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
36279 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
36280 echo $ECHO_N "(cached) $ECHO_C" >&6
36281 else
36285 ac_ext=cc
36286 ac_cpp='$CXXCPP $CPPFLAGS'
36287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h. */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 #include <math.h>
36299 main ()
36301 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36303 return 0;
36305 _ACEOF
36306 rm -f conftest.$ac_objext
36307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36308 (eval $ac_compile) 2>conftest.er1
36309 ac_status=$?
36310 grep -v '^ *+' conftest.er1 >conftest.err
36311 rm -f conftest.er1
36312 cat conftest.err >&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } &&
36315 { ac_try='test -z "$ac_cxx_werror_flag"
36316 || test ! -s conftest.err'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36319 ac_status=$?
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; } &&
36322 { ac_try='test -s conftest.$ac_objext'
36323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36324 (eval $ac_try) 2>&5
36325 ac_status=$?
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); }; }; then
36328 glibcxx_cv_func__float_trig_use=yes
36329 else
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.$ac_ext >&5
36333 glibcxx_cv_func__float_trig_use=no
36335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36336 ac_ext=c
36337 ac_cpp='$CPP $CPPFLAGS'
36338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36345 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36346 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36356 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36359 echo "$as_me:$LINENO: checking for $ac_func" >&5
36360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36361 if eval "test \"\${$as_ac_var+set}\" = set"; then
36362 echo $ECHO_N "(cached) $ECHO_C" >&6
36363 else
36364 if test x$gcc_no_link = xyes; then
36365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36367 { (exit 1); exit 1; }; }
36369 cat >conftest.$ac_ext <<_ACEOF
36370 /* confdefs.h. */
36371 _ACEOF
36372 cat confdefs.h >>conftest.$ac_ext
36373 cat >>conftest.$ac_ext <<_ACEOF
36374 /* end confdefs.h. */
36375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36377 #define $ac_func innocuous_$ac_func
36379 /* System header to define __stub macros and hopefully few prototypes,
36380 which can conflict with char $ac_func (); below.
36381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36382 <limits.h> exists even on freestanding compilers. */
36384 #ifdef __STDC__
36385 # include <limits.h>
36386 #else
36387 # include <assert.h>
36388 #endif
36390 #undef $ac_func
36392 /* Override any gcc2 internal prototype to avoid an error. */
36393 #ifdef __cplusplus
36394 extern "C"
36396 #endif
36397 /* We use char because int might match the return type of a gcc2
36398 builtin and then its argument prototype would still apply. */
36399 char $ac_func ();
36400 /* The GNU C library defines this for functions which it implements
36401 to always fail with ENOSYS. Some functions are actually named
36402 something starting with __ and the normal name is an alias. */
36403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36404 choke me
36405 #else
36406 char (*f) () = $ac_func;
36407 #endif
36408 #ifdef __cplusplus
36410 #endif
36413 main ()
36415 return f != $ac_func;
36417 return 0;
36419 _ACEOF
36420 rm -f conftest.$ac_objext conftest$ac_exeext
36421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36422 (eval $ac_link) 2>conftest.er1
36423 ac_status=$?
36424 grep -v '^ *+' conftest.er1 >conftest.err
36425 rm -f conftest.er1
36426 cat conftest.err >&5
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); } &&
36429 { ac_try='test -z "$ac_c_werror_flag"
36430 || test ! -s conftest.err'
36431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432 (eval $ac_try) 2>&5
36433 ac_status=$?
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); }; } &&
36436 { ac_try='test -s conftest$ac_exeext'
36437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36438 (eval $ac_try) 2>&5
36439 ac_status=$?
36440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441 (exit $ac_status); }; }; then
36442 eval "$as_ac_var=yes"
36443 else
36444 echo "$as_me: failed program was:" >&5
36445 sed 's/^/| /' conftest.$ac_ext >&5
36447 eval "$as_ac_var=no"
36449 rm -f conftest.err conftest.$ac_objext \
36450 conftest$ac_exeext conftest.$ac_ext
36452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36454 if test `eval echo '${'$as_ac_var'}'` = yes; then
36455 cat >>confdefs.h <<_ACEOF
36456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36457 _ACEOF
36460 done
36478 echo "$as_me:$LINENO: checking for float round functions" >&5
36479 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36480 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 else
36486 ac_ext=cc
36487 ac_cpp='$CXXCPP $CPPFLAGS'
36488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36492 cat >conftest.$ac_ext <<_ACEOF
36493 /* confdefs.h. */
36494 _ACEOF
36495 cat confdefs.h >>conftest.$ac_ext
36496 cat >>conftest.$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36498 #include <math.h>
36500 main ()
36502 ceilf (0); floorf (0);
36504 return 0;
36506 _ACEOF
36507 rm -f conftest.$ac_objext
36508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36509 (eval $ac_compile) 2>conftest.er1
36510 ac_status=$?
36511 grep -v '^ *+' conftest.er1 >conftest.err
36512 rm -f conftest.er1
36513 cat conftest.err >&5
36514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36515 (exit $ac_status); } &&
36516 { ac_try='test -z "$ac_cxx_werror_flag"
36517 || test ! -s conftest.err'
36518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36519 (eval $ac_try) 2>&5
36520 ac_status=$?
36521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36522 (exit $ac_status); }; } &&
36523 { ac_try='test -s conftest.$ac_objext'
36524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36525 (eval $ac_try) 2>&5
36526 ac_status=$?
36527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36528 (exit $ac_status); }; }; then
36529 glibcxx_cv_func_float_round_use=yes
36530 else
36531 echo "$as_me: failed program was:" >&5
36532 sed 's/^/| /' conftest.$ac_ext >&5
36534 glibcxx_cv_func_float_round_use=no
36536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36537 ac_ext=c
36538 ac_cpp='$CPP $CPPFLAGS'
36539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36546 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36547 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36550 for ac_func in ceilf floorf
36552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36553 echo "$as_me:$LINENO: checking for $ac_func" >&5
36554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36555 if eval "test \"\${$as_ac_var+set}\" = set"; then
36556 echo $ECHO_N "(cached) $ECHO_C" >&6
36557 else
36558 if test x$gcc_no_link = xyes; then
36559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36561 { (exit 1); exit 1; }; }
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36571 #define $ac_func innocuous_$ac_func
36573 /* System header to define __stub macros and hopefully few prototypes,
36574 which can conflict with char $ac_func (); below.
36575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36576 <limits.h> exists even on freestanding compilers. */
36578 #ifdef __STDC__
36579 # include <limits.h>
36580 #else
36581 # include <assert.h>
36582 #endif
36584 #undef $ac_func
36586 /* Override any gcc2 internal prototype to avoid an error. */
36587 #ifdef __cplusplus
36588 extern "C"
36590 #endif
36591 /* We use char because int might match the return type of a gcc2
36592 builtin and then its argument prototype would still apply. */
36593 char $ac_func ();
36594 /* The GNU C library defines this for functions which it implements
36595 to always fail with ENOSYS. Some functions are actually named
36596 something starting with __ and the normal name is an alias. */
36597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36598 choke me
36599 #else
36600 char (*f) () = $ac_func;
36601 #endif
36602 #ifdef __cplusplus
36604 #endif
36607 main ()
36609 return f != $ac_func;
36611 return 0;
36613 _ACEOF
36614 rm -f conftest.$ac_objext conftest$ac_exeext
36615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36616 (eval $ac_link) 2>conftest.er1
36617 ac_status=$?
36618 grep -v '^ *+' conftest.er1 >conftest.err
36619 rm -f conftest.er1
36620 cat conftest.err >&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); } &&
36623 { ac_try='test -z "$ac_c_werror_flag"
36624 || test ! -s conftest.err'
36625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36626 (eval $ac_try) 2>&5
36627 ac_status=$?
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); }; } &&
36630 { ac_try='test -s conftest$ac_exeext'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 eval "$as_ac_var=yes"
36637 else
36638 echo "$as_me: failed program was:" >&5
36639 sed 's/^/| /' conftest.$ac_ext >&5
36641 eval "$as_ac_var=no"
36643 rm -f conftest.err conftest.$ac_objext \
36644 conftest$ac_exeext conftest.$ac_ext
36646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36648 if test `eval echo '${'$as_ac_var'}'` = yes; then
36649 cat >>confdefs.h <<_ACEOF
36650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36651 _ACEOF
36654 done
36656 else
36657 echo "$as_me:$LINENO: checking for _float round functions" >&5
36658 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36659 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36660 echo $ECHO_N "(cached) $ECHO_C" >&6
36661 else
36665 ac_ext=cc
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671 cat >conftest.$ac_ext <<_ACEOF
36672 /* confdefs.h. */
36673 _ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 #include <math.h>
36679 main ()
36681 _ceilf (0); _floorf (0);
36683 return 0;
36685 _ACEOF
36686 rm -f conftest.$ac_objext
36687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36688 (eval $ac_compile) 2>conftest.er1
36689 ac_status=$?
36690 grep -v '^ *+' conftest.er1 >conftest.err
36691 rm -f conftest.er1
36692 cat conftest.err >&5
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); } &&
36695 { ac_try='test -z "$ac_cxx_werror_flag"
36696 || test ! -s conftest.err'
36697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36698 (eval $ac_try) 2>&5
36699 ac_status=$?
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); }; } &&
36702 { ac_try='test -s conftest.$ac_objext'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36705 ac_status=$?
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; }; then
36708 glibcxx_cv_func__float_round_use=yes
36709 else
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.$ac_ext >&5
36713 glibcxx_cv_func__float_round_use=no
36715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36716 ac_ext=c
36717 ac_cpp='$CPP $CPPFLAGS'
36718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36725 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36726 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36729 for ac_func in _ceilf _floorf
36731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36732 echo "$as_me:$LINENO: checking for $ac_func" >&5
36733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36734 if eval "test \"\${$as_ac_var+set}\" = set"; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 else
36737 if test x$gcc_no_link = xyes; then
36738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36740 { (exit 1); exit 1; }; }
36742 cat >conftest.$ac_ext <<_ACEOF
36743 /* confdefs.h. */
36744 _ACEOF
36745 cat confdefs.h >>conftest.$ac_ext
36746 cat >>conftest.$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36750 #define $ac_func innocuous_$ac_func
36752 /* System header to define __stub macros and hopefully few prototypes,
36753 which can conflict with char $ac_func (); below.
36754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36755 <limits.h> exists even on freestanding compilers. */
36757 #ifdef __STDC__
36758 # include <limits.h>
36759 #else
36760 # include <assert.h>
36761 #endif
36763 #undef $ac_func
36765 /* Override any gcc2 internal prototype to avoid an error. */
36766 #ifdef __cplusplus
36767 extern "C"
36769 #endif
36770 /* We use char because int might match the return type of a gcc2
36771 builtin and then its argument prototype would still apply. */
36772 char $ac_func ();
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36777 choke me
36778 #else
36779 char (*f) () = $ac_func;
36780 #endif
36781 #ifdef __cplusplus
36783 #endif
36786 main ()
36788 return f != $ac_func;
36790 return 0;
36792 _ACEOF
36793 rm -f conftest.$ac_objext conftest$ac_exeext
36794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36795 (eval $ac_link) 2>conftest.er1
36796 ac_status=$?
36797 grep -v '^ *+' conftest.er1 >conftest.err
36798 rm -f conftest.er1
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } &&
36802 { ac_try='test -z "$ac_c_werror_flag"
36803 || test ! -s conftest.err'
36804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36805 (eval $ac_try) 2>&5
36806 ac_status=$?
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); }; } &&
36809 { ac_try='test -s conftest$ac_exeext'
36810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36811 (eval $ac_try) 2>&5
36812 ac_status=$?
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); }; }; then
36815 eval "$as_ac_var=yes"
36816 else
36817 echo "$as_me: failed program was:" >&5
36818 sed 's/^/| /' conftest.$ac_ext >&5
36820 eval "$as_ac_var=no"
36822 rm -f conftest.err conftest.$ac_objext \
36823 conftest$ac_exeext conftest.$ac_ext
36825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36827 if test `eval echo '${'$as_ac_var'}'` = yes; then
36828 cat >>confdefs.h <<_ACEOF
36829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36830 _ACEOF
36833 done
36845 echo "$as_me:$LINENO: checking for expf declaration" >&5
36846 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36847 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36848 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36849 echo $ECHO_N "(cached) $ECHO_C" >&6
36850 else
36854 ac_ext=cc
36855 ac_cpp='$CXXCPP $CPPFLAGS'
36856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36860 cat >conftest.$ac_ext <<_ACEOF
36861 /* confdefs.h. */
36862 _ACEOF
36863 cat confdefs.h >>conftest.$ac_ext
36864 cat >>conftest.$ac_ext <<_ACEOF
36865 /* end confdefs.h. */
36866 #include <math.h>
36867 #ifdef HAVE_IEEEFP_H
36868 #include <ieeefp.h>
36869 #endif
36872 main ()
36874 expf(0);
36876 return 0;
36878 _ACEOF
36879 rm -f conftest.$ac_objext
36880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36881 (eval $ac_compile) 2>conftest.er1
36882 ac_status=$?
36883 grep -v '^ *+' conftest.er1 >conftest.err
36884 rm -f conftest.er1
36885 cat conftest.err >&5
36886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36887 (exit $ac_status); } &&
36888 { ac_try='test -z "$ac_cxx_werror_flag"
36889 || test ! -s conftest.err'
36890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36891 (eval $ac_try) 2>&5
36892 ac_status=$?
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); }; } &&
36895 { ac_try='test -s conftest.$ac_objext'
36896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36897 (eval $ac_try) 2>&5
36898 ac_status=$?
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); }; }; then
36901 glibcxx_cv_func_expf_use=yes
36902 else
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.$ac_ext >&5
36906 glibcxx_cv_func_expf_use=no
36908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36909 ac_ext=c
36910 ac_cpp='$CPP $CPPFLAGS'
36911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36920 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36922 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36924 for ac_func in expf
36926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36927 echo "$as_me:$LINENO: checking for $ac_func" >&5
36928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36929 if eval "test \"\${$as_ac_var+set}\" = set"; then
36930 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 else
36932 if test x$gcc_no_link = xyes; then
36933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36935 { (exit 1); exit 1; }; }
36937 cat >conftest.$ac_ext <<_ACEOF
36938 /* confdefs.h. */
36939 _ACEOF
36940 cat confdefs.h >>conftest.$ac_ext
36941 cat >>conftest.$ac_ext <<_ACEOF
36942 /* end confdefs.h. */
36943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36945 #define $ac_func innocuous_$ac_func
36947 /* System header to define __stub macros and hopefully few prototypes,
36948 which can conflict with char $ac_func (); below.
36949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36950 <limits.h> exists even on freestanding compilers. */
36952 #ifdef __STDC__
36953 # include <limits.h>
36954 #else
36955 # include <assert.h>
36956 #endif
36958 #undef $ac_func
36960 /* Override any gcc2 internal prototype to avoid an error. */
36961 #ifdef __cplusplus
36962 extern "C"
36964 #endif
36965 /* We use char because int might match the return type of a gcc2
36966 builtin and then its argument prototype would still apply. */
36967 char $ac_func ();
36968 /* The GNU C library defines this for functions which it implements
36969 to always fail with ENOSYS. Some functions are actually named
36970 something starting with __ and the normal name is an alias. */
36971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36972 choke me
36973 #else
36974 char (*f) () = $ac_func;
36975 #endif
36976 #ifdef __cplusplus
36978 #endif
36981 main ()
36983 return f != $ac_func;
36985 return 0;
36987 _ACEOF
36988 rm -f conftest.$ac_objext conftest$ac_exeext
36989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36990 (eval $ac_link) 2>conftest.er1
36991 ac_status=$?
36992 grep -v '^ *+' conftest.er1 >conftest.err
36993 rm -f conftest.er1
36994 cat conftest.err >&5
36995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36996 (exit $ac_status); } &&
36997 { ac_try='test -z "$ac_c_werror_flag"
36998 || test ! -s conftest.err'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; } &&
37004 { ac_try='test -s conftest$ac_exeext'
37005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37006 (eval $ac_try) 2>&5
37007 ac_status=$?
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); }; }; then
37010 eval "$as_ac_var=yes"
37011 else
37012 echo "$as_me: failed program was:" >&5
37013 sed 's/^/| /' conftest.$ac_ext >&5
37015 eval "$as_ac_var=no"
37017 rm -f conftest.err conftest.$ac_objext \
37018 conftest$ac_exeext conftest.$ac_ext
37020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37022 if test `eval echo '${'$as_ac_var'}'` = yes; then
37023 cat >>confdefs.h <<_ACEOF
37024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37025 _ACEOF
37028 done
37030 else
37032 echo "$as_me:$LINENO: checking for _expf declaration" >&5
37033 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
37034 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37035 if test "${glibcxx_cv_func__expf_use+set}" = set; then
37036 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 else
37041 ac_ext=cc
37042 ac_cpp='$CXXCPP $CPPFLAGS'
37043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37047 cat >conftest.$ac_ext <<_ACEOF
37048 /* confdefs.h. */
37049 _ACEOF
37050 cat confdefs.h >>conftest.$ac_ext
37051 cat >>conftest.$ac_ext <<_ACEOF
37052 /* end confdefs.h. */
37053 #include <math.h>
37054 #ifdef HAVE_IEEEFP_H
37055 #include <ieeefp.h>
37056 #endif
37059 main ()
37061 _expf(0);
37063 return 0;
37065 _ACEOF
37066 rm -f conftest.$ac_objext
37067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37068 (eval $ac_compile) 2>conftest.er1
37069 ac_status=$?
37070 grep -v '^ *+' conftest.er1 >conftest.err
37071 rm -f conftest.er1
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } &&
37075 { ac_try='test -z "$ac_cxx_werror_flag"
37076 || test ! -s conftest.err'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; } &&
37082 { ac_try='test -s conftest.$ac_objext'
37083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37084 (eval $ac_try) 2>&5
37085 ac_status=$?
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); }; }; then
37088 glibcxx_cv_func__expf_use=yes
37089 else
37090 echo "$as_me: failed program was:" >&5
37091 sed 's/^/| /' conftest.$ac_ext >&5
37093 glibcxx_cv_func__expf_use=no
37095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37096 ac_ext=c
37097 ac_cpp='$CPP $CPPFLAGS'
37098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
37107 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
37109 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37111 for ac_func in _expf
37113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37114 echo "$as_me:$LINENO: checking for $ac_func" >&5
37115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37116 if eval "test \"\${$as_ac_var+set}\" = set"; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 else
37119 if test x$gcc_no_link = xyes; then
37120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37122 { (exit 1); exit 1; }; }
37124 cat >conftest.$ac_ext <<_ACEOF
37125 /* confdefs.h. */
37126 _ACEOF
37127 cat confdefs.h >>conftest.$ac_ext
37128 cat >>conftest.$ac_ext <<_ACEOF
37129 /* end confdefs.h. */
37130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37132 #define $ac_func innocuous_$ac_func
37134 /* System header to define __stub macros and hopefully few prototypes,
37135 which can conflict with char $ac_func (); below.
37136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37137 <limits.h> exists even on freestanding compilers. */
37139 #ifdef __STDC__
37140 # include <limits.h>
37141 #else
37142 # include <assert.h>
37143 #endif
37145 #undef $ac_func
37147 /* Override any gcc2 internal prototype to avoid an error. */
37148 #ifdef __cplusplus
37149 extern "C"
37151 #endif
37152 /* We use char because int might match the return type of a gcc2
37153 builtin and then its argument prototype would still apply. */
37154 char $ac_func ();
37155 /* The GNU C library defines this for functions which it implements
37156 to always fail with ENOSYS. Some functions are actually named
37157 something starting with __ and the normal name is an alias. */
37158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37159 choke me
37160 #else
37161 char (*f) () = $ac_func;
37162 #endif
37163 #ifdef __cplusplus
37165 #endif
37168 main ()
37170 return f != $ac_func;
37172 return 0;
37174 _ACEOF
37175 rm -f conftest.$ac_objext conftest$ac_exeext
37176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37177 (eval $ac_link) 2>conftest.er1
37178 ac_status=$?
37179 grep -v '^ *+' conftest.er1 >conftest.err
37180 rm -f conftest.er1
37181 cat conftest.err >&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); } &&
37184 { ac_try='test -z "$ac_c_werror_flag"
37185 || test ! -s conftest.err'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; } &&
37191 { ac_try='test -s conftest$ac_exeext'
37192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37193 (eval $ac_try) 2>&5
37194 ac_status=$?
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); }; }; then
37197 eval "$as_ac_var=yes"
37198 else
37199 echo "$as_me: failed program was:" >&5
37200 sed 's/^/| /' conftest.$ac_ext >&5
37202 eval "$as_ac_var=no"
37204 rm -f conftest.err conftest.$ac_objext \
37205 conftest$ac_exeext conftest.$ac_ext
37207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37209 if test `eval echo '${'$as_ac_var'}'` = yes; then
37210 cat >>confdefs.h <<_ACEOF
37211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212 _ACEOF
37215 done
37225 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
37226 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
37227 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37228 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
37229 echo $ECHO_N "(cached) $ECHO_C" >&6
37230 else
37234 ac_ext=cc
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240 cat >conftest.$ac_ext <<_ACEOF
37241 /* confdefs.h. */
37242 _ACEOF
37243 cat confdefs.h >>conftest.$ac_ext
37244 cat >>conftest.$ac_ext <<_ACEOF
37245 /* end confdefs.h. */
37246 #include <math.h>
37247 #ifdef HAVE_IEEEFP_H
37248 #include <ieeefp.h>
37249 #endif
37252 main ()
37254 isnanf(0);
37256 return 0;
37258 _ACEOF
37259 rm -f conftest.$ac_objext
37260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37261 (eval $ac_compile) 2>conftest.er1
37262 ac_status=$?
37263 grep -v '^ *+' conftest.er1 >conftest.err
37264 rm -f conftest.er1
37265 cat conftest.err >&5
37266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37267 (exit $ac_status); } &&
37268 { ac_try='test -z "$ac_cxx_werror_flag"
37269 || test ! -s conftest.err'
37270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37271 (eval $ac_try) 2>&5
37272 ac_status=$?
37273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274 (exit $ac_status); }; } &&
37275 { ac_try='test -s conftest.$ac_objext'
37276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37277 (eval $ac_try) 2>&5
37278 ac_status=$?
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); }; }; then
37281 glibcxx_cv_func_isnanf_use=yes
37282 else
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37286 glibcxx_cv_func_isnanf_use=no
37288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37300 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37302 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37304 for ac_func in isnanf
37306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37307 echo "$as_me:$LINENO: checking for $ac_func" >&5
37308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37309 if eval "test \"\${$as_ac_var+set}\" = set"; then
37310 echo $ECHO_N "(cached) $ECHO_C" >&6
37311 else
37312 if test x$gcc_no_link = xyes; then
37313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37315 { (exit 1); exit 1; }; }
37317 cat >conftest.$ac_ext <<_ACEOF
37318 /* confdefs.h. */
37319 _ACEOF
37320 cat confdefs.h >>conftest.$ac_ext
37321 cat >>conftest.$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37325 #define $ac_func innocuous_$ac_func
37327 /* System header to define __stub macros and hopefully few prototypes,
37328 which can conflict with char $ac_func (); below.
37329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37330 <limits.h> exists even on freestanding compilers. */
37332 #ifdef __STDC__
37333 # include <limits.h>
37334 #else
37335 # include <assert.h>
37336 #endif
37338 #undef $ac_func
37340 /* Override any gcc2 internal prototype to avoid an error. */
37341 #ifdef __cplusplus
37342 extern "C"
37344 #endif
37345 /* We use char because int might match the return type of a gcc2
37346 builtin and then its argument prototype would still apply. */
37347 char $ac_func ();
37348 /* The GNU C library defines this for functions which it implements
37349 to always fail with ENOSYS. Some functions are actually named
37350 something starting with __ and the normal name is an alias. */
37351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37352 choke me
37353 #else
37354 char (*f) () = $ac_func;
37355 #endif
37356 #ifdef __cplusplus
37358 #endif
37361 main ()
37363 return f != $ac_func;
37365 return 0;
37367 _ACEOF
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37370 (eval $ac_link) 2>conftest.er1
37371 ac_status=$?
37372 grep -v '^ *+' conftest.er1 >conftest.err
37373 rm -f conftest.er1
37374 cat conftest.err >&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } &&
37377 { ac_try='test -z "$ac_c_werror_flag"
37378 || test ! -s conftest.err'
37379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37380 (eval $ac_try) 2>&5
37381 ac_status=$?
37382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383 (exit $ac_status); }; } &&
37384 { ac_try='test -s conftest$ac_exeext'
37385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37386 (eval $ac_try) 2>&5
37387 ac_status=$?
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); }; }; then
37390 eval "$as_ac_var=yes"
37391 else
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37395 eval "$as_ac_var=no"
37397 rm -f conftest.err conftest.$ac_objext \
37398 conftest$ac_exeext conftest.$ac_ext
37400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37402 if test `eval echo '${'$as_ac_var'}'` = yes; then
37403 cat >>confdefs.h <<_ACEOF
37404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37405 _ACEOF
37408 done
37410 else
37412 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37413 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37414 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37415 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37417 else
37421 ac_ext=cc
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37427 cat >conftest.$ac_ext <<_ACEOF
37428 /* confdefs.h. */
37429 _ACEOF
37430 cat confdefs.h >>conftest.$ac_ext
37431 cat >>conftest.$ac_ext <<_ACEOF
37432 /* end confdefs.h. */
37433 #include <math.h>
37434 #ifdef HAVE_IEEEFP_H
37435 #include <ieeefp.h>
37436 #endif
37439 main ()
37441 _isnanf(0);
37443 return 0;
37445 _ACEOF
37446 rm -f conftest.$ac_objext
37447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37448 (eval $ac_compile) 2>conftest.er1
37449 ac_status=$?
37450 grep -v '^ *+' conftest.er1 >conftest.err
37451 rm -f conftest.er1
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } &&
37455 { ac_try='test -z "$ac_cxx_werror_flag"
37456 || test ! -s conftest.err'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; } &&
37462 { ac_try='test -s conftest.$ac_objext'
37463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464 (eval $ac_try) 2>&5
37465 ac_status=$?
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; }; then
37468 glibcxx_cv_func__isnanf_use=yes
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 glibcxx_cv_func__isnanf_use=no
37475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37476 ac_ext=c
37477 ac_cpp='$CPP $CPPFLAGS'
37478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37487 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37489 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37491 for ac_func in _isnanf
37493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37494 echo "$as_me:$LINENO: checking for $ac_func" >&5
37495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37496 if eval "test \"\${$as_ac_var+set}\" = set"; then
37497 echo $ECHO_N "(cached) $ECHO_C" >&6
37498 else
37499 if test x$gcc_no_link = xyes; then
37500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37502 { (exit 1); exit 1; }; }
37504 cat >conftest.$ac_ext <<_ACEOF
37505 /* confdefs.h. */
37506 _ACEOF
37507 cat confdefs.h >>conftest.$ac_ext
37508 cat >>conftest.$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37512 #define $ac_func innocuous_$ac_func
37514 /* System header to define __stub macros and hopefully few prototypes,
37515 which can conflict with char $ac_func (); below.
37516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37517 <limits.h> exists even on freestanding compilers. */
37519 #ifdef __STDC__
37520 # include <limits.h>
37521 #else
37522 # include <assert.h>
37523 #endif
37525 #undef $ac_func
37527 /* Override any gcc2 internal prototype to avoid an error. */
37528 #ifdef __cplusplus
37529 extern "C"
37531 #endif
37532 /* We use char because int might match the return type of a gcc2
37533 builtin and then its argument prototype would still apply. */
37534 char $ac_func ();
37535 /* The GNU C library defines this for functions which it implements
37536 to always fail with ENOSYS. Some functions are actually named
37537 something starting with __ and the normal name is an alias. */
37538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37539 choke me
37540 #else
37541 char (*f) () = $ac_func;
37542 #endif
37543 #ifdef __cplusplus
37545 #endif
37548 main ()
37550 return f != $ac_func;
37552 return 0;
37554 _ACEOF
37555 rm -f conftest.$ac_objext conftest$ac_exeext
37556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37557 (eval $ac_link) 2>conftest.er1
37558 ac_status=$?
37559 grep -v '^ *+' conftest.er1 >conftest.err
37560 rm -f conftest.er1
37561 cat conftest.err >&5
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); } &&
37564 { ac_try='test -z "$ac_c_werror_flag"
37565 || test ! -s conftest.err'
37566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37567 (eval $ac_try) 2>&5
37568 ac_status=$?
37569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37570 (exit $ac_status); }; } &&
37571 { ac_try='test -s conftest$ac_exeext'
37572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37573 (eval $ac_try) 2>&5
37574 ac_status=$?
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); }; }; then
37577 eval "$as_ac_var=yes"
37578 else
37579 echo "$as_me: failed program was:" >&5
37580 sed 's/^/| /' conftest.$ac_ext >&5
37582 eval "$as_ac_var=no"
37584 rm -f conftest.err conftest.$ac_objext \
37585 conftest$ac_exeext conftest.$ac_ext
37587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37589 if test `eval echo '${'$as_ac_var'}'` = yes; then
37590 cat >>confdefs.h <<_ACEOF
37591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37592 _ACEOF
37595 done
37605 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37606 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37607 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37608 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37610 else
37614 ac_ext=cc
37615 ac_cpp='$CXXCPP $CPPFLAGS'
37616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37620 cat >conftest.$ac_ext <<_ACEOF
37621 /* confdefs.h. */
37622 _ACEOF
37623 cat confdefs.h >>conftest.$ac_ext
37624 cat >>conftest.$ac_ext <<_ACEOF
37625 /* end confdefs.h. */
37626 #include <math.h>
37627 #ifdef HAVE_IEEEFP_H
37628 #include <ieeefp.h>
37629 #endif
37632 main ()
37634 isinff(0);
37636 return 0;
37638 _ACEOF
37639 rm -f conftest.$ac_objext
37640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37641 (eval $ac_compile) 2>conftest.er1
37642 ac_status=$?
37643 grep -v '^ *+' conftest.er1 >conftest.err
37644 rm -f conftest.er1
37645 cat conftest.err >&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } &&
37648 { ac_try='test -z "$ac_cxx_werror_flag"
37649 || test ! -s conftest.err'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37652 ac_status=$?
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; } &&
37655 { ac_try='test -s conftest.$ac_objext'
37656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37657 (eval $ac_try) 2>&5
37658 ac_status=$?
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); }; }; then
37661 glibcxx_cv_func_isinff_use=yes
37662 else
37663 echo "$as_me: failed program was:" >&5
37664 sed 's/^/| /' conftest.$ac_ext >&5
37666 glibcxx_cv_func_isinff_use=no
37668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37669 ac_ext=c
37670 ac_cpp='$CPP $CPPFLAGS'
37671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37679 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37680 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37682 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37684 for ac_func in isinff
37686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37687 echo "$as_me:$LINENO: checking for $ac_func" >&5
37688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37689 if eval "test \"\${$as_ac_var+set}\" = set"; then
37690 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 else
37692 if test x$gcc_no_link = xyes; then
37693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37695 { (exit 1); exit 1; }; }
37697 cat >conftest.$ac_ext <<_ACEOF
37698 /* confdefs.h. */
37699 _ACEOF
37700 cat confdefs.h >>conftest.$ac_ext
37701 cat >>conftest.$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37705 #define $ac_func innocuous_$ac_func
37707 /* System header to define __stub macros and hopefully few prototypes,
37708 which can conflict with char $ac_func (); below.
37709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37710 <limits.h> exists even on freestanding compilers. */
37712 #ifdef __STDC__
37713 # include <limits.h>
37714 #else
37715 # include <assert.h>
37716 #endif
37718 #undef $ac_func
37720 /* Override any gcc2 internal prototype to avoid an error. */
37721 #ifdef __cplusplus
37722 extern "C"
37724 #endif
37725 /* We use char because int might match the return type of a gcc2
37726 builtin and then its argument prototype would still apply. */
37727 char $ac_func ();
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37732 choke me
37733 #else
37734 char (*f) () = $ac_func;
37735 #endif
37736 #ifdef __cplusplus
37738 #endif
37741 main ()
37743 return f != $ac_func;
37745 return 0;
37747 _ACEOF
37748 rm -f conftest.$ac_objext conftest$ac_exeext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37750 (eval $ac_link) 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try='test -z "$ac_c_werror_flag"
37758 || test ! -s conftest.err'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; } &&
37764 { ac_try='test -s conftest$ac_exeext'
37765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37766 (eval $ac_try) 2>&5
37767 ac_status=$?
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); }; }; then
37770 eval "$as_ac_var=yes"
37771 else
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.$ac_ext >&5
37775 eval "$as_ac_var=no"
37777 rm -f conftest.err conftest.$ac_objext \
37778 conftest$ac_exeext conftest.$ac_ext
37780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37782 if test `eval echo '${'$as_ac_var'}'` = yes; then
37783 cat >>confdefs.h <<_ACEOF
37784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37785 _ACEOF
37788 done
37790 else
37792 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37793 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37794 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37795 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37797 else
37801 ac_ext=cc
37802 ac_cpp='$CXXCPP $CPPFLAGS'
37803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37807 cat >conftest.$ac_ext <<_ACEOF
37808 /* confdefs.h. */
37809 _ACEOF
37810 cat confdefs.h >>conftest.$ac_ext
37811 cat >>conftest.$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37813 #include <math.h>
37814 #ifdef HAVE_IEEEFP_H
37815 #include <ieeefp.h>
37816 #endif
37819 main ()
37821 _isinff(0);
37823 return 0;
37825 _ACEOF
37826 rm -f conftest.$ac_objext
37827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37828 (eval $ac_compile) 2>conftest.er1
37829 ac_status=$?
37830 grep -v '^ *+' conftest.er1 >conftest.err
37831 rm -f conftest.er1
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } &&
37835 { ac_try='test -z "$ac_cxx_werror_flag"
37836 || test ! -s conftest.err'
37837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37838 (eval $ac_try) 2>&5
37839 ac_status=$?
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); }; } &&
37842 { ac_try='test -s conftest.$ac_objext'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37845 ac_status=$?
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; }; then
37848 glibcxx_cv_func__isinff_use=yes
37849 else
37850 echo "$as_me: failed program was:" >&5
37851 sed 's/^/| /' conftest.$ac_ext >&5
37853 glibcxx_cv_func__isinff_use=no
37855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37856 ac_ext=c
37857 ac_cpp='$CPP $CPPFLAGS'
37858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37867 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37869 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37871 for ac_func in _isinff
37873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37874 echo "$as_me:$LINENO: checking for $ac_func" >&5
37875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37876 if eval "test \"\${$as_ac_var+set}\" = set"; then
37877 echo $ECHO_N "(cached) $ECHO_C" >&6
37878 else
37879 if test x$gcc_no_link = xyes; then
37880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37882 { (exit 1); exit 1; }; }
37884 cat >conftest.$ac_ext <<_ACEOF
37885 /* confdefs.h. */
37886 _ACEOF
37887 cat confdefs.h >>conftest.$ac_ext
37888 cat >>conftest.$ac_ext <<_ACEOF
37889 /* end confdefs.h. */
37890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37892 #define $ac_func innocuous_$ac_func
37894 /* System header to define __stub macros and hopefully few prototypes,
37895 which can conflict with char $ac_func (); below.
37896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37897 <limits.h> exists even on freestanding compilers. */
37899 #ifdef __STDC__
37900 # include <limits.h>
37901 #else
37902 # include <assert.h>
37903 #endif
37905 #undef $ac_func
37907 /* Override any gcc2 internal prototype to avoid an error. */
37908 #ifdef __cplusplus
37909 extern "C"
37911 #endif
37912 /* We use char because int might match the return type of a gcc2
37913 builtin and then its argument prototype would still apply. */
37914 char $ac_func ();
37915 /* The GNU C library defines this for functions which it implements
37916 to always fail with ENOSYS. Some functions are actually named
37917 something starting with __ and the normal name is an alias. */
37918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37919 choke me
37920 #else
37921 char (*f) () = $ac_func;
37922 #endif
37923 #ifdef __cplusplus
37925 #endif
37928 main ()
37930 return f != $ac_func;
37932 return 0;
37934 _ACEOF
37935 rm -f conftest.$ac_objext conftest$ac_exeext
37936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37937 (eval $ac_link) 2>conftest.er1
37938 ac_status=$?
37939 grep -v '^ *+' conftest.er1 >conftest.err
37940 rm -f conftest.er1
37941 cat conftest.err >&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); } &&
37944 { ac_try='test -z "$ac_c_werror_flag"
37945 || test ! -s conftest.err'
37946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37947 (eval $ac_try) 2>&5
37948 ac_status=$?
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); }; } &&
37951 { ac_try='test -s conftest$ac_exeext'
37952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37953 (eval $ac_try) 2>&5
37954 ac_status=$?
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; }; then
37957 eval "$as_ac_var=yes"
37958 else
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37962 eval "$as_ac_var=no"
37964 rm -f conftest.err conftest.$ac_objext \
37965 conftest$ac_exeext conftest.$ac_ext
37967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37969 if test `eval echo '${'$as_ac_var'}'` = yes; then
37970 cat >>confdefs.h <<_ACEOF
37971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37972 _ACEOF
37975 done
37985 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37986 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37987 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37988 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37989 echo $ECHO_N "(cached) $ECHO_C" >&6
37990 else
37994 ac_ext=cc
37995 ac_cpp='$CXXCPP $CPPFLAGS'
37996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38000 cat >conftest.$ac_ext <<_ACEOF
38001 /* confdefs.h. */
38002 _ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38006 #include <math.h>
38008 main ()
38010 atan2f(0, 0);
38012 return 0;
38014 _ACEOF
38015 rm -f conftest.$ac_objext
38016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38017 (eval $ac_compile) 2>conftest.er1
38018 ac_status=$?
38019 grep -v '^ *+' conftest.er1 >conftest.err
38020 rm -f conftest.er1
38021 cat conftest.err >&5
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); } &&
38024 { ac_try='test -z "$ac_cxx_werror_flag"
38025 || test ! -s conftest.err'
38026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38027 (eval $ac_try) 2>&5
38028 ac_status=$?
38029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38030 (exit $ac_status); }; } &&
38031 { ac_try='test -s conftest.$ac_objext'
38032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38033 (eval $ac_try) 2>&5
38034 ac_status=$?
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); }; }; then
38037 glibcxx_cv_func_atan2f_use=yes
38038 else
38039 echo "$as_me: failed program was:" >&5
38040 sed 's/^/| /' conftest.$ac_ext >&5
38042 glibcxx_cv_func_atan2f_use=no
38044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38045 ac_ext=c
38046 ac_cpp='$CPP $CPPFLAGS'
38047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
38056 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
38058 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38060 for ac_func in atan2f
38062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38063 echo "$as_me:$LINENO: checking for $ac_func" >&5
38064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38065 if eval "test \"\${$as_ac_var+set}\" = set"; then
38066 echo $ECHO_N "(cached) $ECHO_C" >&6
38067 else
38068 if test x$gcc_no_link = xyes; then
38069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38071 { (exit 1); exit 1; }; }
38073 cat >conftest.$ac_ext <<_ACEOF
38074 /* confdefs.h. */
38075 _ACEOF
38076 cat confdefs.h >>conftest.$ac_ext
38077 cat >>conftest.$ac_ext <<_ACEOF
38078 /* end confdefs.h. */
38079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38081 #define $ac_func innocuous_$ac_func
38083 /* System header to define __stub macros and hopefully few prototypes,
38084 which can conflict with char $ac_func (); below.
38085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38086 <limits.h> exists even on freestanding compilers. */
38088 #ifdef __STDC__
38089 # include <limits.h>
38090 #else
38091 # include <assert.h>
38092 #endif
38094 #undef $ac_func
38096 /* Override any gcc2 internal prototype to avoid an error. */
38097 #ifdef __cplusplus
38098 extern "C"
38100 #endif
38101 /* We use char because int might match the return type of a gcc2
38102 builtin and then its argument prototype would still apply. */
38103 char $ac_func ();
38104 /* The GNU C library defines this for functions which it implements
38105 to always fail with ENOSYS. Some functions are actually named
38106 something starting with __ and the normal name is an alias. */
38107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38108 choke me
38109 #else
38110 char (*f) () = $ac_func;
38111 #endif
38112 #ifdef __cplusplus
38114 #endif
38117 main ()
38119 return f != $ac_func;
38121 return 0;
38123 _ACEOF
38124 rm -f conftest.$ac_objext conftest$ac_exeext
38125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38126 (eval $ac_link) 2>conftest.er1
38127 ac_status=$?
38128 grep -v '^ *+' conftest.er1 >conftest.err
38129 rm -f conftest.er1
38130 cat conftest.err >&5
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); } &&
38133 { ac_try='test -z "$ac_c_werror_flag"
38134 || test ! -s conftest.err'
38135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38136 (eval $ac_try) 2>&5
38137 ac_status=$?
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); }; } &&
38140 { ac_try='test -s conftest$ac_exeext'
38141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38142 (eval $ac_try) 2>&5
38143 ac_status=$?
38144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145 (exit $ac_status); }; }; then
38146 eval "$as_ac_var=yes"
38147 else
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38151 eval "$as_ac_var=no"
38153 rm -f conftest.err conftest.$ac_objext \
38154 conftest$ac_exeext conftest.$ac_ext
38156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38158 if test `eval echo '${'$as_ac_var'}'` = yes; then
38159 cat >>confdefs.h <<_ACEOF
38160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38161 _ACEOF
38164 done
38166 else
38168 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
38169 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
38170 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38171 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
38172 echo $ECHO_N "(cached) $ECHO_C" >&6
38173 else
38177 ac_ext=cc
38178 ac_cpp='$CXXCPP $CPPFLAGS'
38179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38183 cat >conftest.$ac_ext <<_ACEOF
38184 /* confdefs.h. */
38185 _ACEOF
38186 cat confdefs.h >>conftest.$ac_ext
38187 cat >>conftest.$ac_ext <<_ACEOF
38188 /* end confdefs.h. */
38189 #include <math.h>
38191 main ()
38193 _atan2f(0, 0);
38195 return 0;
38197 _ACEOF
38198 rm -f conftest.$ac_objext
38199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38200 (eval $ac_compile) 2>conftest.er1
38201 ac_status=$?
38202 grep -v '^ *+' conftest.er1 >conftest.err
38203 rm -f conftest.er1
38204 cat conftest.err >&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } &&
38207 { ac_try='test -z "$ac_cxx_werror_flag"
38208 || test ! -s conftest.err'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38211 ac_status=$?
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; } &&
38214 { ac_try='test -s conftest.$ac_objext'
38215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38216 (eval $ac_try) 2>&5
38217 ac_status=$?
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); }; }; then
38220 glibcxx_cv_func__atan2f_use=yes
38221 else
38222 echo "$as_me: failed program was:" >&5
38223 sed 's/^/| /' conftest.$ac_ext >&5
38225 glibcxx_cv_func__atan2f_use=no
38227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38228 ac_ext=c
38229 ac_cpp='$CPP $CPPFLAGS'
38230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
38239 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
38241 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38243 for ac_func in _atan2f
38245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38246 echo "$as_me:$LINENO: checking for $ac_func" >&5
38247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38248 if eval "test \"\${$as_ac_var+set}\" = set"; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 else
38251 if test x$gcc_no_link = xyes; then
38252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38254 { (exit 1); exit 1; }; }
38256 cat >conftest.$ac_ext <<_ACEOF
38257 /* confdefs.h. */
38258 _ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38264 #define $ac_func innocuous_$ac_func
38266 /* System header to define __stub macros and hopefully few prototypes,
38267 which can conflict with char $ac_func (); below.
38268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38269 <limits.h> exists even on freestanding compilers. */
38271 #ifdef __STDC__
38272 # include <limits.h>
38273 #else
38274 # include <assert.h>
38275 #endif
38277 #undef $ac_func
38279 /* Override any gcc2 internal prototype to avoid an error. */
38280 #ifdef __cplusplus
38281 extern "C"
38283 #endif
38284 /* We use char because int might match the return type of a gcc2
38285 builtin and then its argument prototype would still apply. */
38286 char $ac_func ();
38287 /* The GNU C library defines this for functions which it implements
38288 to always fail with ENOSYS. Some functions are actually named
38289 something starting with __ and the normal name is an alias. */
38290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38291 choke me
38292 #else
38293 char (*f) () = $ac_func;
38294 #endif
38295 #ifdef __cplusplus
38297 #endif
38300 main ()
38302 return f != $ac_func;
38304 return 0;
38306 _ACEOF
38307 rm -f conftest.$ac_objext conftest$ac_exeext
38308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38309 (eval $ac_link) 2>conftest.er1
38310 ac_status=$?
38311 grep -v '^ *+' conftest.er1 >conftest.err
38312 rm -f conftest.er1
38313 cat conftest.err >&5
38314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315 (exit $ac_status); } &&
38316 { ac_try='test -z "$ac_c_werror_flag"
38317 || test ! -s conftest.err'
38318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38319 (eval $ac_try) 2>&5
38320 ac_status=$?
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); }; } &&
38323 { ac_try='test -s conftest$ac_exeext'
38324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38325 (eval $ac_try) 2>&5
38326 ac_status=$?
38327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328 (exit $ac_status); }; }; then
38329 eval "$as_ac_var=yes"
38330 else
38331 echo "$as_me: failed program was:" >&5
38332 sed 's/^/| /' conftest.$ac_ext >&5
38334 eval "$as_ac_var=no"
38336 rm -f conftest.err conftest.$ac_objext \
38337 conftest$ac_exeext conftest.$ac_ext
38339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38341 if test `eval echo '${'$as_ac_var'}'` = yes; then
38342 cat >>confdefs.h <<_ACEOF
38343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38344 _ACEOF
38347 done
38357 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38358 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38359 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38360 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38362 else
38366 ac_ext=cc
38367 ac_cpp='$CXXCPP $CPPFLAGS'
38368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38372 cat >conftest.$ac_ext <<_ACEOF
38373 /* confdefs.h. */
38374 _ACEOF
38375 cat confdefs.h >>conftest.$ac_ext
38376 cat >>conftest.$ac_ext <<_ACEOF
38377 /* end confdefs.h. */
38378 #include <math.h>
38379 #ifdef HAVE_IEEEFP_H
38380 #include <ieeefp.h>
38381 #endif
38384 main ()
38386 fabsf(0);
38388 return 0;
38390 _ACEOF
38391 rm -f conftest.$ac_objext
38392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38393 (eval $ac_compile) 2>conftest.er1
38394 ac_status=$?
38395 grep -v '^ *+' conftest.er1 >conftest.err
38396 rm -f conftest.er1
38397 cat conftest.err >&5
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); } &&
38400 { ac_try='test -z "$ac_cxx_werror_flag"
38401 || test ! -s conftest.err'
38402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38403 (eval $ac_try) 2>&5
38404 ac_status=$?
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); }; } &&
38407 { ac_try='test -s conftest.$ac_objext'
38408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38409 (eval $ac_try) 2>&5
38410 ac_status=$?
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); }; }; then
38413 glibcxx_cv_func_fabsf_use=yes
38414 else
38415 echo "$as_me: failed program was:" >&5
38416 sed 's/^/| /' conftest.$ac_ext >&5
38418 glibcxx_cv_func_fabsf_use=no
38420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38421 ac_ext=c
38422 ac_cpp='$CPP $CPPFLAGS'
38423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38432 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38434 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38436 for ac_func in fabsf
38438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38439 echo "$as_me:$LINENO: checking for $ac_func" >&5
38440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38441 if eval "test \"\${$as_ac_var+set}\" = set"; then
38442 echo $ECHO_N "(cached) $ECHO_C" >&6
38443 else
38444 if test x$gcc_no_link = xyes; then
38445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38447 { (exit 1); exit 1; }; }
38449 cat >conftest.$ac_ext <<_ACEOF
38450 /* confdefs.h. */
38451 _ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38457 #define $ac_func innocuous_$ac_func
38459 /* System header to define __stub macros and hopefully few prototypes,
38460 which can conflict with char $ac_func (); below.
38461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38462 <limits.h> exists even on freestanding compilers. */
38464 #ifdef __STDC__
38465 # include <limits.h>
38466 #else
38467 # include <assert.h>
38468 #endif
38470 #undef $ac_func
38472 /* Override any gcc2 internal prototype to avoid an error. */
38473 #ifdef __cplusplus
38474 extern "C"
38476 #endif
38477 /* We use char because int might match the return type of a gcc2
38478 builtin and then its argument prototype would still apply. */
38479 char $ac_func ();
38480 /* The GNU C library defines this for functions which it implements
38481 to always fail with ENOSYS. Some functions are actually named
38482 something starting with __ and the normal name is an alias. */
38483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38484 choke me
38485 #else
38486 char (*f) () = $ac_func;
38487 #endif
38488 #ifdef __cplusplus
38490 #endif
38493 main ()
38495 return f != $ac_func;
38497 return 0;
38499 _ACEOF
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38502 (eval $ac_link) 2>conftest.er1
38503 ac_status=$?
38504 grep -v '^ *+' conftest.er1 >conftest.err
38505 rm -f conftest.er1
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } &&
38509 { ac_try='test -z "$ac_c_werror_flag"
38510 || test ! -s conftest.err'
38511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38512 (eval $ac_try) 2>&5
38513 ac_status=$?
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); }; } &&
38516 { ac_try='test -s conftest$ac_exeext'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38519 ac_status=$?
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; }; then
38522 eval "$as_ac_var=yes"
38523 else
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.$ac_ext >&5
38527 eval "$as_ac_var=no"
38529 rm -f conftest.err conftest.$ac_objext \
38530 conftest$ac_exeext conftest.$ac_ext
38532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38534 if test `eval echo '${'$as_ac_var'}'` = yes; then
38535 cat >>confdefs.h <<_ACEOF
38536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38537 _ACEOF
38540 done
38542 else
38544 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38545 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38546 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38547 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38549 else
38553 ac_ext=cc
38554 ac_cpp='$CXXCPP $CPPFLAGS'
38555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38559 cat >conftest.$ac_ext <<_ACEOF
38560 /* confdefs.h. */
38561 _ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38565 #include <math.h>
38566 #ifdef HAVE_IEEEFP_H
38567 #include <ieeefp.h>
38568 #endif
38571 main ()
38573 _fabsf(0);
38575 return 0;
38577 _ACEOF
38578 rm -f conftest.$ac_objext
38579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38580 (eval $ac_compile) 2>conftest.er1
38581 ac_status=$?
38582 grep -v '^ *+' conftest.er1 >conftest.err
38583 rm -f conftest.er1
38584 cat conftest.err >&5
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); } &&
38587 { ac_try='test -z "$ac_cxx_werror_flag"
38588 || test ! -s conftest.err'
38589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38590 (eval $ac_try) 2>&5
38591 ac_status=$?
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); }; } &&
38594 { ac_try='test -s conftest.$ac_objext'
38595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38596 (eval $ac_try) 2>&5
38597 ac_status=$?
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); }; }; then
38600 glibcxx_cv_func__fabsf_use=yes
38601 else
38602 echo "$as_me: failed program was:" >&5
38603 sed 's/^/| /' conftest.$ac_ext >&5
38605 glibcxx_cv_func__fabsf_use=no
38607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38619 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38621 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38623 for ac_func in _fabsf
38625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38626 echo "$as_me:$LINENO: checking for $ac_func" >&5
38627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38628 if eval "test \"\${$as_ac_var+set}\" = set"; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 else
38631 if test x$gcc_no_link = xyes; then
38632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38634 { (exit 1); exit 1; }; }
38636 cat >conftest.$ac_ext <<_ACEOF
38637 /* confdefs.h. */
38638 _ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38644 #define $ac_func innocuous_$ac_func
38646 /* System header to define __stub macros and hopefully few prototypes,
38647 which can conflict with char $ac_func (); below.
38648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38649 <limits.h> exists even on freestanding compilers. */
38651 #ifdef __STDC__
38652 # include <limits.h>
38653 #else
38654 # include <assert.h>
38655 #endif
38657 #undef $ac_func
38659 /* Override any gcc2 internal prototype to avoid an error. */
38660 #ifdef __cplusplus
38661 extern "C"
38663 #endif
38664 /* We use char because int might match the return type of a gcc2
38665 builtin and then its argument prototype would still apply. */
38666 char $ac_func ();
38667 /* The GNU C library defines this for functions which it implements
38668 to always fail with ENOSYS. Some functions are actually named
38669 something starting with __ and the normal name is an alias. */
38670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38671 choke me
38672 #else
38673 char (*f) () = $ac_func;
38674 #endif
38675 #ifdef __cplusplus
38677 #endif
38680 main ()
38682 return f != $ac_func;
38684 return 0;
38686 _ACEOF
38687 rm -f conftest.$ac_objext conftest$ac_exeext
38688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38689 (eval $ac_link) 2>conftest.er1
38690 ac_status=$?
38691 grep -v '^ *+' conftest.er1 >conftest.err
38692 rm -f conftest.er1
38693 cat conftest.err >&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } &&
38696 { ac_try='test -z "$ac_c_werror_flag"
38697 || test ! -s conftest.err'
38698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38699 (eval $ac_try) 2>&5
38700 ac_status=$?
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); }; } &&
38703 { ac_try='test -s conftest$ac_exeext'
38704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38705 (eval $ac_try) 2>&5
38706 ac_status=$?
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); }; }; then
38709 eval "$as_ac_var=yes"
38710 else
38711 echo "$as_me: failed program was:" >&5
38712 sed 's/^/| /' conftest.$ac_ext >&5
38714 eval "$as_ac_var=no"
38716 rm -f conftest.err conftest.$ac_objext \
38717 conftest$ac_exeext conftest.$ac_ext
38719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38721 if test `eval echo '${'$as_ac_var'}'` = yes; then
38722 cat >>confdefs.h <<_ACEOF
38723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38724 _ACEOF
38727 done
38737 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38738 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38739 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38740 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 else
38746 ac_ext=cc
38747 ac_cpp='$CXXCPP $CPPFLAGS'
38748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38752 cat >conftest.$ac_ext <<_ACEOF
38753 /* confdefs.h. */
38754 _ACEOF
38755 cat confdefs.h >>conftest.$ac_ext
38756 cat >>conftest.$ac_ext <<_ACEOF
38757 /* end confdefs.h. */
38758 #include <math.h>
38760 main ()
38762 fmodf(0, 0);
38764 return 0;
38766 _ACEOF
38767 rm -f conftest.$ac_objext
38768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38769 (eval $ac_compile) 2>conftest.er1
38770 ac_status=$?
38771 grep -v '^ *+' conftest.er1 >conftest.err
38772 rm -f conftest.er1
38773 cat conftest.err >&5
38774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38775 (exit $ac_status); } &&
38776 { ac_try='test -z "$ac_cxx_werror_flag"
38777 || test ! -s conftest.err'
38778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38779 (eval $ac_try) 2>&5
38780 ac_status=$?
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); }; } &&
38783 { ac_try='test -s conftest.$ac_objext'
38784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38785 (eval $ac_try) 2>&5
38786 ac_status=$?
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); }; }; then
38789 glibcxx_cv_func_fmodf_use=yes
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38794 glibcxx_cv_func_fmodf_use=no
38796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38797 ac_ext=c
38798 ac_cpp='$CPP $CPPFLAGS'
38799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38808 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38810 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38812 for ac_func in fmodf
38814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38815 echo "$as_me:$LINENO: checking for $ac_func" >&5
38816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38817 if eval "test \"\${$as_ac_var+set}\" = set"; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 else
38820 if test x$gcc_no_link = xyes; then
38821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38823 { (exit 1); exit 1; }; }
38825 cat >conftest.$ac_ext <<_ACEOF
38826 /* confdefs.h. */
38827 _ACEOF
38828 cat confdefs.h >>conftest.$ac_ext
38829 cat >>conftest.$ac_ext <<_ACEOF
38830 /* end confdefs.h. */
38831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38833 #define $ac_func innocuous_$ac_func
38835 /* System header to define __stub macros and hopefully few prototypes,
38836 which can conflict with char $ac_func (); below.
38837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38838 <limits.h> exists even on freestanding compilers. */
38840 #ifdef __STDC__
38841 # include <limits.h>
38842 #else
38843 # include <assert.h>
38844 #endif
38846 #undef $ac_func
38848 /* Override any gcc2 internal prototype to avoid an error. */
38849 #ifdef __cplusplus
38850 extern "C"
38852 #endif
38853 /* We use char because int might match the return type of a gcc2
38854 builtin and then its argument prototype would still apply. */
38855 char $ac_func ();
38856 /* The GNU C library defines this for functions which it implements
38857 to always fail with ENOSYS. Some functions are actually named
38858 something starting with __ and the normal name is an alias. */
38859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38860 choke me
38861 #else
38862 char (*f) () = $ac_func;
38863 #endif
38864 #ifdef __cplusplus
38866 #endif
38869 main ()
38871 return f != $ac_func;
38873 return 0;
38875 _ACEOF
38876 rm -f conftest.$ac_objext conftest$ac_exeext
38877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38878 (eval $ac_link) 2>conftest.er1
38879 ac_status=$?
38880 grep -v '^ *+' conftest.er1 >conftest.err
38881 rm -f conftest.er1
38882 cat conftest.err >&5
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); } &&
38885 { ac_try='test -z "$ac_c_werror_flag"
38886 || test ! -s conftest.err'
38887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38888 (eval $ac_try) 2>&5
38889 ac_status=$?
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); }; } &&
38892 { ac_try='test -s conftest$ac_exeext'
38893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38894 (eval $ac_try) 2>&5
38895 ac_status=$?
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); }; }; then
38898 eval "$as_ac_var=yes"
38899 else
38900 echo "$as_me: failed program was:" >&5
38901 sed 's/^/| /' conftest.$ac_ext >&5
38903 eval "$as_ac_var=no"
38905 rm -f conftest.err conftest.$ac_objext \
38906 conftest$ac_exeext conftest.$ac_ext
38908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38910 if test `eval echo '${'$as_ac_var'}'` = yes; then
38911 cat >>confdefs.h <<_ACEOF
38912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38913 _ACEOF
38916 done
38918 else
38920 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38921 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38922 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38923 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38924 echo $ECHO_N "(cached) $ECHO_C" >&6
38925 else
38929 ac_ext=cc
38930 ac_cpp='$CXXCPP $CPPFLAGS'
38931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38935 cat >conftest.$ac_ext <<_ACEOF
38936 /* confdefs.h. */
38937 _ACEOF
38938 cat confdefs.h >>conftest.$ac_ext
38939 cat >>conftest.$ac_ext <<_ACEOF
38940 /* end confdefs.h. */
38941 #include <math.h>
38943 main ()
38945 _fmodf(0, 0);
38947 return 0;
38949 _ACEOF
38950 rm -f conftest.$ac_objext
38951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38952 (eval $ac_compile) 2>conftest.er1
38953 ac_status=$?
38954 grep -v '^ *+' conftest.er1 >conftest.err
38955 rm -f conftest.er1
38956 cat conftest.err >&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); } &&
38959 { ac_try='test -z "$ac_cxx_werror_flag"
38960 || test ! -s conftest.err'
38961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38962 (eval $ac_try) 2>&5
38963 ac_status=$?
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); }; } &&
38966 { ac_try='test -s conftest.$ac_objext'
38967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38968 (eval $ac_try) 2>&5
38969 ac_status=$?
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); }; }; then
38972 glibcxx_cv_func__fmodf_use=yes
38973 else
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.$ac_ext >&5
38977 glibcxx_cv_func__fmodf_use=no
38979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38980 ac_ext=c
38981 ac_cpp='$CPP $CPPFLAGS'
38982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38991 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38993 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38995 for ac_func in _fmodf
38997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38998 echo "$as_me:$LINENO: checking for $ac_func" >&5
38999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39000 if eval "test \"\${$as_ac_var+set}\" = set"; then
39001 echo $ECHO_N "(cached) $ECHO_C" >&6
39002 else
39003 if test x$gcc_no_link = xyes; then
39004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39006 { (exit 1); exit 1; }; }
39008 cat >conftest.$ac_ext <<_ACEOF
39009 /* confdefs.h. */
39010 _ACEOF
39011 cat confdefs.h >>conftest.$ac_ext
39012 cat >>conftest.$ac_ext <<_ACEOF
39013 /* end confdefs.h. */
39014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39016 #define $ac_func innocuous_$ac_func
39018 /* System header to define __stub macros and hopefully few prototypes,
39019 which can conflict with char $ac_func (); below.
39020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39021 <limits.h> exists even on freestanding compilers. */
39023 #ifdef __STDC__
39024 # include <limits.h>
39025 #else
39026 # include <assert.h>
39027 #endif
39029 #undef $ac_func
39031 /* Override any gcc2 internal prototype to avoid an error. */
39032 #ifdef __cplusplus
39033 extern "C"
39035 #endif
39036 /* We use char because int might match the return type of a gcc2
39037 builtin and then its argument prototype would still apply. */
39038 char $ac_func ();
39039 /* The GNU C library defines this for functions which it implements
39040 to always fail with ENOSYS. Some functions are actually named
39041 something starting with __ and the normal name is an alias. */
39042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39043 choke me
39044 #else
39045 char (*f) () = $ac_func;
39046 #endif
39047 #ifdef __cplusplus
39049 #endif
39052 main ()
39054 return f != $ac_func;
39056 return 0;
39058 _ACEOF
39059 rm -f conftest.$ac_objext conftest$ac_exeext
39060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39061 (eval $ac_link) 2>conftest.er1
39062 ac_status=$?
39063 grep -v '^ *+' conftest.er1 >conftest.err
39064 rm -f conftest.er1
39065 cat conftest.err >&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } &&
39068 { ac_try='test -z "$ac_c_werror_flag"
39069 || test ! -s conftest.err'
39070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071 (eval $ac_try) 2>&5
39072 ac_status=$?
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); }; } &&
39075 { ac_try='test -s conftest$ac_exeext'
39076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39077 (eval $ac_try) 2>&5
39078 ac_status=$?
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); }; }; then
39081 eval "$as_ac_var=yes"
39082 else
39083 echo "$as_me: failed program was:" >&5
39084 sed 's/^/| /' conftest.$ac_ext >&5
39086 eval "$as_ac_var=no"
39088 rm -f conftest.err conftest.$ac_objext \
39089 conftest$ac_exeext conftest.$ac_ext
39091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39093 if test `eval echo '${'$as_ac_var'}'` = yes; then
39094 cat >>confdefs.h <<_ACEOF
39095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39096 _ACEOF
39099 done
39109 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
39110 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
39111 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39112 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
39113 echo $ECHO_N "(cached) $ECHO_C" >&6
39114 else
39118 ac_ext=cc
39119 ac_cpp='$CXXCPP $CPPFLAGS'
39120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39124 cat >conftest.$ac_ext <<_ACEOF
39125 /* confdefs.h. */
39126 _ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130 #include <math.h>
39132 main ()
39134 frexpf(0, 0);
39136 return 0;
39138 _ACEOF
39139 rm -f conftest.$ac_objext
39140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39141 (eval $ac_compile) 2>conftest.er1
39142 ac_status=$?
39143 grep -v '^ *+' conftest.er1 >conftest.err
39144 rm -f conftest.er1
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } &&
39148 { ac_try='test -z "$ac_cxx_werror_flag"
39149 || test ! -s conftest.err'
39150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39151 (eval $ac_try) 2>&5
39152 ac_status=$?
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); }; } &&
39155 { ac_try='test -s conftest.$ac_objext'
39156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39157 (eval $ac_try) 2>&5
39158 ac_status=$?
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); }; }; then
39161 glibcxx_cv_func_frexpf_use=yes
39162 else
39163 echo "$as_me: failed program was:" >&5
39164 sed 's/^/| /' conftest.$ac_ext >&5
39166 glibcxx_cv_func_frexpf_use=no
39168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39169 ac_ext=c
39170 ac_cpp='$CPP $CPPFLAGS'
39171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
39180 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
39182 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39184 for ac_func in frexpf
39186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39187 echo "$as_me:$LINENO: checking for $ac_func" >&5
39188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39189 if eval "test \"\${$as_ac_var+set}\" = set"; then
39190 echo $ECHO_N "(cached) $ECHO_C" >&6
39191 else
39192 if test x$gcc_no_link = xyes; then
39193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39195 { (exit 1); exit 1; }; }
39197 cat >conftest.$ac_ext <<_ACEOF
39198 /* confdefs.h. */
39199 _ACEOF
39200 cat confdefs.h >>conftest.$ac_ext
39201 cat >>conftest.$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39205 #define $ac_func innocuous_$ac_func
39207 /* System header to define __stub macros and hopefully few prototypes,
39208 which can conflict with char $ac_func (); below.
39209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39210 <limits.h> exists even on freestanding compilers. */
39212 #ifdef __STDC__
39213 # include <limits.h>
39214 #else
39215 # include <assert.h>
39216 #endif
39218 #undef $ac_func
39220 /* Override any gcc2 internal prototype to avoid an error. */
39221 #ifdef __cplusplus
39222 extern "C"
39224 #endif
39225 /* We use char because int might match the return type of a gcc2
39226 builtin and then its argument prototype would still apply. */
39227 char $ac_func ();
39228 /* The GNU C library defines this for functions which it implements
39229 to always fail with ENOSYS. Some functions are actually named
39230 something starting with __ and the normal name is an alias. */
39231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39232 choke me
39233 #else
39234 char (*f) () = $ac_func;
39235 #endif
39236 #ifdef __cplusplus
39238 #endif
39241 main ()
39243 return f != $ac_func;
39245 return 0;
39247 _ACEOF
39248 rm -f conftest.$ac_objext conftest$ac_exeext
39249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39250 (eval $ac_link) 2>conftest.er1
39251 ac_status=$?
39252 grep -v '^ *+' conftest.er1 >conftest.err
39253 rm -f conftest.er1
39254 cat conftest.err >&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); } &&
39257 { ac_try='test -z "$ac_c_werror_flag"
39258 || test ! -s conftest.err'
39259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39260 (eval $ac_try) 2>&5
39261 ac_status=$?
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); }; } &&
39264 { ac_try='test -s conftest$ac_exeext'
39265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39266 (eval $ac_try) 2>&5
39267 ac_status=$?
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); }; }; then
39270 eval "$as_ac_var=yes"
39271 else
39272 echo "$as_me: failed program was:" >&5
39273 sed 's/^/| /' conftest.$ac_ext >&5
39275 eval "$as_ac_var=no"
39277 rm -f conftest.err conftest.$ac_objext \
39278 conftest$ac_exeext conftest.$ac_ext
39280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39282 if test `eval echo '${'$as_ac_var'}'` = yes; then
39283 cat >>confdefs.h <<_ACEOF
39284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39285 _ACEOF
39288 done
39290 else
39292 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39293 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 else
39301 ac_ext=cc
39302 ac_cpp='$CXXCPP $CPPFLAGS'
39303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39307 cat >conftest.$ac_ext <<_ACEOF
39308 /* confdefs.h. */
39309 _ACEOF
39310 cat confdefs.h >>conftest.$ac_ext
39311 cat >>conftest.$ac_ext <<_ACEOF
39312 /* end confdefs.h. */
39313 #include <math.h>
39315 main ()
39317 _frexpf(0, 0);
39319 return 0;
39321 _ACEOF
39322 rm -f conftest.$ac_objext
39323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39324 (eval $ac_compile) 2>conftest.er1
39325 ac_status=$?
39326 grep -v '^ *+' conftest.er1 >conftest.err
39327 rm -f conftest.er1
39328 cat conftest.err >&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); } &&
39331 { ac_try='test -z "$ac_cxx_werror_flag"
39332 || test ! -s conftest.err'
39333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39334 (eval $ac_try) 2>&5
39335 ac_status=$?
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); }; } &&
39338 { ac_try='test -s conftest.$ac_objext'
39339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39340 (eval $ac_try) 2>&5
39341 ac_status=$?
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); }; }; then
39344 glibcxx_cv_func__frexpf_use=yes
39345 else
39346 echo "$as_me: failed program was:" >&5
39347 sed 's/^/| /' conftest.$ac_ext >&5
39349 glibcxx_cv_func__frexpf_use=no
39351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39352 ac_ext=c
39353 ac_cpp='$CPP $CPPFLAGS'
39354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39363 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39365 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39367 for ac_func in _frexpf
39369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39370 echo "$as_me:$LINENO: checking for $ac_func" >&5
39371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39372 if eval "test \"\${$as_ac_var+set}\" = set"; then
39373 echo $ECHO_N "(cached) $ECHO_C" >&6
39374 else
39375 if test x$gcc_no_link = xyes; then
39376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39378 { (exit 1); exit 1; }; }
39380 cat >conftest.$ac_ext <<_ACEOF
39381 /* confdefs.h. */
39382 _ACEOF
39383 cat confdefs.h >>conftest.$ac_ext
39384 cat >>conftest.$ac_ext <<_ACEOF
39385 /* end confdefs.h. */
39386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39388 #define $ac_func innocuous_$ac_func
39390 /* System header to define __stub macros and hopefully few prototypes,
39391 which can conflict with char $ac_func (); below.
39392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39393 <limits.h> exists even on freestanding compilers. */
39395 #ifdef __STDC__
39396 # include <limits.h>
39397 #else
39398 # include <assert.h>
39399 #endif
39401 #undef $ac_func
39403 /* Override any gcc2 internal prototype to avoid an error. */
39404 #ifdef __cplusplus
39405 extern "C"
39407 #endif
39408 /* We use char because int might match the return type of a gcc2
39409 builtin and then its argument prototype would still apply. */
39410 char $ac_func ();
39411 /* The GNU C library defines this for functions which it implements
39412 to always fail with ENOSYS. Some functions are actually named
39413 something starting with __ and the normal name is an alias. */
39414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39415 choke me
39416 #else
39417 char (*f) () = $ac_func;
39418 #endif
39419 #ifdef __cplusplus
39421 #endif
39424 main ()
39426 return f != $ac_func;
39428 return 0;
39430 _ACEOF
39431 rm -f conftest.$ac_objext conftest$ac_exeext
39432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39433 (eval $ac_link) 2>conftest.er1
39434 ac_status=$?
39435 grep -v '^ *+' conftest.er1 >conftest.err
39436 rm -f conftest.er1
39437 cat conftest.err >&5
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); } &&
39440 { ac_try='test -z "$ac_c_werror_flag"
39441 || test ! -s conftest.err'
39442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39443 (eval $ac_try) 2>&5
39444 ac_status=$?
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); }; } &&
39447 { ac_try='test -s conftest$ac_exeext'
39448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39449 (eval $ac_try) 2>&5
39450 ac_status=$?
39451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39452 (exit $ac_status); }; }; then
39453 eval "$as_ac_var=yes"
39454 else
39455 echo "$as_me: failed program was:" >&5
39456 sed 's/^/| /' conftest.$ac_ext >&5
39458 eval "$as_ac_var=no"
39460 rm -f conftest.err conftest.$ac_objext \
39461 conftest$ac_exeext conftest.$ac_ext
39463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39465 if test `eval echo '${'$as_ac_var'}'` = yes; then
39466 cat >>confdefs.h <<_ACEOF
39467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39468 _ACEOF
39471 done
39481 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39482 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39483 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39484 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39486 else
39490 ac_ext=cc
39491 ac_cpp='$CXXCPP $CPPFLAGS'
39492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39496 cat >conftest.$ac_ext <<_ACEOF
39497 /* confdefs.h. */
39498 _ACEOF
39499 cat confdefs.h >>conftest.$ac_ext
39500 cat >>conftest.$ac_ext <<_ACEOF
39501 /* end confdefs.h. */
39502 #include <math.h>
39504 main ()
39506 hypotf(0, 0);
39508 return 0;
39510 _ACEOF
39511 rm -f conftest.$ac_objext
39512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39513 (eval $ac_compile) 2>conftest.er1
39514 ac_status=$?
39515 grep -v '^ *+' conftest.er1 >conftest.err
39516 rm -f conftest.er1
39517 cat conftest.err >&5
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); } &&
39520 { ac_try='test -z "$ac_cxx_werror_flag"
39521 || test ! -s conftest.err'
39522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39523 (eval $ac_try) 2>&5
39524 ac_status=$?
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); }; } &&
39527 { ac_try='test -s conftest.$ac_objext'
39528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39529 (eval $ac_try) 2>&5
39530 ac_status=$?
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); }; }; then
39533 glibcxx_cv_func_hypotf_use=yes
39534 else
39535 echo "$as_me: failed program was:" >&5
39536 sed 's/^/| /' conftest.$ac_ext >&5
39538 glibcxx_cv_func_hypotf_use=no
39540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39541 ac_ext=c
39542 ac_cpp='$CPP $CPPFLAGS'
39543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39552 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39554 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39556 for ac_func in hypotf
39558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39559 echo "$as_me:$LINENO: checking for $ac_func" >&5
39560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39561 if eval "test \"\${$as_ac_var+set}\" = set"; then
39562 echo $ECHO_N "(cached) $ECHO_C" >&6
39563 else
39564 if test x$gcc_no_link = xyes; then
39565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39567 { (exit 1); exit 1; }; }
39569 cat >conftest.$ac_ext <<_ACEOF
39570 /* confdefs.h. */
39571 _ACEOF
39572 cat confdefs.h >>conftest.$ac_ext
39573 cat >>conftest.$ac_ext <<_ACEOF
39574 /* end confdefs.h. */
39575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39577 #define $ac_func innocuous_$ac_func
39579 /* System header to define __stub macros and hopefully few prototypes,
39580 which can conflict with char $ac_func (); below.
39581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39582 <limits.h> exists even on freestanding compilers. */
39584 #ifdef __STDC__
39585 # include <limits.h>
39586 #else
39587 # include <assert.h>
39588 #endif
39590 #undef $ac_func
39592 /* Override any gcc2 internal prototype to avoid an error. */
39593 #ifdef __cplusplus
39594 extern "C"
39596 #endif
39597 /* We use char because int might match the return type of a gcc2
39598 builtin and then its argument prototype would still apply. */
39599 char $ac_func ();
39600 /* The GNU C library defines this for functions which it implements
39601 to always fail with ENOSYS. Some functions are actually named
39602 something starting with __ and the normal name is an alias. */
39603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39604 choke me
39605 #else
39606 char (*f) () = $ac_func;
39607 #endif
39608 #ifdef __cplusplus
39610 #endif
39613 main ()
39615 return f != $ac_func;
39617 return 0;
39619 _ACEOF
39620 rm -f conftest.$ac_objext conftest$ac_exeext
39621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39622 (eval $ac_link) 2>conftest.er1
39623 ac_status=$?
39624 grep -v '^ *+' conftest.er1 >conftest.err
39625 rm -f conftest.er1
39626 cat conftest.err >&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } &&
39629 { ac_try='test -z "$ac_c_werror_flag"
39630 || test ! -s conftest.err'
39631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39632 (eval $ac_try) 2>&5
39633 ac_status=$?
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); }; } &&
39636 { ac_try='test -s conftest$ac_exeext'
39637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39638 (eval $ac_try) 2>&5
39639 ac_status=$?
39640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641 (exit $ac_status); }; }; then
39642 eval "$as_ac_var=yes"
39643 else
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.$ac_ext >&5
39647 eval "$as_ac_var=no"
39649 rm -f conftest.err conftest.$ac_objext \
39650 conftest$ac_exeext conftest.$ac_ext
39652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39654 if test `eval echo '${'$as_ac_var'}'` = yes; then
39655 cat >>confdefs.h <<_ACEOF
39656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39657 _ACEOF
39660 done
39662 else
39664 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39665 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39666 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39667 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39668 echo $ECHO_N "(cached) $ECHO_C" >&6
39669 else
39673 ac_ext=cc
39674 ac_cpp='$CXXCPP $CPPFLAGS'
39675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 #include <math.h>
39687 main ()
39689 _hypotf(0, 0);
39691 return 0;
39693 _ACEOF
39694 rm -f conftest.$ac_objext
39695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39696 (eval $ac_compile) 2>conftest.er1
39697 ac_status=$?
39698 grep -v '^ *+' conftest.er1 >conftest.err
39699 rm -f conftest.er1
39700 cat conftest.err >&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); } &&
39703 { ac_try='test -z "$ac_cxx_werror_flag"
39704 || test ! -s conftest.err'
39705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39706 (eval $ac_try) 2>&5
39707 ac_status=$?
39708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39709 (exit $ac_status); }; } &&
39710 { ac_try='test -s conftest.$ac_objext'
39711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39712 (eval $ac_try) 2>&5
39713 ac_status=$?
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); }; }; then
39716 glibcxx_cv_func__hypotf_use=yes
39717 else
39718 echo "$as_me: failed program was:" >&5
39719 sed 's/^/| /' conftest.$ac_ext >&5
39721 glibcxx_cv_func__hypotf_use=no
39723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39735 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39737 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39739 for ac_func in _hypotf
39741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39742 echo "$as_me:$LINENO: checking for $ac_func" >&5
39743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39744 if eval "test \"\${$as_ac_var+set}\" = set"; then
39745 echo $ECHO_N "(cached) $ECHO_C" >&6
39746 else
39747 if test x$gcc_no_link = xyes; then
39748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39750 { (exit 1); exit 1; }; }
39752 cat >conftest.$ac_ext <<_ACEOF
39753 /* confdefs.h. */
39754 _ACEOF
39755 cat confdefs.h >>conftest.$ac_ext
39756 cat >>conftest.$ac_ext <<_ACEOF
39757 /* end confdefs.h. */
39758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39760 #define $ac_func innocuous_$ac_func
39762 /* System header to define __stub macros and hopefully few prototypes,
39763 which can conflict with char $ac_func (); below.
39764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39765 <limits.h> exists even on freestanding compilers. */
39767 #ifdef __STDC__
39768 # include <limits.h>
39769 #else
39770 # include <assert.h>
39771 #endif
39773 #undef $ac_func
39775 /* Override any gcc2 internal prototype to avoid an error. */
39776 #ifdef __cplusplus
39777 extern "C"
39779 #endif
39780 /* We use char because int might match the return type of a gcc2
39781 builtin and then its argument prototype would still apply. */
39782 char $ac_func ();
39783 /* The GNU C library defines this for functions which it implements
39784 to always fail with ENOSYS. Some functions are actually named
39785 something starting with __ and the normal name is an alias. */
39786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39787 choke me
39788 #else
39789 char (*f) () = $ac_func;
39790 #endif
39791 #ifdef __cplusplus
39793 #endif
39796 main ()
39798 return f != $ac_func;
39800 return 0;
39802 _ACEOF
39803 rm -f conftest.$ac_objext conftest$ac_exeext
39804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39805 (eval $ac_link) 2>conftest.er1
39806 ac_status=$?
39807 grep -v '^ *+' conftest.er1 >conftest.err
39808 rm -f conftest.er1
39809 cat conftest.err >&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } &&
39812 { ac_try='test -z "$ac_c_werror_flag"
39813 || test ! -s conftest.err'
39814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39815 (eval $ac_try) 2>&5
39816 ac_status=$?
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); }; } &&
39819 { ac_try='test -s conftest$ac_exeext'
39820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821 (eval $ac_try) 2>&5
39822 ac_status=$?
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; }; then
39825 eval "$as_ac_var=yes"
39826 else
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39830 eval "$as_ac_var=no"
39832 rm -f conftest.err conftest.$ac_objext \
39833 conftest$ac_exeext conftest.$ac_ext
39835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39837 if test `eval echo '${'$as_ac_var'}'` = yes; then
39838 cat >>confdefs.h <<_ACEOF
39839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39840 _ACEOF
39843 done
39853 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39854 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39855 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39856 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39858 else
39862 ac_ext=cc
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39868 cat >conftest.$ac_ext <<_ACEOF
39869 /* confdefs.h. */
39870 _ACEOF
39871 cat confdefs.h >>conftest.$ac_ext
39872 cat >>conftest.$ac_ext <<_ACEOF
39873 /* end confdefs.h. */
39874 #include <math.h>
39876 main ()
39878 ldexpf(0, 0);
39880 return 0;
39882 _ACEOF
39883 rm -f conftest.$ac_objext
39884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39885 (eval $ac_compile) 2>conftest.er1
39886 ac_status=$?
39887 grep -v '^ *+' conftest.er1 >conftest.err
39888 rm -f conftest.er1
39889 cat conftest.err >&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } &&
39892 { ac_try='test -z "$ac_cxx_werror_flag"
39893 || test ! -s conftest.err'
39894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895 (eval $ac_try) 2>&5
39896 ac_status=$?
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); }; } &&
39899 { ac_try='test -s conftest.$ac_objext'
39900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39901 (eval $ac_try) 2>&5
39902 ac_status=$?
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); }; }; then
39905 glibcxx_cv_func_ldexpf_use=yes
39906 else
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39910 glibcxx_cv_func_ldexpf_use=no
39912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39913 ac_ext=c
39914 ac_cpp='$CPP $CPPFLAGS'
39915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39924 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39926 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39928 for ac_func in ldexpf
39930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39931 echo "$as_me:$LINENO: checking for $ac_func" >&5
39932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39933 if eval "test \"\${$as_ac_var+set}\" = set"; then
39934 echo $ECHO_N "(cached) $ECHO_C" >&6
39935 else
39936 if test x$gcc_no_link = xyes; then
39937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39939 { (exit 1); exit 1; }; }
39941 cat >conftest.$ac_ext <<_ACEOF
39942 /* confdefs.h. */
39943 _ACEOF
39944 cat confdefs.h >>conftest.$ac_ext
39945 cat >>conftest.$ac_ext <<_ACEOF
39946 /* end confdefs.h. */
39947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39949 #define $ac_func innocuous_$ac_func
39951 /* System header to define __stub macros and hopefully few prototypes,
39952 which can conflict with char $ac_func (); below.
39953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39954 <limits.h> exists even on freestanding compilers. */
39956 #ifdef __STDC__
39957 # include <limits.h>
39958 #else
39959 # include <assert.h>
39960 #endif
39962 #undef $ac_func
39964 /* Override any gcc2 internal prototype to avoid an error. */
39965 #ifdef __cplusplus
39966 extern "C"
39968 #endif
39969 /* We use char because int might match the return type of a gcc2
39970 builtin and then its argument prototype would still apply. */
39971 char $ac_func ();
39972 /* The GNU C library defines this for functions which it implements
39973 to always fail with ENOSYS. Some functions are actually named
39974 something starting with __ and the normal name is an alias. */
39975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39976 choke me
39977 #else
39978 char (*f) () = $ac_func;
39979 #endif
39980 #ifdef __cplusplus
39982 #endif
39985 main ()
39987 return f != $ac_func;
39989 return 0;
39991 _ACEOF
39992 rm -f conftest.$ac_objext conftest$ac_exeext
39993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39994 (eval $ac_link) 2>conftest.er1
39995 ac_status=$?
39996 grep -v '^ *+' conftest.er1 >conftest.err
39997 rm -f conftest.er1
39998 cat conftest.err >&5
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); } &&
40001 { ac_try='test -z "$ac_c_werror_flag"
40002 || test ! -s conftest.err'
40003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40004 (eval $ac_try) 2>&5
40005 ac_status=$?
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); }; } &&
40008 { ac_try='test -s conftest$ac_exeext'
40009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40010 (eval $ac_try) 2>&5
40011 ac_status=$?
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); }; }; then
40014 eval "$as_ac_var=yes"
40015 else
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.$ac_ext >&5
40019 eval "$as_ac_var=no"
40021 rm -f conftest.err conftest.$ac_objext \
40022 conftest$ac_exeext conftest.$ac_ext
40024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40026 if test `eval echo '${'$as_ac_var'}'` = yes; then
40027 cat >>confdefs.h <<_ACEOF
40028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40029 _ACEOF
40032 done
40034 else
40036 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
40037 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
40038 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40039 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
40040 echo $ECHO_N "(cached) $ECHO_C" >&6
40041 else
40045 ac_ext=cc
40046 ac_cpp='$CXXCPP $CPPFLAGS'
40047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40051 cat >conftest.$ac_ext <<_ACEOF
40052 /* confdefs.h. */
40053 _ACEOF
40054 cat confdefs.h >>conftest.$ac_ext
40055 cat >>conftest.$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40057 #include <math.h>
40059 main ()
40061 _ldexpf(0, 0);
40063 return 0;
40065 _ACEOF
40066 rm -f conftest.$ac_objext
40067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40068 (eval $ac_compile) 2>conftest.er1
40069 ac_status=$?
40070 grep -v '^ *+' conftest.er1 >conftest.err
40071 rm -f conftest.er1
40072 cat conftest.err >&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } &&
40075 { ac_try='test -z "$ac_cxx_werror_flag"
40076 || test ! -s conftest.err'
40077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40078 (eval $ac_try) 2>&5
40079 ac_status=$?
40080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40081 (exit $ac_status); }; } &&
40082 { ac_try='test -s conftest.$ac_objext'
40083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40084 (eval $ac_try) 2>&5
40085 ac_status=$?
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); }; }; then
40088 glibcxx_cv_func__ldexpf_use=yes
40089 else
40090 echo "$as_me: failed program was:" >&5
40091 sed 's/^/| /' conftest.$ac_ext >&5
40093 glibcxx_cv_func__ldexpf_use=no
40095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40096 ac_ext=c
40097 ac_cpp='$CPP $CPPFLAGS'
40098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
40107 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
40109 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40111 for ac_func in _ldexpf
40113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40114 echo "$as_me:$LINENO: checking for $ac_func" >&5
40115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40116 if eval "test \"\${$as_ac_var+set}\" = set"; then
40117 echo $ECHO_N "(cached) $ECHO_C" >&6
40118 else
40119 if test x$gcc_no_link = xyes; then
40120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40122 { (exit 1); exit 1; }; }
40124 cat >conftest.$ac_ext <<_ACEOF
40125 /* confdefs.h. */
40126 _ACEOF
40127 cat confdefs.h >>conftest.$ac_ext
40128 cat >>conftest.$ac_ext <<_ACEOF
40129 /* end confdefs.h. */
40130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40132 #define $ac_func innocuous_$ac_func
40134 /* System header to define __stub macros and hopefully few prototypes,
40135 which can conflict with char $ac_func (); below.
40136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40137 <limits.h> exists even on freestanding compilers. */
40139 #ifdef __STDC__
40140 # include <limits.h>
40141 #else
40142 # include <assert.h>
40143 #endif
40145 #undef $ac_func
40147 /* Override any gcc2 internal prototype to avoid an error. */
40148 #ifdef __cplusplus
40149 extern "C"
40151 #endif
40152 /* We use char because int might match the return type of a gcc2
40153 builtin and then its argument prototype would still apply. */
40154 char $ac_func ();
40155 /* The GNU C library defines this for functions which it implements
40156 to always fail with ENOSYS. Some functions are actually named
40157 something starting with __ and the normal name is an alias. */
40158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40159 choke me
40160 #else
40161 char (*f) () = $ac_func;
40162 #endif
40163 #ifdef __cplusplus
40165 #endif
40168 main ()
40170 return f != $ac_func;
40172 return 0;
40174 _ACEOF
40175 rm -f conftest.$ac_objext conftest$ac_exeext
40176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40177 (eval $ac_link) 2>conftest.er1
40178 ac_status=$?
40179 grep -v '^ *+' conftest.er1 >conftest.err
40180 rm -f conftest.er1
40181 cat conftest.err >&5
40182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183 (exit $ac_status); } &&
40184 { ac_try='test -z "$ac_c_werror_flag"
40185 || test ! -s conftest.err'
40186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40187 (eval $ac_try) 2>&5
40188 ac_status=$?
40189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40190 (exit $ac_status); }; } &&
40191 { ac_try='test -s conftest$ac_exeext'
40192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40193 (eval $ac_try) 2>&5
40194 ac_status=$?
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); }; }; then
40197 eval "$as_ac_var=yes"
40198 else
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.$ac_ext >&5
40202 eval "$as_ac_var=no"
40204 rm -f conftest.err conftest.$ac_objext \
40205 conftest$ac_exeext conftest.$ac_ext
40207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40209 if test `eval echo '${'$as_ac_var'}'` = yes; then
40210 cat >>confdefs.h <<_ACEOF
40211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40212 _ACEOF
40215 done
40225 echo "$as_me:$LINENO: checking for logf declaration" >&5
40226 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
40227 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40228 if test "${glibcxx_cv_func_logf_use+set}" = set; then
40229 echo $ECHO_N "(cached) $ECHO_C" >&6
40230 else
40234 ac_ext=cc
40235 ac_cpp='$CXXCPP $CPPFLAGS'
40236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40240 cat >conftest.$ac_ext <<_ACEOF
40241 /* confdefs.h. */
40242 _ACEOF
40243 cat confdefs.h >>conftest.$ac_ext
40244 cat >>conftest.$ac_ext <<_ACEOF
40245 /* end confdefs.h. */
40246 #include <math.h>
40247 #ifdef HAVE_IEEEFP_H
40248 #include <ieeefp.h>
40249 #endif
40252 main ()
40254 logf(0);
40256 return 0;
40258 _ACEOF
40259 rm -f conftest.$ac_objext
40260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40261 (eval $ac_compile) 2>conftest.er1
40262 ac_status=$?
40263 grep -v '^ *+' conftest.er1 >conftest.err
40264 rm -f conftest.er1
40265 cat conftest.err >&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); } &&
40268 { ac_try='test -z "$ac_cxx_werror_flag"
40269 || test ! -s conftest.err'
40270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40271 (eval $ac_try) 2>&5
40272 ac_status=$?
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); }; } &&
40275 { ac_try='test -s conftest.$ac_objext'
40276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40277 (eval $ac_try) 2>&5
40278 ac_status=$?
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); }; }; then
40281 glibcxx_cv_func_logf_use=yes
40282 else
40283 echo "$as_me: failed program was:" >&5
40284 sed 's/^/| /' conftest.$ac_ext >&5
40286 glibcxx_cv_func_logf_use=no
40288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40289 ac_ext=c
40290 ac_cpp='$CPP $CPPFLAGS'
40291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40300 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40302 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40304 for ac_func in logf
40306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40307 echo "$as_me:$LINENO: checking for $ac_func" >&5
40308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40309 if eval "test \"\${$as_ac_var+set}\" = set"; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 else
40312 if test x$gcc_no_link = xyes; then
40313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40315 { (exit 1); exit 1; }; }
40317 cat >conftest.$ac_ext <<_ACEOF
40318 /* confdefs.h. */
40319 _ACEOF
40320 cat confdefs.h >>conftest.$ac_ext
40321 cat >>conftest.$ac_ext <<_ACEOF
40322 /* end confdefs.h. */
40323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40325 #define $ac_func innocuous_$ac_func
40327 /* System header to define __stub macros and hopefully few prototypes,
40328 which can conflict with char $ac_func (); below.
40329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40330 <limits.h> exists even on freestanding compilers. */
40332 #ifdef __STDC__
40333 # include <limits.h>
40334 #else
40335 # include <assert.h>
40336 #endif
40338 #undef $ac_func
40340 /* Override any gcc2 internal prototype to avoid an error. */
40341 #ifdef __cplusplus
40342 extern "C"
40344 #endif
40345 /* We use char because int might match the return type of a gcc2
40346 builtin and then its argument prototype would still apply. */
40347 char $ac_func ();
40348 /* The GNU C library defines this for functions which it implements
40349 to always fail with ENOSYS. Some functions are actually named
40350 something starting with __ and the normal name is an alias. */
40351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40352 choke me
40353 #else
40354 char (*f) () = $ac_func;
40355 #endif
40356 #ifdef __cplusplus
40358 #endif
40361 main ()
40363 return f != $ac_func;
40365 return 0;
40367 _ACEOF
40368 rm -f conftest.$ac_objext conftest$ac_exeext
40369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40370 (eval $ac_link) 2>conftest.er1
40371 ac_status=$?
40372 grep -v '^ *+' conftest.er1 >conftest.err
40373 rm -f conftest.er1
40374 cat conftest.err >&5
40375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40376 (exit $ac_status); } &&
40377 { ac_try='test -z "$ac_c_werror_flag"
40378 || test ! -s conftest.err'
40379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40380 (eval $ac_try) 2>&5
40381 ac_status=$?
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); }; } &&
40384 { ac_try='test -s conftest$ac_exeext'
40385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40386 (eval $ac_try) 2>&5
40387 ac_status=$?
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); }; }; then
40390 eval "$as_ac_var=yes"
40391 else
40392 echo "$as_me: failed program was:" >&5
40393 sed 's/^/| /' conftest.$ac_ext >&5
40395 eval "$as_ac_var=no"
40397 rm -f conftest.err conftest.$ac_objext \
40398 conftest$ac_exeext conftest.$ac_ext
40400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40402 if test `eval echo '${'$as_ac_var'}'` = yes; then
40403 cat >>confdefs.h <<_ACEOF
40404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40405 _ACEOF
40408 done
40410 else
40412 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40413 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40414 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40415 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40416 echo $ECHO_N "(cached) $ECHO_C" >&6
40417 else
40421 ac_ext=cc
40422 ac_cpp='$CXXCPP $CPPFLAGS'
40423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40427 cat >conftest.$ac_ext <<_ACEOF
40428 /* confdefs.h. */
40429 _ACEOF
40430 cat confdefs.h >>conftest.$ac_ext
40431 cat >>conftest.$ac_ext <<_ACEOF
40432 /* end confdefs.h. */
40433 #include <math.h>
40434 #ifdef HAVE_IEEEFP_H
40435 #include <ieeefp.h>
40436 #endif
40439 main ()
40441 _logf(0);
40443 return 0;
40445 _ACEOF
40446 rm -f conftest.$ac_objext
40447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40448 (eval $ac_compile) 2>conftest.er1
40449 ac_status=$?
40450 grep -v '^ *+' conftest.er1 >conftest.err
40451 rm -f conftest.er1
40452 cat conftest.err >&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); } &&
40455 { ac_try='test -z "$ac_cxx_werror_flag"
40456 || test ! -s conftest.err'
40457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40458 (eval $ac_try) 2>&5
40459 ac_status=$?
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); }; } &&
40462 { ac_try='test -s conftest.$ac_objext'
40463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40464 (eval $ac_try) 2>&5
40465 ac_status=$?
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); }; }; then
40468 glibcxx_cv_func__logf_use=yes
40469 else
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40473 glibcxx_cv_func__logf_use=no
40475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40476 ac_ext=c
40477 ac_cpp='$CPP $CPPFLAGS'
40478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40487 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40489 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40491 for ac_func in _logf
40493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40494 echo "$as_me:$LINENO: checking for $ac_func" >&5
40495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40496 if eval "test \"\${$as_ac_var+set}\" = set"; then
40497 echo $ECHO_N "(cached) $ECHO_C" >&6
40498 else
40499 if test x$gcc_no_link = xyes; then
40500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40502 { (exit 1); exit 1; }; }
40504 cat >conftest.$ac_ext <<_ACEOF
40505 /* confdefs.h. */
40506 _ACEOF
40507 cat confdefs.h >>conftest.$ac_ext
40508 cat >>conftest.$ac_ext <<_ACEOF
40509 /* end confdefs.h. */
40510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40512 #define $ac_func innocuous_$ac_func
40514 /* System header to define __stub macros and hopefully few prototypes,
40515 which can conflict with char $ac_func (); below.
40516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40517 <limits.h> exists even on freestanding compilers. */
40519 #ifdef __STDC__
40520 # include <limits.h>
40521 #else
40522 # include <assert.h>
40523 #endif
40525 #undef $ac_func
40527 /* Override any gcc2 internal prototype to avoid an error. */
40528 #ifdef __cplusplus
40529 extern "C"
40531 #endif
40532 /* We use char because int might match the return type of a gcc2
40533 builtin and then its argument prototype would still apply. */
40534 char $ac_func ();
40535 /* The GNU C library defines this for functions which it implements
40536 to always fail with ENOSYS. Some functions are actually named
40537 something starting with __ and the normal name is an alias. */
40538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40539 choke me
40540 #else
40541 char (*f) () = $ac_func;
40542 #endif
40543 #ifdef __cplusplus
40545 #endif
40548 main ()
40550 return f != $ac_func;
40552 return 0;
40554 _ACEOF
40555 rm -f conftest.$ac_objext conftest$ac_exeext
40556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40557 (eval $ac_link) 2>conftest.er1
40558 ac_status=$?
40559 grep -v '^ *+' conftest.er1 >conftest.err
40560 rm -f conftest.er1
40561 cat conftest.err >&5
40562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40563 (exit $ac_status); } &&
40564 { ac_try='test -z "$ac_c_werror_flag"
40565 || test ! -s conftest.err'
40566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40567 (eval $ac_try) 2>&5
40568 ac_status=$?
40569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40570 (exit $ac_status); }; } &&
40571 { ac_try='test -s conftest$ac_exeext'
40572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40573 (eval $ac_try) 2>&5
40574 ac_status=$?
40575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40576 (exit $ac_status); }; }; then
40577 eval "$as_ac_var=yes"
40578 else
40579 echo "$as_me: failed program was:" >&5
40580 sed 's/^/| /' conftest.$ac_ext >&5
40582 eval "$as_ac_var=no"
40584 rm -f conftest.err conftest.$ac_objext \
40585 conftest$ac_exeext conftest.$ac_ext
40587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40589 if test `eval echo '${'$as_ac_var'}'` = yes; then
40590 cat >>confdefs.h <<_ACEOF
40591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40592 _ACEOF
40595 done
40605 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40606 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40607 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40608 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40609 echo $ECHO_N "(cached) $ECHO_C" >&6
40610 else
40614 ac_ext=cc
40615 ac_cpp='$CXXCPP $CPPFLAGS'
40616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40620 cat >conftest.$ac_ext <<_ACEOF
40621 /* confdefs.h. */
40622 _ACEOF
40623 cat confdefs.h >>conftest.$ac_ext
40624 cat >>conftest.$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40626 #include <math.h>
40627 #ifdef HAVE_IEEEFP_H
40628 #include <ieeefp.h>
40629 #endif
40632 main ()
40634 log10f(0);
40636 return 0;
40638 _ACEOF
40639 rm -f conftest.$ac_objext
40640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40641 (eval $ac_compile) 2>conftest.er1
40642 ac_status=$?
40643 grep -v '^ *+' conftest.er1 >conftest.err
40644 rm -f conftest.er1
40645 cat conftest.err >&5
40646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647 (exit $ac_status); } &&
40648 { ac_try='test -z "$ac_cxx_werror_flag"
40649 || test ! -s conftest.err'
40650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40651 (eval $ac_try) 2>&5
40652 ac_status=$?
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); }; } &&
40655 { ac_try='test -s conftest.$ac_objext'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40658 ac_status=$?
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; }; then
40661 glibcxx_cv_func_log10f_use=yes
40662 else
40663 echo "$as_me: failed program was:" >&5
40664 sed 's/^/| /' conftest.$ac_ext >&5
40666 glibcxx_cv_func_log10f_use=no
40668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40669 ac_ext=c
40670 ac_cpp='$CPP $CPPFLAGS'
40671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40679 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40680 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40682 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40684 for ac_func in log10f
40686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40687 echo "$as_me:$LINENO: checking for $ac_func" >&5
40688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40689 if eval "test \"\${$as_ac_var+set}\" = set"; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40691 else
40692 if test x$gcc_no_link = xyes; then
40693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40695 { (exit 1); exit 1; }; }
40697 cat >conftest.$ac_ext <<_ACEOF
40698 /* confdefs.h. */
40699 _ACEOF
40700 cat confdefs.h >>conftest.$ac_ext
40701 cat >>conftest.$ac_ext <<_ACEOF
40702 /* end confdefs.h. */
40703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40705 #define $ac_func innocuous_$ac_func
40707 /* System header to define __stub macros and hopefully few prototypes,
40708 which can conflict with char $ac_func (); below.
40709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40710 <limits.h> exists even on freestanding compilers. */
40712 #ifdef __STDC__
40713 # include <limits.h>
40714 #else
40715 # include <assert.h>
40716 #endif
40718 #undef $ac_func
40720 /* Override any gcc2 internal prototype to avoid an error. */
40721 #ifdef __cplusplus
40722 extern "C"
40724 #endif
40725 /* We use char because int might match the return type of a gcc2
40726 builtin and then its argument prototype would still apply. */
40727 char $ac_func ();
40728 /* The GNU C library defines this for functions which it implements
40729 to always fail with ENOSYS. Some functions are actually named
40730 something starting with __ and the normal name is an alias. */
40731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40732 choke me
40733 #else
40734 char (*f) () = $ac_func;
40735 #endif
40736 #ifdef __cplusplus
40738 #endif
40741 main ()
40743 return f != $ac_func;
40745 return 0;
40747 _ACEOF
40748 rm -f conftest.$ac_objext conftest$ac_exeext
40749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40750 (eval $ac_link) 2>conftest.er1
40751 ac_status=$?
40752 grep -v '^ *+' conftest.er1 >conftest.err
40753 rm -f conftest.er1
40754 cat conftest.err >&5
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); } &&
40757 { ac_try='test -z "$ac_c_werror_flag"
40758 || test ! -s conftest.err'
40759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40760 (eval $ac_try) 2>&5
40761 ac_status=$?
40762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40763 (exit $ac_status); }; } &&
40764 { ac_try='test -s conftest$ac_exeext'
40765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40766 (eval $ac_try) 2>&5
40767 ac_status=$?
40768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40769 (exit $ac_status); }; }; then
40770 eval "$as_ac_var=yes"
40771 else
40772 echo "$as_me: failed program was:" >&5
40773 sed 's/^/| /' conftest.$ac_ext >&5
40775 eval "$as_ac_var=no"
40777 rm -f conftest.err conftest.$ac_objext \
40778 conftest$ac_exeext conftest.$ac_ext
40780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40782 if test `eval echo '${'$as_ac_var'}'` = yes; then
40783 cat >>confdefs.h <<_ACEOF
40784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40785 _ACEOF
40788 done
40790 else
40792 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40793 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40794 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40795 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40796 echo $ECHO_N "(cached) $ECHO_C" >&6
40797 else
40801 ac_ext=cc
40802 ac_cpp='$CXXCPP $CPPFLAGS'
40803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40807 cat >conftest.$ac_ext <<_ACEOF
40808 /* confdefs.h. */
40809 _ACEOF
40810 cat confdefs.h >>conftest.$ac_ext
40811 cat >>conftest.$ac_ext <<_ACEOF
40812 /* end confdefs.h. */
40813 #include <math.h>
40814 #ifdef HAVE_IEEEFP_H
40815 #include <ieeefp.h>
40816 #endif
40819 main ()
40821 _log10f(0);
40823 return 0;
40825 _ACEOF
40826 rm -f conftest.$ac_objext
40827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40828 (eval $ac_compile) 2>conftest.er1
40829 ac_status=$?
40830 grep -v '^ *+' conftest.er1 >conftest.err
40831 rm -f conftest.er1
40832 cat conftest.err >&5
40833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834 (exit $ac_status); } &&
40835 { ac_try='test -z "$ac_cxx_werror_flag"
40836 || test ! -s conftest.err'
40837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40838 (eval $ac_try) 2>&5
40839 ac_status=$?
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); }; } &&
40842 { ac_try='test -s conftest.$ac_objext'
40843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40844 (eval $ac_try) 2>&5
40845 ac_status=$?
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); }; }; then
40848 glibcxx_cv_func__log10f_use=yes
40849 else
40850 echo "$as_me: failed program was:" >&5
40851 sed 's/^/| /' conftest.$ac_ext >&5
40853 glibcxx_cv_func__log10f_use=no
40855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40856 ac_ext=c
40857 ac_cpp='$CPP $CPPFLAGS'
40858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40867 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40869 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40871 for ac_func in _log10f
40873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40874 echo "$as_me:$LINENO: checking for $ac_func" >&5
40875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40876 if eval "test \"\${$as_ac_var+set}\" = set"; then
40877 echo $ECHO_N "(cached) $ECHO_C" >&6
40878 else
40879 if test x$gcc_no_link = xyes; then
40880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40882 { (exit 1); exit 1; }; }
40884 cat >conftest.$ac_ext <<_ACEOF
40885 /* confdefs.h. */
40886 _ACEOF
40887 cat confdefs.h >>conftest.$ac_ext
40888 cat >>conftest.$ac_ext <<_ACEOF
40889 /* end confdefs.h. */
40890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40892 #define $ac_func innocuous_$ac_func
40894 /* System header to define __stub macros and hopefully few prototypes,
40895 which can conflict with char $ac_func (); below.
40896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40897 <limits.h> exists even on freestanding compilers. */
40899 #ifdef __STDC__
40900 # include <limits.h>
40901 #else
40902 # include <assert.h>
40903 #endif
40905 #undef $ac_func
40907 /* Override any gcc2 internal prototype to avoid an error. */
40908 #ifdef __cplusplus
40909 extern "C"
40911 #endif
40912 /* We use char because int might match the return type of a gcc2
40913 builtin and then its argument prototype would still apply. */
40914 char $ac_func ();
40915 /* The GNU C library defines this for functions which it implements
40916 to always fail with ENOSYS. Some functions are actually named
40917 something starting with __ and the normal name is an alias. */
40918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40919 choke me
40920 #else
40921 char (*f) () = $ac_func;
40922 #endif
40923 #ifdef __cplusplus
40925 #endif
40928 main ()
40930 return f != $ac_func;
40932 return 0;
40934 _ACEOF
40935 rm -f conftest.$ac_objext conftest$ac_exeext
40936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40937 (eval $ac_link) 2>conftest.er1
40938 ac_status=$?
40939 grep -v '^ *+' conftest.er1 >conftest.err
40940 rm -f conftest.er1
40941 cat conftest.err >&5
40942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943 (exit $ac_status); } &&
40944 { ac_try='test -z "$ac_c_werror_flag"
40945 || test ! -s conftest.err'
40946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40947 (eval $ac_try) 2>&5
40948 ac_status=$?
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); }; } &&
40951 { ac_try='test -s conftest$ac_exeext'
40952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40953 (eval $ac_try) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); }; }; then
40957 eval "$as_ac_var=yes"
40958 else
40959 echo "$as_me: failed program was:" >&5
40960 sed 's/^/| /' conftest.$ac_ext >&5
40962 eval "$as_ac_var=no"
40964 rm -f conftest.err conftest.$ac_objext \
40965 conftest$ac_exeext conftest.$ac_ext
40967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40969 if test `eval echo '${'$as_ac_var'}'` = yes; then
40970 cat >>confdefs.h <<_ACEOF
40971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40972 _ACEOF
40975 done
40985 echo "$as_me:$LINENO: checking for modff declaration" >&5
40986 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40987 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40988 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40989 echo $ECHO_N "(cached) $ECHO_C" >&6
40990 else
40994 ac_ext=cc
40995 ac_cpp='$CXXCPP $CPPFLAGS'
40996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41000 cat >conftest.$ac_ext <<_ACEOF
41001 /* confdefs.h. */
41002 _ACEOF
41003 cat confdefs.h >>conftest.$ac_ext
41004 cat >>conftest.$ac_ext <<_ACEOF
41005 /* end confdefs.h. */
41006 #include <math.h>
41008 main ()
41010 modff(0, 0);
41012 return 0;
41014 _ACEOF
41015 rm -f conftest.$ac_objext
41016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41017 (eval $ac_compile) 2>conftest.er1
41018 ac_status=$?
41019 grep -v '^ *+' conftest.er1 >conftest.err
41020 rm -f conftest.er1
41021 cat conftest.err >&5
41022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41023 (exit $ac_status); } &&
41024 { ac_try='test -z "$ac_cxx_werror_flag"
41025 || test ! -s conftest.err'
41026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41027 (eval $ac_try) 2>&5
41028 ac_status=$?
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); }; } &&
41031 { ac_try='test -s conftest.$ac_objext'
41032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41033 (eval $ac_try) 2>&5
41034 ac_status=$?
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); }; }; then
41037 glibcxx_cv_func_modff_use=yes
41038 else
41039 echo "$as_me: failed program was:" >&5
41040 sed 's/^/| /' conftest.$ac_ext >&5
41042 glibcxx_cv_func_modff_use=no
41044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41045 ac_ext=c
41046 ac_cpp='$CPP $CPPFLAGS'
41047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
41056 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
41058 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41060 for ac_func in modff
41062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41063 echo "$as_me:$LINENO: checking for $ac_func" >&5
41064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41065 if eval "test \"\${$as_ac_var+set}\" = set"; then
41066 echo $ECHO_N "(cached) $ECHO_C" >&6
41067 else
41068 if test x$gcc_no_link = xyes; then
41069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41071 { (exit 1); exit 1; }; }
41073 cat >conftest.$ac_ext <<_ACEOF
41074 /* confdefs.h. */
41075 _ACEOF
41076 cat confdefs.h >>conftest.$ac_ext
41077 cat >>conftest.$ac_ext <<_ACEOF
41078 /* end confdefs.h. */
41079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41081 #define $ac_func innocuous_$ac_func
41083 /* System header to define __stub macros and hopefully few prototypes,
41084 which can conflict with char $ac_func (); below.
41085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41086 <limits.h> exists even on freestanding compilers. */
41088 #ifdef __STDC__
41089 # include <limits.h>
41090 #else
41091 # include <assert.h>
41092 #endif
41094 #undef $ac_func
41096 /* Override any gcc2 internal prototype to avoid an error. */
41097 #ifdef __cplusplus
41098 extern "C"
41100 #endif
41101 /* We use char because int might match the return type of a gcc2
41102 builtin and then its argument prototype would still apply. */
41103 char $ac_func ();
41104 /* The GNU C library defines this for functions which it implements
41105 to always fail with ENOSYS. Some functions are actually named
41106 something starting with __ and the normal name is an alias. */
41107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41108 choke me
41109 #else
41110 char (*f) () = $ac_func;
41111 #endif
41112 #ifdef __cplusplus
41114 #endif
41117 main ()
41119 return f != $ac_func;
41121 return 0;
41123 _ACEOF
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41126 (eval $ac_link) 2>conftest.er1
41127 ac_status=$?
41128 grep -v '^ *+' conftest.er1 >conftest.err
41129 rm -f conftest.er1
41130 cat conftest.err >&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } &&
41133 { ac_try='test -z "$ac_c_werror_flag"
41134 || test ! -s conftest.err'
41135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41136 (eval $ac_try) 2>&5
41137 ac_status=$?
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); }; } &&
41140 { ac_try='test -s conftest$ac_exeext'
41141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41142 (eval $ac_try) 2>&5
41143 ac_status=$?
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); }; }; then
41146 eval "$as_ac_var=yes"
41147 else
41148 echo "$as_me: failed program was:" >&5
41149 sed 's/^/| /' conftest.$ac_ext >&5
41151 eval "$as_ac_var=no"
41153 rm -f conftest.err conftest.$ac_objext \
41154 conftest$ac_exeext conftest.$ac_ext
41156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41158 if test `eval echo '${'$as_ac_var'}'` = yes; then
41159 cat >>confdefs.h <<_ACEOF
41160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41161 _ACEOF
41164 done
41166 else
41168 echo "$as_me:$LINENO: checking for _modff declaration" >&5
41169 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
41170 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41171 if test "${glibcxx_cv_func__modff_use+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41173 else
41177 ac_ext=cc
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41183 cat >conftest.$ac_ext <<_ACEOF
41184 /* confdefs.h. */
41185 _ACEOF
41186 cat confdefs.h >>conftest.$ac_ext
41187 cat >>conftest.$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41189 #include <math.h>
41191 main ()
41193 _modff(0, 0);
41195 return 0;
41197 _ACEOF
41198 rm -f conftest.$ac_objext
41199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41200 (eval $ac_compile) 2>conftest.er1
41201 ac_status=$?
41202 grep -v '^ *+' conftest.er1 >conftest.err
41203 rm -f conftest.er1
41204 cat conftest.err >&5
41205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41206 (exit $ac_status); } &&
41207 { ac_try='test -z "$ac_cxx_werror_flag"
41208 || test ! -s conftest.err'
41209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41210 (eval $ac_try) 2>&5
41211 ac_status=$?
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); }; } &&
41214 { ac_try='test -s conftest.$ac_objext'
41215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41216 (eval $ac_try) 2>&5
41217 ac_status=$?
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); }; }; then
41220 glibcxx_cv_func__modff_use=yes
41221 else
41222 echo "$as_me: failed program was:" >&5
41223 sed 's/^/| /' conftest.$ac_ext >&5
41225 glibcxx_cv_func__modff_use=no
41227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41228 ac_ext=c
41229 ac_cpp='$CPP $CPPFLAGS'
41230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
41239 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
41241 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41243 for ac_func in _modff
41245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41246 echo "$as_me:$LINENO: checking for $ac_func" >&5
41247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41248 if eval "test \"\${$as_ac_var+set}\" = set"; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41250 else
41251 if test x$gcc_no_link = xyes; then
41252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41254 { (exit 1); exit 1; }; }
41256 cat >conftest.$ac_ext <<_ACEOF
41257 /* confdefs.h. */
41258 _ACEOF
41259 cat confdefs.h >>conftest.$ac_ext
41260 cat >>conftest.$ac_ext <<_ACEOF
41261 /* end confdefs.h. */
41262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41264 #define $ac_func innocuous_$ac_func
41266 /* System header to define __stub macros and hopefully few prototypes,
41267 which can conflict with char $ac_func (); below.
41268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41269 <limits.h> exists even on freestanding compilers. */
41271 #ifdef __STDC__
41272 # include <limits.h>
41273 #else
41274 # include <assert.h>
41275 #endif
41277 #undef $ac_func
41279 /* Override any gcc2 internal prototype to avoid an error. */
41280 #ifdef __cplusplus
41281 extern "C"
41283 #endif
41284 /* We use char because int might match the return type of a gcc2
41285 builtin and then its argument prototype would still apply. */
41286 char $ac_func ();
41287 /* The GNU C library defines this for functions which it implements
41288 to always fail with ENOSYS. Some functions are actually named
41289 something starting with __ and the normal name is an alias. */
41290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41291 choke me
41292 #else
41293 char (*f) () = $ac_func;
41294 #endif
41295 #ifdef __cplusplus
41297 #endif
41300 main ()
41302 return f != $ac_func;
41304 return 0;
41306 _ACEOF
41307 rm -f conftest.$ac_objext conftest$ac_exeext
41308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41309 (eval $ac_link) 2>conftest.er1
41310 ac_status=$?
41311 grep -v '^ *+' conftest.er1 >conftest.err
41312 rm -f conftest.er1
41313 cat conftest.err >&5
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); } &&
41316 { ac_try='test -z "$ac_c_werror_flag"
41317 || test ! -s conftest.err'
41318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41319 (eval $ac_try) 2>&5
41320 ac_status=$?
41321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41322 (exit $ac_status); }; } &&
41323 { ac_try='test -s conftest$ac_exeext'
41324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41325 (eval $ac_try) 2>&5
41326 ac_status=$?
41327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41328 (exit $ac_status); }; }; then
41329 eval "$as_ac_var=yes"
41330 else
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.$ac_ext >&5
41334 eval "$as_ac_var=no"
41336 rm -f conftest.err conftest.$ac_objext \
41337 conftest$ac_exeext conftest.$ac_ext
41339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41341 if test `eval echo '${'$as_ac_var'}'` = yes; then
41342 cat >>confdefs.h <<_ACEOF
41343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41344 _ACEOF
41347 done
41357 echo "$as_me:$LINENO: checking for modf declaration" >&5
41358 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41359 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41360 if test "${glibcxx_cv_func_modf_use+set}" = set; then
41361 echo $ECHO_N "(cached) $ECHO_C" >&6
41362 else
41366 ac_ext=cc
41367 ac_cpp='$CXXCPP $CPPFLAGS'
41368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41372 cat >conftest.$ac_ext <<_ACEOF
41373 /* confdefs.h. */
41374 _ACEOF
41375 cat confdefs.h >>conftest.$ac_ext
41376 cat >>conftest.$ac_ext <<_ACEOF
41377 /* end confdefs.h. */
41378 #include <math.h>
41380 main ()
41382 modf(0, 0);
41384 return 0;
41386 _ACEOF
41387 rm -f conftest.$ac_objext
41388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41389 (eval $ac_compile) 2>conftest.er1
41390 ac_status=$?
41391 grep -v '^ *+' conftest.er1 >conftest.err
41392 rm -f conftest.er1
41393 cat conftest.err >&5
41394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41395 (exit $ac_status); } &&
41396 { ac_try='test -z "$ac_cxx_werror_flag"
41397 || test ! -s conftest.err'
41398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41399 (eval $ac_try) 2>&5
41400 ac_status=$?
41401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41402 (exit $ac_status); }; } &&
41403 { ac_try='test -s conftest.$ac_objext'
41404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41405 (eval $ac_try) 2>&5
41406 ac_status=$?
41407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408 (exit $ac_status); }; }; then
41409 glibcxx_cv_func_modf_use=yes
41410 else
41411 echo "$as_me: failed program was:" >&5
41412 sed 's/^/| /' conftest.$ac_ext >&5
41414 glibcxx_cv_func_modf_use=no
41416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41417 ac_ext=c
41418 ac_cpp='$CPP $CPPFLAGS'
41419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41428 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41430 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41432 for ac_func in modf
41434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41435 echo "$as_me:$LINENO: checking for $ac_func" >&5
41436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41437 if eval "test \"\${$as_ac_var+set}\" = set"; then
41438 echo $ECHO_N "(cached) $ECHO_C" >&6
41439 else
41440 if test x$gcc_no_link = xyes; then
41441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41443 { (exit 1); exit 1; }; }
41445 cat >conftest.$ac_ext <<_ACEOF
41446 /* confdefs.h. */
41447 _ACEOF
41448 cat confdefs.h >>conftest.$ac_ext
41449 cat >>conftest.$ac_ext <<_ACEOF
41450 /* end confdefs.h. */
41451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41453 #define $ac_func innocuous_$ac_func
41455 /* System header to define __stub macros and hopefully few prototypes,
41456 which can conflict with char $ac_func (); below.
41457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41458 <limits.h> exists even on freestanding compilers. */
41460 #ifdef __STDC__
41461 # include <limits.h>
41462 #else
41463 # include <assert.h>
41464 #endif
41466 #undef $ac_func
41468 /* Override any gcc2 internal prototype to avoid an error. */
41469 #ifdef __cplusplus
41470 extern "C"
41472 #endif
41473 /* We use char because int might match the return type of a gcc2
41474 builtin and then its argument prototype would still apply. */
41475 char $ac_func ();
41476 /* The GNU C library defines this for functions which it implements
41477 to always fail with ENOSYS. Some functions are actually named
41478 something starting with __ and the normal name is an alias. */
41479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41480 choke me
41481 #else
41482 char (*f) () = $ac_func;
41483 #endif
41484 #ifdef __cplusplus
41486 #endif
41489 main ()
41491 return f != $ac_func;
41493 return 0;
41495 _ACEOF
41496 rm -f conftest.$ac_objext conftest$ac_exeext
41497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41498 (eval $ac_link) 2>conftest.er1
41499 ac_status=$?
41500 grep -v '^ *+' conftest.er1 >conftest.err
41501 rm -f conftest.er1
41502 cat conftest.err >&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); } &&
41505 { ac_try='test -z "$ac_c_werror_flag"
41506 || test ! -s conftest.err'
41507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41508 (eval $ac_try) 2>&5
41509 ac_status=$?
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); }; } &&
41512 { ac_try='test -s conftest$ac_exeext'
41513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41514 (eval $ac_try) 2>&5
41515 ac_status=$?
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); }; }; then
41518 eval "$as_ac_var=yes"
41519 else
41520 echo "$as_me: failed program was:" >&5
41521 sed 's/^/| /' conftest.$ac_ext >&5
41523 eval "$as_ac_var=no"
41525 rm -f conftest.err conftest.$ac_objext \
41526 conftest$ac_exeext conftest.$ac_ext
41528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41530 if test `eval echo '${'$as_ac_var'}'` = yes; then
41531 cat >>confdefs.h <<_ACEOF
41532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41533 _ACEOF
41536 done
41538 else
41540 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41541 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41543 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41544 echo $ECHO_N "(cached) $ECHO_C" >&6
41545 else
41549 ac_ext=cc
41550 ac_cpp='$CXXCPP $CPPFLAGS'
41551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41555 cat >conftest.$ac_ext <<_ACEOF
41556 /* confdefs.h. */
41557 _ACEOF
41558 cat confdefs.h >>conftest.$ac_ext
41559 cat >>conftest.$ac_ext <<_ACEOF
41560 /* end confdefs.h. */
41561 #include <math.h>
41563 main ()
41565 _modf(0, 0);
41567 return 0;
41569 _ACEOF
41570 rm -f conftest.$ac_objext
41571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41572 (eval $ac_compile) 2>conftest.er1
41573 ac_status=$?
41574 grep -v '^ *+' conftest.er1 >conftest.err
41575 rm -f conftest.er1
41576 cat conftest.err >&5
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); } &&
41579 { ac_try='test -z "$ac_cxx_werror_flag"
41580 || test ! -s conftest.err'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41583 ac_status=$?
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; } &&
41586 { ac_try='test -s conftest.$ac_objext'
41587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41588 (eval $ac_try) 2>&5
41589 ac_status=$?
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); }; }; then
41592 glibcxx_cv_func__modf_use=yes
41593 else
41594 echo "$as_me: failed program was:" >&5
41595 sed 's/^/| /' conftest.$ac_ext >&5
41597 glibcxx_cv_func__modf_use=no
41599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41600 ac_ext=c
41601 ac_cpp='$CPP $CPPFLAGS'
41602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41611 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41613 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41615 for ac_func in _modf
41617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41618 echo "$as_me:$LINENO: checking for $ac_func" >&5
41619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41620 if eval "test \"\${$as_ac_var+set}\" = set"; then
41621 echo $ECHO_N "(cached) $ECHO_C" >&6
41622 else
41623 if test x$gcc_no_link = xyes; then
41624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41626 { (exit 1); exit 1; }; }
41628 cat >conftest.$ac_ext <<_ACEOF
41629 /* confdefs.h. */
41630 _ACEOF
41631 cat confdefs.h >>conftest.$ac_ext
41632 cat >>conftest.$ac_ext <<_ACEOF
41633 /* end confdefs.h. */
41634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41636 #define $ac_func innocuous_$ac_func
41638 /* System header to define __stub macros and hopefully few prototypes,
41639 which can conflict with char $ac_func (); below.
41640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41641 <limits.h> exists even on freestanding compilers. */
41643 #ifdef __STDC__
41644 # include <limits.h>
41645 #else
41646 # include <assert.h>
41647 #endif
41649 #undef $ac_func
41651 /* Override any gcc2 internal prototype to avoid an error. */
41652 #ifdef __cplusplus
41653 extern "C"
41655 #endif
41656 /* We use char because int might match the return type of a gcc2
41657 builtin and then its argument prototype would still apply. */
41658 char $ac_func ();
41659 /* The GNU C library defines this for functions which it implements
41660 to always fail with ENOSYS. Some functions are actually named
41661 something starting with __ and the normal name is an alias. */
41662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41663 choke me
41664 #else
41665 char (*f) () = $ac_func;
41666 #endif
41667 #ifdef __cplusplus
41669 #endif
41672 main ()
41674 return f != $ac_func;
41676 return 0;
41678 _ACEOF
41679 rm -f conftest.$ac_objext conftest$ac_exeext
41680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41681 (eval $ac_link) 2>conftest.er1
41682 ac_status=$?
41683 grep -v '^ *+' conftest.er1 >conftest.err
41684 rm -f conftest.er1
41685 cat conftest.err >&5
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); } &&
41688 { ac_try='test -z "$ac_c_werror_flag"
41689 || test ! -s conftest.err'
41690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41691 (eval $ac_try) 2>&5
41692 ac_status=$?
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); }; } &&
41695 { ac_try='test -s conftest$ac_exeext'
41696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41697 (eval $ac_try) 2>&5
41698 ac_status=$?
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); }; }; then
41701 eval "$as_ac_var=yes"
41702 else
41703 echo "$as_me: failed program was:" >&5
41704 sed 's/^/| /' conftest.$ac_ext >&5
41706 eval "$as_ac_var=no"
41708 rm -f conftest.err conftest.$ac_objext \
41709 conftest$ac_exeext conftest.$ac_ext
41711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41713 if test `eval echo '${'$as_ac_var'}'` = yes; then
41714 cat >>confdefs.h <<_ACEOF
41715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41716 _ACEOF
41719 done
41729 echo "$as_me:$LINENO: checking for powf declaration" >&5
41730 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41731 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41732 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41733 echo $ECHO_N "(cached) $ECHO_C" >&6
41734 else
41738 ac_ext=cc
41739 ac_cpp='$CXXCPP $CPPFLAGS'
41740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41744 cat >conftest.$ac_ext <<_ACEOF
41745 /* confdefs.h. */
41746 _ACEOF
41747 cat confdefs.h >>conftest.$ac_ext
41748 cat >>conftest.$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41750 #include <math.h>
41752 main ()
41754 powf(0, 0);
41756 return 0;
41758 _ACEOF
41759 rm -f conftest.$ac_objext
41760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41761 (eval $ac_compile) 2>conftest.er1
41762 ac_status=$?
41763 grep -v '^ *+' conftest.er1 >conftest.err
41764 rm -f conftest.er1
41765 cat conftest.err >&5
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); } &&
41768 { ac_try='test -z "$ac_cxx_werror_flag"
41769 || test ! -s conftest.err'
41770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41771 (eval $ac_try) 2>&5
41772 ac_status=$?
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); }; } &&
41775 { ac_try='test -s conftest.$ac_objext'
41776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777 (eval $ac_try) 2>&5
41778 ac_status=$?
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); }; }; then
41781 glibcxx_cv_func_powf_use=yes
41782 else
41783 echo "$as_me: failed program was:" >&5
41784 sed 's/^/| /' conftest.$ac_ext >&5
41786 glibcxx_cv_func_powf_use=no
41788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41789 ac_ext=c
41790 ac_cpp='$CPP $CPPFLAGS'
41791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41800 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41802 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41804 for ac_func in powf
41806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41807 echo "$as_me:$LINENO: checking for $ac_func" >&5
41808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41809 if eval "test \"\${$as_ac_var+set}\" = set"; then
41810 echo $ECHO_N "(cached) $ECHO_C" >&6
41811 else
41812 if test x$gcc_no_link = xyes; then
41813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41815 { (exit 1); exit 1; }; }
41817 cat >conftest.$ac_ext <<_ACEOF
41818 /* confdefs.h. */
41819 _ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41825 #define $ac_func innocuous_$ac_func
41827 /* System header to define __stub macros and hopefully few prototypes,
41828 which can conflict with char $ac_func (); below.
41829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41830 <limits.h> exists even on freestanding compilers. */
41832 #ifdef __STDC__
41833 # include <limits.h>
41834 #else
41835 # include <assert.h>
41836 #endif
41838 #undef $ac_func
41840 /* Override any gcc2 internal prototype to avoid an error. */
41841 #ifdef __cplusplus
41842 extern "C"
41844 #endif
41845 /* We use char because int might match the return type of a gcc2
41846 builtin and then its argument prototype would still apply. */
41847 char $ac_func ();
41848 /* The GNU C library defines this for functions which it implements
41849 to always fail with ENOSYS. Some functions are actually named
41850 something starting with __ and the normal name is an alias. */
41851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41852 choke me
41853 #else
41854 char (*f) () = $ac_func;
41855 #endif
41856 #ifdef __cplusplus
41858 #endif
41861 main ()
41863 return f != $ac_func;
41865 return 0;
41867 _ACEOF
41868 rm -f conftest.$ac_objext conftest$ac_exeext
41869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41870 (eval $ac_link) 2>conftest.er1
41871 ac_status=$?
41872 grep -v '^ *+' conftest.er1 >conftest.err
41873 rm -f conftest.er1
41874 cat conftest.err >&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); } &&
41877 { ac_try='test -z "$ac_c_werror_flag"
41878 || test ! -s conftest.err'
41879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41880 (eval $ac_try) 2>&5
41881 ac_status=$?
41882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41883 (exit $ac_status); }; } &&
41884 { ac_try='test -s conftest$ac_exeext'
41885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41886 (eval $ac_try) 2>&5
41887 ac_status=$?
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); }; }; then
41890 eval "$as_ac_var=yes"
41891 else
41892 echo "$as_me: failed program was:" >&5
41893 sed 's/^/| /' conftest.$ac_ext >&5
41895 eval "$as_ac_var=no"
41897 rm -f conftest.err conftest.$ac_objext \
41898 conftest$ac_exeext conftest.$ac_ext
41900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41902 if test `eval echo '${'$as_ac_var'}'` = yes; then
41903 cat >>confdefs.h <<_ACEOF
41904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41905 _ACEOF
41908 done
41910 else
41912 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41913 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41914 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41915 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41916 echo $ECHO_N "(cached) $ECHO_C" >&6
41917 else
41921 ac_ext=cc
41922 ac_cpp='$CXXCPP $CPPFLAGS'
41923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41927 cat >conftest.$ac_ext <<_ACEOF
41928 /* confdefs.h. */
41929 _ACEOF
41930 cat confdefs.h >>conftest.$ac_ext
41931 cat >>conftest.$ac_ext <<_ACEOF
41932 /* end confdefs.h. */
41933 #include <math.h>
41935 main ()
41937 _powf(0, 0);
41939 return 0;
41941 _ACEOF
41942 rm -f conftest.$ac_objext
41943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41944 (eval $ac_compile) 2>conftest.er1
41945 ac_status=$?
41946 grep -v '^ *+' conftest.er1 >conftest.err
41947 rm -f conftest.er1
41948 cat conftest.err >&5
41949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41950 (exit $ac_status); } &&
41951 { ac_try='test -z "$ac_cxx_werror_flag"
41952 || test ! -s conftest.err'
41953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41954 (eval $ac_try) 2>&5
41955 ac_status=$?
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); }; } &&
41958 { ac_try='test -s conftest.$ac_objext'
41959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41960 (eval $ac_try) 2>&5
41961 ac_status=$?
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); }; }; then
41964 glibcxx_cv_func__powf_use=yes
41965 else
41966 echo "$as_me: failed program was:" >&5
41967 sed 's/^/| /' conftest.$ac_ext >&5
41969 glibcxx_cv_func__powf_use=no
41971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41972 ac_ext=c
41973 ac_cpp='$CPP $CPPFLAGS'
41974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41983 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41985 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41987 for ac_func in _powf
41989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41990 echo "$as_me:$LINENO: checking for $ac_func" >&5
41991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41992 if eval "test \"\${$as_ac_var+set}\" = set"; then
41993 echo $ECHO_N "(cached) $ECHO_C" >&6
41994 else
41995 if test x$gcc_no_link = xyes; then
41996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41998 { (exit 1); exit 1; }; }
42000 cat >conftest.$ac_ext <<_ACEOF
42001 /* confdefs.h. */
42002 _ACEOF
42003 cat confdefs.h >>conftest.$ac_ext
42004 cat >>conftest.$ac_ext <<_ACEOF
42005 /* end confdefs.h. */
42006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42008 #define $ac_func innocuous_$ac_func
42010 /* System header to define __stub macros and hopefully few prototypes,
42011 which can conflict with char $ac_func (); below.
42012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42013 <limits.h> exists even on freestanding compilers. */
42015 #ifdef __STDC__
42016 # include <limits.h>
42017 #else
42018 # include <assert.h>
42019 #endif
42021 #undef $ac_func
42023 /* Override any gcc2 internal prototype to avoid an error. */
42024 #ifdef __cplusplus
42025 extern "C"
42027 #endif
42028 /* We use char because int might match the return type of a gcc2
42029 builtin and then its argument prototype would still apply. */
42030 char $ac_func ();
42031 /* The GNU C library defines this for functions which it implements
42032 to always fail with ENOSYS. Some functions are actually named
42033 something starting with __ and the normal name is an alias. */
42034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42035 choke me
42036 #else
42037 char (*f) () = $ac_func;
42038 #endif
42039 #ifdef __cplusplus
42041 #endif
42044 main ()
42046 return f != $ac_func;
42048 return 0;
42050 _ACEOF
42051 rm -f conftest.$ac_objext conftest$ac_exeext
42052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42053 (eval $ac_link) 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } &&
42060 { ac_try='test -z "$ac_c_werror_flag"
42061 || test ! -s conftest.err'
42062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42063 (eval $ac_try) 2>&5
42064 ac_status=$?
42065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42066 (exit $ac_status); }; } &&
42067 { ac_try='test -s conftest$ac_exeext'
42068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42069 (eval $ac_try) 2>&5
42070 ac_status=$?
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); }; }; then
42073 eval "$as_ac_var=yes"
42074 else
42075 echo "$as_me: failed program was:" >&5
42076 sed 's/^/| /' conftest.$ac_ext >&5
42078 eval "$as_ac_var=no"
42080 rm -f conftest.err conftest.$ac_objext \
42081 conftest$ac_exeext conftest.$ac_ext
42083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42085 if test `eval echo '${'$as_ac_var'}'` = yes; then
42086 cat >>confdefs.h <<_ACEOF
42087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42088 _ACEOF
42091 done
42101 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
42102 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
42103 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42104 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
42105 echo $ECHO_N "(cached) $ECHO_C" >&6
42106 else
42110 ac_ext=cc
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat >conftest.$ac_ext <<_ACEOF
42117 /* confdefs.h. */
42118 _ACEOF
42119 cat confdefs.h >>conftest.$ac_ext
42120 cat >>conftest.$ac_ext <<_ACEOF
42121 /* end confdefs.h. */
42122 #include <math.h>
42123 #ifdef HAVE_IEEEFP_H
42124 #include <ieeefp.h>
42125 #endif
42128 main ()
42130 sqrtf(0);
42132 return 0;
42134 _ACEOF
42135 rm -f conftest.$ac_objext
42136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42137 (eval $ac_compile) 2>conftest.er1
42138 ac_status=$?
42139 grep -v '^ *+' conftest.er1 >conftest.err
42140 rm -f conftest.er1
42141 cat conftest.err >&5
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); } &&
42144 { ac_try='test -z "$ac_cxx_werror_flag"
42145 || test ! -s conftest.err'
42146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42147 (eval $ac_try) 2>&5
42148 ac_status=$?
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; } &&
42151 { ac_try='test -s conftest.$ac_objext'
42152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42153 (eval $ac_try) 2>&5
42154 ac_status=$?
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); }; }; then
42157 glibcxx_cv_func_sqrtf_use=yes
42158 else
42159 echo "$as_me: failed program was:" >&5
42160 sed 's/^/| /' conftest.$ac_ext >&5
42162 glibcxx_cv_func_sqrtf_use=no
42164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
42176 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
42178 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42180 for ac_func in sqrtf
42182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42183 echo "$as_me:$LINENO: checking for $ac_func" >&5
42184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42185 if eval "test \"\${$as_ac_var+set}\" = set"; then
42186 echo $ECHO_N "(cached) $ECHO_C" >&6
42187 else
42188 if test x$gcc_no_link = xyes; then
42189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42191 { (exit 1); exit 1; }; }
42193 cat >conftest.$ac_ext <<_ACEOF
42194 /* confdefs.h. */
42195 _ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42201 #define $ac_func innocuous_$ac_func
42203 /* System header to define __stub macros and hopefully few prototypes,
42204 which can conflict with char $ac_func (); below.
42205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42206 <limits.h> exists even on freestanding compilers. */
42208 #ifdef __STDC__
42209 # include <limits.h>
42210 #else
42211 # include <assert.h>
42212 #endif
42214 #undef $ac_func
42216 /* Override any gcc2 internal prototype to avoid an error. */
42217 #ifdef __cplusplus
42218 extern "C"
42220 #endif
42221 /* We use char because int might match the return type of a gcc2
42222 builtin and then its argument prototype would still apply. */
42223 char $ac_func ();
42224 /* The GNU C library defines this for functions which it implements
42225 to always fail with ENOSYS. Some functions are actually named
42226 something starting with __ and the normal name is an alias. */
42227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42228 choke me
42229 #else
42230 char (*f) () = $ac_func;
42231 #endif
42232 #ifdef __cplusplus
42234 #endif
42237 main ()
42239 return f != $ac_func;
42241 return 0;
42243 _ACEOF
42244 rm -f conftest.$ac_objext conftest$ac_exeext
42245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42246 (eval $ac_link) 2>conftest.er1
42247 ac_status=$?
42248 grep -v '^ *+' conftest.er1 >conftest.err
42249 rm -f conftest.er1
42250 cat conftest.err >&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); } &&
42253 { ac_try='test -z "$ac_c_werror_flag"
42254 || test ! -s conftest.err'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42257 ac_status=$?
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; } &&
42260 { ac_try='test -s conftest$ac_exeext'
42261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42262 (eval $ac_try) 2>&5
42263 ac_status=$?
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; }; then
42266 eval "$as_ac_var=yes"
42267 else
42268 echo "$as_me: failed program was:" >&5
42269 sed 's/^/| /' conftest.$ac_ext >&5
42271 eval "$as_ac_var=no"
42273 rm -f conftest.err conftest.$ac_objext \
42274 conftest$ac_exeext conftest.$ac_ext
42276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42278 if test `eval echo '${'$as_ac_var'}'` = yes; then
42279 cat >>confdefs.h <<_ACEOF
42280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42281 _ACEOF
42284 done
42286 else
42288 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42289 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42290 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42291 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42292 echo $ECHO_N "(cached) $ECHO_C" >&6
42293 else
42297 ac_ext=cc
42298 ac_cpp='$CXXCPP $CPPFLAGS'
42299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42303 cat >conftest.$ac_ext <<_ACEOF
42304 /* confdefs.h. */
42305 _ACEOF
42306 cat confdefs.h >>conftest.$ac_ext
42307 cat >>conftest.$ac_ext <<_ACEOF
42308 /* end confdefs.h. */
42309 #include <math.h>
42310 #ifdef HAVE_IEEEFP_H
42311 #include <ieeefp.h>
42312 #endif
42315 main ()
42317 _sqrtf(0);
42319 return 0;
42321 _ACEOF
42322 rm -f conftest.$ac_objext
42323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42324 (eval $ac_compile) 2>conftest.er1
42325 ac_status=$?
42326 grep -v '^ *+' conftest.er1 >conftest.err
42327 rm -f conftest.er1
42328 cat conftest.err >&5
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); } &&
42331 { ac_try='test -z "$ac_cxx_werror_flag"
42332 || test ! -s conftest.err'
42333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42334 (eval $ac_try) 2>&5
42335 ac_status=$?
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); }; } &&
42338 { ac_try='test -s conftest.$ac_objext'
42339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42340 (eval $ac_try) 2>&5
42341 ac_status=$?
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; }; then
42344 glibcxx_cv_func__sqrtf_use=yes
42345 else
42346 echo "$as_me: failed program was:" >&5
42347 sed 's/^/| /' conftest.$ac_ext >&5
42349 glibcxx_cv_func__sqrtf_use=no
42351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42352 ac_ext=c
42353 ac_cpp='$CPP $CPPFLAGS'
42354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42363 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42365 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42367 for ac_func in _sqrtf
42369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42370 echo "$as_me:$LINENO: checking for $ac_func" >&5
42371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42372 if eval "test \"\${$as_ac_var+set}\" = set"; then
42373 echo $ECHO_N "(cached) $ECHO_C" >&6
42374 else
42375 if test x$gcc_no_link = xyes; then
42376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42378 { (exit 1); exit 1; }; }
42380 cat >conftest.$ac_ext <<_ACEOF
42381 /* confdefs.h. */
42382 _ACEOF
42383 cat confdefs.h >>conftest.$ac_ext
42384 cat >>conftest.$ac_ext <<_ACEOF
42385 /* end confdefs.h. */
42386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42388 #define $ac_func innocuous_$ac_func
42390 /* System header to define __stub macros and hopefully few prototypes,
42391 which can conflict with char $ac_func (); below.
42392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42393 <limits.h> exists even on freestanding compilers. */
42395 #ifdef __STDC__
42396 # include <limits.h>
42397 #else
42398 # include <assert.h>
42399 #endif
42401 #undef $ac_func
42403 /* Override any gcc2 internal prototype to avoid an error. */
42404 #ifdef __cplusplus
42405 extern "C"
42407 #endif
42408 /* We use char because int might match the return type of a gcc2
42409 builtin and then its argument prototype would still apply. */
42410 char $ac_func ();
42411 /* The GNU C library defines this for functions which it implements
42412 to always fail with ENOSYS. Some functions are actually named
42413 something starting with __ and the normal name is an alias. */
42414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42415 choke me
42416 #else
42417 char (*f) () = $ac_func;
42418 #endif
42419 #ifdef __cplusplus
42421 #endif
42424 main ()
42426 return f != $ac_func;
42428 return 0;
42430 _ACEOF
42431 rm -f conftest.$ac_objext conftest$ac_exeext
42432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42433 (eval $ac_link) 2>conftest.er1
42434 ac_status=$?
42435 grep -v '^ *+' conftest.er1 >conftest.err
42436 rm -f conftest.er1
42437 cat conftest.err >&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); } &&
42440 { ac_try='test -z "$ac_c_werror_flag"
42441 || test ! -s conftest.err'
42442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42443 (eval $ac_try) 2>&5
42444 ac_status=$?
42445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42446 (exit $ac_status); }; } &&
42447 { ac_try='test -s conftest$ac_exeext'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42450 ac_status=$?
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; }; then
42453 eval "$as_ac_var=yes"
42454 else
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.$ac_ext >&5
42458 eval "$as_ac_var=no"
42460 rm -f conftest.err conftest.$ac_objext \
42461 conftest$ac_exeext conftest.$ac_ext
42463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42465 if test `eval echo '${'$as_ac_var'}'` = yes; then
42466 cat >>confdefs.h <<_ACEOF
42467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42468 _ACEOF
42471 done
42481 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42482 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42483 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42484 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42485 echo $ECHO_N "(cached) $ECHO_C" >&6
42486 else
42490 ac_ext=cc
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42496 cat >conftest.$ac_ext <<_ACEOF
42497 /* confdefs.h. */
42498 _ACEOF
42499 cat confdefs.h >>conftest.$ac_ext
42500 cat >>conftest.$ac_ext <<_ACEOF
42501 /* end confdefs.h. */
42502 #include <math.h>
42504 main ()
42506 sincosf(0, 0, 0);
42508 return 0;
42510 _ACEOF
42511 rm -f conftest.$ac_objext
42512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42513 (eval $ac_compile) 2>conftest.er1
42514 ac_status=$?
42515 grep -v '^ *+' conftest.er1 >conftest.err
42516 rm -f conftest.er1
42517 cat conftest.err >&5
42518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42519 (exit $ac_status); } &&
42520 { ac_try='test -z "$ac_cxx_werror_flag"
42521 || test ! -s conftest.err'
42522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523 (eval $ac_try) 2>&5
42524 ac_status=$?
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); }; } &&
42527 { ac_try='test -s conftest.$ac_objext'
42528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42529 (eval $ac_try) 2>&5
42530 ac_status=$?
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); }; }; then
42533 glibcxx_cv_func_sincosf_use=yes
42534 else
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.$ac_ext >&5
42538 glibcxx_cv_func_sincosf_use=no
42540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42541 ac_ext=c
42542 ac_cpp='$CPP $CPPFLAGS'
42543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42552 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42554 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42556 for ac_func in sincosf
42558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42559 echo "$as_me:$LINENO: checking for $ac_func" >&5
42560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42561 if eval "test \"\${$as_ac_var+set}\" = set"; then
42562 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 else
42564 if test x$gcc_no_link = xyes; then
42565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42567 { (exit 1); exit 1; }; }
42569 cat >conftest.$ac_ext <<_ACEOF
42570 /* confdefs.h. */
42571 _ACEOF
42572 cat confdefs.h >>conftest.$ac_ext
42573 cat >>conftest.$ac_ext <<_ACEOF
42574 /* end confdefs.h. */
42575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42577 #define $ac_func innocuous_$ac_func
42579 /* System header to define __stub macros and hopefully few prototypes,
42580 which can conflict with char $ac_func (); below.
42581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42582 <limits.h> exists even on freestanding compilers. */
42584 #ifdef __STDC__
42585 # include <limits.h>
42586 #else
42587 # include <assert.h>
42588 #endif
42590 #undef $ac_func
42592 /* Override any gcc2 internal prototype to avoid an error. */
42593 #ifdef __cplusplus
42594 extern "C"
42596 #endif
42597 /* We use char because int might match the return type of a gcc2
42598 builtin and then its argument prototype would still apply. */
42599 char $ac_func ();
42600 /* The GNU C library defines this for functions which it implements
42601 to always fail with ENOSYS. Some functions are actually named
42602 something starting with __ and the normal name is an alias. */
42603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42604 choke me
42605 #else
42606 char (*f) () = $ac_func;
42607 #endif
42608 #ifdef __cplusplus
42610 #endif
42613 main ()
42615 return f != $ac_func;
42617 return 0;
42619 _ACEOF
42620 rm -f conftest.$ac_objext conftest$ac_exeext
42621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42622 (eval $ac_link) 2>conftest.er1
42623 ac_status=$?
42624 grep -v '^ *+' conftest.er1 >conftest.err
42625 rm -f conftest.er1
42626 cat conftest.err >&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } &&
42629 { ac_try='test -z "$ac_c_werror_flag"
42630 || test ! -s conftest.err'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42633 ac_status=$?
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try='test -s conftest$ac_exeext'
42637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42638 (eval $ac_try) 2>&5
42639 ac_status=$?
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); }; }; then
42642 eval "$as_ac_var=yes"
42643 else
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.$ac_ext >&5
42647 eval "$as_ac_var=no"
42649 rm -f conftest.err conftest.$ac_objext \
42650 conftest$ac_exeext conftest.$ac_ext
42652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42654 if test `eval echo '${'$as_ac_var'}'` = yes; then
42655 cat >>confdefs.h <<_ACEOF
42656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42657 _ACEOF
42660 done
42662 else
42664 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42665 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42666 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42667 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42668 echo $ECHO_N "(cached) $ECHO_C" >&6
42669 else
42673 ac_ext=cc
42674 ac_cpp='$CXXCPP $CPPFLAGS'
42675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42679 cat >conftest.$ac_ext <<_ACEOF
42680 /* confdefs.h. */
42681 _ACEOF
42682 cat confdefs.h >>conftest.$ac_ext
42683 cat >>conftest.$ac_ext <<_ACEOF
42684 /* end confdefs.h. */
42685 #include <math.h>
42687 main ()
42689 _sincosf(0, 0, 0);
42691 return 0;
42693 _ACEOF
42694 rm -f conftest.$ac_objext
42695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42696 (eval $ac_compile) 2>conftest.er1
42697 ac_status=$?
42698 grep -v '^ *+' conftest.er1 >conftest.err
42699 rm -f conftest.er1
42700 cat conftest.err >&5
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); } &&
42703 { ac_try='test -z "$ac_cxx_werror_flag"
42704 || test ! -s conftest.err'
42705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42706 (eval $ac_try) 2>&5
42707 ac_status=$?
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; } &&
42710 { ac_try='test -s conftest.$ac_objext'
42711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42712 (eval $ac_try) 2>&5
42713 ac_status=$?
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); }; }; then
42716 glibcxx_cv_func__sincosf_use=yes
42717 else
42718 echo "$as_me: failed program was:" >&5
42719 sed 's/^/| /' conftest.$ac_ext >&5
42721 glibcxx_cv_func__sincosf_use=no
42723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42724 ac_ext=c
42725 ac_cpp='$CPP $CPPFLAGS'
42726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42735 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42737 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42739 for ac_func in _sincosf
42741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42742 echo "$as_me:$LINENO: checking for $ac_func" >&5
42743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42744 if eval "test \"\${$as_ac_var+set}\" = set"; then
42745 echo $ECHO_N "(cached) $ECHO_C" >&6
42746 else
42747 if test x$gcc_no_link = xyes; then
42748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42750 { (exit 1); exit 1; }; }
42752 cat >conftest.$ac_ext <<_ACEOF
42753 /* confdefs.h. */
42754 _ACEOF
42755 cat confdefs.h >>conftest.$ac_ext
42756 cat >>conftest.$ac_ext <<_ACEOF
42757 /* end confdefs.h. */
42758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42760 #define $ac_func innocuous_$ac_func
42762 /* System header to define __stub macros and hopefully few prototypes,
42763 which can conflict with char $ac_func (); below.
42764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42765 <limits.h> exists even on freestanding compilers. */
42767 #ifdef __STDC__
42768 # include <limits.h>
42769 #else
42770 # include <assert.h>
42771 #endif
42773 #undef $ac_func
42775 /* Override any gcc2 internal prototype to avoid an error. */
42776 #ifdef __cplusplus
42777 extern "C"
42779 #endif
42780 /* We use char because int might match the return type of a gcc2
42781 builtin and then its argument prototype would still apply. */
42782 char $ac_func ();
42783 /* The GNU C library defines this for functions which it implements
42784 to always fail with ENOSYS. Some functions are actually named
42785 something starting with __ and the normal name is an alias. */
42786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42787 choke me
42788 #else
42789 char (*f) () = $ac_func;
42790 #endif
42791 #ifdef __cplusplus
42793 #endif
42796 main ()
42798 return f != $ac_func;
42800 return 0;
42802 _ACEOF
42803 rm -f conftest.$ac_objext conftest$ac_exeext
42804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42805 (eval $ac_link) 2>conftest.er1
42806 ac_status=$?
42807 grep -v '^ *+' conftest.er1 >conftest.err
42808 rm -f conftest.er1
42809 cat conftest.err >&5
42810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42811 (exit $ac_status); } &&
42812 { ac_try='test -z "$ac_c_werror_flag"
42813 || test ! -s conftest.err'
42814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42815 (eval $ac_try) 2>&5
42816 ac_status=$?
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; } &&
42819 { ac_try='test -s conftest$ac_exeext'
42820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42821 (eval $ac_try) 2>&5
42822 ac_status=$?
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); }; }; then
42825 eval "$as_ac_var=yes"
42826 else
42827 echo "$as_me: failed program was:" >&5
42828 sed 's/^/| /' conftest.$ac_ext >&5
42830 eval "$as_ac_var=no"
42832 rm -f conftest.err conftest.$ac_objext \
42833 conftest$ac_exeext conftest.$ac_ext
42835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42837 if test `eval echo '${'$as_ac_var'}'` = yes; then
42838 cat >>confdefs.h <<_ACEOF
42839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42840 _ACEOF
42843 done
42853 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42854 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42855 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42856 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42857 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 else
42862 ac_ext=cc
42863 ac_cpp='$CXXCPP $CPPFLAGS'
42864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42868 cat >conftest.$ac_ext <<_ACEOF
42869 /* confdefs.h. */
42870 _ACEOF
42871 cat confdefs.h >>conftest.$ac_ext
42872 cat >>conftest.$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42874 #include <math.h>
42875 #ifdef HAVE_IEEEFP_H
42876 #include <ieeefp.h>
42877 #endif
42880 main ()
42882 finitef(0);
42884 return 0;
42886 _ACEOF
42887 rm -f conftest.$ac_objext
42888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42889 (eval $ac_compile) 2>conftest.er1
42890 ac_status=$?
42891 grep -v '^ *+' conftest.er1 >conftest.err
42892 rm -f conftest.er1
42893 cat conftest.err >&5
42894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42895 (exit $ac_status); } &&
42896 { ac_try='test -z "$ac_cxx_werror_flag"
42897 || test ! -s conftest.err'
42898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42899 (eval $ac_try) 2>&5
42900 ac_status=$?
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); }; } &&
42903 { ac_try='test -s conftest.$ac_objext'
42904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42905 (eval $ac_try) 2>&5
42906 ac_status=$?
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); }; }; then
42909 glibcxx_cv_func_finitef_use=yes
42910 else
42911 echo "$as_me: failed program was:" >&5
42912 sed 's/^/| /' conftest.$ac_ext >&5
42914 glibcxx_cv_func_finitef_use=no
42916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42917 ac_ext=c
42918 ac_cpp='$CPP $CPPFLAGS'
42919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42928 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42930 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42932 for ac_func in finitef
42934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42935 echo "$as_me:$LINENO: checking for $ac_func" >&5
42936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42937 if eval "test \"\${$as_ac_var+set}\" = set"; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 else
42940 if test x$gcc_no_link = xyes; then
42941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42943 { (exit 1); exit 1; }; }
42945 cat >conftest.$ac_ext <<_ACEOF
42946 /* confdefs.h. */
42947 _ACEOF
42948 cat confdefs.h >>conftest.$ac_ext
42949 cat >>conftest.$ac_ext <<_ACEOF
42950 /* end confdefs.h. */
42951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42953 #define $ac_func innocuous_$ac_func
42955 /* System header to define __stub macros and hopefully few prototypes,
42956 which can conflict with char $ac_func (); below.
42957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42958 <limits.h> exists even on freestanding compilers. */
42960 #ifdef __STDC__
42961 # include <limits.h>
42962 #else
42963 # include <assert.h>
42964 #endif
42966 #undef $ac_func
42968 /* Override any gcc2 internal prototype to avoid an error. */
42969 #ifdef __cplusplus
42970 extern "C"
42972 #endif
42973 /* We use char because int might match the return type of a gcc2
42974 builtin and then its argument prototype would still apply. */
42975 char $ac_func ();
42976 /* The GNU C library defines this for functions which it implements
42977 to always fail with ENOSYS. Some functions are actually named
42978 something starting with __ and the normal name is an alias. */
42979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42980 choke me
42981 #else
42982 char (*f) () = $ac_func;
42983 #endif
42984 #ifdef __cplusplus
42986 #endif
42989 main ()
42991 return f != $ac_func;
42993 return 0;
42995 _ACEOF
42996 rm -f conftest.$ac_objext conftest$ac_exeext
42997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42998 (eval $ac_link) 2>conftest.er1
42999 ac_status=$?
43000 grep -v '^ *+' conftest.er1 >conftest.err
43001 rm -f conftest.er1
43002 cat conftest.err >&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); } &&
43005 { ac_try='test -z "$ac_c_werror_flag"
43006 || test ! -s conftest.err'
43007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43008 (eval $ac_try) 2>&5
43009 ac_status=$?
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); }; } &&
43012 { ac_try='test -s conftest$ac_exeext'
43013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43014 (eval $ac_try) 2>&5
43015 ac_status=$?
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; }; then
43018 eval "$as_ac_var=yes"
43019 else
43020 echo "$as_me: failed program was:" >&5
43021 sed 's/^/| /' conftest.$ac_ext >&5
43023 eval "$as_ac_var=no"
43025 rm -f conftest.err conftest.$ac_objext \
43026 conftest$ac_exeext conftest.$ac_ext
43028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43030 if test `eval echo '${'$as_ac_var'}'` = yes; then
43031 cat >>confdefs.h <<_ACEOF
43032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43033 _ACEOF
43036 done
43038 else
43040 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
43041 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
43042 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43043 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
43044 echo $ECHO_N "(cached) $ECHO_C" >&6
43045 else
43049 ac_ext=cc
43050 ac_cpp='$CXXCPP $CPPFLAGS'
43051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43055 cat >conftest.$ac_ext <<_ACEOF
43056 /* confdefs.h. */
43057 _ACEOF
43058 cat confdefs.h >>conftest.$ac_ext
43059 cat >>conftest.$ac_ext <<_ACEOF
43060 /* end confdefs.h. */
43061 #include <math.h>
43062 #ifdef HAVE_IEEEFP_H
43063 #include <ieeefp.h>
43064 #endif
43067 main ()
43069 _finitef(0);
43071 return 0;
43073 _ACEOF
43074 rm -f conftest.$ac_objext
43075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43076 (eval $ac_compile) 2>conftest.er1
43077 ac_status=$?
43078 grep -v '^ *+' conftest.er1 >conftest.err
43079 rm -f conftest.er1
43080 cat conftest.err >&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } &&
43083 { ac_try='test -z "$ac_cxx_werror_flag"
43084 || test ! -s conftest.err'
43085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43086 (eval $ac_try) 2>&5
43087 ac_status=$?
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); }; } &&
43090 { ac_try='test -s conftest.$ac_objext'
43091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43092 (eval $ac_try) 2>&5
43093 ac_status=$?
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); }; }; then
43096 glibcxx_cv_func__finitef_use=yes
43097 else
43098 echo "$as_me: failed program was:" >&5
43099 sed 's/^/| /' conftest.$ac_ext >&5
43101 glibcxx_cv_func__finitef_use=no
43103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43104 ac_ext=c
43105 ac_cpp='$CPP $CPPFLAGS'
43106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
43115 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
43117 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43119 for ac_func in _finitef
43121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43122 echo "$as_me:$LINENO: checking for $ac_func" >&5
43123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43124 if eval "test \"\${$as_ac_var+set}\" = set"; then
43125 echo $ECHO_N "(cached) $ECHO_C" >&6
43126 else
43127 if test x$gcc_no_link = xyes; then
43128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43130 { (exit 1); exit 1; }; }
43132 cat >conftest.$ac_ext <<_ACEOF
43133 /* confdefs.h. */
43134 _ACEOF
43135 cat confdefs.h >>conftest.$ac_ext
43136 cat >>conftest.$ac_ext <<_ACEOF
43137 /* end confdefs.h. */
43138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43140 #define $ac_func innocuous_$ac_func
43142 /* System header to define __stub macros and hopefully few prototypes,
43143 which can conflict with char $ac_func (); below.
43144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43145 <limits.h> exists even on freestanding compilers. */
43147 #ifdef __STDC__
43148 # include <limits.h>
43149 #else
43150 # include <assert.h>
43151 #endif
43153 #undef $ac_func
43155 /* Override any gcc2 internal prototype to avoid an error. */
43156 #ifdef __cplusplus
43157 extern "C"
43159 #endif
43160 /* We use char because int might match the return type of a gcc2
43161 builtin and then its argument prototype would still apply. */
43162 char $ac_func ();
43163 /* The GNU C library defines this for functions which it implements
43164 to always fail with ENOSYS. Some functions are actually named
43165 something starting with __ and the normal name is an alias. */
43166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43167 choke me
43168 #else
43169 char (*f) () = $ac_func;
43170 #endif
43171 #ifdef __cplusplus
43173 #endif
43176 main ()
43178 return f != $ac_func;
43180 return 0;
43182 _ACEOF
43183 rm -f conftest.$ac_objext conftest$ac_exeext
43184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43185 (eval $ac_link) 2>conftest.er1
43186 ac_status=$?
43187 grep -v '^ *+' conftest.er1 >conftest.err
43188 rm -f conftest.er1
43189 cat conftest.err >&5
43190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43191 (exit $ac_status); } &&
43192 { ac_try='test -z "$ac_c_werror_flag"
43193 || test ! -s conftest.err'
43194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43195 (eval $ac_try) 2>&5
43196 ac_status=$?
43197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43198 (exit $ac_status); }; } &&
43199 { ac_try='test -s conftest$ac_exeext'
43200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43201 (eval $ac_try) 2>&5
43202 ac_status=$?
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); }; }; then
43205 eval "$as_ac_var=yes"
43206 else
43207 echo "$as_me: failed program was:" >&5
43208 sed 's/^/| /' conftest.$ac_ext >&5
43210 eval "$as_ac_var=no"
43212 rm -f conftest.err conftest.$ac_objext \
43213 conftest$ac_exeext conftest.$ac_ext
43215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43217 if test `eval echo '${'$as_ac_var'}'` = yes; then
43218 cat >>confdefs.h <<_ACEOF
43219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43220 _ACEOF
43223 done
43233 echo "$as_me:$LINENO: checking for long double trig functions" >&5
43234 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
43235 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43237 else
43241 ac_ext=cc
43242 ac_cpp='$CXXCPP $CPPFLAGS'
43243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43247 cat >conftest.$ac_ext <<_ACEOF
43248 /* confdefs.h. */
43249 _ACEOF
43250 cat confdefs.h >>conftest.$ac_ext
43251 cat >>conftest.$ac_ext <<_ACEOF
43252 /* end confdefs.h. */
43253 #include <math.h>
43255 main ()
43257 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43259 return 0;
43261 _ACEOF
43262 rm -f conftest.$ac_objext
43263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43264 (eval $ac_compile) 2>conftest.er1
43265 ac_status=$?
43266 grep -v '^ *+' conftest.er1 >conftest.err
43267 rm -f conftest.er1
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } &&
43271 { ac_try='test -z "$ac_cxx_werror_flag"
43272 || test ! -s conftest.err'
43273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43274 (eval $ac_try) 2>&5
43275 ac_status=$?
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; } &&
43278 { ac_try='test -s conftest.$ac_objext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43281 ac_status=$?
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43284 glibcxx_cv_func_long_double_trig_use=yes
43285 else
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43289 glibcxx_cv_func_long_double_trig_use=no
43291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43292 ac_ext=c
43293 ac_cpp='$CPP $CPPFLAGS'
43294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43300 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43301 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43302 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43312 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43315 echo "$as_me:$LINENO: checking for $ac_func" >&5
43316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43317 if eval "test \"\${$as_ac_var+set}\" = set"; then
43318 echo $ECHO_N "(cached) $ECHO_C" >&6
43319 else
43320 if test x$gcc_no_link = xyes; then
43321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43323 { (exit 1); exit 1; }; }
43325 cat >conftest.$ac_ext <<_ACEOF
43326 /* confdefs.h. */
43327 _ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43333 #define $ac_func innocuous_$ac_func
43335 /* System header to define __stub macros and hopefully few prototypes,
43336 which can conflict with char $ac_func (); below.
43337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43338 <limits.h> exists even on freestanding compilers. */
43340 #ifdef __STDC__
43341 # include <limits.h>
43342 #else
43343 # include <assert.h>
43344 #endif
43346 #undef $ac_func
43348 /* Override any gcc2 internal prototype to avoid an error. */
43349 #ifdef __cplusplus
43350 extern "C"
43352 #endif
43353 /* We use char because int might match the return type of a gcc2
43354 builtin and then its argument prototype would still apply. */
43355 char $ac_func ();
43356 /* The GNU C library defines this for functions which it implements
43357 to always fail with ENOSYS. Some functions are actually named
43358 something starting with __ and the normal name is an alias. */
43359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43360 choke me
43361 #else
43362 char (*f) () = $ac_func;
43363 #endif
43364 #ifdef __cplusplus
43366 #endif
43369 main ()
43371 return f != $ac_func;
43373 return 0;
43375 _ACEOF
43376 rm -f conftest.$ac_objext conftest$ac_exeext
43377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43378 (eval $ac_link) 2>conftest.er1
43379 ac_status=$?
43380 grep -v '^ *+' conftest.er1 >conftest.err
43381 rm -f conftest.er1
43382 cat conftest.err >&5
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); } &&
43385 { ac_try='test -z "$ac_c_werror_flag"
43386 || test ! -s conftest.err'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43389 ac_status=$?
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; } &&
43392 { ac_try='test -s conftest$ac_exeext'
43393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43394 (eval $ac_try) 2>&5
43395 ac_status=$?
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); }; }; then
43398 eval "$as_ac_var=yes"
43399 else
43400 echo "$as_me: failed program was:" >&5
43401 sed 's/^/| /' conftest.$ac_ext >&5
43403 eval "$as_ac_var=no"
43405 rm -f conftest.err conftest.$ac_objext \
43406 conftest$ac_exeext conftest.$ac_ext
43408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43410 if test `eval echo '${'$as_ac_var'}'` = yes; then
43411 cat >>confdefs.h <<_ACEOF
43412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43413 _ACEOF
43416 done
43418 else
43419 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43420 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43421 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43422 echo $ECHO_N "(cached) $ECHO_C" >&6
43423 else
43427 ac_ext=cc
43428 ac_cpp='$CXXCPP $CPPFLAGS'
43429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43433 cat >conftest.$ac_ext <<_ACEOF
43434 /* confdefs.h. */
43435 _ACEOF
43436 cat confdefs.h >>conftest.$ac_ext
43437 cat >>conftest.$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43439 #include <math.h>
43441 main ()
43443 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43445 return 0;
43447 _ACEOF
43448 rm -f conftest.$ac_objext
43449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43450 (eval $ac_compile) 2>conftest.er1
43451 ac_status=$?
43452 grep -v '^ *+' conftest.er1 >conftest.err
43453 rm -f conftest.er1
43454 cat conftest.err >&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } &&
43457 { ac_try='test -z "$ac_cxx_werror_flag"
43458 || test ! -s conftest.err'
43459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43460 (eval $ac_try) 2>&5
43461 ac_status=$?
43462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463 (exit $ac_status); }; } &&
43464 { ac_try='test -s conftest.$ac_objext'
43465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43466 (eval $ac_try) 2>&5
43467 ac_status=$?
43468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469 (exit $ac_status); }; }; then
43470 glibcxx_cv_func__long_double_trig_use=yes
43471 else
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.$ac_ext >&5
43475 glibcxx_cv_func__long_double_trig_use=no
43477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43478 ac_ext=c
43479 ac_cpp='$CPP $CPPFLAGS'
43480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43487 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43488 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43498 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43501 echo "$as_me:$LINENO: checking for $ac_func" >&5
43502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43503 if eval "test \"\${$as_ac_var+set}\" = set"; then
43504 echo $ECHO_N "(cached) $ECHO_C" >&6
43505 else
43506 if test x$gcc_no_link = xyes; then
43507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43509 { (exit 1); exit 1; }; }
43511 cat >conftest.$ac_ext <<_ACEOF
43512 /* confdefs.h. */
43513 _ACEOF
43514 cat confdefs.h >>conftest.$ac_ext
43515 cat >>conftest.$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43519 #define $ac_func innocuous_$ac_func
43521 /* System header to define __stub macros and hopefully few prototypes,
43522 which can conflict with char $ac_func (); below.
43523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43524 <limits.h> exists even on freestanding compilers. */
43526 #ifdef __STDC__
43527 # include <limits.h>
43528 #else
43529 # include <assert.h>
43530 #endif
43532 #undef $ac_func
43534 /* Override any gcc2 internal prototype to avoid an error. */
43535 #ifdef __cplusplus
43536 extern "C"
43538 #endif
43539 /* We use char because int might match the return type of a gcc2
43540 builtin and then its argument prototype would still apply. */
43541 char $ac_func ();
43542 /* The GNU C library defines this for functions which it implements
43543 to always fail with ENOSYS. Some functions are actually named
43544 something starting with __ and the normal name is an alias. */
43545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43546 choke me
43547 #else
43548 char (*f) () = $ac_func;
43549 #endif
43550 #ifdef __cplusplus
43552 #endif
43555 main ()
43557 return f != $ac_func;
43559 return 0;
43561 _ACEOF
43562 rm -f conftest.$ac_objext conftest$ac_exeext
43563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43564 (eval $ac_link) 2>conftest.er1
43565 ac_status=$?
43566 grep -v '^ *+' conftest.er1 >conftest.err
43567 rm -f conftest.er1
43568 cat conftest.err >&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); } &&
43571 { ac_try='test -z "$ac_c_werror_flag"
43572 || test ! -s conftest.err'
43573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43574 (eval $ac_try) 2>&5
43575 ac_status=$?
43576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577 (exit $ac_status); }; } &&
43578 { ac_try='test -s conftest$ac_exeext'
43579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43580 (eval $ac_try) 2>&5
43581 ac_status=$?
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); }; }; then
43584 eval "$as_ac_var=yes"
43585 else
43586 echo "$as_me: failed program was:" >&5
43587 sed 's/^/| /' conftest.$ac_ext >&5
43589 eval "$as_ac_var=no"
43591 rm -f conftest.err conftest.$ac_objext \
43592 conftest$ac_exeext conftest.$ac_ext
43594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43596 if test `eval echo '${'$as_ac_var'}'` = yes; then
43597 cat >>confdefs.h <<_ACEOF
43598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43599 _ACEOF
43602 done
43620 echo "$as_me:$LINENO: checking for long double round functions" >&5
43621 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43622 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43623 echo $ECHO_N "(cached) $ECHO_C" >&6
43624 else
43628 ac_ext=cc
43629 ac_cpp='$CXXCPP $CPPFLAGS'
43630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43634 cat >conftest.$ac_ext <<_ACEOF
43635 /* confdefs.h. */
43636 _ACEOF
43637 cat confdefs.h >>conftest.$ac_ext
43638 cat >>conftest.$ac_ext <<_ACEOF
43639 /* end confdefs.h. */
43640 #include <math.h>
43642 main ()
43644 ceill (0); floorl (0);
43646 return 0;
43648 _ACEOF
43649 rm -f conftest.$ac_objext
43650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43651 (eval $ac_compile) 2>conftest.er1
43652 ac_status=$?
43653 grep -v '^ *+' conftest.er1 >conftest.err
43654 rm -f conftest.er1
43655 cat conftest.err >&5
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); } &&
43658 { ac_try='test -z "$ac_cxx_werror_flag"
43659 || test ! -s conftest.err'
43660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43661 (eval $ac_try) 2>&5
43662 ac_status=$?
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); }; } &&
43665 { ac_try='test -s conftest.$ac_objext'
43666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43667 (eval $ac_try) 2>&5
43668 ac_status=$?
43669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43670 (exit $ac_status); }; }; then
43671 glibcxx_cv_func_long_double_round_use=yes
43672 else
43673 echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.$ac_ext >&5
43676 glibcxx_cv_func_long_double_round_use=no
43678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43687 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43688 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43689 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43692 for ac_func in ceill floorl
43694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43695 echo "$as_me:$LINENO: checking for $ac_func" >&5
43696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43697 if eval "test \"\${$as_ac_var+set}\" = set"; then
43698 echo $ECHO_N "(cached) $ECHO_C" >&6
43699 else
43700 if test x$gcc_no_link = xyes; then
43701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43703 { (exit 1); exit 1; }; }
43705 cat >conftest.$ac_ext <<_ACEOF
43706 /* confdefs.h. */
43707 _ACEOF
43708 cat confdefs.h >>conftest.$ac_ext
43709 cat >>conftest.$ac_ext <<_ACEOF
43710 /* end confdefs.h. */
43711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43713 #define $ac_func innocuous_$ac_func
43715 /* System header to define __stub macros and hopefully few prototypes,
43716 which can conflict with char $ac_func (); below.
43717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43718 <limits.h> exists even on freestanding compilers. */
43720 #ifdef __STDC__
43721 # include <limits.h>
43722 #else
43723 # include <assert.h>
43724 #endif
43726 #undef $ac_func
43728 /* Override any gcc2 internal prototype to avoid an error. */
43729 #ifdef __cplusplus
43730 extern "C"
43732 #endif
43733 /* We use char because int might match the return type of a gcc2
43734 builtin and then its argument prototype would still apply. */
43735 char $ac_func ();
43736 /* The GNU C library defines this for functions which it implements
43737 to always fail with ENOSYS. Some functions are actually named
43738 something starting with __ and the normal name is an alias. */
43739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43740 choke me
43741 #else
43742 char (*f) () = $ac_func;
43743 #endif
43744 #ifdef __cplusplus
43746 #endif
43749 main ()
43751 return f != $ac_func;
43753 return 0;
43755 _ACEOF
43756 rm -f conftest.$ac_objext conftest$ac_exeext
43757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43758 (eval $ac_link) 2>conftest.er1
43759 ac_status=$?
43760 grep -v '^ *+' conftest.er1 >conftest.err
43761 rm -f conftest.er1
43762 cat conftest.err >&5
43763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43764 (exit $ac_status); } &&
43765 { ac_try='test -z "$ac_c_werror_flag"
43766 || test ! -s conftest.err'
43767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43768 (eval $ac_try) 2>&5
43769 ac_status=$?
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); }; } &&
43772 { ac_try='test -s conftest$ac_exeext'
43773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43774 (eval $ac_try) 2>&5
43775 ac_status=$?
43776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777 (exit $ac_status); }; }; then
43778 eval "$as_ac_var=yes"
43779 else
43780 echo "$as_me: failed program was:" >&5
43781 sed 's/^/| /' conftest.$ac_ext >&5
43783 eval "$as_ac_var=no"
43785 rm -f conftest.err conftest.$ac_objext \
43786 conftest$ac_exeext conftest.$ac_ext
43788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43790 if test `eval echo '${'$as_ac_var'}'` = yes; then
43791 cat >>confdefs.h <<_ACEOF
43792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43793 _ACEOF
43796 done
43798 else
43799 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43800 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43801 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43802 echo $ECHO_N "(cached) $ECHO_C" >&6
43803 else
43807 ac_ext=cc
43808 ac_cpp='$CXXCPP $CPPFLAGS'
43809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43813 cat >conftest.$ac_ext <<_ACEOF
43814 /* confdefs.h. */
43815 _ACEOF
43816 cat confdefs.h >>conftest.$ac_ext
43817 cat >>conftest.$ac_ext <<_ACEOF
43818 /* end confdefs.h. */
43819 #include <math.h>
43821 main ()
43823 _ceill (0); _floorl (0);
43825 return 0;
43827 _ACEOF
43828 rm -f conftest.$ac_objext
43829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43830 (eval $ac_compile) 2>conftest.er1
43831 ac_status=$?
43832 grep -v '^ *+' conftest.er1 >conftest.err
43833 rm -f conftest.er1
43834 cat conftest.err >&5
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); } &&
43837 { ac_try='test -z "$ac_cxx_werror_flag"
43838 || test ! -s conftest.err'
43839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43840 (eval $ac_try) 2>&5
43841 ac_status=$?
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); }; } &&
43844 { ac_try='test -s conftest.$ac_objext'
43845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43846 (eval $ac_try) 2>&5
43847 ac_status=$?
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); }; }; then
43850 glibcxx_cv_func__long_double_round_use=yes
43851 else
43852 echo "$as_me: failed program was:" >&5
43853 sed 's/^/| /' conftest.$ac_ext >&5
43855 glibcxx_cv_func__long_double_round_use=no
43857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43858 ac_ext=c
43859 ac_cpp='$CPP $CPPFLAGS'
43860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43867 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43868 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43871 for ac_func in _ceill _floorl
43873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43874 echo "$as_me:$LINENO: checking for $ac_func" >&5
43875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43876 if eval "test \"\${$as_ac_var+set}\" = set"; then
43877 echo $ECHO_N "(cached) $ECHO_C" >&6
43878 else
43879 if test x$gcc_no_link = xyes; then
43880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43882 { (exit 1); exit 1; }; }
43884 cat >conftest.$ac_ext <<_ACEOF
43885 /* confdefs.h. */
43886 _ACEOF
43887 cat confdefs.h >>conftest.$ac_ext
43888 cat >>conftest.$ac_ext <<_ACEOF
43889 /* end confdefs.h. */
43890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43892 #define $ac_func innocuous_$ac_func
43894 /* System header to define __stub macros and hopefully few prototypes,
43895 which can conflict with char $ac_func (); below.
43896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43897 <limits.h> exists even on freestanding compilers. */
43899 #ifdef __STDC__
43900 # include <limits.h>
43901 #else
43902 # include <assert.h>
43903 #endif
43905 #undef $ac_func
43907 /* Override any gcc2 internal prototype to avoid an error. */
43908 #ifdef __cplusplus
43909 extern "C"
43911 #endif
43912 /* We use char because int might match the return type of a gcc2
43913 builtin and then its argument prototype would still apply. */
43914 char $ac_func ();
43915 /* The GNU C library defines this for functions which it implements
43916 to always fail with ENOSYS. Some functions are actually named
43917 something starting with __ and the normal name is an alias. */
43918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43919 choke me
43920 #else
43921 char (*f) () = $ac_func;
43922 #endif
43923 #ifdef __cplusplus
43925 #endif
43928 main ()
43930 return f != $ac_func;
43932 return 0;
43934 _ACEOF
43935 rm -f conftest.$ac_objext conftest$ac_exeext
43936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43937 (eval $ac_link) 2>conftest.er1
43938 ac_status=$?
43939 grep -v '^ *+' conftest.er1 >conftest.err
43940 rm -f conftest.er1
43941 cat conftest.err >&5
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); } &&
43944 { ac_try='test -z "$ac_c_werror_flag"
43945 || test ! -s conftest.err'
43946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43947 (eval $ac_try) 2>&5
43948 ac_status=$?
43949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950 (exit $ac_status); }; } &&
43951 { ac_try='test -s conftest$ac_exeext'
43952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953 (eval $ac_try) 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; }; then
43957 eval "$as_ac_var=yes"
43958 else
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43962 eval "$as_ac_var=no"
43964 rm -f conftest.err conftest.$ac_objext \
43965 conftest$ac_exeext conftest.$ac_ext
43967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43969 if test `eval echo '${'$as_ac_var'}'` = yes; then
43970 cat >>confdefs.h <<_ACEOF
43971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43972 _ACEOF
43975 done
43987 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43988 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43989 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43990 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43991 echo $ECHO_N "(cached) $ECHO_C" >&6
43992 else
43996 ac_ext=cc
43997 ac_cpp='$CXXCPP $CPPFLAGS'
43998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44002 cat >conftest.$ac_ext <<_ACEOF
44003 /* confdefs.h. */
44004 _ACEOF
44005 cat confdefs.h >>conftest.$ac_ext
44006 cat >>conftest.$ac_ext <<_ACEOF
44007 /* end confdefs.h. */
44008 #include <math.h>
44009 #ifdef HAVE_IEEEFP_H
44010 #include <ieeefp.h>
44011 #endif
44014 main ()
44016 isnanl(0);
44018 return 0;
44020 _ACEOF
44021 rm -f conftest.$ac_objext
44022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44023 (eval $ac_compile) 2>conftest.er1
44024 ac_status=$?
44025 grep -v '^ *+' conftest.er1 >conftest.err
44026 rm -f conftest.er1
44027 cat conftest.err >&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } &&
44030 { ac_try='test -z "$ac_cxx_werror_flag"
44031 || test ! -s conftest.err'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44034 ac_status=$?
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; } &&
44037 { ac_try='test -s conftest.$ac_objext'
44038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44039 (eval $ac_try) 2>&5
44040 ac_status=$?
44041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44042 (exit $ac_status); }; }; then
44043 glibcxx_cv_func_isnanl_use=yes
44044 else
44045 echo "$as_me: failed program was:" >&5
44046 sed 's/^/| /' conftest.$ac_ext >&5
44048 glibcxx_cv_func_isnanl_use=no
44050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44051 ac_ext=c
44052 ac_cpp='$CPP $CPPFLAGS'
44053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44061 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
44062 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
44064 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44066 for ac_func in isnanl
44068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44069 echo "$as_me:$LINENO: checking for $ac_func" >&5
44070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44071 if eval "test \"\${$as_ac_var+set}\" = set"; then
44072 echo $ECHO_N "(cached) $ECHO_C" >&6
44073 else
44074 if test x$gcc_no_link = xyes; then
44075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44077 { (exit 1); exit 1; }; }
44079 cat >conftest.$ac_ext <<_ACEOF
44080 /* confdefs.h. */
44081 _ACEOF
44082 cat confdefs.h >>conftest.$ac_ext
44083 cat >>conftest.$ac_ext <<_ACEOF
44084 /* end confdefs.h. */
44085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44087 #define $ac_func innocuous_$ac_func
44089 /* System header to define __stub macros and hopefully few prototypes,
44090 which can conflict with char $ac_func (); below.
44091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44092 <limits.h> exists even on freestanding compilers. */
44094 #ifdef __STDC__
44095 # include <limits.h>
44096 #else
44097 # include <assert.h>
44098 #endif
44100 #undef $ac_func
44102 /* Override any gcc2 internal prototype to avoid an error. */
44103 #ifdef __cplusplus
44104 extern "C"
44106 #endif
44107 /* We use char because int might match the return type of a gcc2
44108 builtin and then its argument prototype would still apply. */
44109 char $ac_func ();
44110 /* The GNU C library defines this for functions which it implements
44111 to always fail with ENOSYS. Some functions are actually named
44112 something starting with __ and the normal name is an alias. */
44113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44114 choke me
44115 #else
44116 char (*f) () = $ac_func;
44117 #endif
44118 #ifdef __cplusplus
44120 #endif
44123 main ()
44125 return f != $ac_func;
44127 return 0;
44129 _ACEOF
44130 rm -f conftest.$ac_objext conftest$ac_exeext
44131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44132 (eval $ac_link) 2>conftest.er1
44133 ac_status=$?
44134 grep -v '^ *+' conftest.er1 >conftest.err
44135 rm -f conftest.er1
44136 cat conftest.err >&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } &&
44139 { ac_try='test -z "$ac_c_werror_flag"
44140 || test ! -s conftest.err'
44141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142 (eval $ac_try) 2>&5
44143 ac_status=$?
44144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145 (exit $ac_status); }; } &&
44146 { ac_try='test -s conftest$ac_exeext'
44147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44148 (eval $ac_try) 2>&5
44149 ac_status=$?
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); }; }; then
44152 eval "$as_ac_var=yes"
44153 else
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44157 eval "$as_ac_var=no"
44159 rm -f conftest.err conftest.$ac_objext \
44160 conftest$ac_exeext conftest.$ac_ext
44162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44164 if test `eval echo '${'$as_ac_var'}'` = yes; then
44165 cat >>confdefs.h <<_ACEOF
44166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44167 _ACEOF
44170 done
44172 else
44174 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
44175 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
44176 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44177 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44179 else
44183 ac_ext=cc
44184 ac_cpp='$CXXCPP $CPPFLAGS'
44185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44189 cat >conftest.$ac_ext <<_ACEOF
44190 /* confdefs.h. */
44191 _ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h. */
44195 #include <math.h>
44196 #ifdef HAVE_IEEEFP_H
44197 #include <ieeefp.h>
44198 #endif
44201 main ()
44203 _isnanl(0);
44205 return 0;
44207 _ACEOF
44208 rm -f conftest.$ac_objext
44209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44210 (eval $ac_compile) 2>conftest.er1
44211 ac_status=$?
44212 grep -v '^ *+' conftest.er1 >conftest.err
44213 rm -f conftest.er1
44214 cat conftest.err >&5
44215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44216 (exit $ac_status); } &&
44217 { ac_try='test -z "$ac_cxx_werror_flag"
44218 || test ! -s conftest.err'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; } &&
44224 { ac_try='test -s conftest.$ac_objext'
44225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44226 (eval $ac_try) 2>&5
44227 ac_status=$?
44228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44229 (exit $ac_status); }; }; then
44230 glibcxx_cv_func__isnanl_use=yes
44231 else
44232 echo "$as_me: failed program was:" >&5
44233 sed 's/^/| /' conftest.$ac_ext >&5
44235 glibcxx_cv_func__isnanl_use=no
44237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44238 ac_ext=c
44239 ac_cpp='$CPP $CPPFLAGS'
44240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
44249 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
44251 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44253 for ac_func in _isnanl
44255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44256 echo "$as_me:$LINENO: checking for $ac_func" >&5
44257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44258 if eval "test \"\${$as_ac_var+set}\" = set"; then
44259 echo $ECHO_N "(cached) $ECHO_C" >&6
44260 else
44261 if test x$gcc_no_link = xyes; then
44262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44264 { (exit 1); exit 1; }; }
44266 cat >conftest.$ac_ext <<_ACEOF
44267 /* confdefs.h. */
44268 _ACEOF
44269 cat confdefs.h >>conftest.$ac_ext
44270 cat >>conftest.$ac_ext <<_ACEOF
44271 /* end confdefs.h. */
44272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44274 #define $ac_func innocuous_$ac_func
44276 /* System header to define __stub macros and hopefully few prototypes,
44277 which can conflict with char $ac_func (); below.
44278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44279 <limits.h> exists even on freestanding compilers. */
44281 #ifdef __STDC__
44282 # include <limits.h>
44283 #else
44284 # include <assert.h>
44285 #endif
44287 #undef $ac_func
44289 /* Override any gcc2 internal prototype to avoid an error. */
44290 #ifdef __cplusplus
44291 extern "C"
44293 #endif
44294 /* We use char because int might match the return type of a gcc2
44295 builtin and then its argument prototype would still apply. */
44296 char $ac_func ();
44297 /* The GNU C library defines this for functions which it implements
44298 to always fail with ENOSYS. Some functions are actually named
44299 something starting with __ and the normal name is an alias. */
44300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44301 choke me
44302 #else
44303 char (*f) () = $ac_func;
44304 #endif
44305 #ifdef __cplusplus
44307 #endif
44310 main ()
44312 return f != $ac_func;
44314 return 0;
44316 _ACEOF
44317 rm -f conftest.$ac_objext conftest$ac_exeext
44318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44319 (eval $ac_link) 2>conftest.er1
44320 ac_status=$?
44321 grep -v '^ *+' conftest.er1 >conftest.err
44322 rm -f conftest.er1
44323 cat conftest.err >&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); } &&
44326 { ac_try='test -z "$ac_c_werror_flag"
44327 || test ! -s conftest.err'
44328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329 (eval $ac_try) 2>&5
44330 ac_status=$?
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); }; } &&
44333 { ac_try='test -s conftest$ac_exeext'
44334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44335 (eval $ac_try) 2>&5
44336 ac_status=$?
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); }; }; then
44339 eval "$as_ac_var=yes"
44340 else
44341 echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44344 eval "$as_ac_var=no"
44346 rm -f conftest.err conftest.$ac_objext \
44347 conftest$ac_exeext conftest.$ac_ext
44349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44351 if test `eval echo '${'$as_ac_var'}'` = yes; then
44352 cat >>confdefs.h <<_ACEOF
44353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44354 _ACEOF
44357 done
44367 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44368 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44369 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44370 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44371 echo $ECHO_N "(cached) $ECHO_C" >&6
44372 else
44376 ac_ext=cc
44377 ac_cpp='$CXXCPP $CPPFLAGS'
44378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44382 cat >conftest.$ac_ext <<_ACEOF
44383 /* confdefs.h. */
44384 _ACEOF
44385 cat confdefs.h >>conftest.$ac_ext
44386 cat >>conftest.$ac_ext <<_ACEOF
44387 /* end confdefs.h. */
44388 #include <math.h>
44389 #ifdef HAVE_IEEEFP_H
44390 #include <ieeefp.h>
44391 #endif
44394 main ()
44396 isinfl(0);
44398 return 0;
44400 _ACEOF
44401 rm -f conftest.$ac_objext
44402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44403 (eval $ac_compile) 2>conftest.er1
44404 ac_status=$?
44405 grep -v '^ *+' conftest.er1 >conftest.err
44406 rm -f conftest.er1
44407 cat conftest.err >&5
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); } &&
44410 { ac_try='test -z "$ac_cxx_werror_flag"
44411 || test ! -s conftest.err'
44412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44413 (eval $ac_try) 2>&5
44414 ac_status=$?
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); }; } &&
44417 { ac_try='test -s conftest.$ac_objext'
44418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44419 (eval $ac_try) 2>&5
44420 ac_status=$?
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); }; }; then
44423 glibcxx_cv_func_isinfl_use=yes
44424 else
44425 echo "$as_me: failed program was:" >&5
44426 sed 's/^/| /' conftest.$ac_ext >&5
44428 glibcxx_cv_func_isinfl_use=no
44430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44431 ac_ext=c
44432 ac_cpp='$CPP $CPPFLAGS'
44433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44442 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44444 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44446 for ac_func in isinfl
44448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44449 echo "$as_me:$LINENO: checking for $ac_func" >&5
44450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44451 if eval "test \"\${$as_ac_var+set}\" = set"; then
44452 echo $ECHO_N "(cached) $ECHO_C" >&6
44453 else
44454 if test x$gcc_no_link = xyes; then
44455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44457 { (exit 1); exit 1; }; }
44459 cat >conftest.$ac_ext <<_ACEOF
44460 /* confdefs.h. */
44461 _ACEOF
44462 cat confdefs.h >>conftest.$ac_ext
44463 cat >>conftest.$ac_ext <<_ACEOF
44464 /* end confdefs.h. */
44465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44467 #define $ac_func innocuous_$ac_func
44469 /* System header to define __stub macros and hopefully few prototypes,
44470 which can conflict with char $ac_func (); below.
44471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44472 <limits.h> exists even on freestanding compilers. */
44474 #ifdef __STDC__
44475 # include <limits.h>
44476 #else
44477 # include <assert.h>
44478 #endif
44480 #undef $ac_func
44482 /* Override any gcc2 internal prototype to avoid an error. */
44483 #ifdef __cplusplus
44484 extern "C"
44486 #endif
44487 /* We use char because int might match the return type of a gcc2
44488 builtin and then its argument prototype would still apply. */
44489 char $ac_func ();
44490 /* The GNU C library defines this for functions which it implements
44491 to always fail with ENOSYS. Some functions are actually named
44492 something starting with __ and the normal name is an alias. */
44493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44494 choke me
44495 #else
44496 char (*f) () = $ac_func;
44497 #endif
44498 #ifdef __cplusplus
44500 #endif
44503 main ()
44505 return f != $ac_func;
44507 return 0;
44509 _ACEOF
44510 rm -f conftest.$ac_objext conftest$ac_exeext
44511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44512 (eval $ac_link) 2>conftest.er1
44513 ac_status=$?
44514 grep -v '^ *+' conftest.er1 >conftest.err
44515 rm -f conftest.er1
44516 cat conftest.err >&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try='test -z "$ac_c_werror_flag"
44520 || test ! -s conftest.err'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44523 ac_status=$?
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; } &&
44526 { ac_try='test -s conftest$ac_exeext'
44527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528 (eval $ac_try) 2>&5
44529 ac_status=$?
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; }; then
44532 eval "$as_ac_var=yes"
44533 else
44534 echo "$as_me: failed program was:" >&5
44535 sed 's/^/| /' conftest.$ac_ext >&5
44537 eval "$as_ac_var=no"
44539 rm -f conftest.err conftest.$ac_objext \
44540 conftest$ac_exeext conftest.$ac_ext
44542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44544 if test `eval echo '${'$as_ac_var'}'` = yes; then
44545 cat >>confdefs.h <<_ACEOF
44546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44547 _ACEOF
44550 done
44552 else
44554 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44555 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44556 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44557 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44558 echo $ECHO_N "(cached) $ECHO_C" >&6
44559 else
44563 ac_ext=cc
44564 ac_cpp='$CXXCPP $CPPFLAGS'
44565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44569 cat >conftest.$ac_ext <<_ACEOF
44570 /* confdefs.h. */
44571 _ACEOF
44572 cat confdefs.h >>conftest.$ac_ext
44573 cat >>conftest.$ac_ext <<_ACEOF
44574 /* end confdefs.h. */
44575 #include <math.h>
44576 #ifdef HAVE_IEEEFP_H
44577 #include <ieeefp.h>
44578 #endif
44581 main ()
44583 _isinfl(0);
44585 return 0;
44587 _ACEOF
44588 rm -f conftest.$ac_objext
44589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44590 (eval $ac_compile) 2>conftest.er1
44591 ac_status=$?
44592 grep -v '^ *+' conftest.er1 >conftest.err
44593 rm -f conftest.er1
44594 cat conftest.err >&5
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); } &&
44597 { ac_try='test -z "$ac_cxx_werror_flag"
44598 || test ! -s conftest.err'
44599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44600 (eval $ac_try) 2>&5
44601 ac_status=$?
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); }; } &&
44604 { ac_try='test -s conftest.$ac_objext'
44605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44606 (eval $ac_try) 2>&5
44607 ac_status=$?
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); }; }; then
44610 glibcxx_cv_func__isinfl_use=yes
44611 else
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44615 glibcxx_cv_func__isinfl_use=no
44617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44618 ac_ext=c
44619 ac_cpp='$CPP $CPPFLAGS'
44620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44629 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44631 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44633 for ac_func in _isinfl
44635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44636 echo "$as_me:$LINENO: checking for $ac_func" >&5
44637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44638 if eval "test \"\${$as_ac_var+set}\" = set"; then
44639 echo $ECHO_N "(cached) $ECHO_C" >&6
44640 else
44641 if test x$gcc_no_link = xyes; then
44642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44644 { (exit 1); exit 1; }; }
44646 cat >conftest.$ac_ext <<_ACEOF
44647 /* confdefs.h. */
44648 _ACEOF
44649 cat confdefs.h >>conftest.$ac_ext
44650 cat >>conftest.$ac_ext <<_ACEOF
44651 /* end confdefs.h. */
44652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44654 #define $ac_func innocuous_$ac_func
44656 /* System header to define __stub macros and hopefully few prototypes,
44657 which can conflict with char $ac_func (); below.
44658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44659 <limits.h> exists even on freestanding compilers. */
44661 #ifdef __STDC__
44662 # include <limits.h>
44663 #else
44664 # include <assert.h>
44665 #endif
44667 #undef $ac_func
44669 /* Override any gcc2 internal prototype to avoid an error. */
44670 #ifdef __cplusplus
44671 extern "C"
44673 #endif
44674 /* We use char because int might match the return type of a gcc2
44675 builtin and then its argument prototype would still apply. */
44676 char $ac_func ();
44677 /* The GNU C library defines this for functions which it implements
44678 to always fail with ENOSYS. Some functions are actually named
44679 something starting with __ and the normal name is an alias. */
44680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44681 choke me
44682 #else
44683 char (*f) () = $ac_func;
44684 #endif
44685 #ifdef __cplusplus
44687 #endif
44690 main ()
44692 return f != $ac_func;
44694 return 0;
44696 _ACEOF
44697 rm -f conftest.$ac_objext conftest$ac_exeext
44698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44699 (eval $ac_link) 2>conftest.er1
44700 ac_status=$?
44701 grep -v '^ *+' conftest.er1 >conftest.err
44702 rm -f conftest.er1
44703 cat conftest.err >&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } &&
44706 { ac_try='test -z "$ac_c_werror_flag"
44707 || test ! -s conftest.err'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; } &&
44713 { ac_try='test -s conftest$ac_exeext'
44714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44715 (eval $ac_try) 2>&5
44716 ac_status=$?
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; }; then
44719 eval "$as_ac_var=yes"
44720 else
44721 echo "$as_me: failed program was:" >&5
44722 sed 's/^/| /' conftest.$ac_ext >&5
44724 eval "$as_ac_var=no"
44726 rm -f conftest.err conftest.$ac_objext \
44727 conftest$ac_exeext conftest.$ac_ext
44729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44731 if test `eval echo '${'$as_ac_var'}'` = yes; then
44732 cat >>confdefs.h <<_ACEOF
44733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44734 _ACEOF
44737 done
44747 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44748 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44749 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44750 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44751 echo $ECHO_N "(cached) $ECHO_C" >&6
44752 else
44756 ac_ext=cc
44757 ac_cpp='$CXXCPP $CPPFLAGS'
44758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44762 cat >conftest.$ac_ext <<_ACEOF
44763 /* confdefs.h. */
44764 _ACEOF
44765 cat confdefs.h >>conftest.$ac_ext
44766 cat >>conftest.$ac_ext <<_ACEOF
44767 /* end confdefs.h. */
44768 #include <math.h>
44770 main ()
44772 copysignl(0, 0);
44774 return 0;
44776 _ACEOF
44777 rm -f conftest.$ac_objext
44778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44779 (eval $ac_compile) 2>conftest.er1
44780 ac_status=$?
44781 grep -v '^ *+' conftest.er1 >conftest.err
44782 rm -f conftest.er1
44783 cat conftest.err >&5
44784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44785 (exit $ac_status); } &&
44786 { ac_try='test -z "$ac_cxx_werror_flag"
44787 || test ! -s conftest.err'
44788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44789 (eval $ac_try) 2>&5
44790 ac_status=$?
44791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792 (exit $ac_status); }; } &&
44793 { ac_try='test -s conftest.$ac_objext'
44794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44795 (eval $ac_try) 2>&5
44796 ac_status=$?
44797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44798 (exit $ac_status); }; }; then
44799 glibcxx_cv_func_copysignl_use=yes
44800 else
44801 echo "$as_me: failed program was:" >&5
44802 sed 's/^/| /' conftest.$ac_ext >&5
44804 glibcxx_cv_func_copysignl_use=no
44806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44807 ac_ext=c
44808 ac_cpp='$CPP $CPPFLAGS'
44809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44818 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44820 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44822 for ac_func in copysignl
44824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44825 echo "$as_me:$LINENO: checking for $ac_func" >&5
44826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44827 if eval "test \"\${$as_ac_var+set}\" = set"; then
44828 echo $ECHO_N "(cached) $ECHO_C" >&6
44829 else
44830 if test x$gcc_no_link = xyes; then
44831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44833 { (exit 1); exit 1; }; }
44835 cat >conftest.$ac_ext <<_ACEOF
44836 /* confdefs.h. */
44837 _ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h. */
44841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44843 #define $ac_func innocuous_$ac_func
44845 /* System header to define __stub macros and hopefully few prototypes,
44846 which can conflict with char $ac_func (); below.
44847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44848 <limits.h> exists even on freestanding compilers. */
44850 #ifdef __STDC__
44851 # include <limits.h>
44852 #else
44853 # include <assert.h>
44854 #endif
44856 #undef $ac_func
44858 /* Override any gcc2 internal prototype to avoid an error. */
44859 #ifdef __cplusplus
44860 extern "C"
44862 #endif
44863 /* We use char because int might match the return type of a gcc2
44864 builtin and then its argument prototype would still apply. */
44865 char $ac_func ();
44866 /* The GNU C library defines this for functions which it implements
44867 to always fail with ENOSYS. Some functions are actually named
44868 something starting with __ and the normal name is an alias. */
44869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44870 choke me
44871 #else
44872 char (*f) () = $ac_func;
44873 #endif
44874 #ifdef __cplusplus
44876 #endif
44879 main ()
44881 return f != $ac_func;
44883 return 0;
44885 _ACEOF
44886 rm -f conftest.$ac_objext conftest$ac_exeext
44887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44888 (eval $ac_link) 2>conftest.er1
44889 ac_status=$?
44890 grep -v '^ *+' conftest.er1 >conftest.err
44891 rm -f conftest.er1
44892 cat conftest.err >&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); } &&
44895 { ac_try='test -z "$ac_c_werror_flag"
44896 || test ! -s conftest.err'
44897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44898 (eval $ac_try) 2>&5
44899 ac_status=$?
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); }; } &&
44902 { ac_try='test -s conftest$ac_exeext'
44903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44904 (eval $ac_try) 2>&5
44905 ac_status=$?
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); }; }; then
44908 eval "$as_ac_var=yes"
44909 else
44910 echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.$ac_ext >&5
44913 eval "$as_ac_var=no"
44915 rm -f conftest.err conftest.$ac_objext \
44916 conftest$ac_exeext conftest.$ac_ext
44918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44920 if test `eval echo '${'$as_ac_var'}'` = yes; then
44921 cat >>confdefs.h <<_ACEOF
44922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44923 _ACEOF
44926 done
44928 else
44930 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44931 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44932 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44933 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44934 echo $ECHO_N "(cached) $ECHO_C" >&6
44935 else
44939 ac_ext=cc
44940 ac_cpp='$CXXCPP $CPPFLAGS'
44941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44945 cat >conftest.$ac_ext <<_ACEOF
44946 /* confdefs.h. */
44947 _ACEOF
44948 cat confdefs.h >>conftest.$ac_ext
44949 cat >>conftest.$ac_ext <<_ACEOF
44950 /* end confdefs.h. */
44951 #include <math.h>
44953 main ()
44955 _copysignl(0, 0);
44957 return 0;
44959 _ACEOF
44960 rm -f conftest.$ac_objext
44961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44962 (eval $ac_compile) 2>conftest.er1
44963 ac_status=$?
44964 grep -v '^ *+' conftest.er1 >conftest.err
44965 rm -f conftest.er1
44966 cat conftest.err >&5
44967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968 (exit $ac_status); } &&
44969 { ac_try='test -z "$ac_cxx_werror_flag"
44970 || test ! -s conftest.err'
44971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44972 (eval $ac_try) 2>&5
44973 ac_status=$?
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); }; } &&
44976 { ac_try='test -s conftest.$ac_objext'
44977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44978 (eval $ac_try) 2>&5
44979 ac_status=$?
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); }; }; then
44982 glibcxx_cv_func__copysignl_use=yes
44983 else
44984 echo "$as_me: failed program was:" >&5
44985 sed 's/^/| /' conftest.$ac_ext >&5
44987 glibcxx_cv_func__copysignl_use=no
44989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44990 ac_ext=c
44991 ac_cpp='$CPP $CPPFLAGS'
44992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
45001 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
45003 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
45005 for ac_func in _copysignl
45007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45008 echo "$as_me:$LINENO: checking for $ac_func" >&5
45009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45010 if eval "test \"\${$as_ac_var+set}\" = set"; then
45011 echo $ECHO_N "(cached) $ECHO_C" >&6
45012 else
45013 if test x$gcc_no_link = xyes; then
45014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45016 { (exit 1); exit 1; }; }
45018 cat >conftest.$ac_ext <<_ACEOF
45019 /* confdefs.h. */
45020 _ACEOF
45021 cat confdefs.h >>conftest.$ac_ext
45022 cat >>conftest.$ac_ext <<_ACEOF
45023 /* end confdefs.h. */
45024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45026 #define $ac_func innocuous_$ac_func
45028 /* System header to define __stub macros and hopefully few prototypes,
45029 which can conflict with char $ac_func (); below.
45030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45031 <limits.h> exists even on freestanding compilers. */
45033 #ifdef __STDC__
45034 # include <limits.h>
45035 #else
45036 # include <assert.h>
45037 #endif
45039 #undef $ac_func
45041 /* Override any gcc2 internal prototype to avoid an error. */
45042 #ifdef __cplusplus
45043 extern "C"
45045 #endif
45046 /* We use char because int might match the return type of a gcc2
45047 builtin and then its argument prototype would still apply. */
45048 char $ac_func ();
45049 /* The GNU C library defines this for functions which it implements
45050 to always fail with ENOSYS. Some functions are actually named
45051 something starting with __ and the normal name is an alias. */
45052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45053 choke me
45054 #else
45055 char (*f) () = $ac_func;
45056 #endif
45057 #ifdef __cplusplus
45059 #endif
45062 main ()
45064 return f != $ac_func;
45066 return 0;
45068 _ACEOF
45069 rm -f conftest.$ac_objext conftest$ac_exeext
45070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45071 (eval $ac_link) 2>conftest.er1
45072 ac_status=$?
45073 grep -v '^ *+' conftest.er1 >conftest.err
45074 rm -f conftest.er1
45075 cat conftest.err >&5
45076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45077 (exit $ac_status); } &&
45078 { ac_try='test -z "$ac_c_werror_flag"
45079 || test ! -s conftest.err'
45080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45081 (eval $ac_try) 2>&5
45082 ac_status=$?
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); }; } &&
45085 { ac_try='test -s conftest$ac_exeext'
45086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45087 (eval $ac_try) 2>&5
45088 ac_status=$?
45089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 (exit $ac_status); }; }; then
45091 eval "$as_ac_var=yes"
45092 else
45093 echo "$as_me: failed program was:" >&5
45094 sed 's/^/| /' conftest.$ac_ext >&5
45096 eval "$as_ac_var=no"
45098 rm -f conftest.err conftest.$ac_objext \
45099 conftest$ac_exeext conftest.$ac_ext
45101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45103 if test `eval echo '${'$as_ac_var'}'` = yes; then
45104 cat >>confdefs.h <<_ACEOF
45105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45106 _ACEOF
45109 done
45119 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
45120 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
45121 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45122 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
45123 echo $ECHO_N "(cached) $ECHO_C" >&6
45124 else
45128 ac_ext=cc
45129 ac_cpp='$CXXCPP $CPPFLAGS'
45130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45134 cat >conftest.$ac_ext <<_ACEOF
45135 /* confdefs.h. */
45136 _ACEOF
45137 cat confdefs.h >>conftest.$ac_ext
45138 cat >>conftest.$ac_ext <<_ACEOF
45139 /* end confdefs.h. */
45140 #include <math.h>
45142 main ()
45144 atan2l(0, 0);
45146 return 0;
45148 _ACEOF
45149 rm -f conftest.$ac_objext
45150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45151 (eval $ac_compile) 2>conftest.er1
45152 ac_status=$?
45153 grep -v '^ *+' conftest.er1 >conftest.err
45154 rm -f conftest.er1
45155 cat conftest.err >&5
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); } &&
45158 { ac_try='test -z "$ac_cxx_werror_flag"
45159 || test ! -s conftest.err'
45160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45161 (eval $ac_try) 2>&5
45162 ac_status=$?
45163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45164 (exit $ac_status); }; } &&
45165 { ac_try='test -s conftest.$ac_objext'
45166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45167 (eval $ac_try) 2>&5
45168 ac_status=$?
45169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45170 (exit $ac_status); }; }; then
45171 glibcxx_cv_func_atan2l_use=yes
45172 else
45173 echo "$as_me: failed program was:" >&5
45174 sed 's/^/| /' conftest.$ac_ext >&5
45176 glibcxx_cv_func_atan2l_use=no
45178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45179 ac_ext=c
45180 ac_cpp='$CPP $CPPFLAGS'
45181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
45190 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
45192 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45194 for ac_func in atan2l
45196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45197 echo "$as_me:$LINENO: checking for $ac_func" >&5
45198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45199 if eval "test \"\${$as_ac_var+set}\" = set"; then
45200 echo $ECHO_N "(cached) $ECHO_C" >&6
45201 else
45202 if test x$gcc_no_link = xyes; then
45203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45205 { (exit 1); exit 1; }; }
45207 cat >conftest.$ac_ext <<_ACEOF
45208 /* confdefs.h. */
45209 _ACEOF
45210 cat confdefs.h >>conftest.$ac_ext
45211 cat >>conftest.$ac_ext <<_ACEOF
45212 /* end confdefs.h. */
45213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45215 #define $ac_func innocuous_$ac_func
45217 /* System header to define __stub macros and hopefully few prototypes,
45218 which can conflict with char $ac_func (); below.
45219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45220 <limits.h> exists even on freestanding compilers. */
45222 #ifdef __STDC__
45223 # include <limits.h>
45224 #else
45225 # include <assert.h>
45226 #endif
45228 #undef $ac_func
45230 /* Override any gcc2 internal prototype to avoid an error. */
45231 #ifdef __cplusplus
45232 extern "C"
45234 #endif
45235 /* We use char because int might match the return type of a gcc2
45236 builtin and then its argument prototype would still apply. */
45237 char $ac_func ();
45238 /* The GNU C library defines this for functions which it implements
45239 to always fail with ENOSYS. Some functions are actually named
45240 something starting with __ and the normal name is an alias. */
45241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45242 choke me
45243 #else
45244 char (*f) () = $ac_func;
45245 #endif
45246 #ifdef __cplusplus
45248 #endif
45251 main ()
45253 return f != $ac_func;
45255 return 0;
45257 _ACEOF
45258 rm -f conftest.$ac_objext conftest$ac_exeext
45259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45260 (eval $ac_link) 2>conftest.er1
45261 ac_status=$?
45262 grep -v '^ *+' conftest.er1 >conftest.err
45263 rm -f conftest.er1
45264 cat conftest.err >&5
45265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45266 (exit $ac_status); } &&
45267 { ac_try='test -z "$ac_c_werror_flag"
45268 || test ! -s conftest.err'
45269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45270 (eval $ac_try) 2>&5
45271 ac_status=$?
45272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45273 (exit $ac_status); }; } &&
45274 { ac_try='test -s conftest$ac_exeext'
45275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45276 (eval $ac_try) 2>&5
45277 ac_status=$?
45278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45279 (exit $ac_status); }; }; then
45280 eval "$as_ac_var=yes"
45281 else
45282 echo "$as_me: failed program was:" >&5
45283 sed 's/^/| /' conftest.$ac_ext >&5
45285 eval "$as_ac_var=no"
45287 rm -f conftest.err conftest.$ac_objext \
45288 conftest$ac_exeext conftest.$ac_ext
45290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45292 if test `eval echo '${'$as_ac_var'}'` = yes; then
45293 cat >>confdefs.h <<_ACEOF
45294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45295 _ACEOF
45298 done
45300 else
45302 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45303 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45304 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45305 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45306 echo $ECHO_N "(cached) $ECHO_C" >&6
45307 else
45311 ac_ext=cc
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45317 cat >conftest.$ac_ext <<_ACEOF
45318 /* confdefs.h. */
45319 _ACEOF
45320 cat confdefs.h >>conftest.$ac_ext
45321 cat >>conftest.$ac_ext <<_ACEOF
45322 /* end confdefs.h. */
45323 #include <math.h>
45325 main ()
45327 _atan2l(0, 0);
45329 return 0;
45331 _ACEOF
45332 rm -f conftest.$ac_objext
45333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45334 (eval $ac_compile) 2>conftest.er1
45335 ac_status=$?
45336 grep -v '^ *+' conftest.er1 >conftest.err
45337 rm -f conftest.er1
45338 cat conftest.err >&5
45339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45340 (exit $ac_status); } &&
45341 { ac_try='test -z "$ac_cxx_werror_flag"
45342 || test ! -s conftest.err'
45343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45344 (eval $ac_try) 2>&5
45345 ac_status=$?
45346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45347 (exit $ac_status); }; } &&
45348 { ac_try='test -s conftest.$ac_objext'
45349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45350 (eval $ac_try) 2>&5
45351 ac_status=$?
45352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45353 (exit $ac_status); }; }; then
45354 glibcxx_cv_func__atan2l_use=yes
45355 else
45356 echo "$as_me: failed program was:" >&5
45357 sed 's/^/| /' conftest.$ac_ext >&5
45359 glibcxx_cv_func__atan2l_use=no
45361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45362 ac_ext=c
45363 ac_cpp='$CPP $CPPFLAGS'
45364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45373 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45375 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45377 for ac_func in _atan2l
45379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45380 echo "$as_me:$LINENO: checking for $ac_func" >&5
45381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45382 if eval "test \"\${$as_ac_var+set}\" = set"; then
45383 echo $ECHO_N "(cached) $ECHO_C" >&6
45384 else
45385 if test x$gcc_no_link = xyes; then
45386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45388 { (exit 1); exit 1; }; }
45390 cat >conftest.$ac_ext <<_ACEOF
45391 /* confdefs.h. */
45392 _ACEOF
45393 cat confdefs.h >>conftest.$ac_ext
45394 cat >>conftest.$ac_ext <<_ACEOF
45395 /* end confdefs.h. */
45396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45398 #define $ac_func innocuous_$ac_func
45400 /* System header to define __stub macros and hopefully few prototypes,
45401 which can conflict with char $ac_func (); below.
45402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45403 <limits.h> exists even on freestanding compilers. */
45405 #ifdef __STDC__
45406 # include <limits.h>
45407 #else
45408 # include <assert.h>
45409 #endif
45411 #undef $ac_func
45413 /* Override any gcc2 internal prototype to avoid an error. */
45414 #ifdef __cplusplus
45415 extern "C"
45417 #endif
45418 /* We use char because int might match the return type of a gcc2
45419 builtin and then its argument prototype would still apply. */
45420 char $ac_func ();
45421 /* The GNU C library defines this for functions which it implements
45422 to always fail with ENOSYS. Some functions are actually named
45423 something starting with __ and the normal name is an alias. */
45424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45425 choke me
45426 #else
45427 char (*f) () = $ac_func;
45428 #endif
45429 #ifdef __cplusplus
45431 #endif
45434 main ()
45436 return f != $ac_func;
45438 return 0;
45440 _ACEOF
45441 rm -f conftest.$ac_objext conftest$ac_exeext
45442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45443 (eval $ac_link) 2>conftest.er1
45444 ac_status=$?
45445 grep -v '^ *+' conftest.er1 >conftest.err
45446 rm -f conftest.er1
45447 cat conftest.err >&5
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); } &&
45450 { ac_try='test -z "$ac_c_werror_flag"
45451 || test ! -s conftest.err'
45452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45453 (eval $ac_try) 2>&5
45454 ac_status=$?
45455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45456 (exit $ac_status); }; } &&
45457 { ac_try='test -s conftest$ac_exeext'
45458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45459 (eval $ac_try) 2>&5
45460 ac_status=$?
45461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45462 (exit $ac_status); }; }; then
45463 eval "$as_ac_var=yes"
45464 else
45465 echo "$as_me: failed program was:" >&5
45466 sed 's/^/| /' conftest.$ac_ext >&5
45468 eval "$as_ac_var=no"
45470 rm -f conftest.err conftest.$ac_objext \
45471 conftest$ac_exeext conftest.$ac_ext
45473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45475 if test `eval echo '${'$as_ac_var'}'` = yes; then
45476 cat >>confdefs.h <<_ACEOF
45477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45478 _ACEOF
45481 done
45491 echo "$as_me:$LINENO: checking for expl declaration" >&5
45492 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45493 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45494 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45495 echo $ECHO_N "(cached) $ECHO_C" >&6
45496 else
45500 ac_ext=cc
45501 ac_cpp='$CXXCPP $CPPFLAGS'
45502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45506 cat >conftest.$ac_ext <<_ACEOF
45507 /* confdefs.h. */
45508 _ACEOF
45509 cat confdefs.h >>conftest.$ac_ext
45510 cat >>conftest.$ac_ext <<_ACEOF
45511 /* end confdefs.h. */
45512 #include <math.h>
45513 #ifdef HAVE_IEEEFP_H
45514 #include <ieeefp.h>
45515 #endif
45518 main ()
45520 expl(0);
45522 return 0;
45524 _ACEOF
45525 rm -f conftest.$ac_objext
45526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45527 (eval $ac_compile) 2>conftest.er1
45528 ac_status=$?
45529 grep -v '^ *+' conftest.er1 >conftest.err
45530 rm -f conftest.er1
45531 cat conftest.err >&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); } &&
45534 { ac_try='test -z "$ac_cxx_werror_flag"
45535 || test ! -s conftest.err'
45536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45537 (eval $ac_try) 2>&5
45538 ac_status=$?
45539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45540 (exit $ac_status); }; } &&
45541 { ac_try='test -s conftest.$ac_objext'
45542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45543 (eval $ac_try) 2>&5
45544 ac_status=$?
45545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45546 (exit $ac_status); }; }; then
45547 glibcxx_cv_func_expl_use=yes
45548 else
45549 echo "$as_me: failed program was:" >&5
45550 sed 's/^/| /' conftest.$ac_ext >&5
45552 glibcxx_cv_func_expl_use=no
45554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45555 ac_ext=c
45556 ac_cpp='$CPP $CPPFLAGS'
45557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45566 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45568 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45570 for ac_func in expl
45572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45573 echo "$as_me:$LINENO: checking for $ac_func" >&5
45574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45575 if eval "test \"\${$as_ac_var+set}\" = set"; then
45576 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 else
45578 if test x$gcc_no_link = xyes; then
45579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45581 { (exit 1); exit 1; }; }
45583 cat >conftest.$ac_ext <<_ACEOF
45584 /* confdefs.h. */
45585 _ACEOF
45586 cat confdefs.h >>conftest.$ac_ext
45587 cat >>conftest.$ac_ext <<_ACEOF
45588 /* end confdefs.h. */
45589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45591 #define $ac_func innocuous_$ac_func
45593 /* System header to define __stub macros and hopefully few prototypes,
45594 which can conflict with char $ac_func (); below.
45595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45596 <limits.h> exists even on freestanding compilers. */
45598 #ifdef __STDC__
45599 # include <limits.h>
45600 #else
45601 # include <assert.h>
45602 #endif
45604 #undef $ac_func
45606 /* Override any gcc2 internal prototype to avoid an error. */
45607 #ifdef __cplusplus
45608 extern "C"
45610 #endif
45611 /* We use char because int might match the return type of a gcc2
45612 builtin and then its argument prototype would still apply. */
45613 char $ac_func ();
45614 /* The GNU C library defines this for functions which it implements
45615 to always fail with ENOSYS. Some functions are actually named
45616 something starting with __ and the normal name is an alias. */
45617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45618 choke me
45619 #else
45620 char (*f) () = $ac_func;
45621 #endif
45622 #ifdef __cplusplus
45624 #endif
45627 main ()
45629 return f != $ac_func;
45631 return 0;
45633 _ACEOF
45634 rm -f conftest.$ac_objext conftest$ac_exeext
45635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45636 (eval $ac_link) 2>conftest.er1
45637 ac_status=$?
45638 grep -v '^ *+' conftest.er1 >conftest.err
45639 rm -f conftest.er1
45640 cat conftest.err >&5
45641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642 (exit $ac_status); } &&
45643 { ac_try='test -z "$ac_c_werror_flag"
45644 || test ! -s conftest.err'
45645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45646 (eval $ac_try) 2>&5
45647 ac_status=$?
45648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45649 (exit $ac_status); }; } &&
45650 { ac_try='test -s conftest$ac_exeext'
45651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45652 (eval $ac_try) 2>&5
45653 ac_status=$?
45654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45655 (exit $ac_status); }; }; then
45656 eval "$as_ac_var=yes"
45657 else
45658 echo "$as_me: failed program was:" >&5
45659 sed 's/^/| /' conftest.$ac_ext >&5
45661 eval "$as_ac_var=no"
45663 rm -f conftest.err conftest.$ac_objext \
45664 conftest$ac_exeext conftest.$ac_ext
45666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45668 if test `eval echo '${'$as_ac_var'}'` = yes; then
45669 cat >>confdefs.h <<_ACEOF
45670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45671 _ACEOF
45674 done
45676 else
45678 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45679 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45680 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45681 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45682 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 else
45687 ac_ext=cc
45688 ac_cpp='$CXXCPP $CPPFLAGS'
45689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45693 cat >conftest.$ac_ext <<_ACEOF
45694 /* confdefs.h. */
45695 _ACEOF
45696 cat confdefs.h >>conftest.$ac_ext
45697 cat >>conftest.$ac_ext <<_ACEOF
45698 /* end confdefs.h. */
45699 #include <math.h>
45700 #ifdef HAVE_IEEEFP_H
45701 #include <ieeefp.h>
45702 #endif
45705 main ()
45707 _expl(0);
45709 return 0;
45711 _ACEOF
45712 rm -f conftest.$ac_objext
45713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45714 (eval $ac_compile) 2>conftest.er1
45715 ac_status=$?
45716 grep -v '^ *+' conftest.er1 >conftest.err
45717 rm -f conftest.er1
45718 cat conftest.err >&5
45719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45720 (exit $ac_status); } &&
45721 { ac_try='test -z "$ac_cxx_werror_flag"
45722 || test ! -s conftest.err'
45723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45724 (eval $ac_try) 2>&5
45725 ac_status=$?
45726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45727 (exit $ac_status); }; } &&
45728 { ac_try='test -s conftest.$ac_objext'
45729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45730 (eval $ac_try) 2>&5
45731 ac_status=$?
45732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45733 (exit $ac_status); }; }; then
45734 glibcxx_cv_func__expl_use=yes
45735 else
45736 echo "$as_me: failed program was:" >&5
45737 sed 's/^/| /' conftest.$ac_ext >&5
45739 glibcxx_cv_func__expl_use=no
45741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45742 ac_ext=c
45743 ac_cpp='$CPP $CPPFLAGS'
45744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45753 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45755 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45757 for ac_func in _expl
45759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45760 echo "$as_me:$LINENO: checking for $ac_func" >&5
45761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45762 if eval "test \"\${$as_ac_var+set}\" = set"; then
45763 echo $ECHO_N "(cached) $ECHO_C" >&6
45764 else
45765 if test x$gcc_no_link = xyes; then
45766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45768 { (exit 1); exit 1; }; }
45770 cat >conftest.$ac_ext <<_ACEOF
45771 /* confdefs.h. */
45772 _ACEOF
45773 cat confdefs.h >>conftest.$ac_ext
45774 cat >>conftest.$ac_ext <<_ACEOF
45775 /* end confdefs.h. */
45776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45778 #define $ac_func innocuous_$ac_func
45780 /* System header to define __stub macros and hopefully few prototypes,
45781 which can conflict with char $ac_func (); below.
45782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45783 <limits.h> exists even on freestanding compilers. */
45785 #ifdef __STDC__
45786 # include <limits.h>
45787 #else
45788 # include <assert.h>
45789 #endif
45791 #undef $ac_func
45793 /* Override any gcc2 internal prototype to avoid an error. */
45794 #ifdef __cplusplus
45795 extern "C"
45797 #endif
45798 /* We use char because int might match the return type of a gcc2
45799 builtin and then its argument prototype would still apply. */
45800 char $ac_func ();
45801 /* The GNU C library defines this for functions which it implements
45802 to always fail with ENOSYS. Some functions are actually named
45803 something starting with __ and the normal name is an alias. */
45804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45805 choke me
45806 #else
45807 char (*f) () = $ac_func;
45808 #endif
45809 #ifdef __cplusplus
45811 #endif
45814 main ()
45816 return f != $ac_func;
45818 return 0;
45820 _ACEOF
45821 rm -f conftest.$ac_objext conftest$ac_exeext
45822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45823 (eval $ac_link) 2>conftest.er1
45824 ac_status=$?
45825 grep -v '^ *+' conftest.er1 >conftest.err
45826 rm -f conftest.er1
45827 cat conftest.err >&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); } &&
45830 { ac_try='test -z "$ac_c_werror_flag"
45831 || test ! -s conftest.err'
45832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45833 (eval $ac_try) 2>&5
45834 ac_status=$?
45835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836 (exit $ac_status); }; } &&
45837 { ac_try='test -s conftest$ac_exeext'
45838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45839 (eval $ac_try) 2>&5
45840 ac_status=$?
45841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45842 (exit $ac_status); }; }; then
45843 eval "$as_ac_var=yes"
45844 else
45845 echo "$as_me: failed program was:" >&5
45846 sed 's/^/| /' conftest.$ac_ext >&5
45848 eval "$as_ac_var=no"
45850 rm -f conftest.err conftest.$ac_objext \
45851 conftest$ac_exeext conftest.$ac_ext
45853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45855 if test `eval echo '${'$as_ac_var'}'` = yes; then
45856 cat >>confdefs.h <<_ACEOF
45857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45858 _ACEOF
45861 done
45871 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45872 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45873 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45874 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45875 echo $ECHO_N "(cached) $ECHO_C" >&6
45876 else
45880 ac_ext=cc
45881 ac_cpp='$CXXCPP $CPPFLAGS'
45882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45886 cat >conftest.$ac_ext <<_ACEOF
45887 /* confdefs.h. */
45888 _ACEOF
45889 cat confdefs.h >>conftest.$ac_ext
45890 cat >>conftest.$ac_ext <<_ACEOF
45891 /* end confdefs.h. */
45892 #include <math.h>
45893 #ifdef HAVE_IEEEFP_H
45894 #include <ieeefp.h>
45895 #endif
45898 main ()
45900 fabsl(0);
45902 return 0;
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45907 (eval $ac_compile) 2>conftest.er1
45908 ac_status=$?
45909 grep -v '^ *+' conftest.er1 >conftest.err
45910 rm -f conftest.er1
45911 cat conftest.err >&5
45912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45913 (exit $ac_status); } &&
45914 { ac_try='test -z "$ac_cxx_werror_flag"
45915 || test ! -s conftest.err'
45916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45917 (eval $ac_try) 2>&5
45918 ac_status=$?
45919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45920 (exit $ac_status); }; } &&
45921 { ac_try='test -s conftest.$ac_objext'
45922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45923 (eval $ac_try) 2>&5
45924 ac_status=$?
45925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45926 (exit $ac_status); }; }; then
45927 glibcxx_cv_func_fabsl_use=yes
45928 else
45929 echo "$as_me: failed program was:" >&5
45930 sed 's/^/| /' conftest.$ac_ext >&5
45932 glibcxx_cv_func_fabsl_use=no
45934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45935 ac_ext=c
45936 ac_cpp='$CPP $CPPFLAGS'
45937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45946 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45948 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45950 for ac_func in fabsl
45952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45953 echo "$as_me:$LINENO: checking for $ac_func" >&5
45954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45955 if eval "test \"\${$as_ac_var+set}\" = set"; then
45956 echo $ECHO_N "(cached) $ECHO_C" >&6
45957 else
45958 if test x$gcc_no_link = xyes; then
45959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45961 { (exit 1); exit 1; }; }
45963 cat >conftest.$ac_ext <<_ACEOF
45964 /* confdefs.h. */
45965 _ACEOF
45966 cat confdefs.h >>conftest.$ac_ext
45967 cat >>conftest.$ac_ext <<_ACEOF
45968 /* end confdefs.h. */
45969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45971 #define $ac_func innocuous_$ac_func
45973 /* System header to define __stub macros and hopefully few prototypes,
45974 which can conflict with char $ac_func (); below.
45975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45976 <limits.h> exists even on freestanding compilers. */
45978 #ifdef __STDC__
45979 # include <limits.h>
45980 #else
45981 # include <assert.h>
45982 #endif
45984 #undef $ac_func
45986 /* Override any gcc2 internal prototype to avoid an error. */
45987 #ifdef __cplusplus
45988 extern "C"
45990 #endif
45991 /* We use char because int might match the return type of a gcc2
45992 builtin and then its argument prototype would still apply. */
45993 char $ac_func ();
45994 /* The GNU C library defines this for functions which it implements
45995 to always fail with ENOSYS. Some functions are actually named
45996 something starting with __ and the normal name is an alias. */
45997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45998 choke me
45999 #else
46000 char (*f) () = $ac_func;
46001 #endif
46002 #ifdef __cplusplus
46004 #endif
46007 main ()
46009 return f != $ac_func;
46011 return 0;
46013 _ACEOF
46014 rm -f conftest.$ac_objext conftest$ac_exeext
46015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46016 (eval $ac_link) 2>conftest.er1
46017 ac_status=$?
46018 grep -v '^ *+' conftest.er1 >conftest.err
46019 rm -f conftest.er1
46020 cat conftest.err >&5
46021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46022 (exit $ac_status); } &&
46023 { ac_try='test -z "$ac_c_werror_flag"
46024 || test ! -s conftest.err'
46025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46026 (eval $ac_try) 2>&5
46027 ac_status=$?
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); }; } &&
46030 { ac_try='test -s conftest$ac_exeext'
46031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46032 (eval $ac_try) 2>&5
46033 ac_status=$?
46034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035 (exit $ac_status); }; }; then
46036 eval "$as_ac_var=yes"
46037 else
46038 echo "$as_me: failed program was:" >&5
46039 sed 's/^/| /' conftest.$ac_ext >&5
46041 eval "$as_ac_var=no"
46043 rm -f conftest.err conftest.$ac_objext \
46044 conftest$ac_exeext conftest.$ac_ext
46046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46048 if test `eval echo '${'$as_ac_var'}'` = yes; then
46049 cat >>confdefs.h <<_ACEOF
46050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46051 _ACEOF
46054 done
46056 else
46058 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
46059 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
46060 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46061 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
46062 echo $ECHO_N "(cached) $ECHO_C" >&6
46063 else
46067 ac_ext=cc
46068 ac_cpp='$CXXCPP $CPPFLAGS'
46069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46073 cat >conftest.$ac_ext <<_ACEOF
46074 /* confdefs.h. */
46075 _ACEOF
46076 cat confdefs.h >>conftest.$ac_ext
46077 cat >>conftest.$ac_ext <<_ACEOF
46078 /* end confdefs.h. */
46079 #include <math.h>
46080 #ifdef HAVE_IEEEFP_H
46081 #include <ieeefp.h>
46082 #endif
46085 main ()
46087 _fabsl(0);
46089 return 0;
46091 _ACEOF
46092 rm -f conftest.$ac_objext
46093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46094 (eval $ac_compile) 2>conftest.er1
46095 ac_status=$?
46096 grep -v '^ *+' conftest.er1 >conftest.err
46097 rm -f conftest.er1
46098 cat conftest.err >&5
46099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100 (exit $ac_status); } &&
46101 { ac_try='test -z "$ac_cxx_werror_flag"
46102 || test ! -s conftest.err'
46103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46104 (eval $ac_try) 2>&5
46105 ac_status=$?
46106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46107 (exit $ac_status); }; } &&
46108 { ac_try='test -s conftest.$ac_objext'
46109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46110 (eval $ac_try) 2>&5
46111 ac_status=$?
46112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46113 (exit $ac_status); }; }; then
46114 glibcxx_cv_func__fabsl_use=yes
46115 else
46116 echo "$as_me: failed program was:" >&5
46117 sed 's/^/| /' conftest.$ac_ext >&5
46119 glibcxx_cv_func__fabsl_use=no
46121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46122 ac_ext=c
46123 ac_cpp='$CPP $CPPFLAGS'
46124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
46133 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
46135 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46137 for ac_func in _fabsl
46139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46140 echo "$as_me:$LINENO: checking for $ac_func" >&5
46141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46142 if eval "test \"\${$as_ac_var+set}\" = set"; then
46143 echo $ECHO_N "(cached) $ECHO_C" >&6
46144 else
46145 if test x$gcc_no_link = xyes; then
46146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46148 { (exit 1); exit 1; }; }
46150 cat >conftest.$ac_ext <<_ACEOF
46151 /* confdefs.h. */
46152 _ACEOF
46153 cat confdefs.h >>conftest.$ac_ext
46154 cat >>conftest.$ac_ext <<_ACEOF
46155 /* end confdefs.h. */
46156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46158 #define $ac_func innocuous_$ac_func
46160 /* System header to define __stub macros and hopefully few prototypes,
46161 which can conflict with char $ac_func (); below.
46162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46163 <limits.h> exists even on freestanding compilers. */
46165 #ifdef __STDC__
46166 # include <limits.h>
46167 #else
46168 # include <assert.h>
46169 #endif
46171 #undef $ac_func
46173 /* Override any gcc2 internal prototype to avoid an error. */
46174 #ifdef __cplusplus
46175 extern "C"
46177 #endif
46178 /* We use char because int might match the return type of a gcc2
46179 builtin and then its argument prototype would still apply. */
46180 char $ac_func ();
46181 /* The GNU C library defines this for functions which it implements
46182 to always fail with ENOSYS. Some functions are actually named
46183 something starting with __ and the normal name is an alias. */
46184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46185 choke me
46186 #else
46187 char (*f) () = $ac_func;
46188 #endif
46189 #ifdef __cplusplus
46191 #endif
46194 main ()
46196 return f != $ac_func;
46198 return 0;
46200 _ACEOF
46201 rm -f conftest.$ac_objext conftest$ac_exeext
46202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46203 (eval $ac_link) 2>conftest.er1
46204 ac_status=$?
46205 grep -v '^ *+' conftest.er1 >conftest.err
46206 rm -f conftest.er1
46207 cat conftest.err >&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); } &&
46210 { ac_try='test -z "$ac_c_werror_flag"
46211 || test ! -s conftest.err'
46212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46213 (eval $ac_try) 2>&5
46214 ac_status=$?
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); }; } &&
46217 { ac_try='test -s conftest$ac_exeext'
46218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219 (eval $ac_try) 2>&5
46220 ac_status=$?
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); }; }; then
46223 eval "$as_ac_var=yes"
46224 else
46225 echo "$as_me: failed program was:" >&5
46226 sed 's/^/| /' conftest.$ac_ext >&5
46228 eval "$as_ac_var=no"
46230 rm -f conftest.err conftest.$ac_objext \
46231 conftest$ac_exeext conftest.$ac_ext
46233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46235 if test `eval echo '${'$as_ac_var'}'` = yes; then
46236 cat >>confdefs.h <<_ACEOF
46237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46238 _ACEOF
46241 done
46251 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
46252 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
46253 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46254 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46256 else
46260 ac_ext=cc
46261 ac_cpp='$CXXCPP $CPPFLAGS'
46262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46266 cat >conftest.$ac_ext <<_ACEOF
46267 /* confdefs.h. */
46268 _ACEOF
46269 cat confdefs.h >>conftest.$ac_ext
46270 cat >>conftest.$ac_ext <<_ACEOF
46271 /* end confdefs.h. */
46272 #include <math.h>
46274 main ()
46276 fmodl(0, 0);
46278 return 0;
46280 _ACEOF
46281 rm -f conftest.$ac_objext
46282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46283 (eval $ac_compile) 2>conftest.er1
46284 ac_status=$?
46285 grep -v '^ *+' conftest.er1 >conftest.err
46286 rm -f conftest.er1
46287 cat conftest.err >&5
46288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46289 (exit $ac_status); } &&
46290 { ac_try='test -z "$ac_cxx_werror_flag"
46291 || test ! -s conftest.err'
46292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46293 (eval $ac_try) 2>&5
46294 ac_status=$?
46295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46296 (exit $ac_status); }; } &&
46297 { ac_try='test -s conftest.$ac_objext'
46298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46299 (eval $ac_try) 2>&5
46300 ac_status=$?
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); }; }; then
46303 glibcxx_cv_func_fmodl_use=yes
46304 else
46305 echo "$as_me: failed program was:" >&5
46306 sed 's/^/| /' conftest.$ac_ext >&5
46308 glibcxx_cv_func_fmodl_use=no
46310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46311 ac_ext=c
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46322 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46324 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46326 for ac_func in fmodl
46328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46329 echo "$as_me:$LINENO: checking for $ac_func" >&5
46330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46331 if eval "test \"\${$as_ac_var+set}\" = set"; then
46332 echo $ECHO_N "(cached) $ECHO_C" >&6
46333 else
46334 if test x$gcc_no_link = xyes; then
46335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46337 { (exit 1); exit 1; }; }
46339 cat >conftest.$ac_ext <<_ACEOF
46340 /* confdefs.h. */
46341 _ACEOF
46342 cat confdefs.h >>conftest.$ac_ext
46343 cat >>conftest.$ac_ext <<_ACEOF
46344 /* end confdefs.h. */
46345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46347 #define $ac_func innocuous_$ac_func
46349 /* System header to define __stub macros and hopefully few prototypes,
46350 which can conflict with char $ac_func (); below.
46351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46352 <limits.h> exists even on freestanding compilers. */
46354 #ifdef __STDC__
46355 # include <limits.h>
46356 #else
46357 # include <assert.h>
46358 #endif
46360 #undef $ac_func
46362 /* Override any gcc2 internal prototype to avoid an error. */
46363 #ifdef __cplusplus
46364 extern "C"
46366 #endif
46367 /* We use char because int might match the return type of a gcc2
46368 builtin and then its argument prototype would still apply. */
46369 char $ac_func ();
46370 /* The GNU C library defines this for functions which it implements
46371 to always fail with ENOSYS. Some functions are actually named
46372 something starting with __ and the normal name is an alias. */
46373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46374 choke me
46375 #else
46376 char (*f) () = $ac_func;
46377 #endif
46378 #ifdef __cplusplus
46380 #endif
46383 main ()
46385 return f != $ac_func;
46387 return 0;
46389 _ACEOF
46390 rm -f conftest.$ac_objext conftest$ac_exeext
46391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46392 (eval $ac_link) 2>conftest.er1
46393 ac_status=$?
46394 grep -v '^ *+' conftest.er1 >conftest.err
46395 rm -f conftest.er1
46396 cat conftest.err >&5
46397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46398 (exit $ac_status); } &&
46399 { ac_try='test -z "$ac_c_werror_flag"
46400 || test ! -s conftest.err'
46401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46402 (eval $ac_try) 2>&5
46403 ac_status=$?
46404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46405 (exit $ac_status); }; } &&
46406 { ac_try='test -s conftest$ac_exeext'
46407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46408 (eval $ac_try) 2>&5
46409 ac_status=$?
46410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46411 (exit $ac_status); }; }; then
46412 eval "$as_ac_var=yes"
46413 else
46414 echo "$as_me: failed program was:" >&5
46415 sed 's/^/| /' conftest.$ac_ext >&5
46417 eval "$as_ac_var=no"
46419 rm -f conftest.err conftest.$ac_objext \
46420 conftest$ac_exeext conftest.$ac_ext
46422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46424 if test `eval echo '${'$as_ac_var'}'` = yes; then
46425 cat >>confdefs.h <<_ACEOF
46426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46427 _ACEOF
46430 done
46432 else
46434 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46435 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46436 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46437 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46438 echo $ECHO_N "(cached) $ECHO_C" >&6
46439 else
46443 ac_ext=cc
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455 #include <math.h>
46457 main ()
46459 _fmodl(0, 0);
46461 return 0;
46463 _ACEOF
46464 rm -f conftest.$ac_objext
46465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46466 (eval $ac_compile) 2>conftest.er1
46467 ac_status=$?
46468 grep -v '^ *+' conftest.er1 >conftest.err
46469 rm -f conftest.er1
46470 cat conftest.err >&5
46471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46472 (exit $ac_status); } &&
46473 { ac_try='test -z "$ac_cxx_werror_flag"
46474 || test ! -s conftest.err'
46475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46476 (eval $ac_try) 2>&5
46477 ac_status=$?
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); }; } &&
46480 { ac_try='test -s conftest.$ac_objext'
46481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46482 (eval $ac_try) 2>&5
46483 ac_status=$?
46484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46485 (exit $ac_status); }; }; then
46486 glibcxx_cv_func__fmodl_use=yes
46487 else
46488 echo "$as_me: failed program was:" >&5
46489 sed 's/^/| /' conftest.$ac_ext >&5
46491 glibcxx_cv_func__fmodl_use=no
46493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46494 ac_ext=c
46495 ac_cpp='$CPP $CPPFLAGS'
46496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46505 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46507 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46509 for ac_func in _fmodl
46511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46512 echo "$as_me:$LINENO: checking for $ac_func" >&5
46513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46514 if eval "test \"\${$as_ac_var+set}\" = set"; then
46515 echo $ECHO_N "(cached) $ECHO_C" >&6
46516 else
46517 if test x$gcc_no_link = xyes; then
46518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46520 { (exit 1); exit 1; }; }
46522 cat >conftest.$ac_ext <<_ACEOF
46523 /* confdefs.h. */
46524 _ACEOF
46525 cat confdefs.h >>conftest.$ac_ext
46526 cat >>conftest.$ac_ext <<_ACEOF
46527 /* end confdefs.h. */
46528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46530 #define $ac_func innocuous_$ac_func
46532 /* System header to define __stub macros and hopefully few prototypes,
46533 which can conflict with char $ac_func (); below.
46534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46535 <limits.h> exists even on freestanding compilers. */
46537 #ifdef __STDC__
46538 # include <limits.h>
46539 #else
46540 # include <assert.h>
46541 #endif
46543 #undef $ac_func
46545 /* Override any gcc2 internal prototype to avoid an error. */
46546 #ifdef __cplusplus
46547 extern "C"
46549 #endif
46550 /* We use char because int might match the return type of a gcc2
46551 builtin and then its argument prototype would still apply. */
46552 char $ac_func ();
46553 /* The GNU C library defines this for functions which it implements
46554 to always fail with ENOSYS. Some functions are actually named
46555 something starting with __ and the normal name is an alias. */
46556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46557 choke me
46558 #else
46559 char (*f) () = $ac_func;
46560 #endif
46561 #ifdef __cplusplus
46563 #endif
46566 main ()
46568 return f != $ac_func;
46570 return 0;
46572 _ACEOF
46573 rm -f conftest.$ac_objext conftest$ac_exeext
46574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46575 (eval $ac_link) 2>conftest.er1
46576 ac_status=$?
46577 grep -v '^ *+' conftest.er1 >conftest.err
46578 rm -f conftest.er1
46579 cat conftest.err >&5
46580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46581 (exit $ac_status); } &&
46582 { ac_try='test -z "$ac_c_werror_flag"
46583 || test ! -s conftest.err'
46584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46585 (eval $ac_try) 2>&5
46586 ac_status=$?
46587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46588 (exit $ac_status); }; } &&
46589 { ac_try='test -s conftest$ac_exeext'
46590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46591 (eval $ac_try) 2>&5
46592 ac_status=$?
46593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46594 (exit $ac_status); }; }; then
46595 eval "$as_ac_var=yes"
46596 else
46597 echo "$as_me: failed program was:" >&5
46598 sed 's/^/| /' conftest.$ac_ext >&5
46600 eval "$as_ac_var=no"
46602 rm -f conftest.err conftest.$ac_objext \
46603 conftest$ac_exeext conftest.$ac_ext
46605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46607 if test `eval echo '${'$as_ac_var'}'` = yes; then
46608 cat >>confdefs.h <<_ACEOF
46609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46610 _ACEOF
46613 done
46623 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46624 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46625 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46626 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46627 echo $ECHO_N "(cached) $ECHO_C" >&6
46628 else
46632 ac_ext=cc
46633 ac_cpp='$CXXCPP $CPPFLAGS'
46634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46638 cat >conftest.$ac_ext <<_ACEOF
46639 /* confdefs.h. */
46640 _ACEOF
46641 cat confdefs.h >>conftest.$ac_ext
46642 cat >>conftest.$ac_ext <<_ACEOF
46643 /* end confdefs.h. */
46644 #include <math.h>
46646 main ()
46648 frexpl(0, 0);
46650 return 0;
46652 _ACEOF
46653 rm -f conftest.$ac_objext
46654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46655 (eval $ac_compile) 2>conftest.er1
46656 ac_status=$?
46657 grep -v '^ *+' conftest.er1 >conftest.err
46658 rm -f conftest.er1
46659 cat conftest.err >&5
46660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46661 (exit $ac_status); } &&
46662 { ac_try='test -z "$ac_cxx_werror_flag"
46663 || test ! -s conftest.err'
46664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46665 (eval $ac_try) 2>&5
46666 ac_status=$?
46667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46668 (exit $ac_status); }; } &&
46669 { ac_try='test -s conftest.$ac_objext'
46670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46671 (eval $ac_try) 2>&5
46672 ac_status=$?
46673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46674 (exit $ac_status); }; }; then
46675 glibcxx_cv_func_frexpl_use=yes
46676 else
46677 echo "$as_me: failed program was:" >&5
46678 sed 's/^/| /' conftest.$ac_ext >&5
46680 glibcxx_cv_func_frexpl_use=no
46682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46694 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46696 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46698 for ac_func in frexpl
46700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46701 echo "$as_me:$LINENO: checking for $ac_func" >&5
46702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46703 if eval "test \"\${$as_ac_var+set}\" = set"; then
46704 echo $ECHO_N "(cached) $ECHO_C" >&6
46705 else
46706 if test x$gcc_no_link = xyes; then
46707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46709 { (exit 1); exit 1; }; }
46711 cat >conftest.$ac_ext <<_ACEOF
46712 /* confdefs.h. */
46713 _ACEOF
46714 cat confdefs.h >>conftest.$ac_ext
46715 cat >>conftest.$ac_ext <<_ACEOF
46716 /* end confdefs.h. */
46717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46719 #define $ac_func innocuous_$ac_func
46721 /* System header to define __stub macros and hopefully few prototypes,
46722 which can conflict with char $ac_func (); below.
46723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46724 <limits.h> exists even on freestanding compilers. */
46726 #ifdef __STDC__
46727 # include <limits.h>
46728 #else
46729 # include <assert.h>
46730 #endif
46732 #undef $ac_func
46734 /* Override any gcc2 internal prototype to avoid an error. */
46735 #ifdef __cplusplus
46736 extern "C"
46738 #endif
46739 /* We use char because int might match the return type of a gcc2
46740 builtin and then its argument prototype would still apply. */
46741 char $ac_func ();
46742 /* The GNU C library defines this for functions which it implements
46743 to always fail with ENOSYS. Some functions are actually named
46744 something starting with __ and the normal name is an alias. */
46745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46746 choke me
46747 #else
46748 char (*f) () = $ac_func;
46749 #endif
46750 #ifdef __cplusplus
46752 #endif
46755 main ()
46757 return f != $ac_func;
46759 return 0;
46761 _ACEOF
46762 rm -f conftest.$ac_objext conftest$ac_exeext
46763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46764 (eval $ac_link) 2>conftest.er1
46765 ac_status=$?
46766 grep -v '^ *+' conftest.er1 >conftest.err
46767 rm -f conftest.er1
46768 cat conftest.err >&5
46769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46770 (exit $ac_status); } &&
46771 { ac_try='test -z "$ac_c_werror_flag"
46772 || test ! -s conftest.err'
46773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46774 (eval $ac_try) 2>&5
46775 ac_status=$?
46776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777 (exit $ac_status); }; } &&
46778 { ac_try='test -s conftest$ac_exeext'
46779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46780 (eval $ac_try) 2>&5
46781 ac_status=$?
46782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783 (exit $ac_status); }; }; then
46784 eval "$as_ac_var=yes"
46785 else
46786 echo "$as_me: failed program was:" >&5
46787 sed 's/^/| /' conftest.$ac_ext >&5
46789 eval "$as_ac_var=no"
46791 rm -f conftest.err conftest.$ac_objext \
46792 conftest$ac_exeext conftest.$ac_ext
46794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46796 if test `eval echo '${'$as_ac_var'}'` = yes; then
46797 cat >>confdefs.h <<_ACEOF
46798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46799 _ACEOF
46802 done
46804 else
46806 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46807 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46808 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46809 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46810 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 else
46815 ac_ext=cc
46816 ac_cpp='$CXXCPP $CPPFLAGS'
46817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46821 cat >conftest.$ac_ext <<_ACEOF
46822 /* confdefs.h. */
46823 _ACEOF
46824 cat confdefs.h >>conftest.$ac_ext
46825 cat >>conftest.$ac_ext <<_ACEOF
46826 /* end confdefs.h. */
46827 #include <math.h>
46829 main ()
46831 _frexpl(0, 0);
46833 return 0;
46835 _ACEOF
46836 rm -f conftest.$ac_objext
46837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46838 (eval $ac_compile) 2>conftest.er1
46839 ac_status=$?
46840 grep -v '^ *+' conftest.er1 >conftest.err
46841 rm -f conftest.er1
46842 cat conftest.err >&5
46843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46844 (exit $ac_status); } &&
46845 { ac_try='test -z "$ac_cxx_werror_flag"
46846 || test ! -s conftest.err'
46847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46848 (eval $ac_try) 2>&5
46849 ac_status=$?
46850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46851 (exit $ac_status); }; } &&
46852 { ac_try='test -s conftest.$ac_objext'
46853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46854 (eval $ac_try) 2>&5
46855 ac_status=$?
46856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46857 (exit $ac_status); }; }; then
46858 glibcxx_cv_func__frexpl_use=yes
46859 else
46860 echo "$as_me: failed program was:" >&5
46861 sed 's/^/| /' conftest.$ac_ext >&5
46863 glibcxx_cv_func__frexpl_use=no
46865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46866 ac_ext=c
46867 ac_cpp='$CPP $CPPFLAGS'
46868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46877 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46879 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46881 for ac_func in _frexpl
46883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46884 echo "$as_me:$LINENO: checking for $ac_func" >&5
46885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46886 if eval "test \"\${$as_ac_var+set}\" = set"; then
46887 echo $ECHO_N "(cached) $ECHO_C" >&6
46888 else
46889 if test x$gcc_no_link = xyes; then
46890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46892 { (exit 1); exit 1; }; }
46894 cat >conftest.$ac_ext <<_ACEOF
46895 /* confdefs.h. */
46896 _ACEOF
46897 cat confdefs.h >>conftest.$ac_ext
46898 cat >>conftest.$ac_ext <<_ACEOF
46899 /* end confdefs.h. */
46900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46902 #define $ac_func innocuous_$ac_func
46904 /* System header to define __stub macros and hopefully few prototypes,
46905 which can conflict with char $ac_func (); below.
46906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46907 <limits.h> exists even on freestanding compilers. */
46909 #ifdef __STDC__
46910 # include <limits.h>
46911 #else
46912 # include <assert.h>
46913 #endif
46915 #undef $ac_func
46917 /* Override any gcc2 internal prototype to avoid an error. */
46918 #ifdef __cplusplus
46919 extern "C"
46921 #endif
46922 /* We use char because int might match the return type of a gcc2
46923 builtin and then its argument prototype would still apply. */
46924 char $ac_func ();
46925 /* The GNU C library defines this for functions which it implements
46926 to always fail with ENOSYS. Some functions are actually named
46927 something starting with __ and the normal name is an alias. */
46928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46929 choke me
46930 #else
46931 char (*f) () = $ac_func;
46932 #endif
46933 #ifdef __cplusplus
46935 #endif
46938 main ()
46940 return f != $ac_func;
46942 return 0;
46944 _ACEOF
46945 rm -f conftest.$ac_objext conftest$ac_exeext
46946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46947 (eval $ac_link) 2>conftest.er1
46948 ac_status=$?
46949 grep -v '^ *+' conftest.er1 >conftest.err
46950 rm -f conftest.er1
46951 cat conftest.err >&5
46952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46953 (exit $ac_status); } &&
46954 { ac_try='test -z "$ac_c_werror_flag"
46955 || test ! -s conftest.err'
46956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46957 (eval $ac_try) 2>&5
46958 ac_status=$?
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); }; } &&
46961 { ac_try='test -s conftest$ac_exeext'
46962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46963 (eval $ac_try) 2>&5
46964 ac_status=$?
46965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46966 (exit $ac_status); }; }; then
46967 eval "$as_ac_var=yes"
46968 else
46969 echo "$as_me: failed program was:" >&5
46970 sed 's/^/| /' conftest.$ac_ext >&5
46972 eval "$as_ac_var=no"
46974 rm -f conftest.err conftest.$ac_objext \
46975 conftest$ac_exeext conftest.$ac_ext
46977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46979 if test `eval echo '${'$as_ac_var'}'` = yes; then
46980 cat >>confdefs.h <<_ACEOF
46981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46982 _ACEOF
46985 done
46995 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46996 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46997 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46998 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46999 echo $ECHO_N "(cached) $ECHO_C" >&6
47000 else
47004 ac_ext=cc
47005 ac_cpp='$CXXCPP $CPPFLAGS'
47006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47010 cat >conftest.$ac_ext <<_ACEOF
47011 /* confdefs.h. */
47012 _ACEOF
47013 cat confdefs.h >>conftest.$ac_ext
47014 cat >>conftest.$ac_ext <<_ACEOF
47015 /* end confdefs.h. */
47016 #include <math.h>
47018 main ()
47020 hypotl(0, 0);
47022 return 0;
47024 _ACEOF
47025 rm -f conftest.$ac_objext
47026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47027 (eval $ac_compile) 2>conftest.er1
47028 ac_status=$?
47029 grep -v '^ *+' conftest.er1 >conftest.err
47030 rm -f conftest.er1
47031 cat conftest.err >&5
47032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47033 (exit $ac_status); } &&
47034 { ac_try='test -z "$ac_cxx_werror_flag"
47035 || test ! -s conftest.err'
47036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47037 (eval $ac_try) 2>&5
47038 ac_status=$?
47039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47040 (exit $ac_status); }; } &&
47041 { ac_try='test -s conftest.$ac_objext'
47042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47043 (eval $ac_try) 2>&5
47044 ac_status=$?
47045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47046 (exit $ac_status); }; }; then
47047 glibcxx_cv_func_hypotl_use=yes
47048 else
47049 echo "$as_me: failed program was:" >&5
47050 sed 's/^/| /' conftest.$ac_ext >&5
47052 glibcxx_cv_func_hypotl_use=no
47054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47055 ac_ext=c
47056 ac_cpp='$CPP $CPPFLAGS'
47057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
47066 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
47068 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47070 for ac_func in hypotl
47072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47073 echo "$as_me:$LINENO: checking for $ac_func" >&5
47074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47075 if eval "test \"\${$as_ac_var+set}\" = set"; then
47076 echo $ECHO_N "(cached) $ECHO_C" >&6
47077 else
47078 if test x$gcc_no_link = xyes; then
47079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47081 { (exit 1); exit 1; }; }
47083 cat >conftest.$ac_ext <<_ACEOF
47084 /* confdefs.h. */
47085 _ACEOF
47086 cat confdefs.h >>conftest.$ac_ext
47087 cat >>conftest.$ac_ext <<_ACEOF
47088 /* end confdefs.h. */
47089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47091 #define $ac_func innocuous_$ac_func
47093 /* System header to define __stub macros and hopefully few prototypes,
47094 which can conflict with char $ac_func (); below.
47095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47096 <limits.h> exists even on freestanding compilers. */
47098 #ifdef __STDC__
47099 # include <limits.h>
47100 #else
47101 # include <assert.h>
47102 #endif
47104 #undef $ac_func
47106 /* Override any gcc2 internal prototype to avoid an error. */
47107 #ifdef __cplusplus
47108 extern "C"
47110 #endif
47111 /* We use char because int might match the return type of a gcc2
47112 builtin and then its argument prototype would still apply. */
47113 char $ac_func ();
47114 /* The GNU C library defines this for functions which it implements
47115 to always fail with ENOSYS. Some functions are actually named
47116 something starting with __ and the normal name is an alias. */
47117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47118 choke me
47119 #else
47120 char (*f) () = $ac_func;
47121 #endif
47122 #ifdef __cplusplus
47124 #endif
47127 main ()
47129 return f != $ac_func;
47131 return 0;
47133 _ACEOF
47134 rm -f conftest.$ac_objext conftest$ac_exeext
47135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47136 (eval $ac_link) 2>conftest.er1
47137 ac_status=$?
47138 grep -v '^ *+' conftest.er1 >conftest.err
47139 rm -f conftest.er1
47140 cat conftest.err >&5
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); } &&
47143 { ac_try='test -z "$ac_c_werror_flag"
47144 || test ! -s conftest.err'
47145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47146 (eval $ac_try) 2>&5
47147 ac_status=$?
47148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47149 (exit $ac_status); }; } &&
47150 { ac_try='test -s conftest$ac_exeext'
47151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47152 (eval $ac_try) 2>&5
47153 ac_status=$?
47154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47155 (exit $ac_status); }; }; then
47156 eval "$as_ac_var=yes"
47157 else
47158 echo "$as_me: failed program was:" >&5
47159 sed 's/^/| /' conftest.$ac_ext >&5
47161 eval "$as_ac_var=no"
47163 rm -f conftest.err conftest.$ac_objext \
47164 conftest$ac_exeext conftest.$ac_ext
47166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47168 if test `eval echo '${'$as_ac_var'}'` = yes; then
47169 cat >>confdefs.h <<_ACEOF
47170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47171 _ACEOF
47174 done
47176 else
47178 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
47179 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
47180 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47181 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
47182 echo $ECHO_N "(cached) $ECHO_C" >&6
47183 else
47187 ac_ext=cc
47188 ac_cpp='$CXXCPP $CPPFLAGS'
47189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47193 cat >conftest.$ac_ext <<_ACEOF
47194 /* confdefs.h. */
47195 _ACEOF
47196 cat confdefs.h >>conftest.$ac_ext
47197 cat >>conftest.$ac_ext <<_ACEOF
47198 /* end confdefs.h. */
47199 #include <math.h>
47201 main ()
47203 _hypotl(0, 0);
47205 return 0;
47207 _ACEOF
47208 rm -f conftest.$ac_objext
47209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47210 (eval $ac_compile) 2>conftest.er1
47211 ac_status=$?
47212 grep -v '^ *+' conftest.er1 >conftest.err
47213 rm -f conftest.er1
47214 cat conftest.err >&5
47215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47216 (exit $ac_status); } &&
47217 { ac_try='test -z "$ac_cxx_werror_flag"
47218 || test ! -s conftest.err'
47219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47220 (eval $ac_try) 2>&5
47221 ac_status=$?
47222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47223 (exit $ac_status); }; } &&
47224 { ac_try='test -s conftest.$ac_objext'
47225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47226 (eval $ac_try) 2>&5
47227 ac_status=$?
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); }; }; then
47230 glibcxx_cv_func__hypotl_use=yes
47231 else
47232 echo "$as_me: failed program was:" >&5
47233 sed 's/^/| /' conftest.$ac_ext >&5
47235 glibcxx_cv_func__hypotl_use=no
47237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47238 ac_ext=c
47239 ac_cpp='$CPP $CPPFLAGS'
47240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
47249 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
47251 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47253 for ac_func in _hypotl
47255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47256 echo "$as_me:$LINENO: checking for $ac_func" >&5
47257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47258 if eval "test \"\${$as_ac_var+set}\" = set"; then
47259 echo $ECHO_N "(cached) $ECHO_C" >&6
47260 else
47261 if test x$gcc_no_link = xyes; then
47262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47264 { (exit 1); exit 1; }; }
47266 cat >conftest.$ac_ext <<_ACEOF
47267 /* confdefs.h. */
47268 _ACEOF
47269 cat confdefs.h >>conftest.$ac_ext
47270 cat >>conftest.$ac_ext <<_ACEOF
47271 /* end confdefs.h. */
47272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47274 #define $ac_func innocuous_$ac_func
47276 /* System header to define __stub macros and hopefully few prototypes,
47277 which can conflict with char $ac_func (); below.
47278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47279 <limits.h> exists even on freestanding compilers. */
47281 #ifdef __STDC__
47282 # include <limits.h>
47283 #else
47284 # include <assert.h>
47285 #endif
47287 #undef $ac_func
47289 /* Override any gcc2 internal prototype to avoid an error. */
47290 #ifdef __cplusplus
47291 extern "C"
47293 #endif
47294 /* We use char because int might match the return type of a gcc2
47295 builtin and then its argument prototype would still apply. */
47296 char $ac_func ();
47297 /* The GNU C library defines this for functions which it implements
47298 to always fail with ENOSYS. Some functions are actually named
47299 something starting with __ and the normal name is an alias. */
47300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47301 choke me
47302 #else
47303 char (*f) () = $ac_func;
47304 #endif
47305 #ifdef __cplusplus
47307 #endif
47310 main ()
47312 return f != $ac_func;
47314 return 0;
47316 _ACEOF
47317 rm -f conftest.$ac_objext conftest$ac_exeext
47318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47319 (eval $ac_link) 2>conftest.er1
47320 ac_status=$?
47321 grep -v '^ *+' conftest.er1 >conftest.err
47322 rm -f conftest.er1
47323 cat conftest.err >&5
47324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47325 (exit $ac_status); } &&
47326 { ac_try='test -z "$ac_c_werror_flag"
47327 || test ! -s conftest.err'
47328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47329 (eval $ac_try) 2>&5
47330 ac_status=$?
47331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47332 (exit $ac_status); }; } &&
47333 { ac_try='test -s conftest$ac_exeext'
47334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47335 (eval $ac_try) 2>&5
47336 ac_status=$?
47337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47338 (exit $ac_status); }; }; then
47339 eval "$as_ac_var=yes"
47340 else
47341 echo "$as_me: failed program was:" >&5
47342 sed 's/^/| /' conftest.$ac_ext >&5
47344 eval "$as_ac_var=no"
47346 rm -f conftest.err conftest.$ac_objext \
47347 conftest$ac_exeext conftest.$ac_ext
47349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47351 if test `eval echo '${'$as_ac_var'}'` = yes; then
47352 cat >>confdefs.h <<_ACEOF
47353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47354 _ACEOF
47357 done
47367 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47368 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47369 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47370 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47371 echo $ECHO_N "(cached) $ECHO_C" >&6
47372 else
47376 ac_ext=cc
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47382 cat >conftest.$ac_ext <<_ACEOF
47383 /* confdefs.h. */
47384 _ACEOF
47385 cat confdefs.h >>conftest.$ac_ext
47386 cat >>conftest.$ac_ext <<_ACEOF
47387 /* end confdefs.h. */
47388 #include <math.h>
47390 main ()
47392 ldexpl(0, 0);
47394 return 0;
47396 _ACEOF
47397 rm -f conftest.$ac_objext
47398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47399 (eval $ac_compile) 2>conftest.er1
47400 ac_status=$?
47401 grep -v '^ *+' conftest.er1 >conftest.err
47402 rm -f conftest.er1
47403 cat conftest.err >&5
47404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47405 (exit $ac_status); } &&
47406 { ac_try='test -z "$ac_cxx_werror_flag"
47407 || test ! -s conftest.err'
47408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47409 (eval $ac_try) 2>&5
47410 ac_status=$?
47411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412 (exit $ac_status); }; } &&
47413 { ac_try='test -s conftest.$ac_objext'
47414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47415 (eval $ac_try) 2>&5
47416 ac_status=$?
47417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47418 (exit $ac_status); }; }; then
47419 glibcxx_cv_func_ldexpl_use=yes
47420 else
47421 echo "$as_me: failed program was:" >&5
47422 sed 's/^/| /' conftest.$ac_ext >&5
47424 glibcxx_cv_func_ldexpl_use=no
47426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47427 ac_ext=c
47428 ac_cpp='$CPP $CPPFLAGS'
47429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47438 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47440 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47442 for ac_func in ldexpl
47444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47445 echo "$as_me:$LINENO: checking for $ac_func" >&5
47446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47447 if eval "test \"\${$as_ac_var+set}\" = set"; then
47448 echo $ECHO_N "(cached) $ECHO_C" >&6
47449 else
47450 if test x$gcc_no_link = xyes; then
47451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47453 { (exit 1); exit 1; }; }
47455 cat >conftest.$ac_ext <<_ACEOF
47456 /* confdefs.h. */
47457 _ACEOF
47458 cat confdefs.h >>conftest.$ac_ext
47459 cat >>conftest.$ac_ext <<_ACEOF
47460 /* end confdefs.h. */
47461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47463 #define $ac_func innocuous_$ac_func
47465 /* System header to define __stub macros and hopefully few prototypes,
47466 which can conflict with char $ac_func (); below.
47467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47468 <limits.h> exists even on freestanding compilers. */
47470 #ifdef __STDC__
47471 # include <limits.h>
47472 #else
47473 # include <assert.h>
47474 #endif
47476 #undef $ac_func
47478 /* Override any gcc2 internal prototype to avoid an error. */
47479 #ifdef __cplusplus
47480 extern "C"
47482 #endif
47483 /* We use char because int might match the return type of a gcc2
47484 builtin and then its argument prototype would still apply. */
47485 char $ac_func ();
47486 /* The GNU C library defines this for functions which it implements
47487 to always fail with ENOSYS. Some functions are actually named
47488 something starting with __ and the normal name is an alias. */
47489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47490 choke me
47491 #else
47492 char (*f) () = $ac_func;
47493 #endif
47494 #ifdef __cplusplus
47496 #endif
47499 main ()
47501 return f != $ac_func;
47503 return 0;
47505 _ACEOF
47506 rm -f conftest.$ac_objext conftest$ac_exeext
47507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47508 (eval $ac_link) 2>conftest.er1
47509 ac_status=$?
47510 grep -v '^ *+' conftest.er1 >conftest.err
47511 rm -f conftest.er1
47512 cat conftest.err >&5
47513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47514 (exit $ac_status); } &&
47515 { ac_try='test -z "$ac_c_werror_flag"
47516 || test ! -s conftest.err'
47517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47518 (eval $ac_try) 2>&5
47519 ac_status=$?
47520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47521 (exit $ac_status); }; } &&
47522 { ac_try='test -s conftest$ac_exeext'
47523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47524 (eval $ac_try) 2>&5
47525 ac_status=$?
47526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47527 (exit $ac_status); }; }; then
47528 eval "$as_ac_var=yes"
47529 else
47530 echo "$as_me: failed program was:" >&5
47531 sed 's/^/| /' conftest.$ac_ext >&5
47533 eval "$as_ac_var=no"
47535 rm -f conftest.err conftest.$ac_objext \
47536 conftest$ac_exeext conftest.$ac_ext
47538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47540 if test `eval echo '${'$as_ac_var'}'` = yes; then
47541 cat >>confdefs.h <<_ACEOF
47542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47543 _ACEOF
47546 done
47548 else
47550 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47551 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47552 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47553 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 else
47559 ac_ext=cc
47560 ac_cpp='$CXXCPP $CPPFLAGS'
47561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565 cat >conftest.$ac_ext <<_ACEOF
47566 /* confdefs.h. */
47567 _ACEOF
47568 cat confdefs.h >>conftest.$ac_ext
47569 cat >>conftest.$ac_ext <<_ACEOF
47570 /* end confdefs.h. */
47571 #include <math.h>
47573 main ()
47575 _ldexpl(0, 0);
47577 return 0;
47579 _ACEOF
47580 rm -f conftest.$ac_objext
47581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47582 (eval $ac_compile) 2>conftest.er1
47583 ac_status=$?
47584 grep -v '^ *+' conftest.er1 >conftest.err
47585 rm -f conftest.er1
47586 cat conftest.err >&5
47587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47588 (exit $ac_status); } &&
47589 { ac_try='test -z "$ac_cxx_werror_flag"
47590 || test ! -s conftest.err'
47591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47592 (eval $ac_try) 2>&5
47593 ac_status=$?
47594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47595 (exit $ac_status); }; } &&
47596 { ac_try='test -s conftest.$ac_objext'
47597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47598 (eval $ac_try) 2>&5
47599 ac_status=$?
47600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47601 (exit $ac_status); }; }; then
47602 glibcxx_cv_func__ldexpl_use=yes
47603 else
47604 echo "$as_me: failed program was:" >&5
47605 sed 's/^/| /' conftest.$ac_ext >&5
47607 glibcxx_cv_func__ldexpl_use=no
47609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47610 ac_ext=c
47611 ac_cpp='$CPP $CPPFLAGS'
47612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47621 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47623 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47625 for ac_func in _ldexpl
47627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47628 echo "$as_me:$LINENO: checking for $ac_func" >&5
47629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47630 if eval "test \"\${$as_ac_var+set}\" = set"; then
47631 echo $ECHO_N "(cached) $ECHO_C" >&6
47632 else
47633 if test x$gcc_no_link = xyes; then
47634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47636 { (exit 1); exit 1; }; }
47638 cat >conftest.$ac_ext <<_ACEOF
47639 /* confdefs.h. */
47640 _ACEOF
47641 cat confdefs.h >>conftest.$ac_ext
47642 cat >>conftest.$ac_ext <<_ACEOF
47643 /* end confdefs.h. */
47644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47646 #define $ac_func innocuous_$ac_func
47648 /* System header to define __stub macros and hopefully few prototypes,
47649 which can conflict with char $ac_func (); below.
47650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47651 <limits.h> exists even on freestanding compilers. */
47653 #ifdef __STDC__
47654 # include <limits.h>
47655 #else
47656 # include <assert.h>
47657 #endif
47659 #undef $ac_func
47661 /* Override any gcc2 internal prototype to avoid an error. */
47662 #ifdef __cplusplus
47663 extern "C"
47665 #endif
47666 /* We use char because int might match the return type of a gcc2
47667 builtin and then its argument prototype would still apply. */
47668 char $ac_func ();
47669 /* The GNU C library defines this for functions which it implements
47670 to always fail with ENOSYS. Some functions are actually named
47671 something starting with __ and the normal name is an alias. */
47672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47673 choke me
47674 #else
47675 char (*f) () = $ac_func;
47676 #endif
47677 #ifdef __cplusplus
47679 #endif
47682 main ()
47684 return f != $ac_func;
47686 return 0;
47688 _ACEOF
47689 rm -f conftest.$ac_objext conftest$ac_exeext
47690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47691 (eval $ac_link) 2>conftest.er1
47692 ac_status=$?
47693 grep -v '^ *+' conftest.er1 >conftest.err
47694 rm -f conftest.er1
47695 cat conftest.err >&5
47696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697 (exit $ac_status); } &&
47698 { ac_try='test -z "$ac_c_werror_flag"
47699 || test ! -s conftest.err'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47702 ac_status=$?
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; } &&
47705 { ac_try='test -s conftest$ac_exeext'
47706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47707 (eval $ac_try) 2>&5
47708 ac_status=$?
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; }; then
47711 eval "$as_ac_var=yes"
47712 else
47713 echo "$as_me: failed program was:" >&5
47714 sed 's/^/| /' conftest.$ac_ext >&5
47716 eval "$as_ac_var=no"
47718 rm -f conftest.err conftest.$ac_objext \
47719 conftest$ac_exeext conftest.$ac_ext
47721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47723 if test `eval echo '${'$as_ac_var'}'` = yes; then
47724 cat >>confdefs.h <<_ACEOF
47725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47726 _ACEOF
47729 done
47739 echo "$as_me:$LINENO: checking for logl declaration" >&5
47740 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47741 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47742 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47743 echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47748 ac_ext=cc
47749 ac_cpp='$CXXCPP $CPPFLAGS'
47750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47754 cat >conftest.$ac_ext <<_ACEOF
47755 /* confdefs.h. */
47756 _ACEOF
47757 cat confdefs.h >>conftest.$ac_ext
47758 cat >>conftest.$ac_ext <<_ACEOF
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 #ifdef HAVE_IEEEFP_H
47762 #include <ieeefp.h>
47763 #endif
47766 main ()
47768 logl(0);
47770 return 0;
47772 _ACEOF
47773 rm -f conftest.$ac_objext
47774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47775 (eval $ac_compile) 2>conftest.er1
47776 ac_status=$?
47777 grep -v '^ *+' conftest.er1 >conftest.err
47778 rm -f conftest.er1
47779 cat conftest.err >&5
47780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47781 (exit $ac_status); } &&
47782 { ac_try='test -z "$ac_cxx_werror_flag"
47783 || test ! -s conftest.err'
47784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47785 (eval $ac_try) 2>&5
47786 ac_status=$?
47787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47788 (exit $ac_status); }; } &&
47789 { ac_try='test -s conftest.$ac_objext'
47790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47791 (eval $ac_try) 2>&5
47792 ac_status=$?
47793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47794 (exit $ac_status); }; }; then
47795 glibcxx_cv_func_logl_use=yes
47796 else
47797 echo "$as_me: failed program was:" >&5
47798 sed 's/^/| /' conftest.$ac_ext >&5
47800 glibcxx_cv_func_logl_use=no
47802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47803 ac_ext=c
47804 ac_cpp='$CPP $CPPFLAGS'
47805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47814 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47816 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47818 for ac_func in logl
47820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47821 echo "$as_me:$LINENO: checking for $ac_func" >&5
47822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47823 if eval "test \"\${$as_ac_var+set}\" = set"; then
47824 echo $ECHO_N "(cached) $ECHO_C" >&6
47825 else
47826 if test x$gcc_no_link = xyes; then
47827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47829 { (exit 1); exit 1; }; }
47831 cat >conftest.$ac_ext <<_ACEOF
47832 /* confdefs.h. */
47833 _ACEOF
47834 cat confdefs.h >>conftest.$ac_ext
47835 cat >>conftest.$ac_ext <<_ACEOF
47836 /* end confdefs.h. */
47837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47839 #define $ac_func innocuous_$ac_func
47841 /* System header to define __stub macros and hopefully few prototypes,
47842 which can conflict with char $ac_func (); below.
47843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47844 <limits.h> exists even on freestanding compilers. */
47846 #ifdef __STDC__
47847 # include <limits.h>
47848 #else
47849 # include <assert.h>
47850 #endif
47852 #undef $ac_func
47854 /* Override any gcc2 internal prototype to avoid an error. */
47855 #ifdef __cplusplus
47856 extern "C"
47858 #endif
47859 /* We use char because int might match the return type of a gcc2
47860 builtin and then its argument prototype would still apply. */
47861 char $ac_func ();
47862 /* The GNU C library defines this for functions which it implements
47863 to always fail with ENOSYS. Some functions are actually named
47864 something starting with __ and the normal name is an alias. */
47865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47866 choke me
47867 #else
47868 char (*f) () = $ac_func;
47869 #endif
47870 #ifdef __cplusplus
47872 #endif
47875 main ()
47877 return f != $ac_func;
47879 return 0;
47881 _ACEOF
47882 rm -f conftest.$ac_objext conftest$ac_exeext
47883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47884 (eval $ac_link) 2>conftest.er1
47885 ac_status=$?
47886 grep -v '^ *+' conftest.er1 >conftest.err
47887 rm -f conftest.er1
47888 cat conftest.err >&5
47889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47890 (exit $ac_status); } &&
47891 { ac_try='test -z "$ac_c_werror_flag"
47892 || test ! -s conftest.err'
47893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47894 (eval $ac_try) 2>&5
47895 ac_status=$?
47896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47897 (exit $ac_status); }; } &&
47898 { ac_try='test -s conftest$ac_exeext'
47899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47900 (eval $ac_try) 2>&5
47901 ac_status=$?
47902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47903 (exit $ac_status); }; }; then
47904 eval "$as_ac_var=yes"
47905 else
47906 echo "$as_me: failed program was:" >&5
47907 sed 's/^/| /' conftest.$ac_ext >&5
47909 eval "$as_ac_var=no"
47911 rm -f conftest.err conftest.$ac_objext \
47912 conftest$ac_exeext conftest.$ac_ext
47914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47916 if test `eval echo '${'$as_ac_var'}'` = yes; then
47917 cat >>confdefs.h <<_ACEOF
47918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47919 _ACEOF
47922 done
47924 else
47926 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47927 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47928 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47929 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47930 echo $ECHO_N "(cached) $ECHO_C" >&6
47931 else
47935 ac_ext=cc
47936 ac_cpp='$CXXCPP $CPPFLAGS'
47937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47941 cat >conftest.$ac_ext <<_ACEOF
47942 /* confdefs.h. */
47943 _ACEOF
47944 cat confdefs.h >>conftest.$ac_ext
47945 cat >>conftest.$ac_ext <<_ACEOF
47946 /* end confdefs.h. */
47947 #include <math.h>
47948 #ifdef HAVE_IEEEFP_H
47949 #include <ieeefp.h>
47950 #endif
47953 main ()
47955 _logl(0);
47957 return 0;
47959 _ACEOF
47960 rm -f conftest.$ac_objext
47961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47962 (eval $ac_compile) 2>conftest.er1
47963 ac_status=$?
47964 grep -v '^ *+' conftest.er1 >conftest.err
47965 rm -f conftest.er1
47966 cat conftest.err >&5
47967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47968 (exit $ac_status); } &&
47969 { ac_try='test -z "$ac_cxx_werror_flag"
47970 || test ! -s conftest.err'
47971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47972 (eval $ac_try) 2>&5
47973 ac_status=$?
47974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47975 (exit $ac_status); }; } &&
47976 { ac_try='test -s conftest.$ac_objext'
47977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47978 (eval $ac_try) 2>&5
47979 ac_status=$?
47980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47981 (exit $ac_status); }; }; then
47982 glibcxx_cv_func__logl_use=yes
47983 else
47984 echo "$as_me: failed program was:" >&5
47985 sed 's/^/| /' conftest.$ac_ext >&5
47987 glibcxx_cv_func__logl_use=no
47989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47990 ac_ext=c
47991 ac_cpp='$CPP $CPPFLAGS'
47992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
48001 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
48003 if test x$glibcxx_cv_func__logl_use = x"yes"; then
48005 for ac_func in _logl
48007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48008 echo "$as_me:$LINENO: checking for $ac_func" >&5
48009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48010 if eval "test \"\${$as_ac_var+set}\" = set"; then
48011 echo $ECHO_N "(cached) $ECHO_C" >&6
48012 else
48013 if test x$gcc_no_link = xyes; then
48014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48016 { (exit 1); exit 1; }; }
48018 cat >conftest.$ac_ext <<_ACEOF
48019 /* confdefs.h. */
48020 _ACEOF
48021 cat confdefs.h >>conftest.$ac_ext
48022 cat >>conftest.$ac_ext <<_ACEOF
48023 /* end confdefs.h. */
48024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48026 #define $ac_func innocuous_$ac_func
48028 /* System header to define __stub macros and hopefully few prototypes,
48029 which can conflict with char $ac_func (); below.
48030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48031 <limits.h> exists even on freestanding compilers. */
48033 #ifdef __STDC__
48034 # include <limits.h>
48035 #else
48036 # include <assert.h>
48037 #endif
48039 #undef $ac_func
48041 /* Override any gcc2 internal prototype to avoid an error. */
48042 #ifdef __cplusplus
48043 extern "C"
48045 #endif
48046 /* We use char because int might match the return type of a gcc2
48047 builtin and then its argument prototype would still apply. */
48048 char $ac_func ();
48049 /* The GNU C library defines this for functions which it implements
48050 to always fail with ENOSYS. Some functions are actually named
48051 something starting with __ and the normal name is an alias. */
48052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48053 choke me
48054 #else
48055 char (*f) () = $ac_func;
48056 #endif
48057 #ifdef __cplusplus
48059 #endif
48062 main ()
48064 return f != $ac_func;
48066 return 0;
48068 _ACEOF
48069 rm -f conftest.$ac_objext conftest$ac_exeext
48070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48071 (eval $ac_link) 2>conftest.er1
48072 ac_status=$?
48073 grep -v '^ *+' conftest.er1 >conftest.err
48074 rm -f conftest.er1
48075 cat conftest.err >&5
48076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48077 (exit $ac_status); } &&
48078 { ac_try='test -z "$ac_c_werror_flag"
48079 || test ! -s conftest.err'
48080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48081 (eval $ac_try) 2>&5
48082 ac_status=$?
48083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48084 (exit $ac_status); }; } &&
48085 { ac_try='test -s conftest$ac_exeext'
48086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48087 (eval $ac_try) 2>&5
48088 ac_status=$?
48089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48090 (exit $ac_status); }; }; then
48091 eval "$as_ac_var=yes"
48092 else
48093 echo "$as_me: failed program was:" >&5
48094 sed 's/^/| /' conftest.$ac_ext >&5
48096 eval "$as_ac_var=no"
48098 rm -f conftest.err conftest.$ac_objext \
48099 conftest$ac_exeext conftest.$ac_ext
48101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48103 if test `eval echo '${'$as_ac_var'}'` = yes; then
48104 cat >>confdefs.h <<_ACEOF
48105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48106 _ACEOF
48109 done
48119 echo "$as_me:$LINENO: checking for log10l declaration" >&5
48120 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
48121 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48122 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
48123 echo $ECHO_N "(cached) $ECHO_C" >&6
48124 else
48128 ac_ext=cc
48129 ac_cpp='$CXXCPP $CPPFLAGS'
48130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48134 cat >conftest.$ac_ext <<_ACEOF
48135 /* confdefs.h. */
48136 _ACEOF
48137 cat confdefs.h >>conftest.$ac_ext
48138 cat >>conftest.$ac_ext <<_ACEOF
48139 /* end confdefs.h. */
48140 #include <math.h>
48141 #ifdef HAVE_IEEEFP_H
48142 #include <ieeefp.h>
48143 #endif
48146 main ()
48148 log10l(0);
48150 return 0;
48152 _ACEOF
48153 rm -f conftest.$ac_objext
48154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48155 (eval $ac_compile) 2>conftest.er1
48156 ac_status=$?
48157 grep -v '^ *+' conftest.er1 >conftest.err
48158 rm -f conftest.er1
48159 cat conftest.err >&5
48160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161 (exit $ac_status); } &&
48162 { ac_try='test -z "$ac_cxx_werror_flag"
48163 || test ! -s conftest.err'
48164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48165 (eval $ac_try) 2>&5
48166 ac_status=$?
48167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48168 (exit $ac_status); }; } &&
48169 { ac_try='test -s conftest.$ac_objext'
48170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48171 (eval $ac_try) 2>&5
48172 ac_status=$?
48173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48174 (exit $ac_status); }; }; then
48175 glibcxx_cv_func_log10l_use=yes
48176 else
48177 echo "$as_me: failed program was:" >&5
48178 sed 's/^/| /' conftest.$ac_ext >&5
48180 glibcxx_cv_func_log10l_use=no
48182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48183 ac_ext=c
48184 ac_cpp='$CPP $CPPFLAGS'
48185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
48194 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
48196 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48198 for ac_func in log10l
48200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48201 echo "$as_me:$LINENO: checking for $ac_func" >&5
48202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48203 if eval "test \"\${$as_ac_var+set}\" = set"; then
48204 echo $ECHO_N "(cached) $ECHO_C" >&6
48205 else
48206 if test x$gcc_no_link = xyes; then
48207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48209 { (exit 1); exit 1; }; }
48211 cat >conftest.$ac_ext <<_ACEOF
48212 /* confdefs.h. */
48213 _ACEOF
48214 cat confdefs.h >>conftest.$ac_ext
48215 cat >>conftest.$ac_ext <<_ACEOF
48216 /* end confdefs.h. */
48217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48219 #define $ac_func innocuous_$ac_func
48221 /* System header to define __stub macros and hopefully few prototypes,
48222 which can conflict with char $ac_func (); below.
48223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48224 <limits.h> exists even on freestanding compilers. */
48226 #ifdef __STDC__
48227 # include <limits.h>
48228 #else
48229 # include <assert.h>
48230 #endif
48232 #undef $ac_func
48234 /* Override any gcc2 internal prototype to avoid an error. */
48235 #ifdef __cplusplus
48236 extern "C"
48238 #endif
48239 /* We use char because int might match the return type of a gcc2
48240 builtin and then its argument prototype would still apply. */
48241 char $ac_func ();
48242 /* The GNU C library defines this for functions which it implements
48243 to always fail with ENOSYS. Some functions are actually named
48244 something starting with __ and the normal name is an alias. */
48245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48246 choke me
48247 #else
48248 char (*f) () = $ac_func;
48249 #endif
48250 #ifdef __cplusplus
48252 #endif
48255 main ()
48257 return f != $ac_func;
48259 return 0;
48261 _ACEOF
48262 rm -f conftest.$ac_objext conftest$ac_exeext
48263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48264 (eval $ac_link) 2>conftest.er1
48265 ac_status=$?
48266 grep -v '^ *+' conftest.er1 >conftest.err
48267 rm -f conftest.er1
48268 cat conftest.err >&5
48269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270 (exit $ac_status); } &&
48271 { ac_try='test -z "$ac_c_werror_flag"
48272 || test ! -s conftest.err'
48273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48274 (eval $ac_try) 2>&5
48275 ac_status=$?
48276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48277 (exit $ac_status); }; } &&
48278 { ac_try='test -s conftest$ac_exeext'
48279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48280 (eval $ac_try) 2>&5
48281 ac_status=$?
48282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48283 (exit $ac_status); }; }; then
48284 eval "$as_ac_var=yes"
48285 else
48286 echo "$as_me: failed program was:" >&5
48287 sed 's/^/| /' conftest.$ac_ext >&5
48289 eval "$as_ac_var=no"
48291 rm -f conftest.err conftest.$ac_objext \
48292 conftest$ac_exeext conftest.$ac_ext
48294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48296 if test `eval echo '${'$as_ac_var'}'` = yes; then
48297 cat >>confdefs.h <<_ACEOF
48298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48299 _ACEOF
48302 done
48304 else
48306 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48307 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48308 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48309 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48310 echo $ECHO_N "(cached) $ECHO_C" >&6
48311 else
48315 ac_ext=cc
48316 ac_cpp='$CXXCPP $CPPFLAGS'
48317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48321 cat >conftest.$ac_ext <<_ACEOF
48322 /* confdefs.h. */
48323 _ACEOF
48324 cat confdefs.h >>conftest.$ac_ext
48325 cat >>conftest.$ac_ext <<_ACEOF
48326 /* end confdefs.h. */
48327 #include <math.h>
48328 #ifdef HAVE_IEEEFP_H
48329 #include <ieeefp.h>
48330 #endif
48333 main ()
48335 _log10l(0);
48337 return 0;
48339 _ACEOF
48340 rm -f conftest.$ac_objext
48341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48342 (eval $ac_compile) 2>conftest.er1
48343 ac_status=$?
48344 grep -v '^ *+' conftest.er1 >conftest.err
48345 rm -f conftest.er1
48346 cat conftest.err >&5
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); } &&
48349 { ac_try='test -z "$ac_cxx_werror_flag"
48350 || test ! -s conftest.err'
48351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48352 (eval $ac_try) 2>&5
48353 ac_status=$?
48354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48355 (exit $ac_status); }; } &&
48356 { ac_try='test -s conftest.$ac_objext'
48357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48358 (eval $ac_try) 2>&5
48359 ac_status=$?
48360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48361 (exit $ac_status); }; }; then
48362 glibcxx_cv_func__log10l_use=yes
48363 else
48364 echo "$as_me: failed program was:" >&5
48365 sed 's/^/| /' conftest.$ac_ext >&5
48367 glibcxx_cv_func__log10l_use=no
48369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48370 ac_ext=c
48371 ac_cpp='$CPP $CPPFLAGS'
48372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48381 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48383 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48385 for ac_func in _log10l
48387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48388 echo "$as_me:$LINENO: checking for $ac_func" >&5
48389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48390 if eval "test \"\${$as_ac_var+set}\" = set"; then
48391 echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48393 if test x$gcc_no_link = xyes; then
48394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48396 { (exit 1); exit 1; }; }
48398 cat >conftest.$ac_ext <<_ACEOF
48399 /* confdefs.h. */
48400 _ACEOF
48401 cat confdefs.h >>conftest.$ac_ext
48402 cat >>conftest.$ac_ext <<_ACEOF
48403 /* end confdefs.h. */
48404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48406 #define $ac_func innocuous_$ac_func
48408 /* System header to define __stub macros and hopefully few prototypes,
48409 which can conflict with char $ac_func (); below.
48410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48411 <limits.h> exists even on freestanding compilers. */
48413 #ifdef __STDC__
48414 # include <limits.h>
48415 #else
48416 # include <assert.h>
48417 #endif
48419 #undef $ac_func
48421 /* Override any gcc2 internal prototype to avoid an error. */
48422 #ifdef __cplusplus
48423 extern "C"
48425 #endif
48426 /* We use char because int might match the return type of a gcc2
48427 builtin and then its argument prototype would still apply. */
48428 char $ac_func ();
48429 /* The GNU C library defines this for functions which it implements
48430 to always fail with ENOSYS. Some functions are actually named
48431 something starting with __ and the normal name is an alias. */
48432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48433 choke me
48434 #else
48435 char (*f) () = $ac_func;
48436 #endif
48437 #ifdef __cplusplus
48439 #endif
48442 main ()
48444 return f != $ac_func;
48446 return 0;
48448 _ACEOF
48449 rm -f conftest.$ac_objext conftest$ac_exeext
48450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48451 (eval $ac_link) 2>conftest.er1
48452 ac_status=$?
48453 grep -v '^ *+' conftest.er1 >conftest.err
48454 rm -f conftest.er1
48455 cat conftest.err >&5
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); } &&
48458 { ac_try='test -z "$ac_c_werror_flag"
48459 || test ! -s conftest.err'
48460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48461 (eval $ac_try) 2>&5
48462 ac_status=$?
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); }; } &&
48465 { ac_try='test -s conftest$ac_exeext'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; }; then
48471 eval "$as_ac_var=yes"
48472 else
48473 echo "$as_me: failed program was:" >&5
48474 sed 's/^/| /' conftest.$ac_ext >&5
48476 eval "$as_ac_var=no"
48478 rm -f conftest.err conftest.$ac_objext \
48479 conftest$ac_exeext conftest.$ac_ext
48481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48483 if test `eval echo '${'$as_ac_var'}'` = yes; then
48484 cat >>confdefs.h <<_ACEOF
48485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48486 _ACEOF
48489 done
48499 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48500 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48501 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48502 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48503 echo $ECHO_N "(cached) $ECHO_C" >&6
48504 else
48508 ac_ext=cc
48509 ac_cpp='$CXXCPP $CPPFLAGS'
48510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48514 cat >conftest.$ac_ext <<_ACEOF
48515 /* confdefs.h. */
48516 _ACEOF
48517 cat confdefs.h >>conftest.$ac_ext
48518 cat >>conftest.$ac_ext <<_ACEOF
48519 /* end confdefs.h. */
48520 #include <math.h>
48522 main ()
48524 modfl(0, 0);
48526 return 0;
48528 _ACEOF
48529 rm -f conftest.$ac_objext
48530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48531 (eval $ac_compile) 2>conftest.er1
48532 ac_status=$?
48533 grep -v '^ *+' conftest.er1 >conftest.err
48534 rm -f conftest.er1
48535 cat conftest.err >&5
48536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48537 (exit $ac_status); } &&
48538 { ac_try='test -z "$ac_cxx_werror_flag"
48539 || test ! -s conftest.err'
48540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48541 (eval $ac_try) 2>&5
48542 ac_status=$?
48543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48544 (exit $ac_status); }; } &&
48545 { ac_try='test -s conftest.$ac_objext'
48546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48547 (eval $ac_try) 2>&5
48548 ac_status=$?
48549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48550 (exit $ac_status); }; }; then
48551 glibcxx_cv_func_modfl_use=yes
48552 else
48553 echo "$as_me: failed program was:" >&5
48554 sed 's/^/| /' conftest.$ac_ext >&5
48556 glibcxx_cv_func_modfl_use=no
48558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48559 ac_ext=c
48560 ac_cpp='$CPP $CPPFLAGS'
48561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48570 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48572 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48574 for ac_func in modfl
48576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48577 echo "$as_me:$LINENO: checking for $ac_func" >&5
48578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48579 if eval "test \"\${$as_ac_var+set}\" = set"; then
48580 echo $ECHO_N "(cached) $ECHO_C" >&6
48581 else
48582 if test x$gcc_no_link = xyes; then
48583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48585 { (exit 1); exit 1; }; }
48587 cat >conftest.$ac_ext <<_ACEOF
48588 /* confdefs.h. */
48589 _ACEOF
48590 cat confdefs.h >>conftest.$ac_ext
48591 cat >>conftest.$ac_ext <<_ACEOF
48592 /* end confdefs.h. */
48593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48595 #define $ac_func innocuous_$ac_func
48597 /* System header to define __stub macros and hopefully few prototypes,
48598 which can conflict with char $ac_func (); below.
48599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48600 <limits.h> exists even on freestanding compilers. */
48602 #ifdef __STDC__
48603 # include <limits.h>
48604 #else
48605 # include <assert.h>
48606 #endif
48608 #undef $ac_func
48610 /* Override any gcc2 internal prototype to avoid an error. */
48611 #ifdef __cplusplus
48612 extern "C"
48614 #endif
48615 /* We use char because int might match the return type of a gcc2
48616 builtin and then its argument prototype would still apply. */
48617 char $ac_func ();
48618 /* The GNU C library defines this for functions which it implements
48619 to always fail with ENOSYS. Some functions are actually named
48620 something starting with __ and the normal name is an alias. */
48621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48622 choke me
48623 #else
48624 char (*f) () = $ac_func;
48625 #endif
48626 #ifdef __cplusplus
48628 #endif
48631 main ()
48633 return f != $ac_func;
48635 return 0;
48637 _ACEOF
48638 rm -f conftest.$ac_objext conftest$ac_exeext
48639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48640 (eval $ac_link) 2>conftest.er1
48641 ac_status=$?
48642 grep -v '^ *+' conftest.er1 >conftest.err
48643 rm -f conftest.er1
48644 cat conftest.err >&5
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); } &&
48647 { ac_try='test -z "$ac_c_werror_flag"
48648 || test ! -s conftest.err'
48649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48650 (eval $ac_try) 2>&5
48651 ac_status=$?
48652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48653 (exit $ac_status); }; } &&
48654 { ac_try='test -s conftest$ac_exeext'
48655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48656 (eval $ac_try) 2>&5
48657 ac_status=$?
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); }; }; then
48660 eval "$as_ac_var=yes"
48661 else
48662 echo "$as_me: failed program was:" >&5
48663 sed 's/^/| /' conftest.$ac_ext >&5
48665 eval "$as_ac_var=no"
48667 rm -f conftest.err conftest.$ac_objext \
48668 conftest$ac_exeext conftest.$ac_ext
48670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48672 if test `eval echo '${'$as_ac_var'}'` = yes; then
48673 cat >>confdefs.h <<_ACEOF
48674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48675 _ACEOF
48678 done
48680 else
48682 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48683 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48684 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48685 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48686 echo $ECHO_N "(cached) $ECHO_C" >&6
48687 else
48691 ac_ext=cc
48692 ac_cpp='$CXXCPP $CPPFLAGS'
48693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48697 cat >conftest.$ac_ext <<_ACEOF
48698 /* confdefs.h. */
48699 _ACEOF
48700 cat confdefs.h >>conftest.$ac_ext
48701 cat >>conftest.$ac_ext <<_ACEOF
48702 /* end confdefs.h. */
48703 #include <math.h>
48705 main ()
48707 _modfl(0, 0);
48709 return 0;
48711 _ACEOF
48712 rm -f conftest.$ac_objext
48713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48714 (eval $ac_compile) 2>conftest.er1
48715 ac_status=$?
48716 grep -v '^ *+' conftest.er1 >conftest.err
48717 rm -f conftest.er1
48718 cat conftest.err >&5
48719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48720 (exit $ac_status); } &&
48721 { ac_try='test -z "$ac_cxx_werror_flag"
48722 || test ! -s conftest.err'
48723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48724 (eval $ac_try) 2>&5
48725 ac_status=$?
48726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48727 (exit $ac_status); }; } &&
48728 { ac_try='test -s conftest.$ac_objext'
48729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48730 (eval $ac_try) 2>&5
48731 ac_status=$?
48732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48733 (exit $ac_status); }; }; then
48734 glibcxx_cv_func__modfl_use=yes
48735 else
48736 echo "$as_me: failed program was:" >&5
48737 sed 's/^/| /' conftest.$ac_ext >&5
48739 glibcxx_cv_func__modfl_use=no
48741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48753 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48755 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48757 for ac_func in _modfl
48759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48760 echo "$as_me:$LINENO: checking for $ac_func" >&5
48761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48762 if eval "test \"\${$as_ac_var+set}\" = set"; then
48763 echo $ECHO_N "(cached) $ECHO_C" >&6
48764 else
48765 if test x$gcc_no_link = xyes; then
48766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48768 { (exit 1); exit 1; }; }
48770 cat >conftest.$ac_ext <<_ACEOF
48771 /* confdefs.h. */
48772 _ACEOF
48773 cat confdefs.h >>conftest.$ac_ext
48774 cat >>conftest.$ac_ext <<_ACEOF
48775 /* end confdefs.h. */
48776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48778 #define $ac_func innocuous_$ac_func
48780 /* System header to define __stub macros and hopefully few prototypes,
48781 which can conflict with char $ac_func (); below.
48782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48783 <limits.h> exists even on freestanding compilers. */
48785 #ifdef __STDC__
48786 # include <limits.h>
48787 #else
48788 # include <assert.h>
48789 #endif
48791 #undef $ac_func
48793 /* Override any gcc2 internal prototype to avoid an error. */
48794 #ifdef __cplusplus
48795 extern "C"
48797 #endif
48798 /* We use char because int might match the return type of a gcc2
48799 builtin and then its argument prototype would still apply. */
48800 char $ac_func ();
48801 /* The GNU C library defines this for functions which it implements
48802 to always fail with ENOSYS. Some functions are actually named
48803 something starting with __ and the normal name is an alias. */
48804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48805 choke me
48806 #else
48807 char (*f) () = $ac_func;
48808 #endif
48809 #ifdef __cplusplus
48811 #endif
48814 main ()
48816 return f != $ac_func;
48818 return 0;
48820 _ACEOF
48821 rm -f conftest.$ac_objext conftest$ac_exeext
48822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48823 (eval $ac_link) 2>conftest.er1
48824 ac_status=$?
48825 grep -v '^ *+' conftest.er1 >conftest.err
48826 rm -f conftest.er1
48827 cat conftest.err >&5
48828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48829 (exit $ac_status); } &&
48830 { ac_try='test -z "$ac_c_werror_flag"
48831 || test ! -s conftest.err'
48832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48833 (eval $ac_try) 2>&5
48834 ac_status=$?
48835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836 (exit $ac_status); }; } &&
48837 { ac_try='test -s conftest$ac_exeext'
48838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48839 (eval $ac_try) 2>&5
48840 ac_status=$?
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); }; }; then
48843 eval "$as_ac_var=yes"
48844 else
48845 echo "$as_me: failed program was:" >&5
48846 sed 's/^/| /' conftest.$ac_ext >&5
48848 eval "$as_ac_var=no"
48850 rm -f conftest.err conftest.$ac_objext \
48851 conftest$ac_exeext conftest.$ac_ext
48853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48855 if test `eval echo '${'$as_ac_var'}'` = yes; then
48856 cat >>confdefs.h <<_ACEOF
48857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48858 _ACEOF
48861 done
48871 echo "$as_me:$LINENO: checking for powl declaration" >&5
48872 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48873 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48874 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48875 echo $ECHO_N "(cached) $ECHO_C" >&6
48876 else
48880 ac_ext=cc
48881 ac_cpp='$CXXCPP $CPPFLAGS'
48882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886 cat >conftest.$ac_ext <<_ACEOF
48887 /* confdefs.h. */
48888 _ACEOF
48889 cat confdefs.h >>conftest.$ac_ext
48890 cat >>conftest.$ac_ext <<_ACEOF
48891 /* end confdefs.h. */
48892 #include <math.h>
48894 main ()
48896 powl(0, 0);
48898 return 0;
48900 _ACEOF
48901 rm -f conftest.$ac_objext
48902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48903 (eval $ac_compile) 2>conftest.er1
48904 ac_status=$?
48905 grep -v '^ *+' conftest.er1 >conftest.err
48906 rm -f conftest.er1
48907 cat conftest.err >&5
48908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48909 (exit $ac_status); } &&
48910 { ac_try='test -z "$ac_cxx_werror_flag"
48911 || test ! -s conftest.err'
48912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48913 (eval $ac_try) 2>&5
48914 ac_status=$?
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); }; } &&
48917 { ac_try='test -s conftest.$ac_objext'
48918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48919 (eval $ac_try) 2>&5
48920 ac_status=$?
48921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48922 (exit $ac_status); }; }; then
48923 glibcxx_cv_func_powl_use=yes
48924 else
48925 echo "$as_me: failed program was:" >&5
48926 sed 's/^/| /' conftest.$ac_ext >&5
48928 glibcxx_cv_func_powl_use=no
48930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48942 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48944 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48946 for ac_func in powl
48948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48949 echo "$as_me:$LINENO: checking for $ac_func" >&5
48950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48951 if eval "test \"\${$as_ac_var+set}\" = set"; then
48952 echo $ECHO_N "(cached) $ECHO_C" >&6
48953 else
48954 if test x$gcc_no_link = xyes; then
48955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48957 { (exit 1); exit 1; }; }
48959 cat >conftest.$ac_ext <<_ACEOF
48960 /* confdefs.h. */
48961 _ACEOF
48962 cat confdefs.h >>conftest.$ac_ext
48963 cat >>conftest.$ac_ext <<_ACEOF
48964 /* end confdefs.h. */
48965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48967 #define $ac_func innocuous_$ac_func
48969 /* System header to define __stub macros and hopefully few prototypes,
48970 which can conflict with char $ac_func (); below.
48971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48972 <limits.h> exists even on freestanding compilers. */
48974 #ifdef __STDC__
48975 # include <limits.h>
48976 #else
48977 # include <assert.h>
48978 #endif
48980 #undef $ac_func
48982 /* Override any gcc2 internal prototype to avoid an error. */
48983 #ifdef __cplusplus
48984 extern "C"
48986 #endif
48987 /* We use char because int might match the return type of a gcc2
48988 builtin and then its argument prototype would still apply. */
48989 char $ac_func ();
48990 /* The GNU C library defines this for functions which it implements
48991 to always fail with ENOSYS. Some functions are actually named
48992 something starting with __ and the normal name is an alias. */
48993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48994 choke me
48995 #else
48996 char (*f) () = $ac_func;
48997 #endif
48998 #ifdef __cplusplus
49000 #endif
49003 main ()
49005 return f != $ac_func;
49007 return 0;
49009 _ACEOF
49010 rm -f conftest.$ac_objext conftest$ac_exeext
49011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49012 (eval $ac_link) 2>conftest.er1
49013 ac_status=$?
49014 grep -v '^ *+' conftest.er1 >conftest.err
49015 rm -f conftest.er1
49016 cat conftest.err >&5
49017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49018 (exit $ac_status); } &&
49019 { ac_try='test -z "$ac_c_werror_flag"
49020 || test ! -s conftest.err'
49021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49022 (eval $ac_try) 2>&5
49023 ac_status=$?
49024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49025 (exit $ac_status); }; } &&
49026 { ac_try='test -s conftest$ac_exeext'
49027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49028 (eval $ac_try) 2>&5
49029 ac_status=$?
49030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49031 (exit $ac_status); }; }; then
49032 eval "$as_ac_var=yes"
49033 else
49034 echo "$as_me: failed program was:" >&5
49035 sed 's/^/| /' conftest.$ac_ext >&5
49037 eval "$as_ac_var=no"
49039 rm -f conftest.err conftest.$ac_objext \
49040 conftest$ac_exeext conftest.$ac_ext
49042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49044 if test `eval echo '${'$as_ac_var'}'` = yes; then
49045 cat >>confdefs.h <<_ACEOF
49046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49047 _ACEOF
49050 done
49052 else
49054 echo "$as_me:$LINENO: checking for _powl declaration" >&5
49055 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
49056 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49057 if test "${glibcxx_cv_func__powl_use+set}" = set; then
49058 echo $ECHO_N "(cached) $ECHO_C" >&6
49059 else
49063 ac_ext=cc
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069 cat >conftest.$ac_ext <<_ACEOF
49070 /* confdefs.h. */
49071 _ACEOF
49072 cat confdefs.h >>conftest.$ac_ext
49073 cat >>conftest.$ac_ext <<_ACEOF
49074 /* end confdefs.h. */
49075 #include <math.h>
49077 main ()
49079 _powl(0, 0);
49081 return 0;
49083 _ACEOF
49084 rm -f conftest.$ac_objext
49085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49086 (eval $ac_compile) 2>conftest.er1
49087 ac_status=$?
49088 grep -v '^ *+' conftest.er1 >conftest.err
49089 rm -f conftest.er1
49090 cat conftest.err >&5
49091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49092 (exit $ac_status); } &&
49093 { ac_try='test -z "$ac_cxx_werror_flag"
49094 || test ! -s conftest.err'
49095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49096 (eval $ac_try) 2>&5
49097 ac_status=$?
49098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099 (exit $ac_status); }; } &&
49100 { ac_try='test -s conftest.$ac_objext'
49101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49102 (eval $ac_try) 2>&5
49103 ac_status=$?
49104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49105 (exit $ac_status); }; }; then
49106 glibcxx_cv_func__powl_use=yes
49107 else
49108 echo "$as_me: failed program was:" >&5
49109 sed 's/^/| /' conftest.$ac_ext >&5
49111 glibcxx_cv_func__powl_use=no
49113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49114 ac_ext=c
49115 ac_cpp='$CPP $CPPFLAGS'
49116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
49125 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
49127 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49129 for ac_func in _powl
49131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49132 echo "$as_me:$LINENO: checking for $ac_func" >&5
49133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49134 if eval "test \"\${$as_ac_var+set}\" = set"; then
49135 echo $ECHO_N "(cached) $ECHO_C" >&6
49136 else
49137 if test x$gcc_no_link = xyes; then
49138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49140 { (exit 1); exit 1; }; }
49142 cat >conftest.$ac_ext <<_ACEOF
49143 /* confdefs.h. */
49144 _ACEOF
49145 cat confdefs.h >>conftest.$ac_ext
49146 cat >>conftest.$ac_ext <<_ACEOF
49147 /* end confdefs.h. */
49148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49150 #define $ac_func innocuous_$ac_func
49152 /* System header to define __stub macros and hopefully few prototypes,
49153 which can conflict with char $ac_func (); below.
49154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49155 <limits.h> exists even on freestanding compilers. */
49157 #ifdef __STDC__
49158 # include <limits.h>
49159 #else
49160 # include <assert.h>
49161 #endif
49163 #undef $ac_func
49165 /* Override any gcc2 internal prototype to avoid an error. */
49166 #ifdef __cplusplus
49167 extern "C"
49169 #endif
49170 /* We use char because int might match the return type of a gcc2
49171 builtin and then its argument prototype would still apply. */
49172 char $ac_func ();
49173 /* The GNU C library defines this for functions which it implements
49174 to always fail with ENOSYS. Some functions are actually named
49175 something starting with __ and the normal name is an alias. */
49176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49177 choke me
49178 #else
49179 char (*f) () = $ac_func;
49180 #endif
49181 #ifdef __cplusplus
49183 #endif
49186 main ()
49188 return f != $ac_func;
49190 return 0;
49192 _ACEOF
49193 rm -f conftest.$ac_objext conftest$ac_exeext
49194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49195 (eval $ac_link) 2>conftest.er1
49196 ac_status=$?
49197 grep -v '^ *+' conftest.er1 >conftest.err
49198 rm -f conftest.er1
49199 cat conftest.err >&5
49200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49201 (exit $ac_status); } &&
49202 { ac_try='test -z "$ac_c_werror_flag"
49203 || test ! -s conftest.err'
49204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49205 (eval $ac_try) 2>&5
49206 ac_status=$?
49207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49208 (exit $ac_status); }; } &&
49209 { ac_try='test -s conftest$ac_exeext'
49210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49211 (eval $ac_try) 2>&5
49212 ac_status=$?
49213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49214 (exit $ac_status); }; }; then
49215 eval "$as_ac_var=yes"
49216 else
49217 echo "$as_me: failed program was:" >&5
49218 sed 's/^/| /' conftest.$ac_ext >&5
49220 eval "$as_ac_var=no"
49222 rm -f conftest.err conftest.$ac_objext \
49223 conftest$ac_exeext conftest.$ac_ext
49225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49227 if test `eval echo '${'$as_ac_var'}'` = yes; then
49228 cat >>confdefs.h <<_ACEOF
49229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49230 _ACEOF
49233 done
49243 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
49244 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
49245 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49246 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
49247 echo $ECHO_N "(cached) $ECHO_C" >&6
49248 else
49252 ac_ext=cc
49253 ac_cpp='$CXXCPP $CPPFLAGS'
49254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49258 cat >conftest.$ac_ext <<_ACEOF
49259 /* confdefs.h. */
49260 _ACEOF
49261 cat confdefs.h >>conftest.$ac_ext
49262 cat >>conftest.$ac_ext <<_ACEOF
49263 /* end confdefs.h. */
49264 #include <math.h>
49265 #ifdef HAVE_IEEEFP_H
49266 #include <ieeefp.h>
49267 #endif
49270 main ()
49272 sqrtl(0);
49274 return 0;
49276 _ACEOF
49277 rm -f conftest.$ac_objext
49278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49279 (eval $ac_compile) 2>conftest.er1
49280 ac_status=$?
49281 grep -v '^ *+' conftest.er1 >conftest.err
49282 rm -f conftest.er1
49283 cat conftest.err >&5
49284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49285 (exit $ac_status); } &&
49286 { ac_try='test -z "$ac_cxx_werror_flag"
49287 || test ! -s conftest.err'
49288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49289 (eval $ac_try) 2>&5
49290 ac_status=$?
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); }; } &&
49293 { ac_try='test -s conftest.$ac_objext'
49294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49295 (eval $ac_try) 2>&5
49296 ac_status=$?
49297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49298 (exit $ac_status); }; }; then
49299 glibcxx_cv_func_sqrtl_use=yes
49300 else
49301 echo "$as_me: failed program was:" >&5
49302 sed 's/^/| /' conftest.$ac_ext >&5
49304 glibcxx_cv_func_sqrtl_use=no
49306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49307 ac_ext=c
49308 ac_cpp='$CPP $CPPFLAGS'
49309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49318 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49320 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49322 for ac_func in sqrtl
49324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49325 echo "$as_me:$LINENO: checking for $ac_func" >&5
49326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49327 if eval "test \"\${$as_ac_var+set}\" = set"; then
49328 echo $ECHO_N "(cached) $ECHO_C" >&6
49329 else
49330 if test x$gcc_no_link = xyes; then
49331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49333 { (exit 1); exit 1; }; }
49335 cat >conftest.$ac_ext <<_ACEOF
49336 /* confdefs.h. */
49337 _ACEOF
49338 cat confdefs.h >>conftest.$ac_ext
49339 cat >>conftest.$ac_ext <<_ACEOF
49340 /* end confdefs.h. */
49341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49343 #define $ac_func innocuous_$ac_func
49345 /* System header to define __stub macros and hopefully few prototypes,
49346 which can conflict with char $ac_func (); below.
49347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49348 <limits.h> exists even on freestanding compilers. */
49350 #ifdef __STDC__
49351 # include <limits.h>
49352 #else
49353 # include <assert.h>
49354 #endif
49356 #undef $ac_func
49358 /* Override any gcc2 internal prototype to avoid an error. */
49359 #ifdef __cplusplus
49360 extern "C"
49362 #endif
49363 /* We use char because int might match the return type of a gcc2
49364 builtin and then its argument prototype would still apply. */
49365 char $ac_func ();
49366 /* The GNU C library defines this for functions which it implements
49367 to always fail with ENOSYS. Some functions are actually named
49368 something starting with __ and the normal name is an alias. */
49369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49370 choke me
49371 #else
49372 char (*f) () = $ac_func;
49373 #endif
49374 #ifdef __cplusplus
49376 #endif
49379 main ()
49381 return f != $ac_func;
49383 return 0;
49385 _ACEOF
49386 rm -f conftest.$ac_objext conftest$ac_exeext
49387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49388 (eval $ac_link) 2>conftest.er1
49389 ac_status=$?
49390 grep -v '^ *+' conftest.er1 >conftest.err
49391 rm -f conftest.er1
49392 cat conftest.err >&5
49393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49394 (exit $ac_status); } &&
49395 { ac_try='test -z "$ac_c_werror_flag"
49396 || test ! -s conftest.err'
49397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49398 (eval $ac_try) 2>&5
49399 ac_status=$?
49400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49401 (exit $ac_status); }; } &&
49402 { ac_try='test -s conftest$ac_exeext'
49403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49404 (eval $ac_try) 2>&5
49405 ac_status=$?
49406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49407 (exit $ac_status); }; }; then
49408 eval "$as_ac_var=yes"
49409 else
49410 echo "$as_me: failed program was:" >&5
49411 sed 's/^/| /' conftest.$ac_ext >&5
49413 eval "$as_ac_var=no"
49415 rm -f conftest.err conftest.$ac_objext \
49416 conftest$ac_exeext conftest.$ac_ext
49418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49420 if test `eval echo '${'$as_ac_var'}'` = yes; then
49421 cat >>confdefs.h <<_ACEOF
49422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49423 _ACEOF
49426 done
49428 else
49430 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49431 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49432 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49433 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49434 echo $ECHO_N "(cached) $ECHO_C" >&6
49435 else
49439 ac_ext=cc
49440 ac_cpp='$CXXCPP $CPPFLAGS'
49441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49445 cat >conftest.$ac_ext <<_ACEOF
49446 /* confdefs.h. */
49447 _ACEOF
49448 cat confdefs.h >>conftest.$ac_ext
49449 cat >>conftest.$ac_ext <<_ACEOF
49450 /* end confdefs.h. */
49451 #include <math.h>
49452 #ifdef HAVE_IEEEFP_H
49453 #include <ieeefp.h>
49454 #endif
49457 main ()
49459 _sqrtl(0);
49461 return 0;
49463 _ACEOF
49464 rm -f conftest.$ac_objext
49465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49466 (eval $ac_compile) 2>conftest.er1
49467 ac_status=$?
49468 grep -v '^ *+' conftest.er1 >conftest.err
49469 rm -f conftest.er1
49470 cat conftest.err >&5
49471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49472 (exit $ac_status); } &&
49473 { ac_try='test -z "$ac_cxx_werror_flag"
49474 || test ! -s conftest.err'
49475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49476 (eval $ac_try) 2>&5
49477 ac_status=$?
49478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49479 (exit $ac_status); }; } &&
49480 { ac_try='test -s conftest.$ac_objext'
49481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49482 (eval $ac_try) 2>&5
49483 ac_status=$?
49484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49485 (exit $ac_status); }; }; then
49486 glibcxx_cv_func__sqrtl_use=yes
49487 else
49488 echo "$as_me: failed program was:" >&5
49489 sed 's/^/| /' conftest.$ac_ext >&5
49491 glibcxx_cv_func__sqrtl_use=no
49493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49494 ac_ext=c
49495 ac_cpp='$CPP $CPPFLAGS'
49496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49505 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49507 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49509 for ac_func in _sqrtl
49511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49512 echo "$as_me:$LINENO: checking for $ac_func" >&5
49513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49514 if eval "test \"\${$as_ac_var+set}\" = set"; then
49515 echo $ECHO_N "(cached) $ECHO_C" >&6
49516 else
49517 if test x$gcc_no_link = xyes; then
49518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49520 { (exit 1); exit 1; }; }
49522 cat >conftest.$ac_ext <<_ACEOF
49523 /* confdefs.h. */
49524 _ACEOF
49525 cat confdefs.h >>conftest.$ac_ext
49526 cat >>conftest.$ac_ext <<_ACEOF
49527 /* end confdefs.h. */
49528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49530 #define $ac_func innocuous_$ac_func
49532 /* System header to define __stub macros and hopefully few prototypes,
49533 which can conflict with char $ac_func (); below.
49534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49535 <limits.h> exists even on freestanding compilers. */
49537 #ifdef __STDC__
49538 # include <limits.h>
49539 #else
49540 # include <assert.h>
49541 #endif
49543 #undef $ac_func
49545 /* Override any gcc2 internal prototype to avoid an error. */
49546 #ifdef __cplusplus
49547 extern "C"
49549 #endif
49550 /* We use char because int might match the return type of a gcc2
49551 builtin and then its argument prototype would still apply. */
49552 char $ac_func ();
49553 /* The GNU C library defines this for functions which it implements
49554 to always fail with ENOSYS. Some functions are actually named
49555 something starting with __ and the normal name is an alias. */
49556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49557 choke me
49558 #else
49559 char (*f) () = $ac_func;
49560 #endif
49561 #ifdef __cplusplus
49563 #endif
49566 main ()
49568 return f != $ac_func;
49570 return 0;
49572 _ACEOF
49573 rm -f conftest.$ac_objext conftest$ac_exeext
49574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49575 (eval $ac_link) 2>conftest.er1
49576 ac_status=$?
49577 grep -v '^ *+' conftest.er1 >conftest.err
49578 rm -f conftest.er1
49579 cat conftest.err >&5
49580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49581 (exit $ac_status); } &&
49582 { ac_try='test -z "$ac_c_werror_flag"
49583 || test ! -s conftest.err'
49584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49585 (eval $ac_try) 2>&5
49586 ac_status=$?
49587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49588 (exit $ac_status); }; } &&
49589 { ac_try='test -s conftest$ac_exeext'
49590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49591 (eval $ac_try) 2>&5
49592 ac_status=$?
49593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49594 (exit $ac_status); }; }; then
49595 eval "$as_ac_var=yes"
49596 else
49597 echo "$as_me: failed program was:" >&5
49598 sed 's/^/| /' conftest.$ac_ext >&5
49600 eval "$as_ac_var=no"
49602 rm -f conftest.err conftest.$ac_objext \
49603 conftest$ac_exeext conftest.$ac_ext
49605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49607 if test `eval echo '${'$as_ac_var'}'` = yes; then
49608 cat >>confdefs.h <<_ACEOF
49609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49610 _ACEOF
49613 done
49623 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49624 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49625 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49626 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49627 echo $ECHO_N "(cached) $ECHO_C" >&6
49628 else
49632 ac_ext=cc
49633 ac_cpp='$CXXCPP $CPPFLAGS'
49634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49638 cat >conftest.$ac_ext <<_ACEOF
49639 /* confdefs.h. */
49640 _ACEOF
49641 cat confdefs.h >>conftest.$ac_ext
49642 cat >>conftest.$ac_ext <<_ACEOF
49643 /* end confdefs.h. */
49644 #include <math.h>
49646 main ()
49648 sincosl(0, 0, 0);
49650 return 0;
49652 _ACEOF
49653 rm -f conftest.$ac_objext
49654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49655 (eval $ac_compile) 2>conftest.er1
49656 ac_status=$?
49657 grep -v '^ *+' conftest.er1 >conftest.err
49658 rm -f conftest.er1
49659 cat conftest.err >&5
49660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49661 (exit $ac_status); } &&
49662 { ac_try='test -z "$ac_cxx_werror_flag"
49663 || test ! -s conftest.err'
49664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49665 (eval $ac_try) 2>&5
49666 ac_status=$?
49667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49668 (exit $ac_status); }; } &&
49669 { ac_try='test -s conftest.$ac_objext'
49670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49671 (eval $ac_try) 2>&5
49672 ac_status=$?
49673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49674 (exit $ac_status); }; }; then
49675 glibcxx_cv_func_sincosl_use=yes
49676 else
49677 echo "$as_me: failed program was:" >&5
49678 sed 's/^/| /' conftest.$ac_ext >&5
49680 glibcxx_cv_func_sincosl_use=no
49682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49683 ac_ext=c
49684 ac_cpp='$CPP $CPPFLAGS'
49685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49694 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49696 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49698 for ac_func in sincosl
49700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49701 echo "$as_me:$LINENO: checking for $ac_func" >&5
49702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49703 if eval "test \"\${$as_ac_var+set}\" = set"; then
49704 echo $ECHO_N "(cached) $ECHO_C" >&6
49705 else
49706 if test x$gcc_no_link = xyes; then
49707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49709 { (exit 1); exit 1; }; }
49711 cat >conftest.$ac_ext <<_ACEOF
49712 /* confdefs.h. */
49713 _ACEOF
49714 cat confdefs.h >>conftest.$ac_ext
49715 cat >>conftest.$ac_ext <<_ACEOF
49716 /* end confdefs.h. */
49717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49719 #define $ac_func innocuous_$ac_func
49721 /* System header to define __stub macros and hopefully few prototypes,
49722 which can conflict with char $ac_func (); below.
49723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49724 <limits.h> exists even on freestanding compilers. */
49726 #ifdef __STDC__
49727 # include <limits.h>
49728 #else
49729 # include <assert.h>
49730 #endif
49732 #undef $ac_func
49734 /* Override any gcc2 internal prototype to avoid an error. */
49735 #ifdef __cplusplus
49736 extern "C"
49738 #endif
49739 /* We use char because int might match the return type of a gcc2
49740 builtin and then its argument prototype would still apply. */
49741 char $ac_func ();
49742 /* The GNU C library defines this for functions which it implements
49743 to always fail with ENOSYS. Some functions are actually named
49744 something starting with __ and the normal name is an alias. */
49745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49746 choke me
49747 #else
49748 char (*f) () = $ac_func;
49749 #endif
49750 #ifdef __cplusplus
49752 #endif
49755 main ()
49757 return f != $ac_func;
49759 return 0;
49761 _ACEOF
49762 rm -f conftest.$ac_objext conftest$ac_exeext
49763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49764 (eval $ac_link) 2>conftest.er1
49765 ac_status=$?
49766 grep -v '^ *+' conftest.er1 >conftest.err
49767 rm -f conftest.er1
49768 cat conftest.err >&5
49769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49770 (exit $ac_status); } &&
49771 { ac_try='test -z "$ac_c_werror_flag"
49772 || test ! -s conftest.err'
49773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49774 (eval $ac_try) 2>&5
49775 ac_status=$?
49776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49777 (exit $ac_status); }; } &&
49778 { ac_try='test -s conftest$ac_exeext'
49779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49780 (eval $ac_try) 2>&5
49781 ac_status=$?
49782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49783 (exit $ac_status); }; }; then
49784 eval "$as_ac_var=yes"
49785 else
49786 echo "$as_me: failed program was:" >&5
49787 sed 's/^/| /' conftest.$ac_ext >&5
49789 eval "$as_ac_var=no"
49791 rm -f conftest.err conftest.$ac_objext \
49792 conftest$ac_exeext conftest.$ac_ext
49794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49796 if test `eval echo '${'$as_ac_var'}'` = yes; then
49797 cat >>confdefs.h <<_ACEOF
49798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49799 _ACEOF
49802 done
49804 else
49806 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49807 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49808 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49809 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49811 else
49815 ac_ext=cc
49816 ac_cpp='$CXXCPP $CPPFLAGS'
49817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49821 cat >conftest.$ac_ext <<_ACEOF
49822 /* confdefs.h. */
49823 _ACEOF
49824 cat confdefs.h >>conftest.$ac_ext
49825 cat >>conftest.$ac_ext <<_ACEOF
49826 /* end confdefs.h. */
49827 #include <math.h>
49829 main ()
49831 _sincosl(0, 0, 0);
49833 return 0;
49835 _ACEOF
49836 rm -f conftest.$ac_objext
49837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49838 (eval $ac_compile) 2>conftest.er1
49839 ac_status=$?
49840 grep -v '^ *+' conftest.er1 >conftest.err
49841 rm -f conftest.er1
49842 cat conftest.err >&5
49843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844 (exit $ac_status); } &&
49845 { ac_try='test -z "$ac_cxx_werror_flag"
49846 || test ! -s conftest.err'
49847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49848 (eval $ac_try) 2>&5
49849 ac_status=$?
49850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49851 (exit $ac_status); }; } &&
49852 { ac_try='test -s conftest.$ac_objext'
49853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49854 (eval $ac_try) 2>&5
49855 ac_status=$?
49856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49857 (exit $ac_status); }; }; then
49858 glibcxx_cv_func__sincosl_use=yes
49859 else
49860 echo "$as_me: failed program was:" >&5
49861 sed 's/^/| /' conftest.$ac_ext >&5
49863 glibcxx_cv_func__sincosl_use=no
49865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49866 ac_ext=c
49867 ac_cpp='$CPP $CPPFLAGS'
49868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49877 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49879 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49881 for ac_func in _sincosl
49883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49884 echo "$as_me:$LINENO: checking for $ac_func" >&5
49885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49886 if eval "test \"\${$as_ac_var+set}\" = set"; then
49887 echo $ECHO_N "(cached) $ECHO_C" >&6
49888 else
49889 if test x$gcc_no_link = xyes; then
49890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49892 { (exit 1); exit 1; }; }
49894 cat >conftest.$ac_ext <<_ACEOF
49895 /* confdefs.h. */
49896 _ACEOF
49897 cat confdefs.h >>conftest.$ac_ext
49898 cat >>conftest.$ac_ext <<_ACEOF
49899 /* end confdefs.h. */
49900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49902 #define $ac_func innocuous_$ac_func
49904 /* System header to define __stub macros and hopefully few prototypes,
49905 which can conflict with char $ac_func (); below.
49906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49907 <limits.h> exists even on freestanding compilers. */
49909 #ifdef __STDC__
49910 # include <limits.h>
49911 #else
49912 # include <assert.h>
49913 #endif
49915 #undef $ac_func
49917 /* Override any gcc2 internal prototype to avoid an error. */
49918 #ifdef __cplusplus
49919 extern "C"
49921 #endif
49922 /* We use char because int might match the return type of a gcc2
49923 builtin and then its argument prototype would still apply. */
49924 char $ac_func ();
49925 /* The GNU C library defines this for functions which it implements
49926 to always fail with ENOSYS. Some functions are actually named
49927 something starting with __ and the normal name is an alias. */
49928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49929 choke me
49930 #else
49931 char (*f) () = $ac_func;
49932 #endif
49933 #ifdef __cplusplus
49935 #endif
49938 main ()
49940 return f != $ac_func;
49942 return 0;
49944 _ACEOF
49945 rm -f conftest.$ac_objext conftest$ac_exeext
49946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49947 (eval $ac_link) 2>conftest.er1
49948 ac_status=$?
49949 grep -v '^ *+' conftest.er1 >conftest.err
49950 rm -f conftest.er1
49951 cat conftest.err >&5
49952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953 (exit $ac_status); } &&
49954 { ac_try='test -z "$ac_c_werror_flag"
49955 || test ! -s conftest.err'
49956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49957 (eval $ac_try) 2>&5
49958 ac_status=$?
49959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49960 (exit $ac_status); }; } &&
49961 { ac_try='test -s conftest$ac_exeext'
49962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49963 (eval $ac_try) 2>&5
49964 ac_status=$?
49965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49966 (exit $ac_status); }; }; then
49967 eval "$as_ac_var=yes"
49968 else
49969 echo "$as_me: failed program was:" >&5
49970 sed 's/^/| /' conftest.$ac_ext >&5
49972 eval "$as_ac_var=no"
49974 rm -f conftest.err conftest.$ac_objext \
49975 conftest$ac_exeext conftest.$ac_ext
49977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49979 if test `eval echo '${'$as_ac_var'}'` = yes; then
49980 cat >>confdefs.h <<_ACEOF
49981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49982 _ACEOF
49985 done
49995 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49996 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49997 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49998 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49999 echo $ECHO_N "(cached) $ECHO_C" >&6
50000 else
50004 ac_ext=cc
50005 ac_cpp='$CXXCPP $CPPFLAGS'
50006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50010 cat >conftest.$ac_ext <<_ACEOF
50011 /* confdefs.h. */
50012 _ACEOF
50013 cat confdefs.h >>conftest.$ac_ext
50014 cat >>conftest.$ac_ext <<_ACEOF
50015 /* end confdefs.h. */
50016 #include <math.h>
50017 #ifdef HAVE_IEEEFP_H
50018 #include <ieeefp.h>
50019 #endif
50022 main ()
50024 finitel(0);
50026 return 0;
50028 _ACEOF
50029 rm -f conftest.$ac_objext
50030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50031 (eval $ac_compile) 2>conftest.er1
50032 ac_status=$?
50033 grep -v '^ *+' conftest.er1 >conftest.err
50034 rm -f conftest.er1
50035 cat conftest.err >&5
50036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50037 (exit $ac_status); } &&
50038 { ac_try='test -z "$ac_cxx_werror_flag"
50039 || test ! -s conftest.err'
50040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50041 (eval $ac_try) 2>&5
50042 ac_status=$?
50043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50044 (exit $ac_status); }; } &&
50045 { ac_try='test -s conftest.$ac_objext'
50046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50047 (eval $ac_try) 2>&5
50048 ac_status=$?
50049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50050 (exit $ac_status); }; }; then
50051 glibcxx_cv_func_finitel_use=yes
50052 else
50053 echo "$as_me: failed program was:" >&5
50054 sed 's/^/| /' conftest.$ac_ext >&5
50056 glibcxx_cv_func_finitel_use=no
50058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50059 ac_ext=c
50060 ac_cpp='$CPP $CPPFLAGS'
50061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
50070 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
50072 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50074 for ac_func in finitel
50076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50077 echo "$as_me:$LINENO: checking for $ac_func" >&5
50078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50079 if eval "test \"\${$as_ac_var+set}\" = set"; then
50080 echo $ECHO_N "(cached) $ECHO_C" >&6
50081 else
50082 if test x$gcc_no_link = xyes; then
50083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50085 { (exit 1); exit 1; }; }
50087 cat >conftest.$ac_ext <<_ACEOF
50088 /* confdefs.h. */
50089 _ACEOF
50090 cat confdefs.h >>conftest.$ac_ext
50091 cat >>conftest.$ac_ext <<_ACEOF
50092 /* end confdefs.h. */
50093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50095 #define $ac_func innocuous_$ac_func
50097 /* System header to define __stub macros and hopefully few prototypes,
50098 which can conflict with char $ac_func (); below.
50099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50100 <limits.h> exists even on freestanding compilers. */
50102 #ifdef __STDC__
50103 # include <limits.h>
50104 #else
50105 # include <assert.h>
50106 #endif
50108 #undef $ac_func
50110 /* Override any gcc2 internal prototype to avoid an error. */
50111 #ifdef __cplusplus
50112 extern "C"
50114 #endif
50115 /* We use char because int might match the return type of a gcc2
50116 builtin and then its argument prototype would still apply. */
50117 char $ac_func ();
50118 /* The GNU C library defines this for functions which it implements
50119 to always fail with ENOSYS. Some functions are actually named
50120 something starting with __ and the normal name is an alias. */
50121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50122 choke me
50123 #else
50124 char (*f) () = $ac_func;
50125 #endif
50126 #ifdef __cplusplus
50128 #endif
50131 main ()
50133 return f != $ac_func;
50135 return 0;
50137 _ACEOF
50138 rm -f conftest.$ac_objext conftest$ac_exeext
50139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50140 (eval $ac_link) 2>conftest.er1
50141 ac_status=$?
50142 grep -v '^ *+' conftest.er1 >conftest.err
50143 rm -f conftest.er1
50144 cat conftest.err >&5
50145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50146 (exit $ac_status); } &&
50147 { ac_try='test -z "$ac_c_werror_flag"
50148 || test ! -s conftest.err'
50149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50150 (eval $ac_try) 2>&5
50151 ac_status=$?
50152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50153 (exit $ac_status); }; } &&
50154 { ac_try='test -s conftest$ac_exeext'
50155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50156 (eval $ac_try) 2>&5
50157 ac_status=$?
50158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159 (exit $ac_status); }; }; then
50160 eval "$as_ac_var=yes"
50161 else
50162 echo "$as_me: failed program was:" >&5
50163 sed 's/^/| /' conftest.$ac_ext >&5
50165 eval "$as_ac_var=no"
50167 rm -f conftest.err conftest.$ac_objext \
50168 conftest$ac_exeext conftest.$ac_ext
50170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50172 if test `eval echo '${'$as_ac_var'}'` = yes; then
50173 cat >>confdefs.h <<_ACEOF
50174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50175 _ACEOF
50178 done
50180 else
50182 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
50183 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
50184 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50185 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
50186 echo $ECHO_N "(cached) $ECHO_C" >&6
50187 else
50191 ac_ext=cc
50192 ac_cpp='$CXXCPP $CPPFLAGS'
50193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50197 cat >conftest.$ac_ext <<_ACEOF
50198 /* confdefs.h. */
50199 _ACEOF
50200 cat confdefs.h >>conftest.$ac_ext
50201 cat >>conftest.$ac_ext <<_ACEOF
50202 /* end confdefs.h. */
50203 #include <math.h>
50204 #ifdef HAVE_IEEEFP_H
50205 #include <ieeefp.h>
50206 #endif
50209 main ()
50211 _finitel(0);
50213 return 0;
50215 _ACEOF
50216 rm -f conftest.$ac_objext
50217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50218 (eval $ac_compile) 2>conftest.er1
50219 ac_status=$?
50220 grep -v '^ *+' conftest.er1 >conftest.err
50221 rm -f conftest.er1
50222 cat conftest.err >&5
50223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50224 (exit $ac_status); } &&
50225 { ac_try='test -z "$ac_cxx_werror_flag"
50226 || test ! -s conftest.err'
50227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50228 (eval $ac_try) 2>&5
50229 ac_status=$?
50230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50231 (exit $ac_status); }; } &&
50232 { ac_try='test -s conftest.$ac_objext'
50233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50234 (eval $ac_try) 2>&5
50235 ac_status=$?
50236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50237 (exit $ac_status); }; }; then
50238 glibcxx_cv_func__finitel_use=yes
50239 else
50240 echo "$as_me: failed program was:" >&5
50241 sed 's/^/| /' conftest.$ac_ext >&5
50243 glibcxx_cv_func__finitel_use=no
50245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50246 ac_ext=c
50247 ac_cpp='$CPP $CPPFLAGS'
50248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
50257 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
50259 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50261 for ac_func in _finitel
50263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50264 echo "$as_me:$LINENO: checking for $ac_func" >&5
50265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50266 if eval "test \"\${$as_ac_var+set}\" = set"; then
50267 echo $ECHO_N "(cached) $ECHO_C" >&6
50268 else
50269 if test x$gcc_no_link = xyes; then
50270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50272 { (exit 1); exit 1; }; }
50274 cat >conftest.$ac_ext <<_ACEOF
50275 /* confdefs.h. */
50276 _ACEOF
50277 cat confdefs.h >>conftest.$ac_ext
50278 cat >>conftest.$ac_ext <<_ACEOF
50279 /* end confdefs.h. */
50280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50282 #define $ac_func innocuous_$ac_func
50284 /* System header to define __stub macros and hopefully few prototypes,
50285 which can conflict with char $ac_func (); below.
50286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50287 <limits.h> exists even on freestanding compilers. */
50289 #ifdef __STDC__
50290 # include <limits.h>
50291 #else
50292 # include <assert.h>
50293 #endif
50295 #undef $ac_func
50297 /* Override any gcc2 internal prototype to avoid an error. */
50298 #ifdef __cplusplus
50299 extern "C"
50301 #endif
50302 /* We use char because int might match the return type of a gcc2
50303 builtin and then its argument prototype would still apply. */
50304 char $ac_func ();
50305 /* The GNU C library defines this for functions which it implements
50306 to always fail with ENOSYS. Some functions are actually named
50307 something starting with __ and the normal name is an alias. */
50308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50309 choke me
50310 #else
50311 char (*f) () = $ac_func;
50312 #endif
50313 #ifdef __cplusplus
50315 #endif
50318 main ()
50320 return f != $ac_func;
50322 return 0;
50324 _ACEOF
50325 rm -f conftest.$ac_objext conftest$ac_exeext
50326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50327 (eval $ac_link) 2>conftest.er1
50328 ac_status=$?
50329 grep -v '^ *+' conftest.er1 >conftest.err
50330 rm -f conftest.er1
50331 cat conftest.err >&5
50332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50333 (exit $ac_status); } &&
50334 { ac_try='test -z "$ac_c_werror_flag"
50335 || test ! -s conftest.err'
50336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50337 (eval $ac_try) 2>&5
50338 ac_status=$?
50339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50340 (exit $ac_status); }; } &&
50341 { ac_try='test -s conftest$ac_exeext'
50342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50343 (eval $ac_try) 2>&5
50344 ac_status=$?
50345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50346 (exit $ac_status); }; }; then
50347 eval "$as_ac_var=yes"
50348 else
50349 echo "$as_me: failed program was:" >&5
50350 sed 's/^/| /' conftest.$ac_ext >&5
50352 eval "$as_ac_var=no"
50354 rm -f conftest.err conftest.$ac_objext \
50355 conftest$ac_exeext conftest.$ac_ext
50357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50359 if test `eval echo '${'$as_ac_var'}'` = yes; then
50360 cat >>confdefs.h <<_ACEOF
50361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50362 _ACEOF
50365 done
50374 LIBS="$ac_save_LIBS"
50375 CXXFLAGS="$ac_save_CXXFLAGS"
50379 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50380 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50381 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50382 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50383 echo $ECHO_N "(cached) $ECHO_C" >&6
50384 else
50388 ac_ext=cc
50389 ac_cpp='$CXXCPP $CPPFLAGS'
50390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50394 cat >conftest.$ac_ext <<_ACEOF
50395 /* confdefs.h. */
50396 _ACEOF
50397 cat confdefs.h >>conftest.$ac_ext
50398 cat >>conftest.$ac_ext <<_ACEOF
50399 /* end confdefs.h. */
50400 #include <math.h>
50402 main ()
50404 __builtin_abs(0);
50406 return 0;
50408 _ACEOF
50409 rm -f conftest.$ac_objext
50410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50411 (eval $ac_compile) 2>conftest.er1
50412 ac_status=$?
50413 grep -v '^ *+' conftest.er1 >conftest.err
50414 rm -f conftest.er1
50415 cat conftest.err >&5
50416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50417 (exit $ac_status); } &&
50418 { ac_try='test -z "$ac_cxx_werror_flag"
50419 || test ! -s conftest.err'
50420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50421 (eval $ac_try) 2>&5
50422 ac_status=$?
50423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50424 (exit $ac_status); }; } &&
50425 { ac_try='test -s conftest.$ac_objext'
50426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50427 (eval $ac_try) 2>&5
50428 ac_status=$?
50429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50430 (exit $ac_status); }; }; then
50431 glibcxx_cv_func___builtin_abs_use=yes
50432 else
50433 echo "$as_me: failed program was:" >&5
50434 sed 's/^/| /' conftest.$ac_ext >&5
50436 glibcxx_cv_func___builtin_abs_use=no
50438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50439 ac_ext=c
50440 ac_cpp='$CPP $CPPFLAGS'
50441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50449 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50450 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50451 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50452 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50453 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50454 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50455 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50456 echo $ECHO_N "(cached) $ECHO_C" >&6
50457 else
50459 if test x$gcc_no_link = xyes; then
50460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50462 { (exit 1); exit 1; }; }
50464 cat >conftest.$ac_ext <<_ACEOF
50465 /* confdefs.h. */
50466 _ACEOF
50467 cat confdefs.h >>conftest.$ac_ext
50468 cat >>conftest.$ac_ext <<_ACEOF
50469 /* end confdefs.h. */
50470 #include <math.h>
50472 main ()
50474 __builtin_abs(0);
50476 return 0;
50478 _ACEOF
50479 rm -f conftest.$ac_objext conftest$ac_exeext
50480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50481 (eval $ac_link) 2>conftest.er1
50482 ac_status=$?
50483 grep -v '^ *+' conftest.er1 >conftest.err
50484 rm -f conftest.er1
50485 cat conftest.err >&5
50486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50487 (exit $ac_status); } &&
50488 { ac_try='test -z "$ac_c_werror_flag"
50489 || test ! -s conftest.err'
50490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50491 (eval $ac_try) 2>&5
50492 ac_status=$?
50493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50494 (exit $ac_status); }; } &&
50495 { ac_try='test -s conftest$ac_exeext'
50496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50497 (eval $ac_try) 2>&5
50498 ac_status=$?
50499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50500 (exit $ac_status); }; }; then
50501 glibcxx_cv_func___builtin_abs_link=yes
50502 else
50503 echo "$as_me: failed program was:" >&5
50504 sed 's/^/| /' conftest.$ac_ext >&5
50506 glibcxx_cv_func___builtin_abs_link=no
50508 rm -f conftest.err conftest.$ac_objext \
50509 conftest$ac_exeext conftest.$ac_ext
50514 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50515 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50517 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50519 cat >>confdefs.h <<\_ACEOF
50520 #define HAVE___BUILTIN_ABS 1
50521 _ACEOF
50528 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50529 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50530 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50531 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50532 echo $ECHO_N "(cached) $ECHO_C" >&6
50533 else
50537 ac_ext=cc
50538 ac_cpp='$CXXCPP $CPPFLAGS'
50539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50543 cat >conftest.$ac_ext <<_ACEOF
50544 /* confdefs.h. */
50545 _ACEOF
50546 cat confdefs.h >>conftest.$ac_ext
50547 cat >>conftest.$ac_ext <<_ACEOF
50548 /* end confdefs.h. */
50549 #include <math.h>
50551 main ()
50553 __builtin_fabsf(0);
50555 return 0;
50557 _ACEOF
50558 rm -f conftest.$ac_objext
50559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50560 (eval $ac_compile) 2>conftest.er1
50561 ac_status=$?
50562 grep -v '^ *+' conftest.er1 >conftest.err
50563 rm -f conftest.er1
50564 cat conftest.err >&5
50565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50566 (exit $ac_status); } &&
50567 { ac_try='test -z "$ac_cxx_werror_flag"
50568 || test ! -s conftest.err'
50569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50570 (eval $ac_try) 2>&5
50571 ac_status=$?
50572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50573 (exit $ac_status); }; } &&
50574 { ac_try='test -s conftest.$ac_objext'
50575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50576 (eval $ac_try) 2>&5
50577 ac_status=$?
50578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579 (exit $ac_status); }; }; then
50580 glibcxx_cv_func___builtin_fabsf_use=yes
50581 else
50582 echo "$as_me: failed program was:" >&5
50583 sed 's/^/| /' conftest.$ac_ext >&5
50585 glibcxx_cv_func___builtin_fabsf_use=no
50587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50588 ac_ext=c
50589 ac_cpp='$CPP $CPPFLAGS'
50590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50598 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50599 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50600 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50601 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50602 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50603 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50604 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50605 echo $ECHO_N "(cached) $ECHO_C" >&6
50606 else
50608 if test x$gcc_no_link = xyes; then
50609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50611 { (exit 1); exit 1; }; }
50613 cat >conftest.$ac_ext <<_ACEOF
50614 /* confdefs.h. */
50615 _ACEOF
50616 cat confdefs.h >>conftest.$ac_ext
50617 cat >>conftest.$ac_ext <<_ACEOF
50618 /* end confdefs.h. */
50619 #include <math.h>
50621 main ()
50623 __builtin_fabsf(0);
50625 return 0;
50627 _ACEOF
50628 rm -f conftest.$ac_objext conftest$ac_exeext
50629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50630 (eval $ac_link) 2>conftest.er1
50631 ac_status=$?
50632 grep -v '^ *+' conftest.er1 >conftest.err
50633 rm -f conftest.er1
50634 cat conftest.err >&5
50635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50636 (exit $ac_status); } &&
50637 { ac_try='test -z "$ac_c_werror_flag"
50638 || test ! -s conftest.err'
50639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50640 (eval $ac_try) 2>&5
50641 ac_status=$?
50642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50643 (exit $ac_status); }; } &&
50644 { ac_try='test -s conftest$ac_exeext'
50645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50646 (eval $ac_try) 2>&5
50647 ac_status=$?
50648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50649 (exit $ac_status); }; }; then
50650 glibcxx_cv_func___builtin_fabsf_link=yes
50651 else
50652 echo "$as_me: failed program was:" >&5
50653 sed 's/^/| /' conftest.$ac_ext >&5
50655 glibcxx_cv_func___builtin_fabsf_link=no
50657 rm -f conftest.err conftest.$ac_objext \
50658 conftest$ac_exeext conftest.$ac_ext
50663 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50664 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50666 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50668 cat >>confdefs.h <<\_ACEOF
50669 #define HAVE___BUILTIN_FABSF 1
50670 _ACEOF
50677 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50678 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50679 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50680 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50681 echo $ECHO_N "(cached) $ECHO_C" >&6
50682 else
50686 ac_ext=cc
50687 ac_cpp='$CXXCPP $CPPFLAGS'
50688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50692 cat >conftest.$ac_ext <<_ACEOF
50693 /* confdefs.h. */
50694 _ACEOF
50695 cat confdefs.h >>conftest.$ac_ext
50696 cat >>conftest.$ac_ext <<_ACEOF
50697 /* end confdefs.h. */
50698 #include <math.h>
50700 main ()
50702 __builtin_fabs(0);
50704 return 0;
50706 _ACEOF
50707 rm -f conftest.$ac_objext
50708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50709 (eval $ac_compile) 2>conftest.er1
50710 ac_status=$?
50711 grep -v '^ *+' conftest.er1 >conftest.err
50712 rm -f conftest.er1
50713 cat conftest.err >&5
50714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50715 (exit $ac_status); } &&
50716 { ac_try='test -z "$ac_cxx_werror_flag"
50717 || test ! -s conftest.err'
50718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50719 (eval $ac_try) 2>&5
50720 ac_status=$?
50721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50722 (exit $ac_status); }; } &&
50723 { ac_try='test -s conftest.$ac_objext'
50724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50725 (eval $ac_try) 2>&5
50726 ac_status=$?
50727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50728 (exit $ac_status); }; }; then
50729 glibcxx_cv_func___builtin_fabs_use=yes
50730 else
50731 echo "$as_me: failed program was:" >&5
50732 sed 's/^/| /' conftest.$ac_ext >&5
50734 glibcxx_cv_func___builtin_fabs_use=no
50736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50737 ac_ext=c
50738 ac_cpp='$CPP $CPPFLAGS'
50739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50747 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50748 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50749 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50750 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50751 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50752 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50753 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50754 echo $ECHO_N "(cached) $ECHO_C" >&6
50755 else
50757 if test x$gcc_no_link = xyes; then
50758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50760 { (exit 1); exit 1; }; }
50762 cat >conftest.$ac_ext <<_ACEOF
50763 /* confdefs.h. */
50764 _ACEOF
50765 cat confdefs.h >>conftest.$ac_ext
50766 cat >>conftest.$ac_ext <<_ACEOF
50767 /* end confdefs.h. */
50768 #include <math.h>
50770 main ()
50772 __builtin_fabs(0);
50774 return 0;
50776 _ACEOF
50777 rm -f conftest.$ac_objext conftest$ac_exeext
50778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50779 (eval $ac_link) 2>conftest.er1
50780 ac_status=$?
50781 grep -v '^ *+' conftest.er1 >conftest.err
50782 rm -f conftest.er1
50783 cat conftest.err >&5
50784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50785 (exit $ac_status); } &&
50786 { ac_try='test -z "$ac_c_werror_flag"
50787 || test ! -s conftest.err'
50788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50789 (eval $ac_try) 2>&5
50790 ac_status=$?
50791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792 (exit $ac_status); }; } &&
50793 { ac_try='test -s conftest$ac_exeext'
50794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50795 (eval $ac_try) 2>&5
50796 ac_status=$?
50797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50798 (exit $ac_status); }; }; then
50799 glibcxx_cv_func___builtin_fabs_link=yes
50800 else
50801 echo "$as_me: failed program was:" >&5
50802 sed 's/^/| /' conftest.$ac_ext >&5
50804 glibcxx_cv_func___builtin_fabs_link=no
50806 rm -f conftest.err conftest.$ac_objext \
50807 conftest$ac_exeext conftest.$ac_ext
50812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50813 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50815 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50817 cat >>confdefs.h <<\_ACEOF
50818 #define HAVE___BUILTIN_FABS 1
50819 _ACEOF
50826 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50827 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50828 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50829 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50830 echo $ECHO_N "(cached) $ECHO_C" >&6
50831 else
50835 ac_ext=cc
50836 ac_cpp='$CXXCPP $CPPFLAGS'
50837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50841 cat >conftest.$ac_ext <<_ACEOF
50842 /* confdefs.h. */
50843 _ACEOF
50844 cat confdefs.h >>conftest.$ac_ext
50845 cat >>conftest.$ac_ext <<_ACEOF
50846 /* end confdefs.h. */
50847 #include <math.h>
50849 main ()
50851 __builtin_fabsl(0);
50853 return 0;
50855 _ACEOF
50856 rm -f conftest.$ac_objext
50857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50858 (eval $ac_compile) 2>conftest.er1
50859 ac_status=$?
50860 grep -v '^ *+' conftest.er1 >conftest.err
50861 rm -f conftest.er1
50862 cat conftest.err >&5
50863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864 (exit $ac_status); } &&
50865 { ac_try='test -z "$ac_cxx_werror_flag"
50866 || test ! -s conftest.err'
50867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50868 (eval $ac_try) 2>&5
50869 ac_status=$?
50870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50871 (exit $ac_status); }; } &&
50872 { ac_try='test -s conftest.$ac_objext'
50873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50874 (eval $ac_try) 2>&5
50875 ac_status=$?
50876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50877 (exit $ac_status); }; }; then
50878 glibcxx_cv_func___builtin_fabsl_use=yes
50879 else
50880 echo "$as_me: failed program was:" >&5
50881 sed 's/^/| /' conftest.$ac_ext >&5
50883 glibcxx_cv_func___builtin_fabsl_use=no
50885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50886 ac_ext=c
50887 ac_cpp='$CPP $CPPFLAGS'
50888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50896 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50897 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50898 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50899 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50900 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50901 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50902 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50903 echo $ECHO_N "(cached) $ECHO_C" >&6
50904 else
50906 if test x$gcc_no_link = xyes; then
50907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50909 { (exit 1); exit 1; }; }
50911 cat >conftest.$ac_ext <<_ACEOF
50912 /* confdefs.h. */
50913 _ACEOF
50914 cat confdefs.h >>conftest.$ac_ext
50915 cat >>conftest.$ac_ext <<_ACEOF
50916 /* end confdefs.h. */
50917 #include <math.h>
50919 main ()
50921 __builtin_fabsl(0);
50923 return 0;
50925 _ACEOF
50926 rm -f conftest.$ac_objext conftest$ac_exeext
50927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50928 (eval $ac_link) 2>conftest.er1
50929 ac_status=$?
50930 grep -v '^ *+' conftest.er1 >conftest.err
50931 rm -f conftest.er1
50932 cat conftest.err >&5
50933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50934 (exit $ac_status); } &&
50935 { ac_try='test -z "$ac_c_werror_flag"
50936 || test ! -s conftest.err'
50937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50938 (eval $ac_try) 2>&5
50939 ac_status=$?
50940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50941 (exit $ac_status); }; } &&
50942 { ac_try='test -s conftest$ac_exeext'
50943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50944 (eval $ac_try) 2>&5
50945 ac_status=$?
50946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50947 (exit $ac_status); }; }; then
50948 glibcxx_cv_func___builtin_fabsl_link=yes
50949 else
50950 echo "$as_me: failed program was:" >&5
50951 sed 's/^/| /' conftest.$ac_ext >&5
50953 glibcxx_cv_func___builtin_fabsl_link=no
50955 rm -f conftest.err conftest.$ac_objext \
50956 conftest$ac_exeext conftest.$ac_ext
50961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50962 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50964 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50966 cat >>confdefs.h <<\_ACEOF
50967 #define HAVE___BUILTIN_FABSL 1
50968 _ACEOF
50975 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50976 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50977 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50978 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50979 echo $ECHO_N "(cached) $ECHO_C" >&6
50980 else
50984 ac_ext=cc
50985 ac_cpp='$CXXCPP $CPPFLAGS'
50986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50990 cat >conftest.$ac_ext <<_ACEOF
50991 /* confdefs.h. */
50992 _ACEOF
50993 cat confdefs.h >>conftest.$ac_ext
50994 cat >>conftest.$ac_ext <<_ACEOF
50995 /* end confdefs.h. */
50996 #include <math.h>
50998 main ()
51000 __builtin_labs(0);
51002 return 0;
51004 _ACEOF
51005 rm -f conftest.$ac_objext
51006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51007 (eval $ac_compile) 2>conftest.er1
51008 ac_status=$?
51009 grep -v '^ *+' conftest.er1 >conftest.err
51010 rm -f conftest.er1
51011 cat conftest.err >&5
51012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51013 (exit $ac_status); } &&
51014 { ac_try='test -z "$ac_cxx_werror_flag"
51015 || test ! -s conftest.err'
51016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51017 (eval $ac_try) 2>&5
51018 ac_status=$?
51019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51020 (exit $ac_status); }; } &&
51021 { ac_try='test -s conftest.$ac_objext'
51022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51023 (eval $ac_try) 2>&5
51024 ac_status=$?
51025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51026 (exit $ac_status); }; }; then
51027 glibcxx_cv_func___builtin_labs_use=yes
51028 else
51029 echo "$as_me: failed program was:" >&5
51030 sed 's/^/| /' conftest.$ac_ext >&5
51032 glibcxx_cv_func___builtin_labs_use=no
51034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51035 ac_ext=c
51036 ac_cpp='$CPP $CPPFLAGS'
51037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51045 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
51046 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
51047 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
51048 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
51049 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
51050 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
51051 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
51052 echo $ECHO_N "(cached) $ECHO_C" >&6
51053 else
51055 if test x$gcc_no_link = xyes; then
51056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51058 { (exit 1); exit 1; }; }
51060 cat >conftest.$ac_ext <<_ACEOF
51061 /* confdefs.h. */
51062 _ACEOF
51063 cat confdefs.h >>conftest.$ac_ext
51064 cat >>conftest.$ac_ext <<_ACEOF
51065 /* end confdefs.h. */
51066 #include <math.h>
51068 main ()
51070 __builtin_labs(0);
51072 return 0;
51074 _ACEOF
51075 rm -f conftest.$ac_objext conftest$ac_exeext
51076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51077 (eval $ac_link) 2>conftest.er1
51078 ac_status=$?
51079 grep -v '^ *+' conftest.er1 >conftest.err
51080 rm -f conftest.er1
51081 cat conftest.err >&5
51082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51083 (exit $ac_status); } &&
51084 { ac_try='test -z "$ac_c_werror_flag"
51085 || test ! -s conftest.err'
51086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51087 (eval $ac_try) 2>&5
51088 ac_status=$?
51089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51090 (exit $ac_status); }; } &&
51091 { ac_try='test -s conftest$ac_exeext'
51092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51093 (eval $ac_try) 2>&5
51094 ac_status=$?
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); }; }; then
51097 glibcxx_cv_func___builtin_labs_link=yes
51098 else
51099 echo "$as_me: failed program was:" >&5
51100 sed 's/^/| /' conftest.$ac_ext >&5
51102 glibcxx_cv_func___builtin_labs_link=no
51104 rm -f conftest.err conftest.$ac_objext \
51105 conftest$ac_exeext conftest.$ac_ext
51110 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
51111 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
51113 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
51115 cat >>confdefs.h <<\_ACEOF
51116 #define HAVE___BUILTIN_LABS 1
51117 _ACEOF
51125 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
51126 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
51127 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
51128 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
51129 echo $ECHO_N "(cached) $ECHO_C" >&6
51130 else
51134 ac_ext=cc
51135 ac_cpp='$CXXCPP $CPPFLAGS'
51136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51140 cat >conftest.$ac_ext <<_ACEOF
51141 /* confdefs.h. */
51142 _ACEOF
51143 cat confdefs.h >>conftest.$ac_ext
51144 cat >>conftest.$ac_ext <<_ACEOF
51145 /* end confdefs.h. */
51146 #include <math.h>
51148 main ()
51150 __builtin_sqrtf(0);
51152 return 0;
51154 _ACEOF
51155 rm -f conftest.$ac_objext
51156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51157 (eval $ac_compile) 2>conftest.er1
51158 ac_status=$?
51159 grep -v '^ *+' conftest.er1 >conftest.err
51160 rm -f conftest.er1
51161 cat conftest.err >&5
51162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51163 (exit $ac_status); } &&
51164 { ac_try='test -z "$ac_cxx_werror_flag"
51165 || test ! -s conftest.err'
51166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51167 (eval $ac_try) 2>&5
51168 ac_status=$?
51169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51170 (exit $ac_status); }; } &&
51171 { ac_try='test -s conftest.$ac_objext'
51172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51173 (eval $ac_try) 2>&5
51174 ac_status=$?
51175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51176 (exit $ac_status); }; }; then
51177 glibcxx_cv_func___builtin_sqrtf_use=yes
51178 else
51179 echo "$as_me: failed program was:" >&5
51180 sed 's/^/| /' conftest.$ac_ext >&5
51182 glibcxx_cv_func___builtin_sqrtf_use=no
51184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51185 ac_ext=c
51186 ac_cpp='$CPP $CPPFLAGS'
51187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51195 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
51196 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
51197 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
51198 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
51199 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
51200 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
51201 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
51202 echo $ECHO_N "(cached) $ECHO_C" >&6
51203 else
51205 if test x$gcc_no_link = xyes; then
51206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51208 { (exit 1); exit 1; }; }
51210 cat >conftest.$ac_ext <<_ACEOF
51211 /* confdefs.h. */
51212 _ACEOF
51213 cat confdefs.h >>conftest.$ac_ext
51214 cat >>conftest.$ac_ext <<_ACEOF
51215 /* end confdefs.h. */
51216 #include <math.h>
51218 main ()
51220 __builtin_sqrtf(0);
51222 return 0;
51224 _ACEOF
51225 rm -f conftest.$ac_objext conftest$ac_exeext
51226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51227 (eval $ac_link) 2>conftest.er1
51228 ac_status=$?
51229 grep -v '^ *+' conftest.er1 >conftest.err
51230 rm -f conftest.er1
51231 cat conftest.err >&5
51232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51233 (exit $ac_status); } &&
51234 { ac_try='test -z "$ac_c_werror_flag"
51235 || test ! -s conftest.err'
51236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51237 (eval $ac_try) 2>&5
51238 ac_status=$?
51239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51240 (exit $ac_status); }; } &&
51241 { ac_try='test -s conftest$ac_exeext'
51242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51243 (eval $ac_try) 2>&5
51244 ac_status=$?
51245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51246 (exit $ac_status); }; }; then
51247 glibcxx_cv_func___builtin_sqrtf_link=yes
51248 else
51249 echo "$as_me: failed program was:" >&5
51250 sed 's/^/| /' conftest.$ac_ext >&5
51252 glibcxx_cv_func___builtin_sqrtf_link=no
51254 rm -f conftest.err conftest.$ac_objext \
51255 conftest$ac_exeext conftest.$ac_ext
51260 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
51261 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
51263 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
51265 cat >>confdefs.h <<\_ACEOF
51266 #define HAVE___BUILTIN_SQRTF 1
51267 _ACEOF
51274 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
51275 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
51276 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
51277 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
51278 echo $ECHO_N "(cached) $ECHO_C" >&6
51279 else
51283 ac_ext=cc
51284 ac_cpp='$CXXCPP $CPPFLAGS'
51285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51289 cat >conftest.$ac_ext <<_ACEOF
51290 /* confdefs.h. */
51291 _ACEOF
51292 cat confdefs.h >>conftest.$ac_ext
51293 cat >>conftest.$ac_ext <<_ACEOF
51294 /* end confdefs.h. */
51295 #include <math.h>
51297 main ()
51299 __builtin_sqrt(0);
51301 return 0;
51303 _ACEOF
51304 rm -f conftest.$ac_objext
51305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51306 (eval $ac_compile) 2>conftest.er1
51307 ac_status=$?
51308 grep -v '^ *+' conftest.er1 >conftest.err
51309 rm -f conftest.er1
51310 cat conftest.err >&5
51311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51312 (exit $ac_status); } &&
51313 { ac_try='test -z "$ac_cxx_werror_flag"
51314 || test ! -s conftest.err'
51315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51316 (eval $ac_try) 2>&5
51317 ac_status=$?
51318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51319 (exit $ac_status); }; } &&
51320 { ac_try='test -s conftest.$ac_objext'
51321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51322 (eval $ac_try) 2>&5
51323 ac_status=$?
51324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51325 (exit $ac_status); }; }; then
51326 glibcxx_cv_func___builtin_sqrt_use=yes
51327 else
51328 echo "$as_me: failed program was:" >&5
51329 sed 's/^/| /' conftest.$ac_ext >&5
51331 glibcxx_cv_func___builtin_sqrt_use=no
51333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51334 ac_ext=c
51335 ac_cpp='$CPP $CPPFLAGS'
51336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51344 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51345 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51346 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51347 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51348 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51349 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51350 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51351 echo $ECHO_N "(cached) $ECHO_C" >&6
51352 else
51354 if test x$gcc_no_link = xyes; then
51355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51357 { (exit 1); exit 1; }; }
51359 cat >conftest.$ac_ext <<_ACEOF
51360 /* confdefs.h. */
51361 _ACEOF
51362 cat confdefs.h >>conftest.$ac_ext
51363 cat >>conftest.$ac_ext <<_ACEOF
51364 /* end confdefs.h. */
51365 #include <math.h>
51367 main ()
51369 __builtin_sqrt(0);
51371 return 0;
51373 _ACEOF
51374 rm -f conftest.$ac_objext conftest$ac_exeext
51375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51376 (eval $ac_link) 2>conftest.er1
51377 ac_status=$?
51378 grep -v '^ *+' conftest.er1 >conftest.err
51379 rm -f conftest.er1
51380 cat conftest.err >&5
51381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51382 (exit $ac_status); } &&
51383 { ac_try='test -z "$ac_c_werror_flag"
51384 || test ! -s conftest.err'
51385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51386 (eval $ac_try) 2>&5
51387 ac_status=$?
51388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51389 (exit $ac_status); }; } &&
51390 { ac_try='test -s conftest$ac_exeext'
51391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51392 (eval $ac_try) 2>&5
51393 ac_status=$?
51394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51395 (exit $ac_status); }; }; then
51396 glibcxx_cv_func___builtin_sqrt_link=yes
51397 else
51398 echo "$as_me: failed program was:" >&5
51399 sed 's/^/| /' conftest.$ac_ext >&5
51401 glibcxx_cv_func___builtin_sqrt_link=no
51403 rm -f conftest.err conftest.$ac_objext \
51404 conftest$ac_exeext conftest.$ac_ext
51409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51410 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51412 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51414 cat >>confdefs.h <<\_ACEOF
51415 #define HAVE___BUILTIN_SQRT 1
51416 _ACEOF
51423 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51424 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51425 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51426 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51427 echo $ECHO_N "(cached) $ECHO_C" >&6
51428 else
51432 ac_ext=cc
51433 ac_cpp='$CXXCPP $CPPFLAGS'
51434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51438 cat >conftest.$ac_ext <<_ACEOF
51439 /* confdefs.h. */
51440 _ACEOF
51441 cat confdefs.h >>conftest.$ac_ext
51442 cat >>conftest.$ac_ext <<_ACEOF
51443 /* end confdefs.h. */
51444 #include <math.h>
51446 main ()
51448 __builtin_sqrtl(0);
51450 return 0;
51452 _ACEOF
51453 rm -f conftest.$ac_objext
51454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51455 (eval $ac_compile) 2>conftest.er1
51456 ac_status=$?
51457 grep -v '^ *+' conftest.er1 >conftest.err
51458 rm -f conftest.er1
51459 cat conftest.err >&5
51460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51461 (exit $ac_status); } &&
51462 { ac_try='test -z "$ac_cxx_werror_flag"
51463 || test ! -s conftest.err'
51464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51465 (eval $ac_try) 2>&5
51466 ac_status=$?
51467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51468 (exit $ac_status); }; } &&
51469 { ac_try='test -s conftest.$ac_objext'
51470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51471 (eval $ac_try) 2>&5
51472 ac_status=$?
51473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51474 (exit $ac_status); }; }; then
51475 glibcxx_cv_func___builtin_sqrtl_use=yes
51476 else
51477 echo "$as_me: failed program was:" >&5
51478 sed 's/^/| /' conftest.$ac_ext >&5
51480 glibcxx_cv_func___builtin_sqrtl_use=no
51482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51483 ac_ext=c
51484 ac_cpp='$CPP $CPPFLAGS'
51485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51493 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51494 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51495 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51496 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51497 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51498 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51499 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51500 echo $ECHO_N "(cached) $ECHO_C" >&6
51501 else
51503 if test x$gcc_no_link = xyes; then
51504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51506 { (exit 1); exit 1; }; }
51508 cat >conftest.$ac_ext <<_ACEOF
51509 /* confdefs.h. */
51510 _ACEOF
51511 cat confdefs.h >>conftest.$ac_ext
51512 cat >>conftest.$ac_ext <<_ACEOF
51513 /* end confdefs.h. */
51514 #include <math.h>
51516 main ()
51518 __builtin_sqrtl(0);
51520 return 0;
51522 _ACEOF
51523 rm -f conftest.$ac_objext conftest$ac_exeext
51524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51525 (eval $ac_link) 2>conftest.er1
51526 ac_status=$?
51527 grep -v '^ *+' conftest.er1 >conftest.err
51528 rm -f conftest.er1
51529 cat conftest.err >&5
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); } &&
51532 { ac_try='test -z "$ac_c_werror_flag"
51533 || test ! -s conftest.err'
51534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51535 (eval $ac_try) 2>&5
51536 ac_status=$?
51537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51538 (exit $ac_status); }; } &&
51539 { ac_try='test -s conftest$ac_exeext'
51540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51541 (eval $ac_try) 2>&5
51542 ac_status=$?
51543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51544 (exit $ac_status); }; }; then
51545 glibcxx_cv_func___builtin_sqrtl_link=yes
51546 else
51547 echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51550 glibcxx_cv_func___builtin_sqrtl_link=no
51552 rm -f conftest.err conftest.$ac_objext \
51553 conftest$ac_exeext conftest.$ac_ext
51558 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51559 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51561 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51563 cat >>confdefs.h <<\_ACEOF
51564 #define HAVE___BUILTIN_SQRTL 1
51565 _ACEOF
51573 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51574 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51575 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51576 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51577 echo $ECHO_N "(cached) $ECHO_C" >&6
51578 else
51582 ac_ext=cc
51583 ac_cpp='$CXXCPP $CPPFLAGS'
51584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51588 cat >conftest.$ac_ext <<_ACEOF
51589 /* confdefs.h. */
51590 _ACEOF
51591 cat confdefs.h >>conftest.$ac_ext
51592 cat >>conftest.$ac_ext <<_ACEOF
51593 /* end confdefs.h. */
51594 #include <math.h>
51596 main ()
51598 __builtin_sinf(0);
51600 return 0;
51602 _ACEOF
51603 rm -f conftest.$ac_objext
51604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51605 (eval $ac_compile) 2>conftest.er1
51606 ac_status=$?
51607 grep -v '^ *+' conftest.er1 >conftest.err
51608 rm -f conftest.er1
51609 cat conftest.err >&5
51610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51611 (exit $ac_status); } &&
51612 { ac_try='test -z "$ac_cxx_werror_flag"
51613 || test ! -s conftest.err'
51614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51615 (eval $ac_try) 2>&5
51616 ac_status=$?
51617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51618 (exit $ac_status); }; } &&
51619 { ac_try='test -s conftest.$ac_objext'
51620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51621 (eval $ac_try) 2>&5
51622 ac_status=$?
51623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51624 (exit $ac_status); }; }; then
51625 glibcxx_cv_func___builtin_sinf_use=yes
51626 else
51627 echo "$as_me: failed program was:" >&5
51628 sed 's/^/| /' conftest.$ac_ext >&5
51630 glibcxx_cv_func___builtin_sinf_use=no
51632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51633 ac_ext=c
51634 ac_cpp='$CPP $CPPFLAGS'
51635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51643 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51644 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51645 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51646 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51647 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51648 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51649 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51650 echo $ECHO_N "(cached) $ECHO_C" >&6
51651 else
51653 if test x$gcc_no_link = xyes; then
51654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51656 { (exit 1); exit 1; }; }
51658 cat >conftest.$ac_ext <<_ACEOF
51659 /* confdefs.h. */
51660 _ACEOF
51661 cat confdefs.h >>conftest.$ac_ext
51662 cat >>conftest.$ac_ext <<_ACEOF
51663 /* end confdefs.h. */
51664 #include <math.h>
51666 main ()
51668 __builtin_sinf(0);
51670 return 0;
51672 _ACEOF
51673 rm -f conftest.$ac_objext conftest$ac_exeext
51674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51675 (eval $ac_link) 2>conftest.er1
51676 ac_status=$?
51677 grep -v '^ *+' conftest.er1 >conftest.err
51678 rm -f conftest.er1
51679 cat conftest.err >&5
51680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51681 (exit $ac_status); } &&
51682 { ac_try='test -z "$ac_c_werror_flag"
51683 || test ! -s conftest.err'
51684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51685 (eval $ac_try) 2>&5
51686 ac_status=$?
51687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51688 (exit $ac_status); }; } &&
51689 { ac_try='test -s conftest$ac_exeext'
51690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51691 (eval $ac_try) 2>&5
51692 ac_status=$?
51693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51694 (exit $ac_status); }; }; then
51695 glibcxx_cv_func___builtin_sinf_link=yes
51696 else
51697 echo "$as_me: failed program was:" >&5
51698 sed 's/^/| /' conftest.$ac_ext >&5
51700 glibcxx_cv_func___builtin_sinf_link=no
51702 rm -f conftest.err conftest.$ac_objext \
51703 conftest$ac_exeext conftest.$ac_ext
51708 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51711 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51713 cat >>confdefs.h <<\_ACEOF
51714 #define HAVE___BUILTIN_SINF 1
51715 _ACEOF
51722 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51723 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51724 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51725 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51726 echo $ECHO_N "(cached) $ECHO_C" >&6
51727 else
51731 ac_ext=cc
51732 ac_cpp='$CXXCPP $CPPFLAGS'
51733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51737 cat >conftest.$ac_ext <<_ACEOF
51738 /* confdefs.h. */
51739 _ACEOF
51740 cat confdefs.h >>conftest.$ac_ext
51741 cat >>conftest.$ac_ext <<_ACEOF
51742 /* end confdefs.h. */
51743 #include <math.h>
51745 main ()
51747 __builtin_sin(0);
51749 return 0;
51751 _ACEOF
51752 rm -f conftest.$ac_objext
51753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51754 (eval $ac_compile) 2>conftest.er1
51755 ac_status=$?
51756 grep -v '^ *+' conftest.er1 >conftest.err
51757 rm -f conftest.er1
51758 cat conftest.err >&5
51759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51760 (exit $ac_status); } &&
51761 { ac_try='test -z "$ac_cxx_werror_flag"
51762 || test ! -s conftest.err'
51763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51764 (eval $ac_try) 2>&5
51765 ac_status=$?
51766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51767 (exit $ac_status); }; } &&
51768 { ac_try='test -s conftest.$ac_objext'
51769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51770 (eval $ac_try) 2>&5
51771 ac_status=$?
51772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51773 (exit $ac_status); }; }; then
51774 glibcxx_cv_func___builtin_sin_use=yes
51775 else
51776 echo "$as_me: failed program was:" >&5
51777 sed 's/^/| /' conftest.$ac_ext >&5
51779 glibcxx_cv_func___builtin_sin_use=no
51781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51782 ac_ext=c
51783 ac_cpp='$CPP $CPPFLAGS'
51784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51792 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51793 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51794 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51795 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51796 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51797 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51798 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51799 echo $ECHO_N "(cached) $ECHO_C" >&6
51800 else
51802 if test x$gcc_no_link = xyes; then
51803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51805 { (exit 1); exit 1; }; }
51807 cat >conftest.$ac_ext <<_ACEOF
51808 /* confdefs.h. */
51809 _ACEOF
51810 cat confdefs.h >>conftest.$ac_ext
51811 cat >>conftest.$ac_ext <<_ACEOF
51812 /* end confdefs.h. */
51813 #include <math.h>
51815 main ()
51817 __builtin_sin(0);
51819 return 0;
51821 _ACEOF
51822 rm -f conftest.$ac_objext conftest$ac_exeext
51823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51824 (eval $ac_link) 2>conftest.er1
51825 ac_status=$?
51826 grep -v '^ *+' conftest.er1 >conftest.err
51827 rm -f conftest.er1
51828 cat conftest.err >&5
51829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51830 (exit $ac_status); } &&
51831 { ac_try='test -z "$ac_c_werror_flag"
51832 || test ! -s conftest.err'
51833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51834 (eval $ac_try) 2>&5
51835 ac_status=$?
51836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51837 (exit $ac_status); }; } &&
51838 { ac_try='test -s conftest$ac_exeext'
51839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51840 (eval $ac_try) 2>&5
51841 ac_status=$?
51842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51843 (exit $ac_status); }; }; then
51844 glibcxx_cv_func___builtin_sin_link=yes
51845 else
51846 echo "$as_me: failed program was:" >&5
51847 sed 's/^/| /' conftest.$ac_ext >&5
51849 glibcxx_cv_func___builtin_sin_link=no
51851 rm -f conftest.err conftest.$ac_objext \
51852 conftest$ac_exeext conftest.$ac_ext
51857 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51858 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51860 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51862 cat >>confdefs.h <<\_ACEOF
51863 #define HAVE___BUILTIN_SIN 1
51864 _ACEOF
51871 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51872 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51873 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51874 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51875 echo $ECHO_N "(cached) $ECHO_C" >&6
51876 else
51880 ac_ext=cc
51881 ac_cpp='$CXXCPP $CPPFLAGS'
51882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51886 cat >conftest.$ac_ext <<_ACEOF
51887 /* confdefs.h. */
51888 _ACEOF
51889 cat confdefs.h >>conftest.$ac_ext
51890 cat >>conftest.$ac_ext <<_ACEOF
51891 /* end confdefs.h. */
51892 #include <math.h>
51894 main ()
51896 __builtin_sinl(0);
51898 return 0;
51900 _ACEOF
51901 rm -f conftest.$ac_objext
51902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51903 (eval $ac_compile) 2>conftest.er1
51904 ac_status=$?
51905 grep -v '^ *+' conftest.er1 >conftest.err
51906 rm -f conftest.er1
51907 cat conftest.err >&5
51908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51909 (exit $ac_status); } &&
51910 { ac_try='test -z "$ac_cxx_werror_flag"
51911 || test ! -s conftest.err'
51912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51913 (eval $ac_try) 2>&5
51914 ac_status=$?
51915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51916 (exit $ac_status); }; } &&
51917 { ac_try='test -s conftest.$ac_objext'
51918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51919 (eval $ac_try) 2>&5
51920 ac_status=$?
51921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51922 (exit $ac_status); }; }; then
51923 glibcxx_cv_func___builtin_sinl_use=yes
51924 else
51925 echo "$as_me: failed program was:" >&5
51926 sed 's/^/| /' conftest.$ac_ext >&5
51928 glibcxx_cv_func___builtin_sinl_use=no
51930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51931 ac_ext=c
51932 ac_cpp='$CPP $CPPFLAGS'
51933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51941 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51942 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51943 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51944 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51945 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51946 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51947 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51948 echo $ECHO_N "(cached) $ECHO_C" >&6
51949 else
51951 if test x$gcc_no_link = xyes; then
51952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51954 { (exit 1); exit 1; }; }
51956 cat >conftest.$ac_ext <<_ACEOF
51957 /* confdefs.h. */
51958 _ACEOF
51959 cat confdefs.h >>conftest.$ac_ext
51960 cat >>conftest.$ac_ext <<_ACEOF
51961 /* end confdefs.h. */
51962 #include <math.h>
51964 main ()
51966 __builtin_sinl(0);
51968 return 0;
51970 _ACEOF
51971 rm -f conftest.$ac_objext conftest$ac_exeext
51972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51973 (eval $ac_link) 2>conftest.er1
51974 ac_status=$?
51975 grep -v '^ *+' conftest.er1 >conftest.err
51976 rm -f conftest.er1
51977 cat conftest.err >&5
51978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51979 (exit $ac_status); } &&
51980 { ac_try='test -z "$ac_c_werror_flag"
51981 || test ! -s conftest.err'
51982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51983 (eval $ac_try) 2>&5
51984 ac_status=$?
51985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51986 (exit $ac_status); }; } &&
51987 { ac_try='test -s conftest$ac_exeext'
51988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51989 (eval $ac_try) 2>&5
51990 ac_status=$?
51991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51992 (exit $ac_status); }; }; then
51993 glibcxx_cv_func___builtin_sinl_link=yes
51994 else
51995 echo "$as_me: failed program was:" >&5
51996 sed 's/^/| /' conftest.$ac_ext >&5
51998 glibcxx_cv_func___builtin_sinl_link=no
52000 rm -f conftest.err conftest.$ac_objext \
52001 conftest$ac_exeext conftest.$ac_ext
52006 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
52007 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
52009 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
52011 cat >>confdefs.h <<\_ACEOF
52012 #define HAVE___BUILTIN_SINL 1
52013 _ACEOF
52021 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
52022 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
52023 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
52024 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
52025 echo $ECHO_N "(cached) $ECHO_C" >&6
52026 else
52030 ac_ext=cc
52031 ac_cpp='$CXXCPP $CPPFLAGS'
52032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52036 cat >conftest.$ac_ext <<_ACEOF
52037 /* confdefs.h. */
52038 _ACEOF
52039 cat confdefs.h >>conftest.$ac_ext
52040 cat >>conftest.$ac_ext <<_ACEOF
52041 /* end confdefs.h. */
52042 #include <math.h>
52044 main ()
52046 __builtin_cosf(0);
52048 return 0;
52050 _ACEOF
52051 rm -f conftest.$ac_objext
52052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52053 (eval $ac_compile) 2>conftest.er1
52054 ac_status=$?
52055 grep -v '^ *+' conftest.er1 >conftest.err
52056 rm -f conftest.er1
52057 cat conftest.err >&5
52058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52059 (exit $ac_status); } &&
52060 { ac_try='test -z "$ac_cxx_werror_flag"
52061 || test ! -s conftest.err'
52062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52063 (eval $ac_try) 2>&5
52064 ac_status=$?
52065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52066 (exit $ac_status); }; } &&
52067 { ac_try='test -s conftest.$ac_objext'
52068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52069 (eval $ac_try) 2>&5
52070 ac_status=$?
52071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52072 (exit $ac_status); }; }; then
52073 glibcxx_cv_func___builtin_cosf_use=yes
52074 else
52075 echo "$as_me: failed program was:" >&5
52076 sed 's/^/| /' conftest.$ac_ext >&5
52078 glibcxx_cv_func___builtin_cosf_use=no
52080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52081 ac_ext=c
52082 ac_cpp='$CPP $CPPFLAGS'
52083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52091 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
52092 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
52093 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
52094 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
52095 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
52096 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
52097 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
52098 echo $ECHO_N "(cached) $ECHO_C" >&6
52099 else
52101 if test x$gcc_no_link = xyes; then
52102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52104 { (exit 1); exit 1; }; }
52106 cat >conftest.$ac_ext <<_ACEOF
52107 /* confdefs.h. */
52108 _ACEOF
52109 cat confdefs.h >>conftest.$ac_ext
52110 cat >>conftest.$ac_ext <<_ACEOF
52111 /* end confdefs.h. */
52112 #include <math.h>
52114 main ()
52116 __builtin_cosf(0);
52118 return 0;
52120 _ACEOF
52121 rm -f conftest.$ac_objext conftest$ac_exeext
52122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52123 (eval $ac_link) 2>conftest.er1
52124 ac_status=$?
52125 grep -v '^ *+' conftest.er1 >conftest.err
52126 rm -f conftest.er1
52127 cat conftest.err >&5
52128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52129 (exit $ac_status); } &&
52130 { ac_try='test -z "$ac_c_werror_flag"
52131 || test ! -s conftest.err'
52132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52133 (eval $ac_try) 2>&5
52134 ac_status=$?
52135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52136 (exit $ac_status); }; } &&
52137 { ac_try='test -s conftest$ac_exeext'
52138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52139 (eval $ac_try) 2>&5
52140 ac_status=$?
52141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52142 (exit $ac_status); }; }; then
52143 glibcxx_cv_func___builtin_cosf_link=yes
52144 else
52145 echo "$as_me: failed program was:" >&5
52146 sed 's/^/| /' conftest.$ac_ext >&5
52148 glibcxx_cv_func___builtin_cosf_link=no
52150 rm -f conftest.err conftest.$ac_objext \
52151 conftest$ac_exeext conftest.$ac_ext
52156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
52157 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
52159 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
52161 cat >>confdefs.h <<\_ACEOF
52162 #define HAVE___BUILTIN_COSF 1
52163 _ACEOF
52170 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
52171 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
52172 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
52173 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
52174 echo $ECHO_N "(cached) $ECHO_C" >&6
52175 else
52179 ac_ext=cc
52180 ac_cpp='$CXXCPP $CPPFLAGS'
52181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52185 cat >conftest.$ac_ext <<_ACEOF
52186 /* confdefs.h. */
52187 _ACEOF
52188 cat confdefs.h >>conftest.$ac_ext
52189 cat >>conftest.$ac_ext <<_ACEOF
52190 /* end confdefs.h. */
52191 #include <math.h>
52193 main ()
52195 __builtin_cos(0);
52197 return 0;
52199 _ACEOF
52200 rm -f conftest.$ac_objext
52201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52202 (eval $ac_compile) 2>conftest.er1
52203 ac_status=$?
52204 grep -v '^ *+' conftest.er1 >conftest.err
52205 rm -f conftest.er1
52206 cat conftest.err >&5
52207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52208 (exit $ac_status); } &&
52209 { ac_try='test -z "$ac_cxx_werror_flag"
52210 || test ! -s conftest.err'
52211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52212 (eval $ac_try) 2>&5
52213 ac_status=$?
52214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52215 (exit $ac_status); }; } &&
52216 { ac_try='test -s conftest.$ac_objext'
52217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52218 (eval $ac_try) 2>&5
52219 ac_status=$?
52220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52221 (exit $ac_status); }; }; then
52222 glibcxx_cv_func___builtin_cos_use=yes
52223 else
52224 echo "$as_me: failed program was:" >&5
52225 sed 's/^/| /' conftest.$ac_ext >&5
52227 glibcxx_cv_func___builtin_cos_use=no
52229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52230 ac_ext=c
52231 ac_cpp='$CPP $CPPFLAGS'
52232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52240 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
52241 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
52242 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
52243 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
52244 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
52245 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
52246 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
52247 echo $ECHO_N "(cached) $ECHO_C" >&6
52248 else
52250 if test x$gcc_no_link = xyes; then
52251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52253 { (exit 1); exit 1; }; }
52255 cat >conftest.$ac_ext <<_ACEOF
52256 /* confdefs.h. */
52257 _ACEOF
52258 cat confdefs.h >>conftest.$ac_ext
52259 cat >>conftest.$ac_ext <<_ACEOF
52260 /* end confdefs.h. */
52261 #include <math.h>
52263 main ()
52265 __builtin_cos(0);
52267 return 0;
52269 _ACEOF
52270 rm -f conftest.$ac_objext conftest$ac_exeext
52271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52272 (eval $ac_link) 2>conftest.er1
52273 ac_status=$?
52274 grep -v '^ *+' conftest.er1 >conftest.err
52275 rm -f conftest.er1
52276 cat conftest.err >&5
52277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52278 (exit $ac_status); } &&
52279 { ac_try='test -z "$ac_c_werror_flag"
52280 || test ! -s conftest.err'
52281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52282 (eval $ac_try) 2>&5
52283 ac_status=$?
52284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285 (exit $ac_status); }; } &&
52286 { ac_try='test -s conftest$ac_exeext'
52287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52288 (eval $ac_try) 2>&5
52289 ac_status=$?
52290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52291 (exit $ac_status); }; }; then
52292 glibcxx_cv_func___builtin_cos_link=yes
52293 else
52294 echo "$as_me: failed program was:" >&5
52295 sed 's/^/| /' conftest.$ac_ext >&5
52297 glibcxx_cv_func___builtin_cos_link=no
52299 rm -f conftest.err conftest.$ac_objext \
52300 conftest$ac_exeext conftest.$ac_ext
52305 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52306 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52308 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52310 cat >>confdefs.h <<\_ACEOF
52311 #define HAVE___BUILTIN_COS 1
52312 _ACEOF
52319 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52320 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52321 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52322 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52323 echo $ECHO_N "(cached) $ECHO_C" >&6
52324 else
52328 ac_ext=cc
52329 ac_cpp='$CXXCPP $CPPFLAGS'
52330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52334 cat >conftest.$ac_ext <<_ACEOF
52335 /* confdefs.h. */
52336 _ACEOF
52337 cat confdefs.h >>conftest.$ac_ext
52338 cat >>conftest.$ac_ext <<_ACEOF
52339 /* end confdefs.h. */
52340 #include <math.h>
52342 main ()
52344 __builtin_cosl(0);
52346 return 0;
52348 _ACEOF
52349 rm -f conftest.$ac_objext
52350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52351 (eval $ac_compile) 2>conftest.er1
52352 ac_status=$?
52353 grep -v '^ *+' conftest.er1 >conftest.err
52354 rm -f conftest.er1
52355 cat conftest.err >&5
52356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52357 (exit $ac_status); } &&
52358 { ac_try='test -z "$ac_cxx_werror_flag"
52359 || test ! -s conftest.err'
52360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52361 (eval $ac_try) 2>&5
52362 ac_status=$?
52363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52364 (exit $ac_status); }; } &&
52365 { ac_try='test -s conftest.$ac_objext'
52366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52367 (eval $ac_try) 2>&5
52368 ac_status=$?
52369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52370 (exit $ac_status); }; }; then
52371 glibcxx_cv_func___builtin_cosl_use=yes
52372 else
52373 echo "$as_me: failed program was:" >&5
52374 sed 's/^/| /' conftest.$ac_ext >&5
52376 glibcxx_cv_func___builtin_cosl_use=no
52378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52379 ac_ext=c
52380 ac_cpp='$CPP $CPPFLAGS'
52381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52389 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52390 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52391 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52392 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52393 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52394 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52395 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52396 echo $ECHO_N "(cached) $ECHO_C" >&6
52397 else
52399 if test x$gcc_no_link = xyes; then
52400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52402 { (exit 1); exit 1; }; }
52404 cat >conftest.$ac_ext <<_ACEOF
52405 /* confdefs.h. */
52406 _ACEOF
52407 cat confdefs.h >>conftest.$ac_ext
52408 cat >>conftest.$ac_ext <<_ACEOF
52409 /* end confdefs.h. */
52410 #include <math.h>
52412 main ()
52414 __builtin_cosl(0);
52416 return 0;
52418 _ACEOF
52419 rm -f conftest.$ac_objext conftest$ac_exeext
52420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52421 (eval $ac_link) 2>conftest.er1
52422 ac_status=$?
52423 grep -v '^ *+' conftest.er1 >conftest.err
52424 rm -f conftest.er1
52425 cat conftest.err >&5
52426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52427 (exit $ac_status); } &&
52428 { ac_try='test -z "$ac_c_werror_flag"
52429 || test ! -s conftest.err'
52430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52431 (eval $ac_try) 2>&5
52432 ac_status=$?
52433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52434 (exit $ac_status); }; } &&
52435 { ac_try='test -s conftest$ac_exeext'
52436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52437 (eval $ac_try) 2>&5
52438 ac_status=$?
52439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52440 (exit $ac_status); }; }; then
52441 glibcxx_cv_func___builtin_cosl_link=yes
52442 else
52443 echo "$as_me: failed program was:" >&5
52444 sed 's/^/| /' conftest.$ac_ext >&5
52446 glibcxx_cv_func___builtin_cosl_link=no
52448 rm -f conftest.err conftest.$ac_objext \
52449 conftest$ac_exeext conftest.$ac_ext
52454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52455 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52457 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52459 cat >>confdefs.h <<\_ACEOF
52460 #define HAVE___BUILTIN_COSL 1
52461 _ACEOF
52470 echo "$as_me:$LINENO: checking for main in -lm" >&5
52471 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52472 if test "${ac_cv_lib_m_main+set}" = set; then
52473 echo $ECHO_N "(cached) $ECHO_C" >&6
52474 else
52475 ac_check_lib_save_LIBS=$LIBS
52476 LIBS="-lm $LIBS"
52477 if test x$gcc_no_link = xyes; then
52478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52480 { (exit 1); exit 1; }; }
52482 cat >conftest.$ac_ext <<_ACEOF
52483 /* confdefs.h. */
52484 _ACEOF
52485 cat confdefs.h >>conftest.$ac_ext
52486 cat >>conftest.$ac_ext <<_ACEOF
52487 /* end confdefs.h. */
52491 main ()
52493 main ();
52495 return 0;
52497 _ACEOF
52498 rm -f conftest.$ac_objext conftest$ac_exeext
52499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52500 (eval $ac_link) 2>conftest.er1
52501 ac_status=$?
52502 grep -v '^ *+' conftest.er1 >conftest.err
52503 rm -f conftest.er1
52504 cat conftest.err >&5
52505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52506 (exit $ac_status); } &&
52507 { ac_try='test -z "$ac_c_werror_flag"
52508 || test ! -s conftest.err'
52509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52510 (eval $ac_try) 2>&5
52511 ac_status=$?
52512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52513 (exit $ac_status); }; } &&
52514 { ac_try='test -s conftest$ac_exeext'
52515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52516 (eval $ac_try) 2>&5
52517 ac_status=$?
52518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52519 (exit $ac_status); }; }; then
52520 ac_cv_lib_m_main=yes
52521 else
52522 echo "$as_me: failed program was:" >&5
52523 sed 's/^/| /' conftest.$ac_ext >&5
52525 ac_cv_lib_m_main=no
52527 rm -f conftest.err conftest.$ac_objext \
52528 conftest$ac_exeext conftest.$ac_ext
52529 LIBS=$ac_check_lib_save_LIBS
52531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52532 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52533 if test $ac_cv_lib_m_main = yes; then
52534 cat >>confdefs.h <<_ACEOF
52535 #define HAVE_LIBM 1
52536 _ACEOF
52538 LIBS="-lm $LIBS"
52543 for ac_func in copysignf
52545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52546 echo "$as_me:$LINENO: checking for $ac_func" >&5
52547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52548 if eval "test \"\${$as_ac_var+set}\" = set"; then
52549 echo $ECHO_N "(cached) $ECHO_C" >&6
52550 else
52551 if test x$gcc_no_link = xyes; then
52552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52554 { (exit 1); exit 1; }; }
52556 cat >conftest.$ac_ext <<_ACEOF
52557 /* confdefs.h. */
52558 _ACEOF
52559 cat confdefs.h >>conftest.$ac_ext
52560 cat >>conftest.$ac_ext <<_ACEOF
52561 /* end confdefs.h. */
52562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52564 #define $ac_func innocuous_$ac_func
52566 /* System header to define __stub macros and hopefully few prototypes,
52567 which can conflict with char $ac_func (); below.
52568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52569 <limits.h> exists even on freestanding compilers. */
52571 #ifdef __STDC__
52572 # include <limits.h>
52573 #else
52574 # include <assert.h>
52575 #endif
52577 #undef $ac_func
52579 /* Override any gcc2 internal prototype to avoid an error. */
52580 #ifdef __cplusplus
52581 extern "C"
52583 #endif
52584 /* We use char because int might match the return type of a gcc2
52585 builtin and then its argument prototype would still apply. */
52586 char $ac_func ();
52587 /* The GNU C library defines this for functions which it implements
52588 to always fail with ENOSYS. Some functions are actually named
52589 something starting with __ and the normal name is an alias. */
52590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52591 choke me
52592 #else
52593 char (*f) () = $ac_func;
52594 #endif
52595 #ifdef __cplusplus
52597 #endif
52600 main ()
52602 return f != $ac_func;
52604 return 0;
52606 _ACEOF
52607 rm -f conftest.$ac_objext conftest$ac_exeext
52608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52609 (eval $ac_link) 2>conftest.er1
52610 ac_status=$?
52611 grep -v '^ *+' conftest.er1 >conftest.err
52612 rm -f conftest.er1
52613 cat conftest.err >&5
52614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52615 (exit $ac_status); } &&
52616 { ac_try='test -z "$ac_c_werror_flag"
52617 || test ! -s conftest.err'
52618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52619 (eval $ac_try) 2>&5
52620 ac_status=$?
52621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52622 (exit $ac_status); }; } &&
52623 { ac_try='test -s conftest$ac_exeext'
52624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52625 (eval $ac_try) 2>&5
52626 ac_status=$?
52627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52628 (exit $ac_status); }; }; then
52629 eval "$as_ac_var=yes"
52630 else
52631 echo "$as_me: failed program was:" >&5
52632 sed 's/^/| /' conftest.$ac_ext >&5
52634 eval "$as_ac_var=no"
52636 rm -f conftest.err conftest.$ac_objext \
52637 conftest$ac_exeext conftest.$ac_ext
52639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52641 if test `eval echo '${'$as_ac_var'}'` = yes; then
52642 cat >>confdefs.h <<_ACEOF
52643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52644 _ACEOF
52646 else
52647 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52649 done
52653 for ac_func in __signbit
52655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52656 echo "$as_me:$LINENO: checking for $ac_func" >&5
52657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52658 if eval "test \"\${$as_ac_var+set}\" = set"; then
52659 echo $ECHO_N "(cached) $ECHO_C" >&6
52660 else
52661 if test x$gcc_no_link = xyes; then
52662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52664 { (exit 1); exit 1; }; }
52666 cat >conftest.$ac_ext <<_ACEOF
52667 /* confdefs.h. */
52668 _ACEOF
52669 cat confdefs.h >>conftest.$ac_ext
52670 cat >>conftest.$ac_ext <<_ACEOF
52671 /* end confdefs.h. */
52672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52674 #define $ac_func innocuous_$ac_func
52676 /* System header to define __stub macros and hopefully few prototypes,
52677 which can conflict with char $ac_func (); below.
52678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52679 <limits.h> exists even on freestanding compilers. */
52681 #ifdef __STDC__
52682 # include <limits.h>
52683 #else
52684 # include <assert.h>
52685 #endif
52687 #undef $ac_func
52689 /* Override any gcc2 internal prototype to avoid an error. */
52690 #ifdef __cplusplus
52691 extern "C"
52693 #endif
52694 /* We use char because int might match the return type of a gcc2
52695 builtin and then its argument prototype would still apply. */
52696 char $ac_func ();
52697 /* The GNU C library defines this for functions which it implements
52698 to always fail with ENOSYS. Some functions are actually named
52699 something starting with __ and the normal name is an alias. */
52700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52701 choke me
52702 #else
52703 char (*f) () = $ac_func;
52704 #endif
52705 #ifdef __cplusplus
52707 #endif
52710 main ()
52712 return f != $ac_func;
52714 return 0;
52716 _ACEOF
52717 rm -f conftest.$ac_objext conftest$ac_exeext
52718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52719 (eval $ac_link) 2>conftest.er1
52720 ac_status=$?
52721 grep -v '^ *+' conftest.er1 >conftest.err
52722 rm -f conftest.er1
52723 cat conftest.err >&5
52724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52725 (exit $ac_status); } &&
52726 { ac_try='test -z "$ac_c_werror_flag"
52727 || test ! -s conftest.err'
52728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52729 (eval $ac_try) 2>&5
52730 ac_status=$?
52731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52732 (exit $ac_status); }; } &&
52733 { ac_try='test -s conftest$ac_exeext'
52734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52735 (eval $ac_try) 2>&5
52736 ac_status=$?
52737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52738 (exit $ac_status); }; }; then
52739 eval "$as_ac_var=yes"
52740 else
52741 echo "$as_me: failed program was:" >&5
52742 sed 's/^/| /' conftest.$ac_ext >&5
52744 eval "$as_ac_var=no"
52746 rm -f conftest.err conftest.$ac_objext \
52747 conftest$ac_exeext conftest.$ac_ext
52749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52751 if test `eval echo '${'$as_ac_var'}'` = yes; then
52752 cat >>confdefs.h <<_ACEOF
52753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52754 _ACEOF
52756 else
52757 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52759 done
52763 for ac_func in __signbitf
52765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52766 echo "$as_me:$LINENO: checking for $ac_func" >&5
52767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52768 if eval "test \"\${$as_ac_var+set}\" = set"; then
52769 echo $ECHO_N "(cached) $ECHO_C" >&6
52770 else
52771 if test x$gcc_no_link = xyes; then
52772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52774 { (exit 1); exit 1; }; }
52776 cat >conftest.$ac_ext <<_ACEOF
52777 /* confdefs.h. */
52778 _ACEOF
52779 cat confdefs.h >>conftest.$ac_ext
52780 cat >>conftest.$ac_ext <<_ACEOF
52781 /* end confdefs.h. */
52782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52784 #define $ac_func innocuous_$ac_func
52786 /* System header to define __stub macros and hopefully few prototypes,
52787 which can conflict with char $ac_func (); below.
52788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52789 <limits.h> exists even on freestanding compilers. */
52791 #ifdef __STDC__
52792 # include <limits.h>
52793 #else
52794 # include <assert.h>
52795 #endif
52797 #undef $ac_func
52799 /* Override any gcc2 internal prototype to avoid an error. */
52800 #ifdef __cplusplus
52801 extern "C"
52803 #endif
52804 /* We use char because int might match the return type of a gcc2
52805 builtin and then its argument prototype would still apply. */
52806 char $ac_func ();
52807 /* The GNU C library defines this for functions which it implements
52808 to always fail with ENOSYS. Some functions are actually named
52809 something starting with __ and the normal name is an alias. */
52810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52811 choke me
52812 #else
52813 char (*f) () = $ac_func;
52814 #endif
52815 #ifdef __cplusplus
52817 #endif
52820 main ()
52822 return f != $ac_func;
52824 return 0;
52826 _ACEOF
52827 rm -f conftest.$ac_objext conftest$ac_exeext
52828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52829 (eval $ac_link) 2>conftest.er1
52830 ac_status=$?
52831 grep -v '^ *+' conftest.er1 >conftest.err
52832 rm -f conftest.er1
52833 cat conftest.err >&5
52834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52835 (exit $ac_status); } &&
52836 { ac_try='test -z "$ac_c_werror_flag"
52837 || test ! -s conftest.err'
52838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52839 (eval $ac_try) 2>&5
52840 ac_status=$?
52841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52842 (exit $ac_status); }; } &&
52843 { ac_try='test -s conftest$ac_exeext'
52844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52845 (eval $ac_try) 2>&5
52846 ac_status=$?
52847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52848 (exit $ac_status); }; }; then
52849 eval "$as_ac_var=yes"
52850 else
52851 echo "$as_me: failed program was:" >&5
52852 sed 's/^/| /' conftest.$ac_ext >&5
52854 eval "$as_ac_var=no"
52856 rm -f conftest.err conftest.$ac_objext \
52857 conftest$ac_exeext conftest.$ac_ext
52859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52861 if test `eval echo '${'$as_ac_var'}'` = yes; then
52862 cat >>confdefs.h <<_ACEOF
52863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52864 _ACEOF
52866 else
52867 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52869 done
52872 if test x$ac_cv_func_copysignl = x"yes"; then
52874 for ac_func in __signbitl
52876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52877 echo "$as_me:$LINENO: checking for $ac_func" >&5
52878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52879 if eval "test \"\${$as_ac_var+set}\" = set"; then
52880 echo $ECHO_N "(cached) $ECHO_C" >&6
52881 else
52882 if test x$gcc_no_link = xyes; then
52883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52885 { (exit 1); exit 1; }; }
52887 cat >conftest.$ac_ext <<_ACEOF
52888 /* confdefs.h. */
52889 _ACEOF
52890 cat confdefs.h >>conftest.$ac_ext
52891 cat >>conftest.$ac_ext <<_ACEOF
52892 /* end confdefs.h. */
52893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52895 #define $ac_func innocuous_$ac_func
52897 /* System header to define __stub macros and hopefully few prototypes,
52898 which can conflict with char $ac_func (); below.
52899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52900 <limits.h> exists even on freestanding compilers. */
52902 #ifdef __STDC__
52903 # include <limits.h>
52904 #else
52905 # include <assert.h>
52906 #endif
52908 #undef $ac_func
52910 /* Override any gcc2 internal prototype to avoid an error. */
52911 #ifdef __cplusplus
52912 extern "C"
52914 #endif
52915 /* We use char because int might match the return type of a gcc2
52916 builtin and then its argument prototype would still apply. */
52917 char $ac_func ();
52918 /* The GNU C library defines this for functions which it implements
52919 to always fail with ENOSYS. Some functions are actually named
52920 something starting with __ and the normal name is an alias. */
52921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52922 choke me
52923 #else
52924 char (*f) () = $ac_func;
52925 #endif
52926 #ifdef __cplusplus
52928 #endif
52931 main ()
52933 return f != $ac_func;
52935 return 0;
52937 _ACEOF
52938 rm -f conftest.$ac_objext conftest$ac_exeext
52939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52940 (eval $ac_link) 2>conftest.er1
52941 ac_status=$?
52942 grep -v '^ *+' conftest.er1 >conftest.err
52943 rm -f conftest.er1
52944 cat conftest.err >&5
52945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52946 (exit $ac_status); } &&
52947 { ac_try='test -z "$ac_c_werror_flag"
52948 || test ! -s conftest.err'
52949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52950 (eval $ac_try) 2>&5
52951 ac_status=$?
52952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953 (exit $ac_status); }; } &&
52954 { ac_try='test -s conftest$ac_exeext'
52955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52956 (eval $ac_try) 2>&5
52957 ac_status=$?
52958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52959 (exit $ac_status); }; }; then
52960 eval "$as_ac_var=yes"
52961 else
52962 echo "$as_me: failed program was:" >&5
52963 sed 's/^/| /' conftest.$ac_ext >&5
52965 eval "$as_ac_var=no"
52967 rm -f conftest.err conftest.$ac_objext \
52968 conftest$ac_exeext conftest.$ac_ext
52970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52972 if test `eval echo '${'$as_ac_var'}'` = yes; then
52973 cat >>confdefs.h <<_ACEOF
52974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52975 _ACEOF
52977 else
52978 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52980 done
52984 # Used in libmath/Makefile.am.
52985 if test -n "$LIBMATHOBJS"; then
52986 need_libmath=yes
52991 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52992 ac_save_CXXFLAGS="$CXXFLAGS"
52993 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52996 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52997 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52998 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52999 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53000 echo $ECHO_N "(cached) $ECHO_C" >&6
53001 else
53005 ac_ext=cc
53006 ac_cpp='$CXXCPP $CPPFLAGS'
53007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53011 cat >conftest.$ac_ext <<_ACEOF
53012 /* confdefs.h. */
53013 _ACEOF
53014 cat confdefs.h >>conftest.$ac_ext
53015 cat >>conftest.$ac_ext <<_ACEOF
53016 /* end confdefs.h. */
53017 #include <stdlib.h>
53019 main ()
53021 strtold(0, 0);
53023 return 0;
53025 _ACEOF
53026 rm -f conftest.$ac_objext
53027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53028 (eval $ac_compile) 2>conftest.er1
53029 ac_status=$?
53030 grep -v '^ *+' conftest.er1 >conftest.err
53031 rm -f conftest.er1
53032 cat conftest.err >&5
53033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53034 (exit $ac_status); } &&
53035 { ac_try='test -z "$ac_cxx_werror_flag"
53036 || test ! -s conftest.err'
53037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53038 (eval $ac_try) 2>&5
53039 ac_status=$?
53040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53041 (exit $ac_status); }; } &&
53042 { ac_try='test -s conftest.$ac_objext'
53043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53044 (eval $ac_try) 2>&5
53045 ac_status=$?
53046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047 (exit $ac_status); }; }; then
53048 glibcxx_cv_func_strtold_use=yes
53049 else
53050 echo "$as_me: failed program was:" >&5
53051 sed 's/^/| /' conftest.$ac_ext >&5
53053 glibcxx_cv_func_strtold_use=no
53055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53056 ac_ext=c
53057 ac_cpp='$CPP $CPPFLAGS'
53058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53067 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53068 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53070 for ac_func in strtold
53072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53073 echo "$as_me:$LINENO: checking for $ac_func" >&5
53074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53075 if eval "test \"\${$as_ac_var+set}\" = set"; then
53076 echo $ECHO_N "(cached) $ECHO_C" >&6
53077 else
53078 if test x$gcc_no_link = xyes; then
53079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53081 { (exit 1); exit 1; }; }
53083 cat >conftest.$ac_ext <<_ACEOF
53084 /* confdefs.h. */
53085 _ACEOF
53086 cat confdefs.h >>conftest.$ac_ext
53087 cat >>conftest.$ac_ext <<_ACEOF
53088 /* end confdefs.h. */
53089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53091 #define $ac_func innocuous_$ac_func
53093 /* System header to define __stub macros and hopefully few prototypes,
53094 which can conflict with char $ac_func (); below.
53095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53096 <limits.h> exists even on freestanding compilers. */
53098 #ifdef __STDC__
53099 # include <limits.h>
53100 #else
53101 # include <assert.h>
53102 #endif
53104 #undef $ac_func
53106 /* Override any gcc2 internal prototype to avoid an error. */
53107 #ifdef __cplusplus
53108 extern "C"
53110 #endif
53111 /* We use char because int might match the return type of a gcc2
53112 builtin and then its argument prototype would still apply. */
53113 char $ac_func ();
53114 /* The GNU C library defines this for functions which it implements
53115 to always fail with ENOSYS. Some functions are actually named
53116 something starting with __ and the normal name is an alias. */
53117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53118 choke me
53119 #else
53120 char (*f) () = $ac_func;
53121 #endif
53122 #ifdef __cplusplus
53124 #endif
53127 main ()
53129 return f != $ac_func;
53131 return 0;
53133 _ACEOF
53134 rm -f conftest.$ac_objext conftest$ac_exeext
53135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53136 (eval $ac_link) 2>conftest.er1
53137 ac_status=$?
53138 grep -v '^ *+' conftest.er1 >conftest.err
53139 rm -f conftest.er1
53140 cat conftest.err >&5
53141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53142 (exit $ac_status); } &&
53143 { ac_try='test -z "$ac_c_werror_flag"
53144 || test ! -s conftest.err'
53145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53146 (eval $ac_try) 2>&5
53147 ac_status=$?
53148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53149 (exit $ac_status); }; } &&
53150 { ac_try='test -s conftest$ac_exeext'
53151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53152 (eval $ac_try) 2>&5
53153 ac_status=$?
53154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53155 (exit $ac_status); }; }; then
53156 eval "$as_ac_var=yes"
53157 else
53158 echo "$as_me: failed program was:" >&5
53159 sed 's/^/| /' conftest.$ac_ext >&5
53161 eval "$as_ac_var=no"
53163 rm -f conftest.err conftest.$ac_objext \
53164 conftest$ac_exeext conftest.$ac_ext
53166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53168 if test `eval echo '${'$as_ac_var'}'` = yes; then
53169 cat >>confdefs.h <<_ACEOF
53170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53171 _ACEOF
53174 done
53182 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53183 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53184 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53185 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53186 echo $ECHO_N "(cached) $ECHO_C" >&6
53187 else
53191 ac_ext=cc
53192 ac_cpp='$CXXCPP $CPPFLAGS'
53193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53197 cat >conftest.$ac_ext <<_ACEOF
53198 /* confdefs.h. */
53199 _ACEOF
53200 cat confdefs.h >>conftest.$ac_ext
53201 cat >>conftest.$ac_ext <<_ACEOF
53202 /* end confdefs.h. */
53203 #include <stdlib.h>
53205 main ()
53207 strtof(0, 0);
53209 return 0;
53211 _ACEOF
53212 rm -f conftest.$ac_objext
53213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53214 (eval $ac_compile) 2>conftest.er1
53215 ac_status=$?
53216 grep -v '^ *+' conftest.er1 >conftest.err
53217 rm -f conftest.er1
53218 cat conftest.err >&5
53219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53220 (exit $ac_status); } &&
53221 { ac_try='test -z "$ac_cxx_werror_flag"
53222 || test ! -s conftest.err'
53223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53224 (eval $ac_try) 2>&5
53225 ac_status=$?
53226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53227 (exit $ac_status); }; } &&
53228 { ac_try='test -s conftest.$ac_objext'
53229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53230 (eval $ac_try) 2>&5
53231 ac_status=$?
53232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53233 (exit $ac_status); }; }; then
53234 glibcxx_cv_func_strtof_use=yes
53235 else
53236 echo "$as_me: failed program was:" >&5
53237 sed 's/^/| /' conftest.$ac_ext >&5
53239 glibcxx_cv_func_strtof_use=no
53241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53242 ac_ext=c
53243 ac_cpp='$CPP $CPPFLAGS'
53244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53253 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53254 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53256 for ac_func in strtof
53258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53259 echo "$as_me:$LINENO: checking for $ac_func" >&5
53260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53261 if eval "test \"\${$as_ac_var+set}\" = set"; then
53262 echo $ECHO_N "(cached) $ECHO_C" >&6
53263 else
53264 if test x$gcc_no_link = xyes; then
53265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53267 { (exit 1); exit 1; }; }
53269 cat >conftest.$ac_ext <<_ACEOF
53270 /* confdefs.h. */
53271 _ACEOF
53272 cat confdefs.h >>conftest.$ac_ext
53273 cat >>conftest.$ac_ext <<_ACEOF
53274 /* end confdefs.h. */
53275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53277 #define $ac_func innocuous_$ac_func
53279 /* System header to define __stub macros and hopefully few prototypes,
53280 which can conflict with char $ac_func (); below.
53281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53282 <limits.h> exists even on freestanding compilers. */
53284 #ifdef __STDC__
53285 # include <limits.h>
53286 #else
53287 # include <assert.h>
53288 #endif
53290 #undef $ac_func
53292 /* Override any gcc2 internal prototype to avoid an error. */
53293 #ifdef __cplusplus
53294 extern "C"
53296 #endif
53297 /* We use char because int might match the return type of a gcc2
53298 builtin and then its argument prototype would still apply. */
53299 char $ac_func ();
53300 /* The GNU C library defines this for functions which it implements
53301 to always fail with ENOSYS. Some functions are actually named
53302 something starting with __ and the normal name is an alias. */
53303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53304 choke me
53305 #else
53306 char (*f) () = $ac_func;
53307 #endif
53308 #ifdef __cplusplus
53310 #endif
53313 main ()
53315 return f != $ac_func;
53317 return 0;
53319 _ACEOF
53320 rm -f conftest.$ac_objext conftest$ac_exeext
53321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53322 (eval $ac_link) 2>conftest.er1
53323 ac_status=$?
53324 grep -v '^ *+' conftest.er1 >conftest.err
53325 rm -f conftest.er1
53326 cat conftest.err >&5
53327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53328 (exit $ac_status); } &&
53329 { ac_try='test -z "$ac_c_werror_flag"
53330 || test ! -s conftest.err'
53331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53332 (eval $ac_try) 2>&5
53333 ac_status=$?
53334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53335 (exit $ac_status); }; } &&
53336 { ac_try='test -s conftest$ac_exeext'
53337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53338 (eval $ac_try) 2>&5
53339 ac_status=$?
53340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341 (exit $ac_status); }; }; then
53342 eval "$as_ac_var=yes"
53343 else
53344 echo "$as_me: failed program was:" >&5
53345 sed 's/^/| /' conftest.$ac_ext >&5
53347 eval "$as_ac_var=no"
53349 rm -f conftest.err conftest.$ac_objext \
53350 conftest$ac_exeext conftest.$ac_ext
53352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53354 if test `eval echo '${'$as_ac_var'}'` = yes; then
53355 cat >>confdefs.h <<_ACEOF
53356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53357 _ACEOF
53360 done
53368 CXXFLAGS="$ac_save_CXXFLAGS"
53371 # For showmanyc_helper().
53374 for ac_header in sys/ioctl.h sys/filio.h
53376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53378 echo "$as_me:$LINENO: checking for $ac_header" >&5
53379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53381 echo $ECHO_N "(cached) $ECHO_C" >&6
53383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53385 else
53386 # Is the header compilable?
53387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53389 cat >conftest.$ac_ext <<_ACEOF
53390 /* confdefs.h. */
53391 _ACEOF
53392 cat confdefs.h >>conftest.$ac_ext
53393 cat >>conftest.$ac_ext <<_ACEOF
53394 /* end confdefs.h. */
53395 $ac_includes_default
53396 #include <$ac_header>
53397 _ACEOF
53398 rm -f conftest.$ac_objext
53399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53400 (eval $ac_compile) 2>conftest.er1
53401 ac_status=$?
53402 grep -v '^ *+' conftest.er1 >conftest.err
53403 rm -f conftest.er1
53404 cat conftest.err >&5
53405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53406 (exit $ac_status); } &&
53407 { ac_try='test -z "$ac_c_werror_flag"
53408 || test ! -s conftest.err'
53409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53410 (eval $ac_try) 2>&5
53411 ac_status=$?
53412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53413 (exit $ac_status); }; } &&
53414 { ac_try='test -s conftest.$ac_objext'
53415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53416 (eval $ac_try) 2>&5
53417 ac_status=$?
53418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53419 (exit $ac_status); }; }; then
53420 ac_header_compiler=yes
53421 else
53422 echo "$as_me: failed program was:" >&5
53423 sed 's/^/| /' conftest.$ac_ext >&5
53425 ac_header_compiler=no
53427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53429 echo "${ECHO_T}$ac_header_compiler" >&6
53431 # Is the header present?
53432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53434 cat >conftest.$ac_ext <<_ACEOF
53435 /* confdefs.h. */
53436 _ACEOF
53437 cat confdefs.h >>conftest.$ac_ext
53438 cat >>conftest.$ac_ext <<_ACEOF
53439 /* end confdefs.h. */
53440 #include <$ac_header>
53441 _ACEOF
53442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53444 ac_status=$?
53445 grep -v '^ *+' conftest.er1 >conftest.err
53446 rm -f conftest.er1
53447 cat conftest.err >&5
53448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53449 (exit $ac_status); } >/dev/null; then
53450 if test -s conftest.err; then
53451 ac_cpp_err=$ac_c_preproc_warn_flag
53452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53453 else
53454 ac_cpp_err=
53456 else
53457 ac_cpp_err=yes
53459 if test -z "$ac_cpp_err"; then
53460 ac_header_preproc=yes
53461 else
53462 echo "$as_me: failed program was:" >&5
53463 sed 's/^/| /' conftest.$ac_ext >&5
53465 ac_header_preproc=no
53467 rm -f conftest.err conftest.$ac_ext
53468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53469 echo "${ECHO_T}$ac_header_preproc" >&6
53471 # So? What about this header?
53472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53473 yes:no: )
53474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53478 ac_header_preproc=yes
53480 no:yes:* )
53481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53494 cat <<\_ASBOX
53495 ## ----------------------------------------- ##
53496 ## Report this to the package-unused lists. ##
53497 ## ----------------------------------------- ##
53498 _ASBOX
53500 sed "s/^/$as_me: WARNING: /" >&2
53502 esac
53503 echo "$as_me:$LINENO: checking for $ac_header" >&5
53504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53506 echo $ECHO_N "(cached) $ECHO_C" >&6
53507 else
53508 eval "$as_ac_Header=\$ac_header_preproc"
53510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53515 cat >>confdefs.h <<_ACEOF
53516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53517 _ACEOF
53521 done
53524 echo "$as_me:$LINENO: checking for poll" >&5
53525 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53526 if test "${glibcxx_cv_POLL+set}" = set; then
53527 echo $ECHO_N "(cached) $ECHO_C" >&6
53528 else
53530 if test x$gcc_no_link = xyes; then
53531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53533 { (exit 1); exit 1; }; }
53535 cat >conftest.$ac_ext <<_ACEOF
53536 /* confdefs.h. */
53537 _ACEOF
53538 cat confdefs.h >>conftest.$ac_ext
53539 cat >>conftest.$ac_ext <<_ACEOF
53540 /* end confdefs.h. */
53541 #include <poll.h>
53543 main ()
53545 struct pollfd pfd[1];
53546 pfd[0].events = POLLIN;
53547 poll(pfd, 1, 0);
53549 return 0;
53551 _ACEOF
53552 rm -f conftest.$ac_objext conftest$ac_exeext
53553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53554 (eval $ac_link) 2>conftest.er1
53555 ac_status=$?
53556 grep -v '^ *+' conftest.er1 >conftest.err
53557 rm -f conftest.er1
53558 cat conftest.err >&5
53559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53560 (exit $ac_status); } &&
53561 { ac_try='test -z "$ac_c_werror_flag"
53562 || test ! -s conftest.err'
53563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53564 (eval $ac_try) 2>&5
53565 ac_status=$?
53566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53567 (exit $ac_status); }; } &&
53568 { ac_try='test -s conftest$ac_exeext'
53569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53570 (eval $ac_try) 2>&5
53571 ac_status=$?
53572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53573 (exit $ac_status); }; }; then
53574 glibcxx_cv_POLL=yes
53575 else
53576 echo "$as_me: failed program was:" >&5
53577 sed 's/^/| /' conftest.$ac_ext >&5
53579 glibcxx_cv_POLL=no
53581 rm -f conftest.err conftest.$ac_objext \
53582 conftest$ac_exeext conftest.$ac_ext
53586 if test $glibcxx_cv_POLL = yes; then
53588 cat >>confdefs.h <<\_ACEOF
53589 #define HAVE_POLL 1
53590 _ACEOF
53593 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53594 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53597 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53598 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53599 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53600 echo $ECHO_N "(cached) $ECHO_C" >&6
53601 else
53603 if test x$gcc_no_link = xyes; then
53604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53606 { (exit 1); exit 1; }; }
53608 cat >conftest.$ac_ext <<_ACEOF
53609 /* confdefs.h. */
53610 _ACEOF
53611 cat confdefs.h >>conftest.$ac_ext
53612 cat >>conftest.$ac_ext <<_ACEOF
53613 /* end confdefs.h. */
53614 #include <sys/stat.h>
53616 main ()
53618 struct stat buffer;
53619 fstat(0, &buffer);
53620 S_ISREG(buffer.st_mode);
53622 return 0;
53624 _ACEOF
53625 rm -f conftest.$ac_objext conftest$ac_exeext
53626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53627 (eval $ac_link) 2>conftest.er1
53628 ac_status=$?
53629 grep -v '^ *+' conftest.er1 >conftest.err
53630 rm -f conftest.er1
53631 cat conftest.err >&5
53632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53633 (exit $ac_status); } &&
53634 { ac_try='test -z "$ac_c_werror_flag"
53635 || test ! -s conftest.err'
53636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53637 (eval $ac_try) 2>&5
53638 ac_status=$?
53639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53640 (exit $ac_status); }; } &&
53641 { ac_try='test -s conftest$ac_exeext'
53642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53643 (eval $ac_try) 2>&5
53644 ac_status=$?
53645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53646 (exit $ac_status); }; }; then
53647 glibcxx_cv_S_ISREG=yes
53648 else
53649 echo "$as_me: failed program was:" >&5
53650 sed 's/^/| /' conftest.$ac_ext >&5
53652 glibcxx_cv_S_ISREG=no
53654 rm -f conftest.err conftest.$ac_objext \
53655 conftest$ac_exeext conftest.$ac_ext
53659 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53660 echo $ECHO_N "(cached) $ECHO_C" >&6
53661 else
53663 if test x$gcc_no_link = xyes; then
53664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53666 { (exit 1); exit 1; }; }
53668 cat >conftest.$ac_ext <<_ACEOF
53669 /* confdefs.h. */
53670 _ACEOF
53671 cat confdefs.h >>conftest.$ac_ext
53672 cat >>conftest.$ac_ext <<_ACEOF
53673 /* end confdefs.h. */
53674 #include <sys/stat.h>
53676 main ()
53678 struct stat buffer;
53679 fstat(0, &buffer);
53680 S_IFREG & buffer.st_mode;
53682 return 0;
53684 _ACEOF
53685 rm -f conftest.$ac_objext conftest$ac_exeext
53686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53687 (eval $ac_link) 2>conftest.er1
53688 ac_status=$?
53689 grep -v '^ *+' conftest.er1 >conftest.err
53690 rm -f conftest.er1
53691 cat conftest.err >&5
53692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53693 (exit $ac_status); } &&
53694 { ac_try='test -z "$ac_c_werror_flag"
53695 || test ! -s conftest.err'
53696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53697 (eval $ac_try) 2>&5
53698 ac_status=$?
53699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53700 (exit $ac_status); }; } &&
53701 { ac_try='test -s conftest$ac_exeext'
53702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53703 (eval $ac_try) 2>&5
53704 ac_status=$?
53705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53706 (exit $ac_status); }; }; then
53707 glibcxx_cv_S_IFREG=yes
53708 else
53709 echo "$as_me: failed program was:" >&5
53710 sed 's/^/| /' conftest.$ac_ext >&5
53712 glibcxx_cv_S_IFREG=no
53714 rm -f conftest.err conftest.$ac_objext \
53715 conftest$ac_exeext conftest.$ac_ext
53719 res=no
53720 if test $glibcxx_cv_S_ISREG = yes; then
53722 cat >>confdefs.h <<\_ACEOF
53723 #define HAVE_S_ISREG 1
53724 _ACEOF
53726 res=S_ISREG
53727 elif test $glibcxx_cv_S_IFREG = yes; then
53729 cat >>confdefs.h <<\_ACEOF
53730 #define HAVE_S_IFREG 1
53731 _ACEOF
53733 res=S_IFREG
53735 echo "$as_me:$LINENO: result: $res" >&5
53736 echo "${ECHO_T}$res" >&6
53739 # For xsputn_2().
53741 for ac_header in sys/uio.h
53743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53745 echo "$as_me:$LINENO: checking for $ac_header" >&5
53746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53748 echo $ECHO_N "(cached) $ECHO_C" >&6
53750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53752 else
53753 # Is the header compilable?
53754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53756 cat >conftest.$ac_ext <<_ACEOF
53757 /* confdefs.h. */
53758 _ACEOF
53759 cat confdefs.h >>conftest.$ac_ext
53760 cat >>conftest.$ac_ext <<_ACEOF
53761 /* end confdefs.h. */
53762 $ac_includes_default
53763 #include <$ac_header>
53764 _ACEOF
53765 rm -f conftest.$ac_objext
53766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53767 (eval $ac_compile) 2>conftest.er1
53768 ac_status=$?
53769 grep -v '^ *+' conftest.er1 >conftest.err
53770 rm -f conftest.er1
53771 cat conftest.err >&5
53772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53773 (exit $ac_status); } &&
53774 { ac_try='test -z "$ac_c_werror_flag"
53775 || test ! -s conftest.err'
53776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53777 (eval $ac_try) 2>&5
53778 ac_status=$?
53779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53780 (exit $ac_status); }; } &&
53781 { ac_try='test -s conftest.$ac_objext'
53782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53783 (eval $ac_try) 2>&5
53784 ac_status=$?
53785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53786 (exit $ac_status); }; }; then
53787 ac_header_compiler=yes
53788 else
53789 echo "$as_me: failed program was:" >&5
53790 sed 's/^/| /' conftest.$ac_ext >&5
53792 ac_header_compiler=no
53794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53796 echo "${ECHO_T}$ac_header_compiler" >&6
53798 # Is the header present?
53799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53801 cat >conftest.$ac_ext <<_ACEOF
53802 /* confdefs.h. */
53803 _ACEOF
53804 cat confdefs.h >>conftest.$ac_ext
53805 cat >>conftest.$ac_ext <<_ACEOF
53806 /* end confdefs.h. */
53807 #include <$ac_header>
53808 _ACEOF
53809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53811 ac_status=$?
53812 grep -v '^ *+' conftest.er1 >conftest.err
53813 rm -f conftest.er1
53814 cat conftest.err >&5
53815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816 (exit $ac_status); } >/dev/null; then
53817 if test -s conftest.err; then
53818 ac_cpp_err=$ac_c_preproc_warn_flag
53819 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53820 else
53821 ac_cpp_err=
53823 else
53824 ac_cpp_err=yes
53826 if test -z "$ac_cpp_err"; then
53827 ac_header_preproc=yes
53828 else
53829 echo "$as_me: failed program was:" >&5
53830 sed 's/^/| /' conftest.$ac_ext >&5
53832 ac_header_preproc=no
53834 rm -f conftest.err conftest.$ac_ext
53835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53836 echo "${ECHO_T}$ac_header_preproc" >&6
53838 # So? What about this header?
53839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53840 yes:no: )
53841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53845 ac_header_preproc=yes
53847 no:yes:* )
53848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53852 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53854 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53855 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53858 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53861 cat <<\_ASBOX
53862 ## ----------------------------------------- ##
53863 ## Report this to the package-unused lists. ##
53864 ## ----------------------------------------- ##
53865 _ASBOX
53867 sed "s/^/$as_me: WARNING: /" >&2
53869 esac
53870 echo "$as_me:$LINENO: checking for $ac_header" >&5
53871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53873 echo $ECHO_N "(cached) $ECHO_C" >&6
53874 else
53875 eval "$as_ac_Header=\$ac_header_preproc"
53877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53882 cat >>confdefs.h <<_ACEOF
53883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53884 _ACEOF
53888 done
53891 echo "$as_me:$LINENO: checking for writev" >&5
53892 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53893 if test "${glibcxx_cv_WRITEV+set}" = set; then
53894 echo $ECHO_N "(cached) $ECHO_C" >&6
53895 else
53897 if test x$gcc_no_link = xyes; then
53898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53900 { (exit 1); exit 1; }; }
53902 cat >conftest.$ac_ext <<_ACEOF
53903 /* confdefs.h. */
53904 _ACEOF
53905 cat confdefs.h >>conftest.$ac_ext
53906 cat >>conftest.$ac_ext <<_ACEOF
53907 /* end confdefs.h. */
53908 #include <sys/uio.h>
53910 main ()
53912 struct iovec iov[2];
53913 writev(0, iov, 0);
53915 return 0;
53917 _ACEOF
53918 rm -f conftest.$ac_objext conftest$ac_exeext
53919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53920 (eval $ac_link) 2>conftest.er1
53921 ac_status=$?
53922 grep -v '^ *+' conftest.er1 >conftest.err
53923 rm -f conftest.er1
53924 cat conftest.err >&5
53925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53926 (exit $ac_status); } &&
53927 { ac_try='test -z "$ac_c_werror_flag"
53928 || test ! -s conftest.err'
53929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53930 (eval $ac_try) 2>&5
53931 ac_status=$?
53932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53933 (exit $ac_status); }; } &&
53934 { ac_try='test -s conftest$ac_exeext'
53935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53936 (eval $ac_try) 2>&5
53937 ac_status=$?
53938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53939 (exit $ac_status); }; }; then
53940 glibcxx_cv_WRITEV=yes
53941 else
53942 echo "$as_me: failed program was:" >&5
53943 sed 's/^/| /' conftest.$ac_ext >&5
53945 glibcxx_cv_WRITEV=no
53947 rm -f conftest.err conftest.$ac_objext \
53948 conftest$ac_exeext conftest.$ac_ext
53952 if test $glibcxx_cv_WRITEV = yes; then
53954 cat >>confdefs.h <<\_ACEOF
53955 #define HAVE_WRITEV 1
53956 _ACEOF
53959 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53960 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53963 cat >>confdefs.h <<\_ACEOF
53964 #define HAVE_LC_MESSAGES 1
53965 _ACEOF
53968 cat >conftest.$ac_ext <<_ACEOF
53969 /* confdefs.h. */
53970 _ACEOF
53971 cat confdefs.h >>conftest.$ac_ext
53972 cat >>conftest.$ac_ext <<_ACEOF
53973 /* end confdefs.h. */
53974 #include <setjmp.h>
53976 main ()
53978 sigjmp_buf env;
53979 while (! sigsetjmp (env, 1))
53980 siglongjmp (env, 1);
53983 return 0;
53985 _ACEOF
53986 rm -f conftest.$ac_objext
53987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53988 (eval $ac_compile) 2>conftest.er1
53989 ac_status=$?
53990 grep -v '^ *+' conftest.er1 >conftest.err
53991 rm -f conftest.er1
53992 cat conftest.err >&5
53993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53994 (exit $ac_status); } &&
53995 { ac_try='test -z "$ac_c_werror_flag"
53996 || test ! -s conftest.err'
53997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53998 (eval $ac_try) 2>&5
53999 ac_status=$?
54000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54001 (exit $ac_status); }; } &&
54002 { ac_try='test -s conftest.$ac_objext'
54003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54004 (eval $ac_try) 2>&5
54005 ac_status=$?
54006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54007 (exit $ac_status); }; }; then
54009 cat >>confdefs.h <<\_ACEOF
54010 #define HAVE_SIGSETJMP 1
54011 _ACEOF
54013 else
54014 echo "$as_me: failed program was:" >&5
54015 sed 's/^/| /' conftest.$ac_ext >&5
54018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54020 cat >>confdefs.h <<\_ACEOF
54021 #define HAVE_MMAP 1
54022 _ACEOF
54026 *djgpp)
54047 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54048 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54049 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54050 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54054 echo "$as_me:$LINENO: checking for $ac_header" >&5
54055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54057 echo $ECHO_N "(cached) $ECHO_C" >&6
54059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54061 else
54062 # Is the header compilable?
54063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54065 cat >conftest.$ac_ext <<_ACEOF
54066 /* confdefs.h. */
54067 _ACEOF
54068 cat confdefs.h >>conftest.$ac_ext
54069 cat >>conftest.$ac_ext <<_ACEOF
54070 /* end confdefs.h. */
54071 $ac_includes_default
54072 #include <$ac_header>
54073 _ACEOF
54074 rm -f conftest.$ac_objext
54075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54076 (eval $ac_compile) 2>conftest.er1
54077 ac_status=$?
54078 grep -v '^ *+' conftest.er1 >conftest.err
54079 rm -f conftest.er1
54080 cat conftest.err >&5
54081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54082 (exit $ac_status); } &&
54083 { ac_try='test -z "$ac_c_werror_flag"
54084 || test ! -s conftest.err'
54085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54086 (eval $ac_try) 2>&5
54087 ac_status=$?
54088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54089 (exit $ac_status); }; } &&
54090 { ac_try='test -s conftest.$ac_objext'
54091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54092 (eval $ac_try) 2>&5
54093 ac_status=$?
54094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54095 (exit $ac_status); }; }; then
54096 ac_header_compiler=yes
54097 else
54098 echo "$as_me: failed program was:" >&5
54099 sed 's/^/| /' conftest.$ac_ext >&5
54101 ac_header_compiler=no
54103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54105 echo "${ECHO_T}$ac_header_compiler" >&6
54107 # Is the header present?
54108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54110 cat >conftest.$ac_ext <<_ACEOF
54111 /* confdefs.h. */
54112 _ACEOF
54113 cat confdefs.h >>conftest.$ac_ext
54114 cat >>conftest.$ac_ext <<_ACEOF
54115 /* end confdefs.h. */
54116 #include <$ac_header>
54117 _ACEOF
54118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54120 ac_status=$?
54121 grep -v '^ *+' conftest.er1 >conftest.err
54122 rm -f conftest.er1
54123 cat conftest.err >&5
54124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54125 (exit $ac_status); } >/dev/null; then
54126 if test -s conftest.err; then
54127 ac_cpp_err=$ac_c_preproc_warn_flag
54128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54129 else
54130 ac_cpp_err=
54132 else
54133 ac_cpp_err=yes
54135 if test -z "$ac_cpp_err"; then
54136 ac_header_preproc=yes
54137 else
54138 echo "$as_me: failed program was:" >&5
54139 sed 's/^/| /' conftest.$ac_ext >&5
54141 ac_header_preproc=no
54143 rm -f conftest.err conftest.$ac_ext
54144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54145 echo "${ECHO_T}$ac_header_preproc" >&6
54147 # So? What about this header?
54148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54149 yes:no: )
54150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54154 ac_header_preproc=yes
54156 no:yes:* )
54157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54170 cat <<\_ASBOX
54171 ## ----------------------------------------- ##
54172 ## Report this to the package-unused lists. ##
54173 ## ----------------------------------------- ##
54174 _ASBOX
54176 sed "s/^/$as_me: WARNING: /" >&2
54178 esac
54179 echo "$as_me:$LINENO: checking for $ac_header" >&5
54180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54182 echo $ECHO_N "(cached) $ECHO_C" >&6
54183 else
54184 eval "$as_ac_Header=\$ac_header_preproc"
54186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54191 cat >>confdefs.h <<_ACEOF
54192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54193 _ACEOF
54197 done
54199 # GLIBCXX_CHECK_MATH_SUPPORT
54200 cat >>confdefs.h <<\_ACEOF
54201 #define HAVE_LIBM 1
54202 _ACEOF
54204 cat >>confdefs.h <<\_ACEOF
54205 #define HAVE_ISINF 1
54206 _ACEOF
54208 cat >>confdefs.h <<\_ACEOF
54209 #define HAVE_ISNAN 1
54210 _ACEOF
54212 cat >>confdefs.h <<\_ACEOF
54213 #define HAVE_FINITE 1
54214 _ACEOF
54216 cat >>confdefs.h <<\_ACEOF
54217 #define HAVE_COPYSIGN 1
54218 _ACEOF
54220 cat >>confdefs.h <<\_ACEOF
54221 #define HAVE_SINCOS 1
54222 _ACEOF
54224 cat >>confdefs.h <<\_ACEOF
54225 #define HAVE_HYPOT 1
54226 _ACEOF
54228 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
54229 cat >>confdefs.h <<\_ACEOF
54230 #define HAVE___BUILTIN_ABS 1
54231 _ACEOF
54233 cat >>confdefs.h <<\_ACEOF
54234 #define HAVE___BUILTIN_FABSF 1
54235 _ACEOF
54237 cat >>confdefs.h <<\_ACEOF
54238 #define HAVE___BUILTIN_FABS 1
54239 _ACEOF
54241 cat >>confdefs.h <<\_ACEOF
54242 #define HAVE___BUILTIN_FABSL 1
54243 _ACEOF
54245 cat >>confdefs.h <<\_ACEOF
54246 #define HAVE___BUILTIN_LABS 1
54247 _ACEOF
54249 cat >>confdefs.h <<\_ACEOF
54250 #define HAVE___BUILTIN_SQRTF 1
54251 _ACEOF
54253 cat >>confdefs.h <<\_ACEOF
54254 #define HAVE___BUILTIN_SQRT 1
54255 _ACEOF
54257 cat >>confdefs.h <<\_ACEOF
54258 #define HAVE___BUILTIN_SQRTL 1
54259 _ACEOF
54261 cat >>confdefs.h <<\_ACEOF
54262 #define HAVE___BUILTIN_SINF 1
54263 _ACEOF
54265 cat >>confdefs.h <<\_ACEOF
54266 #define HAVE___BUILTIN_SIN 1
54267 _ACEOF
54269 cat >>confdefs.h <<\_ACEOF
54270 #define HAVE___BUILTIN_SINL 1
54271 _ACEOF
54273 cat >>confdefs.h <<\_ACEOF
54274 #define HAVE___BUILTIN_COSF 1
54275 _ACEOF
54277 cat >>confdefs.h <<\_ACEOF
54278 #define HAVE___BUILTIN_COS 1
54279 _ACEOF
54281 cat >>confdefs.h <<\_ACEOF
54282 #define HAVE___BUILTIN_COSL 1
54283 _ACEOF
54285 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
54286 # GLIBCXX_CHECK_STDLIB_SUPPORT
54287 cat >>confdefs.h <<\_ACEOF
54288 #define HAVE_COPYSIGN 1
54289 _ACEOF
54291 cat >>confdefs.h <<\_ACEOF
54292 #define HAVE_COPYSIGNF 1
54293 _ACEOF
54295 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
54296 cat >>confdefs.h <<\_ACEOF
54297 #define HAVE_S_ISREG 1
54298 _ACEOF
54300 cat >>confdefs.h <<\_ACEOF
54301 #define HAVE_S_IFREG 1
54302 _ACEOF
54304 cat >>confdefs.h <<\_ACEOF
54305 #define HAVE_WRITEV 1
54306 _ACEOF
54310 *-freebsd*)
54327 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
54328 machine/endian.h machine/param.h sys/machine.h sys/types.h \
54329 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
54330 sys/time.h unistd.h
54332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54334 echo "$as_me:$LINENO: checking for $ac_header" >&5
54335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54337 echo $ECHO_N "(cached) $ECHO_C" >&6
54339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54341 else
54342 # Is the header compilable?
54343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54345 cat >conftest.$ac_ext <<_ACEOF
54346 /* confdefs.h. */
54347 _ACEOF
54348 cat confdefs.h >>conftest.$ac_ext
54349 cat >>conftest.$ac_ext <<_ACEOF
54350 /* end confdefs.h. */
54351 $ac_includes_default
54352 #include <$ac_header>
54353 _ACEOF
54354 rm -f conftest.$ac_objext
54355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54356 (eval $ac_compile) 2>conftest.er1
54357 ac_status=$?
54358 grep -v '^ *+' conftest.er1 >conftest.err
54359 rm -f conftest.er1
54360 cat conftest.err >&5
54361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362 (exit $ac_status); } &&
54363 { ac_try='test -z "$ac_c_werror_flag"
54364 || test ! -s conftest.err'
54365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54366 (eval $ac_try) 2>&5
54367 ac_status=$?
54368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54369 (exit $ac_status); }; } &&
54370 { ac_try='test -s conftest.$ac_objext'
54371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54372 (eval $ac_try) 2>&5
54373 ac_status=$?
54374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375 (exit $ac_status); }; }; then
54376 ac_header_compiler=yes
54377 else
54378 echo "$as_me: failed program was:" >&5
54379 sed 's/^/| /' conftest.$ac_ext >&5
54381 ac_header_compiler=no
54383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54385 echo "${ECHO_T}$ac_header_compiler" >&6
54387 # Is the header present?
54388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54390 cat >conftest.$ac_ext <<_ACEOF
54391 /* confdefs.h. */
54392 _ACEOF
54393 cat confdefs.h >>conftest.$ac_ext
54394 cat >>conftest.$ac_ext <<_ACEOF
54395 /* end confdefs.h. */
54396 #include <$ac_header>
54397 _ACEOF
54398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54400 ac_status=$?
54401 grep -v '^ *+' conftest.er1 >conftest.err
54402 rm -f conftest.er1
54403 cat conftest.err >&5
54404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54405 (exit $ac_status); } >/dev/null; then
54406 if test -s conftest.err; then
54407 ac_cpp_err=$ac_c_preproc_warn_flag
54408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54409 else
54410 ac_cpp_err=
54412 else
54413 ac_cpp_err=yes
54415 if test -z "$ac_cpp_err"; then
54416 ac_header_preproc=yes
54417 else
54418 echo "$as_me: failed program was:" >&5
54419 sed 's/^/| /' conftest.$ac_ext >&5
54421 ac_header_preproc=no
54423 rm -f conftest.err conftest.$ac_ext
54424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54425 echo "${ECHO_T}$ac_header_preproc" >&6
54427 # So? What about this header?
54428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54429 yes:no: )
54430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54434 ac_header_preproc=yes
54436 no:yes:* )
54437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54450 cat <<\_ASBOX
54451 ## ----------------------------------------- ##
54452 ## Report this to the package-unused lists. ##
54453 ## ----------------------------------------- ##
54454 _ASBOX
54456 sed "s/^/$as_me: WARNING: /" >&2
54458 esac
54459 echo "$as_me:$LINENO: checking for $ac_header" >&5
54460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54462 echo $ECHO_N "(cached) $ECHO_C" >&6
54463 else
54464 eval "$as_ac_Header=\$ac_header_preproc"
54466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54471 cat >>confdefs.h <<_ACEOF
54472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54473 _ACEOF
54477 done
54479 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54482 # If we're not using GNU ld, then there's no point in even trying these
54483 # tests. Check for that first. We should have already tested for gld
54484 # by now (in libtool), but require it now just to be safe...
54485 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54486 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54490 # The name set by libtool depends on the version of libtool. Shame on us
54491 # for depending on an impl detail, but c'est la vie. Older versions used
54492 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54493 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54494 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54495 # set (hence we're using an older libtool), then set it.
54496 if test x${with_gnu_ld+set} != xset; then
54497 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54498 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54499 with_gnu_ld=no
54500 else
54501 with_gnu_ld=$ac_cv_prog_gnu_ld
54505 # Start by getting the version number. I think the libtool test already
54506 # does some of this, but throws away the result.
54507 if test x"$with_gnu_ld" = x"yes"; then
54508 echo "$as_me:$LINENO: checking for ld version" >&5
54509 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54511 ldver=`$LD --version 2>/dev/null | head -1 | \
54512 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
54514 glibcxx_gnu_ld_version=`echo $ldver | \
54515 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54516 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54517 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54520 # Set --gc-sections.
54521 glibcxx_gcsections_min_ld=21602
54522 if test x"$with_gnu_ld" = x"yes" &&
54523 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54525 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54526 # NB: This flag only works reliably after 2.16.1. Configure tests
54527 # for this are difficult, so hard wire a value that should work.
54529 # All these tests are for C++, but run with the "C" compiler driver.
54530 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54531 ac_test_CFLAGS="${CFLAGS+set}"
54532 ac_save_CFLAGS="$CFLAGS"
54533 CFLAGS='-x c++ -Wl,--gc-sections'
54535 # Check for -Wl,--gc-sections
54536 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54537 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54538 if test x$gcc_no_link = xyes; then
54539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54541 { (exit 1); exit 1; }; }
54543 cat >conftest.$ac_ext <<_ACEOF
54544 /* confdefs.h. */
54545 _ACEOF
54546 cat confdefs.h >>conftest.$ac_ext
54547 cat >>conftest.$ac_ext <<_ACEOF
54548 /* end confdefs.h. */
54549 int one(void) { return 1; }
54550 int two(void) { return 2; }
54553 main ()
54555 two();
54557 return 0;
54559 _ACEOF
54560 rm -f conftest.$ac_objext conftest$ac_exeext
54561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54562 (eval $ac_link) 2>conftest.er1
54563 ac_status=$?
54564 grep -v '^ *+' conftest.er1 >conftest.err
54565 rm -f conftest.er1
54566 cat conftest.err >&5
54567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54568 (exit $ac_status); } &&
54569 { ac_try='test -z "$ac_c_werror_flag"
54570 || test ! -s conftest.err'
54571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54572 (eval $ac_try) 2>&5
54573 ac_status=$?
54574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54575 (exit $ac_status); }; } &&
54576 { ac_try='test -s conftest$ac_exeext'
54577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54578 (eval $ac_try) 2>&5
54579 ac_status=$?
54580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54581 (exit $ac_status); }; }; then
54582 ac_gcsections=yes
54583 else
54584 echo "$as_me: failed program was:" >&5
54585 sed 's/^/| /' conftest.$ac_ext >&5
54587 ac_gcsections=no
54589 rm -f conftest.err conftest.$ac_objext \
54590 conftest$ac_exeext conftest.$ac_ext
54591 if test "$ac_gcsections" = "yes"; then
54592 rm -f conftest.c
54593 touch conftest.c
54594 if $CC -c conftest.c; then
54595 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54596 grep "Warning: gc-sections option ignored" > /dev/null; then
54597 ac_gcsections=no
54600 rm -f conftest.c conftest.o conftest
54602 if test "$ac_gcsections" = "yes"; then
54603 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54605 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54606 echo "${ECHO_T}$ac_gcsections" >&6
54608 if test "$ac_test_CFLAGS" = set; then
54609 CFLAGS="$ac_save_CFLAGS"
54610 else
54611 # this is the suspicious part
54612 CFLAGS=''
54616 # Set -z,relro.
54617 # Note this is only for shared objects.
54618 ac_ld_relro=no
54619 if test x"$with_gnu_ld" = x"yes"; then
54620 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54621 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54622 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54623 if test -n "$cxx_z_relo"; then
54624 OPT_LDFLAGS="-Wl,-z,relro"
54625 ac_ld_relro=yes
54627 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54628 echo "${ECHO_T}$ac_ld_relro" >&6
54631 # Set linker optimization flags.
54632 if test x"$with_gnu_ld" = x"yes"; then
54633 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54641 echo "$as_me:$LINENO: checking for main in -lm" >&5
54642 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54643 if test "${ac_cv_lib_m_main+set}" = set; then
54644 echo $ECHO_N "(cached) $ECHO_C" >&6
54645 else
54646 ac_check_lib_save_LIBS=$LIBS
54647 LIBS="-lm $LIBS"
54648 if test x$gcc_no_link = xyes; then
54649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54651 { (exit 1); exit 1; }; }
54653 cat >conftest.$ac_ext <<_ACEOF
54654 /* confdefs.h. */
54655 _ACEOF
54656 cat confdefs.h >>conftest.$ac_ext
54657 cat >>conftest.$ac_ext <<_ACEOF
54658 /* end confdefs.h. */
54662 main ()
54664 main ();
54666 return 0;
54668 _ACEOF
54669 rm -f conftest.$ac_objext conftest$ac_exeext
54670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54671 (eval $ac_link) 2>conftest.er1
54672 ac_status=$?
54673 grep -v '^ *+' conftest.er1 >conftest.err
54674 rm -f conftest.er1
54675 cat conftest.err >&5
54676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54677 (exit $ac_status); } &&
54678 { ac_try='test -z "$ac_c_werror_flag"
54679 || test ! -s conftest.err'
54680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54681 (eval $ac_try) 2>&5
54682 ac_status=$?
54683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54684 (exit $ac_status); }; } &&
54685 { ac_try='test -s conftest$ac_exeext'
54686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54687 (eval $ac_try) 2>&5
54688 ac_status=$?
54689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54690 (exit $ac_status); }; }; then
54691 ac_cv_lib_m_main=yes
54692 else
54693 echo "$as_me: failed program was:" >&5
54694 sed 's/^/| /' conftest.$ac_ext >&5
54696 ac_cv_lib_m_main=no
54698 rm -f conftest.err conftest.$ac_objext \
54699 conftest$ac_exeext conftest.$ac_ext
54700 LIBS=$ac_check_lib_save_LIBS
54702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54703 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54704 if test $ac_cv_lib_m_main = yes; then
54705 cat >>confdefs.h <<_ACEOF
54706 #define HAVE_LIBM 1
54707 _ACEOF
54709 LIBS="-lm $LIBS"
54714 for ac_func in copysignf
54716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54717 echo "$as_me:$LINENO: checking for $ac_func" >&5
54718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54719 if eval "test \"\${$as_ac_var+set}\" = set"; then
54720 echo $ECHO_N "(cached) $ECHO_C" >&6
54721 else
54722 if test x$gcc_no_link = xyes; then
54723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54725 { (exit 1); exit 1; }; }
54727 cat >conftest.$ac_ext <<_ACEOF
54728 /* confdefs.h. */
54729 _ACEOF
54730 cat confdefs.h >>conftest.$ac_ext
54731 cat >>conftest.$ac_ext <<_ACEOF
54732 /* end confdefs.h. */
54733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54735 #define $ac_func innocuous_$ac_func
54737 /* System header to define __stub macros and hopefully few prototypes,
54738 which can conflict with char $ac_func (); below.
54739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54740 <limits.h> exists even on freestanding compilers. */
54742 #ifdef __STDC__
54743 # include <limits.h>
54744 #else
54745 # include <assert.h>
54746 #endif
54748 #undef $ac_func
54750 /* Override any gcc2 internal prototype to avoid an error. */
54751 #ifdef __cplusplus
54752 extern "C"
54754 #endif
54755 /* We use char because int might match the return type of a gcc2
54756 builtin and then its argument prototype would still apply. */
54757 char $ac_func ();
54758 /* The GNU C library defines this for functions which it implements
54759 to always fail with ENOSYS. Some functions are actually named
54760 something starting with __ and the normal name is an alias. */
54761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54762 choke me
54763 #else
54764 char (*f) () = $ac_func;
54765 #endif
54766 #ifdef __cplusplus
54768 #endif
54771 main ()
54773 return f != $ac_func;
54775 return 0;
54777 _ACEOF
54778 rm -f conftest.$ac_objext conftest$ac_exeext
54779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54780 (eval $ac_link) 2>conftest.er1
54781 ac_status=$?
54782 grep -v '^ *+' conftest.er1 >conftest.err
54783 rm -f conftest.er1
54784 cat conftest.err >&5
54785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54786 (exit $ac_status); } &&
54787 { ac_try='test -z "$ac_c_werror_flag"
54788 || test ! -s conftest.err'
54789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54790 (eval $ac_try) 2>&5
54791 ac_status=$?
54792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54793 (exit $ac_status); }; } &&
54794 { ac_try='test -s conftest$ac_exeext'
54795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54796 (eval $ac_try) 2>&5
54797 ac_status=$?
54798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799 (exit $ac_status); }; }; then
54800 eval "$as_ac_var=yes"
54801 else
54802 echo "$as_me: failed program was:" >&5
54803 sed 's/^/| /' conftest.$ac_ext >&5
54805 eval "$as_ac_var=no"
54807 rm -f conftest.err conftest.$ac_objext \
54808 conftest$ac_exeext conftest.$ac_ext
54810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54812 if test `eval echo '${'$as_ac_var'}'` = yes; then
54813 cat >>confdefs.h <<_ACEOF
54814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54815 _ACEOF
54817 else
54818 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
54820 done
54824 for ac_func in __signbit
54826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54827 echo "$as_me:$LINENO: checking for $ac_func" >&5
54828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54829 if eval "test \"\${$as_ac_var+set}\" = set"; then
54830 echo $ECHO_N "(cached) $ECHO_C" >&6
54831 else
54832 if test x$gcc_no_link = xyes; then
54833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54835 { (exit 1); exit 1; }; }
54837 cat >conftest.$ac_ext <<_ACEOF
54838 /* confdefs.h. */
54839 _ACEOF
54840 cat confdefs.h >>conftest.$ac_ext
54841 cat >>conftest.$ac_ext <<_ACEOF
54842 /* end confdefs.h. */
54843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54845 #define $ac_func innocuous_$ac_func
54847 /* System header to define __stub macros and hopefully few prototypes,
54848 which can conflict with char $ac_func (); below.
54849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54850 <limits.h> exists even on freestanding compilers. */
54852 #ifdef __STDC__
54853 # include <limits.h>
54854 #else
54855 # include <assert.h>
54856 #endif
54858 #undef $ac_func
54860 /* Override any gcc2 internal prototype to avoid an error. */
54861 #ifdef __cplusplus
54862 extern "C"
54864 #endif
54865 /* We use char because int might match the return type of a gcc2
54866 builtin and then its argument prototype would still apply. */
54867 char $ac_func ();
54868 /* The GNU C library defines this for functions which it implements
54869 to always fail with ENOSYS. Some functions are actually named
54870 something starting with __ and the normal name is an alias. */
54871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54872 choke me
54873 #else
54874 char (*f) () = $ac_func;
54875 #endif
54876 #ifdef __cplusplus
54878 #endif
54881 main ()
54883 return f != $ac_func;
54885 return 0;
54887 _ACEOF
54888 rm -f conftest.$ac_objext conftest$ac_exeext
54889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54890 (eval $ac_link) 2>conftest.er1
54891 ac_status=$?
54892 grep -v '^ *+' conftest.er1 >conftest.err
54893 rm -f conftest.er1
54894 cat conftest.err >&5
54895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54896 (exit $ac_status); } &&
54897 { ac_try='test -z "$ac_c_werror_flag"
54898 || test ! -s conftest.err'
54899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54900 (eval $ac_try) 2>&5
54901 ac_status=$?
54902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54903 (exit $ac_status); }; } &&
54904 { ac_try='test -s conftest$ac_exeext'
54905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54906 (eval $ac_try) 2>&5
54907 ac_status=$?
54908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54909 (exit $ac_status); }; }; then
54910 eval "$as_ac_var=yes"
54911 else
54912 echo "$as_me: failed program was:" >&5
54913 sed 's/^/| /' conftest.$ac_ext >&5
54915 eval "$as_ac_var=no"
54917 rm -f conftest.err conftest.$ac_objext \
54918 conftest$ac_exeext conftest.$ac_ext
54920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54922 if test `eval echo '${'$as_ac_var'}'` = yes; then
54923 cat >>confdefs.h <<_ACEOF
54924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54925 _ACEOF
54927 else
54928 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
54930 done
54934 for ac_func in __signbitf
54936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54937 echo "$as_me:$LINENO: checking for $ac_func" >&5
54938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54939 if eval "test \"\${$as_ac_var+set}\" = set"; then
54940 echo $ECHO_N "(cached) $ECHO_C" >&6
54941 else
54942 if test x$gcc_no_link = xyes; then
54943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54945 { (exit 1); exit 1; }; }
54947 cat >conftest.$ac_ext <<_ACEOF
54948 /* confdefs.h. */
54949 _ACEOF
54950 cat confdefs.h >>conftest.$ac_ext
54951 cat >>conftest.$ac_ext <<_ACEOF
54952 /* end confdefs.h. */
54953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54955 #define $ac_func innocuous_$ac_func
54957 /* System header to define __stub macros and hopefully few prototypes,
54958 which can conflict with char $ac_func (); below.
54959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54960 <limits.h> exists even on freestanding compilers. */
54962 #ifdef __STDC__
54963 # include <limits.h>
54964 #else
54965 # include <assert.h>
54966 #endif
54968 #undef $ac_func
54970 /* Override any gcc2 internal prototype to avoid an error. */
54971 #ifdef __cplusplus
54972 extern "C"
54974 #endif
54975 /* We use char because int might match the return type of a gcc2
54976 builtin and then its argument prototype would still apply. */
54977 char $ac_func ();
54978 /* The GNU C library defines this for functions which it implements
54979 to always fail with ENOSYS. Some functions are actually named
54980 something starting with __ and the normal name is an alias. */
54981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54982 choke me
54983 #else
54984 char (*f) () = $ac_func;
54985 #endif
54986 #ifdef __cplusplus
54988 #endif
54991 main ()
54993 return f != $ac_func;
54995 return 0;
54997 _ACEOF
54998 rm -f conftest.$ac_objext conftest$ac_exeext
54999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55000 (eval $ac_link) 2>conftest.er1
55001 ac_status=$?
55002 grep -v '^ *+' conftest.er1 >conftest.err
55003 rm -f conftest.er1
55004 cat conftest.err >&5
55005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55006 (exit $ac_status); } &&
55007 { ac_try='test -z "$ac_c_werror_flag"
55008 || test ! -s conftest.err'
55009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55010 (eval $ac_try) 2>&5
55011 ac_status=$?
55012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55013 (exit $ac_status); }; } &&
55014 { ac_try='test -s conftest$ac_exeext'
55015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55016 (eval $ac_try) 2>&5
55017 ac_status=$?
55018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019 (exit $ac_status); }; }; then
55020 eval "$as_ac_var=yes"
55021 else
55022 echo "$as_me: failed program was:" >&5
55023 sed 's/^/| /' conftest.$ac_ext >&5
55025 eval "$as_ac_var=no"
55027 rm -f conftest.err conftest.$ac_objext \
55028 conftest$ac_exeext conftest.$ac_ext
55030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55032 if test `eval echo '${'$as_ac_var'}'` = yes; then
55033 cat >>confdefs.h <<_ACEOF
55034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55035 _ACEOF
55037 else
55038 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55040 done
55043 if test x$ac_cv_func_copysignl = x"yes"; then
55045 for ac_func in __signbitl
55047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55048 echo "$as_me:$LINENO: checking for $ac_func" >&5
55049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55050 if eval "test \"\${$as_ac_var+set}\" = set"; then
55051 echo $ECHO_N "(cached) $ECHO_C" >&6
55052 else
55053 if test x$gcc_no_link = xyes; then
55054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55056 { (exit 1); exit 1; }; }
55058 cat >conftest.$ac_ext <<_ACEOF
55059 /* confdefs.h. */
55060 _ACEOF
55061 cat confdefs.h >>conftest.$ac_ext
55062 cat >>conftest.$ac_ext <<_ACEOF
55063 /* end confdefs.h. */
55064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55066 #define $ac_func innocuous_$ac_func
55068 /* System header to define __stub macros and hopefully few prototypes,
55069 which can conflict with char $ac_func (); below.
55070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55071 <limits.h> exists even on freestanding compilers. */
55073 #ifdef __STDC__
55074 # include <limits.h>
55075 #else
55076 # include <assert.h>
55077 #endif
55079 #undef $ac_func
55081 /* Override any gcc2 internal prototype to avoid an error. */
55082 #ifdef __cplusplus
55083 extern "C"
55085 #endif
55086 /* We use char because int might match the return type of a gcc2
55087 builtin and then its argument prototype would still apply. */
55088 char $ac_func ();
55089 /* The GNU C library defines this for functions which it implements
55090 to always fail with ENOSYS. Some functions are actually named
55091 something starting with __ and the normal name is an alias. */
55092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55093 choke me
55094 #else
55095 char (*f) () = $ac_func;
55096 #endif
55097 #ifdef __cplusplus
55099 #endif
55102 main ()
55104 return f != $ac_func;
55106 return 0;
55108 _ACEOF
55109 rm -f conftest.$ac_objext conftest$ac_exeext
55110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55111 (eval $ac_link) 2>conftest.er1
55112 ac_status=$?
55113 grep -v '^ *+' conftest.er1 >conftest.err
55114 rm -f conftest.er1
55115 cat conftest.err >&5
55116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55117 (exit $ac_status); } &&
55118 { ac_try='test -z "$ac_c_werror_flag"
55119 || test ! -s conftest.err'
55120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55121 (eval $ac_try) 2>&5
55122 ac_status=$?
55123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55124 (exit $ac_status); }; } &&
55125 { ac_try='test -s conftest$ac_exeext'
55126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55127 (eval $ac_try) 2>&5
55128 ac_status=$?
55129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55130 (exit $ac_status); }; }; then
55131 eval "$as_ac_var=yes"
55132 else
55133 echo "$as_me: failed program was:" >&5
55134 sed 's/^/| /' conftest.$ac_ext >&5
55136 eval "$as_ac_var=no"
55138 rm -f conftest.err conftest.$ac_objext \
55139 conftest$ac_exeext conftest.$ac_ext
55141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55143 if test `eval echo '${'$as_ac_var'}'` = yes; then
55144 cat >>confdefs.h <<_ACEOF
55145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55146 _ACEOF
55148 else
55149 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55151 done
55155 # Used in libmath/Makefile.am.
55156 if test -n "$LIBMATHOBJS"; then
55157 need_libmath=yes
55161 cat >>confdefs.h <<\_ACEOF
55162 #define HAVE_LC_MESSAGES 1
55163 _ACEOF
55165 cat >>confdefs.h <<\_ACEOF
55166 #define HAVE_GETPAGESIZE 1
55167 _ACEOF
55169 cat >>confdefs.h <<\_ACEOF
55170 #define HAVE_SETENV 1
55171 _ACEOF
55173 cat >>confdefs.h <<\_ACEOF
55174 #define HAVE_SIGSETJMP 1
55175 _ACEOF
55177 cat >>confdefs.h <<\_ACEOF
55178 #define HAVE_COPYSIGN 1
55179 _ACEOF
55181 cat >>confdefs.h <<\_ACEOF
55182 #define HAVE_COPYSIGNF 1
55183 _ACEOF
55185 cat >>confdefs.h <<\_ACEOF
55186 #define HAVE_FINITEF 1
55187 _ACEOF
55189 cat >>confdefs.h <<\_ACEOF
55190 #define HAVE_FINITE 1
55191 _ACEOF
55193 cat >>confdefs.h <<\_ACEOF
55194 #define HAVE_FREXPF 1
55195 _ACEOF
55197 cat >>confdefs.h <<\_ACEOF
55198 #define HAVE_HYPOT 1
55199 _ACEOF
55201 cat >>confdefs.h <<\_ACEOF
55202 #define HAVE_HYPOTF 1
55203 _ACEOF
55205 cat >>confdefs.h <<\_ACEOF
55206 #define HAVE_ISINF 1
55207 _ACEOF
55209 cat >>confdefs.h <<\_ACEOF
55210 #define HAVE_ISNAN 1
55211 _ACEOF
55213 cat >>confdefs.h <<\_ACEOF
55214 #define HAVE_ISNANF 1
55215 _ACEOF
55218 cat >>confdefs.h <<\_ACEOF
55219 #define HAVE_MMAP 1
55220 _ACEOF
55222 cat >>confdefs.h <<\_ACEOF
55223 #define HAVE_ACOSF 1
55224 _ACEOF
55226 cat >>confdefs.h <<\_ACEOF
55227 #define HAVE_ASINF 1
55228 _ACEOF
55230 cat >>confdefs.h <<\_ACEOF
55231 #define HAVE_ATAN2F 1
55232 _ACEOF
55234 cat >>confdefs.h <<\_ACEOF
55235 #define HAVE_ATANF 1
55236 _ACEOF
55238 cat >>confdefs.h <<\_ACEOF
55239 #define HAVE_CEILF 1
55240 _ACEOF
55242 cat >>confdefs.h <<\_ACEOF
55243 #define HAVE_COPYSIGN 1
55244 _ACEOF
55246 cat >>confdefs.h <<\_ACEOF
55247 #define HAVE_COPYSIGNF 1
55248 _ACEOF
55250 cat >>confdefs.h <<\_ACEOF
55251 #define HAVE_COSF 1
55252 _ACEOF
55254 cat >>confdefs.h <<\_ACEOF
55255 #define HAVE_COSHF 1
55256 _ACEOF
55258 cat >>confdefs.h <<\_ACEOF
55259 #define HAVE_EXPF 1
55260 _ACEOF
55262 cat >>confdefs.h <<\_ACEOF
55263 #define HAVE_FABSF 1
55264 _ACEOF
55266 cat >>confdefs.h <<\_ACEOF
55267 #define HAVE_FLOORF 1
55268 _ACEOF
55270 cat >>confdefs.h <<\_ACEOF
55271 #define HAVE_FMODF 1
55272 _ACEOF
55274 cat >>confdefs.h <<\_ACEOF
55275 #define HAVE_FREXPF 1
55276 _ACEOF
55278 cat >>confdefs.h <<\_ACEOF
55279 #define HAVE_LDEXPF 1
55280 _ACEOF
55282 cat >>confdefs.h <<\_ACEOF
55283 #define HAVE_LOG10F 1
55284 _ACEOF
55286 cat >>confdefs.h <<\_ACEOF
55287 #define HAVE_LOGF 1
55288 _ACEOF
55290 cat >>confdefs.h <<\_ACEOF
55291 #define HAVE_MODFF 1
55292 _ACEOF
55294 cat >>confdefs.h <<\_ACEOF
55295 #define HAVE_POWF 1
55296 _ACEOF
55298 cat >>confdefs.h <<\_ACEOF
55299 #define HAVE_SINF 1
55300 _ACEOF
55302 cat >>confdefs.h <<\_ACEOF
55303 #define HAVE_SINHF 1
55304 _ACEOF
55306 cat >>confdefs.h <<\_ACEOF
55307 #define HAVE_SQRTF 1
55308 _ACEOF
55310 cat >>confdefs.h <<\_ACEOF
55311 #define HAVE_TANF 1
55312 _ACEOF
55314 cat >>confdefs.h <<\_ACEOF
55315 #define HAVE_TANHF 1
55316 _ACEOF
55318 if test x"long_double_math_on_this_cpu" = x"yes"; then
55319 cat >>confdefs.h <<\_ACEOF
55320 #define HAVE_FINITEL 1
55321 _ACEOF
55323 cat >>confdefs.h <<\_ACEOF
55324 #define HAVE_ISINFL 1
55325 _ACEOF
55327 cat >>confdefs.h <<\_ACEOF
55328 #define HAVE_ISNANL 1
55329 _ACEOF
55333 *-hpux*)
55346 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55347 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55348 fp.h locale.h float.h inttypes.h
55350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55352 echo "$as_me:$LINENO: checking for $ac_header" >&5
55353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55355 echo $ECHO_N "(cached) $ECHO_C" >&6
55357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55359 else
55360 # Is the header compilable?
55361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55363 cat >conftest.$ac_ext <<_ACEOF
55364 /* confdefs.h. */
55365 _ACEOF
55366 cat confdefs.h >>conftest.$ac_ext
55367 cat >>conftest.$ac_ext <<_ACEOF
55368 /* end confdefs.h. */
55369 $ac_includes_default
55370 #include <$ac_header>
55371 _ACEOF
55372 rm -f conftest.$ac_objext
55373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55374 (eval $ac_compile) 2>conftest.er1
55375 ac_status=$?
55376 grep -v '^ *+' conftest.er1 >conftest.err
55377 rm -f conftest.er1
55378 cat conftest.err >&5
55379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55380 (exit $ac_status); } &&
55381 { ac_try='test -z "$ac_c_werror_flag"
55382 || test ! -s conftest.err'
55383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55384 (eval $ac_try) 2>&5
55385 ac_status=$?
55386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55387 (exit $ac_status); }; } &&
55388 { ac_try='test -s conftest.$ac_objext'
55389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55390 (eval $ac_try) 2>&5
55391 ac_status=$?
55392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55393 (exit $ac_status); }; }; then
55394 ac_header_compiler=yes
55395 else
55396 echo "$as_me: failed program was:" >&5
55397 sed 's/^/| /' conftest.$ac_ext >&5
55399 ac_header_compiler=no
55401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55403 echo "${ECHO_T}$ac_header_compiler" >&6
55405 # Is the header present?
55406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55408 cat >conftest.$ac_ext <<_ACEOF
55409 /* confdefs.h. */
55410 _ACEOF
55411 cat confdefs.h >>conftest.$ac_ext
55412 cat >>conftest.$ac_ext <<_ACEOF
55413 /* end confdefs.h. */
55414 #include <$ac_header>
55415 _ACEOF
55416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55418 ac_status=$?
55419 grep -v '^ *+' conftest.er1 >conftest.err
55420 rm -f conftest.er1
55421 cat conftest.err >&5
55422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55423 (exit $ac_status); } >/dev/null; then
55424 if test -s conftest.err; then
55425 ac_cpp_err=$ac_c_preproc_warn_flag
55426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55427 else
55428 ac_cpp_err=
55430 else
55431 ac_cpp_err=yes
55433 if test -z "$ac_cpp_err"; then
55434 ac_header_preproc=yes
55435 else
55436 echo "$as_me: failed program was:" >&5
55437 sed 's/^/| /' conftest.$ac_ext >&5
55439 ac_header_preproc=no
55441 rm -f conftest.err conftest.$ac_ext
55442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55443 echo "${ECHO_T}$ac_header_preproc" >&6
55445 # So? What about this header?
55446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55447 yes:no: )
55448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55452 ac_header_preproc=yes
55454 no:yes:* )
55455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
55462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
55463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55468 cat <<\_ASBOX
55469 ## ----------------------------------------- ##
55470 ## Report this to the package-unused lists. ##
55471 ## ----------------------------------------- ##
55472 _ASBOX
55474 sed "s/^/$as_me: WARNING: /" >&2
55476 esac
55477 echo "$as_me:$LINENO: checking for $ac_header" >&5
55478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55480 echo $ECHO_N "(cached) $ECHO_C" >&6
55481 else
55482 eval "$as_ac_Header=\$ac_header_preproc"
55484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55489 cat >>confdefs.h <<_ACEOF
55490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55491 _ACEOF
55495 done
55497 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55500 # If we're not using GNU ld, then there's no point in even trying these
55501 # tests. Check for that first. We should have already tested for gld
55502 # by now (in libtool), but require it now just to be safe...
55503 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55504 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55508 # The name set by libtool depends on the version of libtool. Shame on us
55509 # for depending on an impl detail, but c'est la vie. Older versions used
55510 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55511 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55512 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55513 # set (hence we're using an older libtool), then set it.
55514 if test x${with_gnu_ld+set} != xset; then
55515 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55516 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55517 with_gnu_ld=no
55518 else
55519 with_gnu_ld=$ac_cv_prog_gnu_ld
55523 # Start by getting the version number. I think the libtool test already
55524 # does some of this, but throws away the result.
55525 if test x"$with_gnu_ld" = x"yes"; then
55526 echo "$as_me:$LINENO: checking for ld version" >&5
55527 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
55529 ldver=`$LD --version 2>/dev/null | head -1 | \
55530 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
55532 glibcxx_gnu_ld_version=`echo $ldver | \
55533 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55534 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
55535 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
55538 # Set --gc-sections.
55539 glibcxx_gcsections_min_ld=21602
55540 if test x"$with_gnu_ld" = x"yes" &&
55541 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
55543 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
55544 # NB: This flag only works reliably after 2.16.1. Configure tests
55545 # for this are difficult, so hard wire a value that should work.
55547 # All these tests are for C++, but run with the "C" compiler driver.
55548 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
55549 ac_test_CFLAGS="${CFLAGS+set}"
55550 ac_save_CFLAGS="$CFLAGS"
55551 CFLAGS='-x c++ -Wl,--gc-sections'
55553 # Check for -Wl,--gc-sections
55554 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55555 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55556 if test x$gcc_no_link = xyes; then
55557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55559 { (exit 1); exit 1; }; }
55561 cat >conftest.$ac_ext <<_ACEOF
55562 /* confdefs.h. */
55563 _ACEOF
55564 cat confdefs.h >>conftest.$ac_ext
55565 cat >>conftest.$ac_ext <<_ACEOF
55566 /* end confdefs.h. */
55567 int one(void) { return 1; }
55568 int two(void) { return 2; }
55571 main ()
55573 two();
55575 return 0;
55577 _ACEOF
55578 rm -f conftest.$ac_objext conftest$ac_exeext
55579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55580 (eval $ac_link) 2>conftest.er1
55581 ac_status=$?
55582 grep -v '^ *+' conftest.er1 >conftest.err
55583 rm -f conftest.er1
55584 cat conftest.err >&5
55585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55586 (exit $ac_status); } &&
55587 { ac_try='test -z "$ac_c_werror_flag"
55588 || test ! -s conftest.err'
55589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55590 (eval $ac_try) 2>&5
55591 ac_status=$?
55592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55593 (exit $ac_status); }; } &&
55594 { ac_try='test -s conftest$ac_exeext'
55595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55596 (eval $ac_try) 2>&5
55597 ac_status=$?
55598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55599 (exit $ac_status); }; }; then
55600 ac_gcsections=yes
55601 else
55602 echo "$as_me: failed program was:" >&5
55603 sed 's/^/| /' conftest.$ac_ext >&5
55605 ac_gcsections=no
55607 rm -f conftest.err conftest.$ac_objext \
55608 conftest$ac_exeext conftest.$ac_ext
55609 if test "$ac_gcsections" = "yes"; then
55610 rm -f conftest.c
55611 touch conftest.c
55612 if $CC -c conftest.c; then
55613 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
55614 grep "Warning: gc-sections option ignored" > /dev/null; then
55615 ac_gcsections=no
55618 rm -f conftest.c conftest.o conftest
55620 if test "$ac_gcsections" = "yes"; then
55621 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55623 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
55624 echo "${ECHO_T}$ac_gcsections" >&6
55626 if test "$ac_test_CFLAGS" = set; then
55627 CFLAGS="$ac_save_CFLAGS"
55628 else
55629 # this is the suspicious part
55630 CFLAGS=''
55634 # Set -z,relro.
55635 # Note this is only for shared objects.
55636 ac_ld_relro=no
55637 if test x"$with_gnu_ld" = x"yes"; then
55638 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
55639 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
55640 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55641 if test -n "$cxx_z_relo"; then
55642 OPT_LDFLAGS="-Wl,-z,relro"
55643 ac_ld_relro=yes
55645 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
55646 echo "${ECHO_T}$ac_ld_relro" >&6
55649 # Set linker optimization flags.
55650 if test x"$with_gnu_ld" = x"yes"; then
55651 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55659 echo "$as_me:$LINENO: checking for main in -lm" >&5
55660 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55661 if test "${ac_cv_lib_m_main+set}" = set; then
55662 echo $ECHO_N "(cached) $ECHO_C" >&6
55663 else
55664 ac_check_lib_save_LIBS=$LIBS
55665 LIBS="-lm $LIBS"
55666 if test x$gcc_no_link = xyes; then
55667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55669 { (exit 1); exit 1; }; }
55671 cat >conftest.$ac_ext <<_ACEOF
55672 /* confdefs.h. */
55673 _ACEOF
55674 cat confdefs.h >>conftest.$ac_ext
55675 cat >>conftest.$ac_ext <<_ACEOF
55676 /* end confdefs.h. */
55680 main ()
55682 main ();
55684 return 0;
55686 _ACEOF
55687 rm -f conftest.$ac_objext conftest$ac_exeext
55688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55689 (eval $ac_link) 2>conftest.er1
55690 ac_status=$?
55691 grep -v '^ *+' conftest.er1 >conftest.err
55692 rm -f conftest.er1
55693 cat conftest.err >&5
55694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55695 (exit $ac_status); } &&
55696 { ac_try='test -z "$ac_c_werror_flag"
55697 || test ! -s conftest.err'
55698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55699 (eval $ac_try) 2>&5
55700 ac_status=$?
55701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55702 (exit $ac_status); }; } &&
55703 { ac_try='test -s conftest$ac_exeext'
55704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55705 (eval $ac_try) 2>&5
55706 ac_status=$?
55707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55708 (exit $ac_status); }; }; then
55709 ac_cv_lib_m_main=yes
55710 else
55711 echo "$as_me: failed program was:" >&5
55712 sed 's/^/| /' conftest.$ac_ext >&5
55714 ac_cv_lib_m_main=no
55716 rm -f conftest.err conftest.$ac_objext \
55717 conftest$ac_exeext conftest.$ac_ext
55718 LIBS=$ac_check_lib_save_LIBS
55720 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55721 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55722 if test $ac_cv_lib_m_main = yes; then
55723 cat >>confdefs.h <<_ACEOF
55724 #define HAVE_LIBM 1
55725 _ACEOF
55727 LIBS="-lm $LIBS"
55732 for ac_func in copysignf
55734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55735 echo "$as_me:$LINENO: checking for $ac_func" >&5
55736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55737 if eval "test \"\${$as_ac_var+set}\" = set"; then
55738 echo $ECHO_N "(cached) $ECHO_C" >&6
55739 else
55740 if test x$gcc_no_link = xyes; then
55741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55743 { (exit 1); exit 1; }; }
55745 cat >conftest.$ac_ext <<_ACEOF
55746 /* confdefs.h. */
55747 _ACEOF
55748 cat confdefs.h >>conftest.$ac_ext
55749 cat >>conftest.$ac_ext <<_ACEOF
55750 /* end confdefs.h. */
55751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55753 #define $ac_func innocuous_$ac_func
55755 /* System header to define __stub macros and hopefully few prototypes,
55756 which can conflict with char $ac_func (); below.
55757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55758 <limits.h> exists even on freestanding compilers. */
55760 #ifdef __STDC__
55761 # include <limits.h>
55762 #else
55763 # include <assert.h>
55764 #endif
55766 #undef $ac_func
55768 /* Override any gcc2 internal prototype to avoid an error. */
55769 #ifdef __cplusplus
55770 extern "C"
55772 #endif
55773 /* We use char because int might match the return type of a gcc2
55774 builtin and then its argument prototype would still apply. */
55775 char $ac_func ();
55776 /* The GNU C library defines this for functions which it implements
55777 to always fail with ENOSYS. Some functions are actually named
55778 something starting with __ and the normal name is an alias. */
55779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55780 choke me
55781 #else
55782 char (*f) () = $ac_func;
55783 #endif
55784 #ifdef __cplusplus
55786 #endif
55789 main ()
55791 return f != $ac_func;
55793 return 0;
55795 _ACEOF
55796 rm -f conftest.$ac_objext conftest$ac_exeext
55797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55798 (eval $ac_link) 2>conftest.er1
55799 ac_status=$?
55800 grep -v '^ *+' conftest.er1 >conftest.err
55801 rm -f conftest.er1
55802 cat conftest.err >&5
55803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55804 (exit $ac_status); } &&
55805 { ac_try='test -z "$ac_c_werror_flag"
55806 || test ! -s conftest.err'
55807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55808 (eval $ac_try) 2>&5
55809 ac_status=$?
55810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55811 (exit $ac_status); }; } &&
55812 { ac_try='test -s conftest$ac_exeext'
55813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55814 (eval $ac_try) 2>&5
55815 ac_status=$?
55816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55817 (exit $ac_status); }; }; then
55818 eval "$as_ac_var=yes"
55819 else
55820 echo "$as_me: failed program was:" >&5
55821 sed 's/^/| /' conftest.$ac_ext >&5
55823 eval "$as_ac_var=no"
55825 rm -f conftest.err conftest.$ac_objext \
55826 conftest$ac_exeext conftest.$ac_ext
55828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55830 if test `eval echo '${'$as_ac_var'}'` = yes; then
55831 cat >>confdefs.h <<_ACEOF
55832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55833 _ACEOF
55835 else
55836 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55838 done
55842 for ac_func in __signbit
55844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55845 echo "$as_me:$LINENO: checking for $ac_func" >&5
55846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55847 if eval "test \"\${$as_ac_var+set}\" = set"; then
55848 echo $ECHO_N "(cached) $ECHO_C" >&6
55849 else
55850 if test x$gcc_no_link = xyes; then
55851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55853 { (exit 1); exit 1; }; }
55855 cat >conftest.$ac_ext <<_ACEOF
55856 /* confdefs.h. */
55857 _ACEOF
55858 cat confdefs.h >>conftest.$ac_ext
55859 cat >>conftest.$ac_ext <<_ACEOF
55860 /* end confdefs.h. */
55861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55863 #define $ac_func innocuous_$ac_func
55865 /* System header to define __stub macros and hopefully few prototypes,
55866 which can conflict with char $ac_func (); below.
55867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55868 <limits.h> exists even on freestanding compilers. */
55870 #ifdef __STDC__
55871 # include <limits.h>
55872 #else
55873 # include <assert.h>
55874 #endif
55876 #undef $ac_func
55878 /* Override any gcc2 internal prototype to avoid an error. */
55879 #ifdef __cplusplus
55880 extern "C"
55882 #endif
55883 /* We use char because int might match the return type of a gcc2
55884 builtin and then its argument prototype would still apply. */
55885 char $ac_func ();
55886 /* The GNU C library defines this for functions which it implements
55887 to always fail with ENOSYS. Some functions are actually named
55888 something starting with __ and the normal name is an alias. */
55889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55890 choke me
55891 #else
55892 char (*f) () = $ac_func;
55893 #endif
55894 #ifdef __cplusplus
55896 #endif
55899 main ()
55901 return f != $ac_func;
55903 return 0;
55905 _ACEOF
55906 rm -f conftest.$ac_objext conftest$ac_exeext
55907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55908 (eval $ac_link) 2>conftest.er1
55909 ac_status=$?
55910 grep -v '^ *+' conftest.er1 >conftest.err
55911 rm -f conftest.er1
55912 cat conftest.err >&5
55913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55914 (exit $ac_status); } &&
55915 { ac_try='test -z "$ac_c_werror_flag"
55916 || test ! -s conftest.err'
55917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55918 (eval $ac_try) 2>&5
55919 ac_status=$?
55920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55921 (exit $ac_status); }; } &&
55922 { ac_try='test -s conftest$ac_exeext'
55923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55924 (eval $ac_try) 2>&5
55925 ac_status=$?
55926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55927 (exit $ac_status); }; }; then
55928 eval "$as_ac_var=yes"
55929 else
55930 echo "$as_me: failed program was:" >&5
55931 sed 's/^/| /' conftest.$ac_ext >&5
55933 eval "$as_ac_var=no"
55935 rm -f conftest.err conftest.$ac_objext \
55936 conftest$ac_exeext conftest.$ac_ext
55938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55940 if test `eval echo '${'$as_ac_var'}'` = yes; then
55941 cat >>confdefs.h <<_ACEOF
55942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55943 _ACEOF
55945 else
55946 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55948 done
55952 for ac_func in __signbitf
55954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55955 echo "$as_me:$LINENO: checking for $ac_func" >&5
55956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55957 if eval "test \"\${$as_ac_var+set}\" = set"; then
55958 echo $ECHO_N "(cached) $ECHO_C" >&6
55959 else
55960 if test x$gcc_no_link = xyes; then
55961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55963 { (exit 1); exit 1; }; }
55965 cat >conftest.$ac_ext <<_ACEOF
55966 /* confdefs.h. */
55967 _ACEOF
55968 cat confdefs.h >>conftest.$ac_ext
55969 cat >>conftest.$ac_ext <<_ACEOF
55970 /* end confdefs.h. */
55971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55973 #define $ac_func innocuous_$ac_func
55975 /* System header to define __stub macros and hopefully few prototypes,
55976 which can conflict with char $ac_func (); below.
55977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55978 <limits.h> exists even on freestanding compilers. */
55980 #ifdef __STDC__
55981 # include <limits.h>
55982 #else
55983 # include <assert.h>
55984 #endif
55986 #undef $ac_func
55988 /* Override any gcc2 internal prototype to avoid an error. */
55989 #ifdef __cplusplus
55990 extern "C"
55992 #endif
55993 /* We use char because int might match the return type of a gcc2
55994 builtin and then its argument prototype would still apply. */
55995 char $ac_func ();
55996 /* The GNU C library defines this for functions which it implements
55997 to always fail with ENOSYS. Some functions are actually named
55998 something starting with __ and the normal name is an alias. */
55999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56000 choke me
56001 #else
56002 char (*f) () = $ac_func;
56003 #endif
56004 #ifdef __cplusplus
56006 #endif
56009 main ()
56011 return f != $ac_func;
56013 return 0;
56015 _ACEOF
56016 rm -f conftest.$ac_objext conftest$ac_exeext
56017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56018 (eval $ac_link) 2>conftest.er1
56019 ac_status=$?
56020 grep -v '^ *+' conftest.er1 >conftest.err
56021 rm -f conftest.er1
56022 cat conftest.err >&5
56023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56024 (exit $ac_status); } &&
56025 { ac_try='test -z "$ac_c_werror_flag"
56026 || test ! -s conftest.err'
56027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56028 (eval $ac_try) 2>&5
56029 ac_status=$?
56030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031 (exit $ac_status); }; } &&
56032 { ac_try='test -s conftest$ac_exeext'
56033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56034 (eval $ac_try) 2>&5
56035 ac_status=$?
56036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037 (exit $ac_status); }; }; then
56038 eval "$as_ac_var=yes"
56039 else
56040 echo "$as_me: failed program was:" >&5
56041 sed 's/^/| /' conftest.$ac_ext >&5
56043 eval "$as_ac_var=no"
56045 rm -f conftest.err conftest.$ac_objext \
56046 conftest$ac_exeext conftest.$ac_ext
56048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56050 if test `eval echo '${'$as_ac_var'}'` = yes; then
56051 cat >>confdefs.h <<_ACEOF
56052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56053 _ACEOF
56055 else
56056 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56058 done
56061 if test x$ac_cv_func_copysignl = x"yes"; then
56063 for ac_func in __signbitl
56065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56066 echo "$as_me:$LINENO: checking for $ac_func" >&5
56067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56068 if eval "test \"\${$as_ac_var+set}\" = set"; then
56069 echo $ECHO_N "(cached) $ECHO_C" >&6
56070 else
56071 if test x$gcc_no_link = xyes; then
56072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56074 { (exit 1); exit 1; }; }
56076 cat >conftest.$ac_ext <<_ACEOF
56077 /* confdefs.h. */
56078 _ACEOF
56079 cat confdefs.h >>conftest.$ac_ext
56080 cat >>conftest.$ac_ext <<_ACEOF
56081 /* end confdefs.h. */
56082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56084 #define $ac_func innocuous_$ac_func
56086 /* System header to define __stub macros and hopefully few prototypes,
56087 which can conflict with char $ac_func (); below.
56088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56089 <limits.h> exists even on freestanding compilers. */
56091 #ifdef __STDC__
56092 # include <limits.h>
56093 #else
56094 # include <assert.h>
56095 #endif
56097 #undef $ac_func
56099 /* Override any gcc2 internal prototype to avoid an error. */
56100 #ifdef __cplusplus
56101 extern "C"
56103 #endif
56104 /* We use char because int might match the return type of a gcc2
56105 builtin and then its argument prototype would still apply. */
56106 char $ac_func ();
56107 /* The GNU C library defines this for functions which it implements
56108 to always fail with ENOSYS. Some functions are actually named
56109 something starting with __ and the normal name is an alias. */
56110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56111 choke me
56112 #else
56113 char (*f) () = $ac_func;
56114 #endif
56115 #ifdef __cplusplus
56117 #endif
56120 main ()
56122 return f != $ac_func;
56124 return 0;
56126 _ACEOF
56127 rm -f conftest.$ac_objext conftest$ac_exeext
56128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56129 (eval $ac_link) 2>conftest.er1
56130 ac_status=$?
56131 grep -v '^ *+' conftest.er1 >conftest.err
56132 rm -f conftest.er1
56133 cat conftest.err >&5
56134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56135 (exit $ac_status); } &&
56136 { ac_try='test -z "$ac_c_werror_flag"
56137 || test ! -s conftest.err'
56138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56139 (eval $ac_try) 2>&5
56140 ac_status=$?
56141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56142 (exit $ac_status); }; } &&
56143 { ac_try='test -s conftest$ac_exeext'
56144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56145 (eval $ac_try) 2>&5
56146 ac_status=$?
56147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56148 (exit $ac_status); }; }; then
56149 eval "$as_ac_var=yes"
56150 else
56151 echo "$as_me: failed program was:" >&5
56152 sed 's/^/| /' conftest.$ac_ext >&5
56154 eval "$as_ac_var=no"
56156 rm -f conftest.err conftest.$ac_objext \
56157 conftest$ac_exeext conftest.$ac_ext
56159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56161 if test `eval echo '${'$as_ac_var'}'` = yes; then
56162 cat >>confdefs.h <<_ACEOF
56163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56164 _ACEOF
56166 else
56167 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56169 done
56173 # Used in libmath/Makefile.am.
56174 if test -n "$LIBMATHOBJS"; then
56175 need_libmath=yes
56179 cat >>confdefs.h <<\_ACEOF
56180 #define HAVE_COPYSIGN 1
56181 _ACEOF
56183 cat >>confdefs.h <<\_ACEOF
56184 #define HAVE_COPYSIGNF 1
56185 _ACEOF
56187 cat >>confdefs.h <<\_ACEOF
56188 #define HAVE_FREXPF 1
56189 _ACEOF
56191 cat >>confdefs.h <<\_ACEOF
56192 #define HAVE_HYPOT 1
56193 _ACEOF
56195 case "$target" in
56196 *-hpux10*)
56197 cat >>confdefs.h <<\_ACEOF
56198 #define HAVE_FINITE 1
56199 _ACEOF
56201 cat >>confdefs.h <<\_ACEOF
56202 #define HAVE_FINITEF 1
56203 _ACEOF
56205 cat >>confdefs.h <<\_ACEOF
56206 #define HAVE_ISINF 1
56207 _ACEOF
56209 cat >>confdefs.h <<\_ACEOF
56210 #define HAVE_ISINFF 1
56211 _ACEOF
56213 cat >>confdefs.h <<\_ACEOF
56214 #define HAVE_ISNAN 1
56215 _ACEOF
56217 cat >>confdefs.h <<\_ACEOF
56218 #define HAVE_ISNANF 1
56219 _ACEOF
56222 esac
56224 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
56240 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
56241 machine/endian.h machine/param.h sys/machine.h sys/types.h \
56242 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
56244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56246 echo "$as_me:$LINENO: checking for $ac_header" >&5
56247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56249 echo $ECHO_N "(cached) $ECHO_C" >&6
56251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56253 else
56254 # Is the header compilable?
56255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56257 cat >conftest.$ac_ext <<_ACEOF
56258 /* confdefs.h. */
56259 _ACEOF
56260 cat confdefs.h >>conftest.$ac_ext
56261 cat >>conftest.$ac_ext <<_ACEOF
56262 /* end confdefs.h. */
56263 $ac_includes_default
56264 #include <$ac_header>
56265 _ACEOF
56266 rm -f conftest.$ac_objext
56267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56268 (eval $ac_compile) 2>conftest.er1
56269 ac_status=$?
56270 grep -v '^ *+' conftest.er1 >conftest.err
56271 rm -f conftest.er1
56272 cat conftest.err >&5
56273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56274 (exit $ac_status); } &&
56275 { ac_try='test -z "$ac_c_werror_flag"
56276 || test ! -s conftest.err'
56277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56278 (eval $ac_try) 2>&5
56279 ac_status=$?
56280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56281 (exit $ac_status); }; } &&
56282 { ac_try='test -s conftest.$ac_objext'
56283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56284 (eval $ac_try) 2>&5
56285 ac_status=$?
56286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56287 (exit $ac_status); }; }; then
56288 ac_header_compiler=yes
56289 else
56290 echo "$as_me: failed program was:" >&5
56291 sed 's/^/| /' conftest.$ac_ext >&5
56293 ac_header_compiler=no
56295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56297 echo "${ECHO_T}$ac_header_compiler" >&6
56299 # Is the header present?
56300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56302 cat >conftest.$ac_ext <<_ACEOF
56303 /* confdefs.h. */
56304 _ACEOF
56305 cat confdefs.h >>conftest.$ac_ext
56306 cat >>conftest.$ac_ext <<_ACEOF
56307 /* end confdefs.h. */
56308 #include <$ac_header>
56309 _ACEOF
56310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56312 ac_status=$?
56313 grep -v '^ *+' conftest.er1 >conftest.err
56314 rm -f conftest.er1
56315 cat conftest.err >&5
56316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56317 (exit $ac_status); } >/dev/null; then
56318 if test -s conftest.err; then
56319 ac_cpp_err=$ac_c_preproc_warn_flag
56320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56321 else
56322 ac_cpp_err=
56324 else
56325 ac_cpp_err=yes
56327 if test -z "$ac_cpp_err"; then
56328 ac_header_preproc=yes
56329 else
56330 echo "$as_me: failed program was:" >&5
56331 sed 's/^/| /' conftest.$ac_ext >&5
56333 ac_header_preproc=no
56335 rm -f conftest.err conftest.$ac_ext
56336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56337 echo "${ECHO_T}$ac_header_preproc" >&6
56339 # So? What about this header?
56340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56341 yes:no: )
56342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56346 ac_header_preproc=yes
56348 no:yes:* )
56349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56362 cat <<\_ASBOX
56363 ## ----------------------------------------- ##
56364 ## Report this to the package-unused lists. ##
56365 ## ----------------------------------------- ##
56366 _ASBOX
56368 sed "s/^/$as_me: WARNING: /" >&2
56370 esac
56371 echo "$as_me:$LINENO: checking for $ac_header" >&5
56372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56374 echo $ECHO_N "(cached) $ECHO_C" >&6
56375 else
56376 eval "$as_ac_Header=\$ac_header_preproc"
56378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56383 cat >>confdefs.h <<_ACEOF
56384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56385 _ACEOF
56389 done
56391 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56394 # All these tests are for C++; save the language and the compiler flags.
56395 # The CXXFLAGS thing is suspicious, but based on similar bits previously
56396 # found in GLIBCXX_CONFIGURE.
56399 ac_ext=cc
56400 ac_cpp='$CXXCPP $CPPFLAGS'
56401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56405 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56406 ac_save_CXXFLAGS="$CXXFLAGS"
56408 # Check for maintainer-mode bits.
56409 if test x"$USE_MAINTAINER_MODE" = xno; then
56410 WERROR=''
56411 else
56412 WERROR='-Werror'
56415 # Check for -ffunction-sections -fdata-sections
56416 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
56417 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
56418 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
56419 cat >conftest.$ac_ext <<_ACEOF
56420 /* confdefs.h. */
56421 _ACEOF
56422 cat confdefs.h >>conftest.$ac_ext
56423 cat >>conftest.$ac_ext <<_ACEOF
56424 /* end confdefs.h. */
56427 main ()
56429 int foo;
56431 return 0;
56433 _ACEOF
56434 rm -f conftest.$ac_objext
56435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56436 (eval $ac_compile) 2>conftest.er1
56437 ac_status=$?
56438 grep -v '^ *+' conftest.er1 >conftest.err
56439 rm -f conftest.er1
56440 cat conftest.err >&5
56441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56442 (exit $ac_status); } &&
56443 { ac_try='test -z "$ac_cxx_werror_flag"
56444 || test ! -s conftest.err'
56445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56446 (eval $ac_try) 2>&5
56447 ac_status=$?
56448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56449 (exit $ac_status); }; } &&
56450 { ac_try='test -s conftest.$ac_objext'
56451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56452 (eval $ac_try) 2>&5
56453 ac_status=$?
56454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56455 (exit $ac_status); }; }; then
56456 ac_fdsections=yes
56457 else
56458 echo "$as_me: failed program was:" >&5
56459 sed 's/^/| /' conftest.$ac_ext >&5
56461 ac_fdsections=no
56463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56464 if test "$ac_test_CXXFLAGS" = set; then
56465 CXXFLAGS="$ac_save_CXXFLAGS"
56466 else
56467 # this is the suspicious part
56468 CXXFLAGS=''
56470 if test x"$ac_fdsections" = x"yes"; then
56471 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56473 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
56474 echo "${ECHO_T}$ac_fdsections" >&6
56476 ac_ext=c
56477 ac_cpp='$CPP $CPPFLAGS'
56478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56486 # If we're not using GNU ld, then there's no point in even trying these
56487 # tests. Check for that first. We should have already tested for gld
56488 # by now (in libtool), but require it now just to be safe...
56489 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56490 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56494 # The name set by libtool depends on the version of libtool. Shame on us
56495 # for depending on an impl detail, but c'est la vie. Older versions used
56496 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56497 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56498 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56499 # set (hence we're using an older libtool), then set it.
56500 if test x${with_gnu_ld+set} != xset; then
56501 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56502 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56503 with_gnu_ld=no
56504 else
56505 with_gnu_ld=$ac_cv_prog_gnu_ld
56509 # Start by getting the version number. I think the libtool test already
56510 # does some of this, but throws away the result.
56511 if test x"$with_gnu_ld" = x"yes"; then
56512 echo "$as_me:$LINENO: checking for ld version" >&5
56513 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
56515 ldver=`$LD --version 2>/dev/null | head -1 | \
56516 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
56518 glibcxx_gnu_ld_version=`echo $ldver | \
56519 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56520 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
56521 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
56524 # Set --gc-sections.
56525 glibcxx_gcsections_min_ld=21602
56526 if test x"$with_gnu_ld" = x"yes" &&
56527 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56529 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56530 # NB: This flag only works reliably after 2.16.1. Configure tests
56531 # for this are difficult, so hard wire a value that should work.
56533 # All these tests are for C++, but run with the "C" compiler driver.
56534 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
56535 ac_test_CFLAGS="${CFLAGS+set}"
56536 ac_save_CFLAGS="$CFLAGS"
56537 CFLAGS='-x c++ -Wl,--gc-sections'
56539 # Check for -Wl,--gc-sections
56540 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
56541 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
56542 if test x$gcc_no_link = xyes; then
56543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56545 { (exit 1); exit 1; }; }
56547 cat >conftest.$ac_ext <<_ACEOF
56548 /* confdefs.h. */
56549 _ACEOF
56550 cat confdefs.h >>conftest.$ac_ext
56551 cat >>conftest.$ac_ext <<_ACEOF
56552 /* end confdefs.h. */
56553 int one(void) { return 1; }
56554 int two(void) { return 2; }
56557 main ()
56559 two();
56561 return 0;
56563 _ACEOF
56564 rm -f conftest.$ac_objext conftest$ac_exeext
56565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56566 (eval $ac_link) 2>conftest.er1
56567 ac_status=$?
56568 grep -v '^ *+' conftest.er1 >conftest.err
56569 rm -f conftest.er1
56570 cat conftest.err >&5
56571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56572 (exit $ac_status); } &&
56573 { ac_try='test -z "$ac_c_werror_flag"
56574 || test ! -s conftest.err'
56575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56576 (eval $ac_try) 2>&5
56577 ac_status=$?
56578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56579 (exit $ac_status); }; } &&
56580 { ac_try='test -s conftest$ac_exeext'
56581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56582 (eval $ac_try) 2>&5
56583 ac_status=$?
56584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56585 (exit $ac_status); }; }; then
56586 ac_gcsections=yes
56587 else
56588 echo "$as_me: failed program was:" >&5
56589 sed 's/^/| /' conftest.$ac_ext >&5
56591 ac_gcsections=no
56593 rm -f conftest.err conftest.$ac_objext \
56594 conftest$ac_exeext conftest.$ac_ext
56595 if test "$ac_gcsections" = "yes"; then
56596 rm -f conftest.c
56597 touch conftest.c
56598 if $CC -c conftest.c; then
56599 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56600 grep "Warning: gc-sections option ignored" > /dev/null; then
56601 ac_gcsections=no
56604 rm -f conftest.c conftest.o conftest
56606 if test "$ac_gcsections" = "yes"; then
56607 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56609 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
56610 echo "${ECHO_T}$ac_gcsections" >&6
56612 if test "$ac_test_CFLAGS" = set; then
56613 CFLAGS="$ac_save_CFLAGS"
56614 else
56615 # this is the suspicious part
56616 CFLAGS=''
56620 # Set -z,relro.
56621 # Note this is only for shared objects.
56622 ac_ld_relro=no
56623 if test x"$with_gnu_ld" = x"yes"; then
56624 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
56625 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
56626 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56627 if test -n "$cxx_z_relo"; then
56628 OPT_LDFLAGS="-Wl,-z,relro"
56629 ac_ld_relro=yes
56631 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
56632 echo "${ECHO_T}$ac_ld_relro" >&6
56635 # Set linker optimization flags.
56636 if test x"$with_gnu_ld" = x"yes"; then
56637 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56644 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56645 ac_save_CXXFLAGS="$CXXFLAGS"
56646 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56648 echo "$as_me:$LINENO: checking for sin in -lm" >&5
56649 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
56650 if test "${ac_cv_lib_m_sin+set}" = set; then
56651 echo $ECHO_N "(cached) $ECHO_C" >&6
56652 else
56653 ac_check_lib_save_LIBS=$LIBS
56654 LIBS="-lm $LIBS"
56655 if test x$gcc_no_link = xyes; then
56656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56658 { (exit 1); exit 1; }; }
56660 cat >conftest.$ac_ext <<_ACEOF
56661 /* confdefs.h. */
56662 _ACEOF
56663 cat confdefs.h >>conftest.$ac_ext
56664 cat >>conftest.$ac_ext <<_ACEOF
56665 /* end confdefs.h. */
56667 /* Override any gcc2 internal prototype to avoid an error. */
56668 #ifdef __cplusplus
56669 extern "C"
56670 #endif
56671 /* We use char because int might match the return type of a gcc2
56672 builtin and then its argument prototype would still apply. */
56673 char sin ();
56675 main ()
56677 sin ();
56679 return 0;
56681 _ACEOF
56682 rm -f conftest.$ac_objext conftest$ac_exeext
56683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56684 (eval $ac_link) 2>conftest.er1
56685 ac_status=$?
56686 grep -v '^ *+' conftest.er1 >conftest.err
56687 rm -f conftest.er1
56688 cat conftest.err >&5
56689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56690 (exit $ac_status); } &&
56691 { ac_try='test -z "$ac_c_werror_flag"
56692 || test ! -s conftest.err'
56693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56694 (eval $ac_try) 2>&5
56695 ac_status=$?
56696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56697 (exit $ac_status); }; } &&
56698 { ac_try='test -s conftest$ac_exeext'
56699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56700 (eval $ac_try) 2>&5
56701 ac_status=$?
56702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56703 (exit $ac_status); }; }; then
56704 ac_cv_lib_m_sin=yes
56705 else
56706 echo "$as_me: failed program was:" >&5
56707 sed 's/^/| /' conftest.$ac_ext >&5
56709 ac_cv_lib_m_sin=no
56711 rm -f conftest.err conftest.$ac_objext \
56712 conftest$ac_exeext conftest.$ac_ext
56713 LIBS=$ac_check_lib_save_LIBS
56715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
56716 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
56717 if test $ac_cv_lib_m_sin = yes; then
56718 libm="-lm"
56721 ac_save_LIBS="$LIBS"
56722 LIBS="$LIBS $libm"
56726 echo "$as_me:$LINENO: checking for isinf declaration" >&5
56727 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
56728 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56729 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
56730 echo $ECHO_N "(cached) $ECHO_C" >&6
56731 else
56735 ac_ext=cc
56736 ac_cpp='$CXXCPP $CPPFLAGS'
56737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56741 cat >conftest.$ac_ext <<_ACEOF
56742 /* confdefs.h. */
56743 _ACEOF
56744 cat confdefs.h >>conftest.$ac_ext
56745 cat >>conftest.$ac_ext <<_ACEOF
56746 /* end confdefs.h. */
56747 #include <math.h>
56748 #ifdef HAVE_IEEEFP_H
56749 #include <ieeefp.h>
56750 #endif
56753 main ()
56755 isinf(0);
56757 return 0;
56759 _ACEOF
56760 rm -f conftest.$ac_objext
56761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56762 (eval $ac_compile) 2>conftest.er1
56763 ac_status=$?
56764 grep -v '^ *+' conftest.er1 >conftest.err
56765 rm -f conftest.er1
56766 cat conftest.err >&5
56767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56768 (exit $ac_status); } &&
56769 { ac_try='test -z "$ac_cxx_werror_flag"
56770 || test ! -s conftest.err'
56771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56772 (eval $ac_try) 2>&5
56773 ac_status=$?
56774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56775 (exit $ac_status); }; } &&
56776 { ac_try='test -s conftest.$ac_objext'
56777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56778 (eval $ac_try) 2>&5
56779 ac_status=$?
56780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56781 (exit $ac_status); }; }; then
56782 glibcxx_cv_func_isinf_use=yes
56783 else
56784 echo "$as_me: failed program was:" >&5
56785 sed 's/^/| /' conftest.$ac_ext >&5
56787 glibcxx_cv_func_isinf_use=no
56789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56790 ac_ext=c
56791 ac_cpp='$CPP $CPPFLAGS'
56792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
56801 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
56803 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56805 for ac_func in isinf
56807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56808 echo "$as_me:$LINENO: checking for $ac_func" >&5
56809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56810 if eval "test \"\${$as_ac_var+set}\" = set"; then
56811 echo $ECHO_N "(cached) $ECHO_C" >&6
56812 else
56813 if test x$gcc_no_link = xyes; then
56814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56816 { (exit 1); exit 1; }; }
56818 cat >conftest.$ac_ext <<_ACEOF
56819 /* confdefs.h. */
56820 _ACEOF
56821 cat confdefs.h >>conftest.$ac_ext
56822 cat >>conftest.$ac_ext <<_ACEOF
56823 /* end confdefs.h. */
56824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56826 #define $ac_func innocuous_$ac_func
56828 /* System header to define __stub macros and hopefully few prototypes,
56829 which can conflict with char $ac_func (); below.
56830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56831 <limits.h> exists even on freestanding compilers. */
56833 #ifdef __STDC__
56834 # include <limits.h>
56835 #else
56836 # include <assert.h>
56837 #endif
56839 #undef $ac_func
56841 /* Override any gcc2 internal prototype to avoid an error. */
56842 #ifdef __cplusplus
56843 extern "C"
56845 #endif
56846 /* We use char because int might match the return type of a gcc2
56847 builtin and then its argument prototype would still apply. */
56848 char $ac_func ();
56849 /* The GNU C library defines this for functions which it implements
56850 to always fail with ENOSYS. Some functions are actually named
56851 something starting with __ and the normal name is an alias. */
56852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56853 choke me
56854 #else
56855 char (*f) () = $ac_func;
56856 #endif
56857 #ifdef __cplusplus
56859 #endif
56862 main ()
56864 return f != $ac_func;
56866 return 0;
56868 _ACEOF
56869 rm -f conftest.$ac_objext conftest$ac_exeext
56870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56871 (eval $ac_link) 2>conftest.er1
56872 ac_status=$?
56873 grep -v '^ *+' conftest.er1 >conftest.err
56874 rm -f conftest.er1
56875 cat conftest.err >&5
56876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56877 (exit $ac_status); } &&
56878 { ac_try='test -z "$ac_c_werror_flag"
56879 || test ! -s conftest.err'
56880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56881 (eval $ac_try) 2>&5
56882 ac_status=$?
56883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56884 (exit $ac_status); }; } &&
56885 { ac_try='test -s conftest$ac_exeext'
56886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56887 (eval $ac_try) 2>&5
56888 ac_status=$?
56889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56890 (exit $ac_status); }; }; then
56891 eval "$as_ac_var=yes"
56892 else
56893 echo "$as_me: failed program was:" >&5
56894 sed 's/^/| /' conftest.$ac_ext >&5
56896 eval "$as_ac_var=no"
56898 rm -f conftest.err conftest.$ac_objext \
56899 conftest$ac_exeext conftest.$ac_ext
56901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56903 if test `eval echo '${'$as_ac_var'}'` = yes; then
56904 cat >>confdefs.h <<_ACEOF
56905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56906 _ACEOF
56909 done
56911 else
56913 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
56914 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
56915 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
56916 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
56917 echo $ECHO_N "(cached) $ECHO_C" >&6
56918 else
56922 ac_ext=cc
56923 ac_cpp='$CXXCPP $CPPFLAGS'
56924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928 cat >conftest.$ac_ext <<_ACEOF
56929 /* confdefs.h. */
56930 _ACEOF
56931 cat confdefs.h >>conftest.$ac_ext
56932 cat >>conftest.$ac_ext <<_ACEOF
56933 /* end confdefs.h. */
56934 #include <math.h>
56935 #ifdef HAVE_IEEEFP_H
56936 #include <ieeefp.h>
56937 #endif
56940 main ()
56942 _isinf(0);
56944 return 0;
56946 _ACEOF
56947 rm -f conftest.$ac_objext
56948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56949 (eval $ac_compile) 2>conftest.er1
56950 ac_status=$?
56951 grep -v '^ *+' conftest.er1 >conftest.err
56952 rm -f conftest.er1
56953 cat conftest.err >&5
56954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56955 (exit $ac_status); } &&
56956 { ac_try='test -z "$ac_cxx_werror_flag"
56957 || test ! -s conftest.err'
56958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56959 (eval $ac_try) 2>&5
56960 ac_status=$?
56961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56962 (exit $ac_status); }; } &&
56963 { ac_try='test -s conftest.$ac_objext'
56964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56965 (eval $ac_try) 2>&5
56966 ac_status=$?
56967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56968 (exit $ac_status); }; }; then
56969 glibcxx_cv_func__isinf_use=yes
56970 else
56971 echo "$as_me: failed program was:" >&5
56972 sed 's/^/| /' conftest.$ac_ext >&5
56974 glibcxx_cv_func__isinf_use=no
56976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56977 ac_ext=c
56978 ac_cpp='$CPP $CPPFLAGS'
56979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
56988 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
56990 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
56992 for ac_func in _isinf
56994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56995 echo "$as_me:$LINENO: checking for $ac_func" >&5
56996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56997 if eval "test \"\${$as_ac_var+set}\" = set"; then
56998 echo $ECHO_N "(cached) $ECHO_C" >&6
56999 else
57000 if test x$gcc_no_link = xyes; then
57001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57003 { (exit 1); exit 1; }; }
57005 cat >conftest.$ac_ext <<_ACEOF
57006 /* confdefs.h. */
57007 _ACEOF
57008 cat confdefs.h >>conftest.$ac_ext
57009 cat >>conftest.$ac_ext <<_ACEOF
57010 /* end confdefs.h. */
57011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57013 #define $ac_func innocuous_$ac_func
57015 /* System header to define __stub macros and hopefully few prototypes,
57016 which can conflict with char $ac_func (); below.
57017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57018 <limits.h> exists even on freestanding compilers. */
57020 #ifdef __STDC__
57021 # include <limits.h>
57022 #else
57023 # include <assert.h>
57024 #endif
57026 #undef $ac_func
57028 /* Override any gcc2 internal prototype to avoid an error. */
57029 #ifdef __cplusplus
57030 extern "C"
57032 #endif
57033 /* We use char because int might match the return type of a gcc2
57034 builtin and then its argument prototype would still apply. */
57035 char $ac_func ();
57036 /* The GNU C library defines this for functions which it implements
57037 to always fail with ENOSYS. Some functions are actually named
57038 something starting with __ and the normal name is an alias. */
57039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57040 choke me
57041 #else
57042 char (*f) () = $ac_func;
57043 #endif
57044 #ifdef __cplusplus
57046 #endif
57049 main ()
57051 return f != $ac_func;
57053 return 0;
57055 _ACEOF
57056 rm -f conftest.$ac_objext conftest$ac_exeext
57057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57058 (eval $ac_link) 2>conftest.er1
57059 ac_status=$?
57060 grep -v '^ *+' conftest.er1 >conftest.err
57061 rm -f conftest.er1
57062 cat conftest.err >&5
57063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57064 (exit $ac_status); } &&
57065 { ac_try='test -z "$ac_c_werror_flag"
57066 || test ! -s conftest.err'
57067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57068 (eval $ac_try) 2>&5
57069 ac_status=$?
57070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57071 (exit $ac_status); }; } &&
57072 { ac_try='test -s conftest$ac_exeext'
57073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57074 (eval $ac_try) 2>&5
57075 ac_status=$?
57076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077 (exit $ac_status); }; }; then
57078 eval "$as_ac_var=yes"
57079 else
57080 echo "$as_me: failed program was:" >&5
57081 sed 's/^/| /' conftest.$ac_ext >&5
57083 eval "$as_ac_var=no"
57085 rm -f conftest.err conftest.$ac_objext \
57086 conftest$ac_exeext conftest.$ac_ext
57088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57090 if test `eval echo '${'$as_ac_var'}'` = yes; then
57091 cat >>confdefs.h <<_ACEOF
57092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57093 _ACEOF
57096 done
57106 echo "$as_me:$LINENO: checking for isnan declaration" >&5
57107 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
57108 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57109 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
57110 echo $ECHO_N "(cached) $ECHO_C" >&6
57111 else
57115 ac_ext=cc
57116 ac_cpp='$CXXCPP $CPPFLAGS'
57117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57121 cat >conftest.$ac_ext <<_ACEOF
57122 /* confdefs.h. */
57123 _ACEOF
57124 cat confdefs.h >>conftest.$ac_ext
57125 cat >>conftest.$ac_ext <<_ACEOF
57126 /* end confdefs.h. */
57127 #include <math.h>
57128 #ifdef HAVE_IEEEFP_H
57129 #include <ieeefp.h>
57130 #endif
57133 main ()
57135 isnan(0);
57137 return 0;
57139 _ACEOF
57140 rm -f conftest.$ac_objext
57141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57142 (eval $ac_compile) 2>conftest.er1
57143 ac_status=$?
57144 grep -v '^ *+' conftest.er1 >conftest.err
57145 rm -f conftest.er1
57146 cat conftest.err >&5
57147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57148 (exit $ac_status); } &&
57149 { ac_try='test -z "$ac_cxx_werror_flag"
57150 || test ! -s conftest.err'
57151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57152 (eval $ac_try) 2>&5
57153 ac_status=$?
57154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57155 (exit $ac_status); }; } &&
57156 { ac_try='test -s conftest.$ac_objext'
57157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57158 (eval $ac_try) 2>&5
57159 ac_status=$?
57160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57161 (exit $ac_status); }; }; then
57162 glibcxx_cv_func_isnan_use=yes
57163 else
57164 echo "$as_me: failed program was:" >&5
57165 sed 's/^/| /' conftest.$ac_ext >&5
57167 glibcxx_cv_func_isnan_use=no
57169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57170 ac_ext=c
57171 ac_cpp='$CPP $CPPFLAGS'
57172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
57181 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
57183 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57185 for ac_func in isnan
57187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57188 echo "$as_me:$LINENO: checking for $ac_func" >&5
57189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57190 if eval "test \"\${$as_ac_var+set}\" = set"; then
57191 echo $ECHO_N "(cached) $ECHO_C" >&6
57192 else
57193 if test x$gcc_no_link = xyes; then
57194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57196 { (exit 1); exit 1; }; }
57198 cat >conftest.$ac_ext <<_ACEOF
57199 /* confdefs.h. */
57200 _ACEOF
57201 cat confdefs.h >>conftest.$ac_ext
57202 cat >>conftest.$ac_ext <<_ACEOF
57203 /* end confdefs.h. */
57204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57206 #define $ac_func innocuous_$ac_func
57208 /* System header to define __stub macros and hopefully few prototypes,
57209 which can conflict with char $ac_func (); below.
57210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57211 <limits.h> exists even on freestanding compilers. */
57213 #ifdef __STDC__
57214 # include <limits.h>
57215 #else
57216 # include <assert.h>
57217 #endif
57219 #undef $ac_func
57221 /* Override any gcc2 internal prototype to avoid an error. */
57222 #ifdef __cplusplus
57223 extern "C"
57225 #endif
57226 /* We use char because int might match the return type of a gcc2
57227 builtin and then its argument prototype would still apply. */
57228 char $ac_func ();
57229 /* The GNU C library defines this for functions which it implements
57230 to always fail with ENOSYS. Some functions are actually named
57231 something starting with __ and the normal name is an alias. */
57232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57233 choke me
57234 #else
57235 char (*f) () = $ac_func;
57236 #endif
57237 #ifdef __cplusplus
57239 #endif
57242 main ()
57244 return f != $ac_func;
57246 return 0;
57248 _ACEOF
57249 rm -f conftest.$ac_objext conftest$ac_exeext
57250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57251 (eval $ac_link) 2>conftest.er1
57252 ac_status=$?
57253 grep -v '^ *+' conftest.er1 >conftest.err
57254 rm -f conftest.er1
57255 cat conftest.err >&5
57256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57257 (exit $ac_status); } &&
57258 { ac_try='test -z "$ac_c_werror_flag"
57259 || test ! -s conftest.err'
57260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57261 (eval $ac_try) 2>&5
57262 ac_status=$?
57263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57264 (exit $ac_status); }; } &&
57265 { ac_try='test -s conftest$ac_exeext'
57266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57267 (eval $ac_try) 2>&5
57268 ac_status=$?
57269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57270 (exit $ac_status); }; }; then
57271 eval "$as_ac_var=yes"
57272 else
57273 echo "$as_me: failed program was:" >&5
57274 sed 's/^/| /' conftest.$ac_ext >&5
57276 eval "$as_ac_var=no"
57278 rm -f conftest.err conftest.$ac_objext \
57279 conftest$ac_exeext conftest.$ac_ext
57281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57283 if test `eval echo '${'$as_ac_var'}'` = yes; then
57284 cat >>confdefs.h <<_ACEOF
57285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57286 _ACEOF
57289 done
57291 else
57293 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
57294 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
57295 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57296 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
57297 echo $ECHO_N "(cached) $ECHO_C" >&6
57298 else
57302 ac_ext=cc
57303 ac_cpp='$CXXCPP $CPPFLAGS'
57304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57308 cat >conftest.$ac_ext <<_ACEOF
57309 /* confdefs.h. */
57310 _ACEOF
57311 cat confdefs.h >>conftest.$ac_ext
57312 cat >>conftest.$ac_ext <<_ACEOF
57313 /* end confdefs.h. */
57314 #include <math.h>
57315 #ifdef HAVE_IEEEFP_H
57316 #include <ieeefp.h>
57317 #endif
57320 main ()
57322 _isnan(0);
57324 return 0;
57326 _ACEOF
57327 rm -f conftest.$ac_objext
57328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57329 (eval $ac_compile) 2>conftest.er1
57330 ac_status=$?
57331 grep -v '^ *+' conftest.er1 >conftest.err
57332 rm -f conftest.er1
57333 cat conftest.err >&5
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); } &&
57336 { ac_try='test -z "$ac_cxx_werror_flag"
57337 || test ! -s conftest.err'
57338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57339 (eval $ac_try) 2>&5
57340 ac_status=$?
57341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57342 (exit $ac_status); }; } &&
57343 { ac_try='test -s conftest.$ac_objext'
57344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57345 (eval $ac_try) 2>&5
57346 ac_status=$?
57347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57348 (exit $ac_status); }; }; then
57349 glibcxx_cv_func__isnan_use=yes
57350 else
57351 echo "$as_me: failed program was:" >&5
57352 sed 's/^/| /' conftest.$ac_ext >&5
57354 glibcxx_cv_func__isnan_use=no
57356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57357 ac_ext=c
57358 ac_cpp='$CPP $CPPFLAGS'
57359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
57368 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
57370 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57372 for ac_func in _isnan
57374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57375 echo "$as_me:$LINENO: checking for $ac_func" >&5
57376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57377 if eval "test \"\${$as_ac_var+set}\" = set"; then
57378 echo $ECHO_N "(cached) $ECHO_C" >&6
57379 else
57380 if test x$gcc_no_link = xyes; then
57381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57383 { (exit 1); exit 1; }; }
57385 cat >conftest.$ac_ext <<_ACEOF
57386 /* confdefs.h. */
57387 _ACEOF
57388 cat confdefs.h >>conftest.$ac_ext
57389 cat >>conftest.$ac_ext <<_ACEOF
57390 /* end confdefs.h. */
57391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57393 #define $ac_func innocuous_$ac_func
57395 /* System header to define __stub macros and hopefully few prototypes,
57396 which can conflict with char $ac_func (); below.
57397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57398 <limits.h> exists even on freestanding compilers. */
57400 #ifdef __STDC__
57401 # include <limits.h>
57402 #else
57403 # include <assert.h>
57404 #endif
57406 #undef $ac_func
57408 /* Override any gcc2 internal prototype to avoid an error. */
57409 #ifdef __cplusplus
57410 extern "C"
57412 #endif
57413 /* We use char because int might match the return type of a gcc2
57414 builtin and then its argument prototype would still apply. */
57415 char $ac_func ();
57416 /* The GNU C library defines this for functions which it implements
57417 to always fail with ENOSYS. Some functions are actually named
57418 something starting with __ and the normal name is an alias. */
57419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57420 choke me
57421 #else
57422 char (*f) () = $ac_func;
57423 #endif
57424 #ifdef __cplusplus
57426 #endif
57429 main ()
57431 return f != $ac_func;
57433 return 0;
57435 _ACEOF
57436 rm -f conftest.$ac_objext conftest$ac_exeext
57437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57438 (eval $ac_link) 2>conftest.er1
57439 ac_status=$?
57440 grep -v '^ *+' conftest.er1 >conftest.err
57441 rm -f conftest.er1
57442 cat conftest.err >&5
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); } &&
57445 { ac_try='test -z "$ac_c_werror_flag"
57446 || test ! -s conftest.err'
57447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57448 (eval $ac_try) 2>&5
57449 ac_status=$?
57450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451 (exit $ac_status); }; } &&
57452 { ac_try='test -s conftest$ac_exeext'
57453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454 (eval $ac_try) 2>&5
57455 ac_status=$?
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); }; }; then
57458 eval "$as_ac_var=yes"
57459 else
57460 echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57463 eval "$as_ac_var=no"
57465 rm -f conftest.err conftest.$ac_objext \
57466 conftest$ac_exeext conftest.$ac_ext
57468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57470 if test `eval echo '${'$as_ac_var'}'` = yes; then
57471 cat >>confdefs.h <<_ACEOF
57472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57473 _ACEOF
57476 done
57486 echo "$as_me:$LINENO: checking for finite declaration" >&5
57487 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
57488 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57489 if test "${glibcxx_cv_func_finite_use+set}" = set; then
57490 echo $ECHO_N "(cached) $ECHO_C" >&6
57491 else
57495 ac_ext=cc
57496 ac_cpp='$CXXCPP $CPPFLAGS'
57497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57501 cat >conftest.$ac_ext <<_ACEOF
57502 /* confdefs.h. */
57503 _ACEOF
57504 cat confdefs.h >>conftest.$ac_ext
57505 cat >>conftest.$ac_ext <<_ACEOF
57506 /* end confdefs.h. */
57507 #include <math.h>
57508 #ifdef HAVE_IEEEFP_H
57509 #include <ieeefp.h>
57510 #endif
57513 main ()
57515 finite(0);
57517 return 0;
57519 _ACEOF
57520 rm -f conftest.$ac_objext
57521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57522 (eval $ac_compile) 2>conftest.er1
57523 ac_status=$?
57524 grep -v '^ *+' conftest.er1 >conftest.err
57525 rm -f conftest.er1
57526 cat conftest.err >&5
57527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528 (exit $ac_status); } &&
57529 { ac_try='test -z "$ac_cxx_werror_flag"
57530 || test ! -s conftest.err'
57531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57532 (eval $ac_try) 2>&5
57533 ac_status=$?
57534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57535 (exit $ac_status); }; } &&
57536 { ac_try='test -s conftest.$ac_objext'
57537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538 (eval $ac_try) 2>&5
57539 ac_status=$?
57540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541 (exit $ac_status); }; }; then
57542 glibcxx_cv_func_finite_use=yes
57543 else
57544 echo "$as_me: failed program was:" >&5
57545 sed 's/^/| /' conftest.$ac_ext >&5
57547 glibcxx_cv_func_finite_use=no
57549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57550 ac_ext=c
57551 ac_cpp='$CPP $CPPFLAGS'
57552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
57561 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
57563 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57565 for ac_func in finite
57567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57568 echo "$as_me:$LINENO: checking for $ac_func" >&5
57569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57570 if eval "test \"\${$as_ac_var+set}\" = set"; then
57571 echo $ECHO_N "(cached) $ECHO_C" >&6
57572 else
57573 if test x$gcc_no_link = xyes; then
57574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57576 { (exit 1); exit 1; }; }
57578 cat >conftest.$ac_ext <<_ACEOF
57579 /* confdefs.h. */
57580 _ACEOF
57581 cat confdefs.h >>conftest.$ac_ext
57582 cat >>conftest.$ac_ext <<_ACEOF
57583 /* end confdefs.h. */
57584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57586 #define $ac_func innocuous_$ac_func
57588 /* System header to define __stub macros and hopefully few prototypes,
57589 which can conflict with char $ac_func (); below.
57590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57591 <limits.h> exists even on freestanding compilers. */
57593 #ifdef __STDC__
57594 # include <limits.h>
57595 #else
57596 # include <assert.h>
57597 #endif
57599 #undef $ac_func
57601 /* Override any gcc2 internal prototype to avoid an error. */
57602 #ifdef __cplusplus
57603 extern "C"
57605 #endif
57606 /* We use char because int might match the return type of a gcc2
57607 builtin and then its argument prototype would still apply. */
57608 char $ac_func ();
57609 /* The GNU C library defines this for functions which it implements
57610 to always fail with ENOSYS. Some functions are actually named
57611 something starting with __ and the normal name is an alias. */
57612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57613 choke me
57614 #else
57615 char (*f) () = $ac_func;
57616 #endif
57617 #ifdef __cplusplus
57619 #endif
57622 main ()
57624 return f != $ac_func;
57626 return 0;
57628 _ACEOF
57629 rm -f conftest.$ac_objext conftest$ac_exeext
57630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57631 (eval $ac_link) 2>conftest.er1
57632 ac_status=$?
57633 grep -v '^ *+' conftest.er1 >conftest.err
57634 rm -f conftest.er1
57635 cat conftest.err >&5
57636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637 (exit $ac_status); } &&
57638 { ac_try='test -z "$ac_c_werror_flag"
57639 || test ! -s conftest.err'
57640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57641 (eval $ac_try) 2>&5
57642 ac_status=$?
57643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57644 (exit $ac_status); }; } &&
57645 { ac_try='test -s conftest$ac_exeext'
57646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57647 (eval $ac_try) 2>&5
57648 ac_status=$?
57649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650 (exit $ac_status); }; }; then
57651 eval "$as_ac_var=yes"
57652 else
57653 echo "$as_me: failed program was:" >&5
57654 sed 's/^/| /' conftest.$ac_ext >&5
57656 eval "$as_ac_var=no"
57658 rm -f conftest.err conftest.$ac_objext \
57659 conftest$ac_exeext conftest.$ac_ext
57661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57663 if test `eval echo '${'$as_ac_var'}'` = yes; then
57664 cat >>confdefs.h <<_ACEOF
57665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57666 _ACEOF
57669 done
57671 else
57673 echo "$as_me:$LINENO: checking for _finite declaration" >&5
57674 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
57675 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57676 if test "${glibcxx_cv_func__finite_use+set}" = set; then
57677 echo $ECHO_N "(cached) $ECHO_C" >&6
57678 else
57682 ac_ext=cc
57683 ac_cpp='$CXXCPP $CPPFLAGS'
57684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57688 cat >conftest.$ac_ext <<_ACEOF
57689 /* confdefs.h. */
57690 _ACEOF
57691 cat confdefs.h >>conftest.$ac_ext
57692 cat >>conftest.$ac_ext <<_ACEOF
57693 /* end confdefs.h. */
57694 #include <math.h>
57695 #ifdef HAVE_IEEEFP_H
57696 #include <ieeefp.h>
57697 #endif
57700 main ()
57702 _finite(0);
57704 return 0;
57706 _ACEOF
57707 rm -f conftest.$ac_objext
57708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57709 (eval $ac_compile) 2>conftest.er1
57710 ac_status=$?
57711 grep -v '^ *+' conftest.er1 >conftest.err
57712 rm -f conftest.er1
57713 cat conftest.err >&5
57714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57715 (exit $ac_status); } &&
57716 { ac_try='test -z "$ac_cxx_werror_flag"
57717 || test ! -s conftest.err'
57718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57719 (eval $ac_try) 2>&5
57720 ac_status=$?
57721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57722 (exit $ac_status); }; } &&
57723 { ac_try='test -s conftest.$ac_objext'
57724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57725 (eval $ac_try) 2>&5
57726 ac_status=$?
57727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57728 (exit $ac_status); }; }; then
57729 glibcxx_cv_func__finite_use=yes
57730 else
57731 echo "$as_me: failed program was:" >&5
57732 sed 's/^/| /' conftest.$ac_ext >&5
57734 glibcxx_cv_func__finite_use=no
57736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57737 ac_ext=c
57738 ac_cpp='$CPP $CPPFLAGS'
57739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
57748 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
57750 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57752 for ac_func in _finite
57754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57755 echo "$as_me:$LINENO: checking for $ac_func" >&5
57756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57757 if eval "test \"\${$as_ac_var+set}\" = set"; then
57758 echo $ECHO_N "(cached) $ECHO_C" >&6
57759 else
57760 if test x$gcc_no_link = xyes; then
57761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57763 { (exit 1); exit 1; }; }
57765 cat >conftest.$ac_ext <<_ACEOF
57766 /* confdefs.h. */
57767 _ACEOF
57768 cat confdefs.h >>conftest.$ac_ext
57769 cat >>conftest.$ac_ext <<_ACEOF
57770 /* end confdefs.h. */
57771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57773 #define $ac_func innocuous_$ac_func
57775 /* System header to define __stub macros and hopefully few prototypes,
57776 which can conflict with char $ac_func (); below.
57777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57778 <limits.h> exists even on freestanding compilers. */
57780 #ifdef __STDC__
57781 # include <limits.h>
57782 #else
57783 # include <assert.h>
57784 #endif
57786 #undef $ac_func
57788 /* Override any gcc2 internal prototype to avoid an error. */
57789 #ifdef __cplusplus
57790 extern "C"
57792 #endif
57793 /* We use char because int might match the return type of a gcc2
57794 builtin and then its argument prototype would still apply. */
57795 char $ac_func ();
57796 /* The GNU C library defines this for functions which it implements
57797 to always fail with ENOSYS. Some functions are actually named
57798 something starting with __ and the normal name is an alias. */
57799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57800 choke me
57801 #else
57802 char (*f) () = $ac_func;
57803 #endif
57804 #ifdef __cplusplus
57806 #endif
57809 main ()
57811 return f != $ac_func;
57813 return 0;
57815 _ACEOF
57816 rm -f conftest.$ac_objext conftest$ac_exeext
57817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57818 (eval $ac_link) 2>conftest.er1
57819 ac_status=$?
57820 grep -v '^ *+' conftest.er1 >conftest.err
57821 rm -f conftest.er1
57822 cat conftest.err >&5
57823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57824 (exit $ac_status); } &&
57825 { ac_try='test -z "$ac_c_werror_flag"
57826 || test ! -s conftest.err'
57827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57828 (eval $ac_try) 2>&5
57829 ac_status=$?
57830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57831 (exit $ac_status); }; } &&
57832 { ac_try='test -s conftest$ac_exeext'
57833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57834 (eval $ac_try) 2>&5
57835 ac_status=$?
57836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57837 (exit $ac_status); }; }; then
57838 eval "$as_ac_var=yes"
57839 else
57840 echo "$as_me: failed program was:" >&5
57841 sed 's/^/| /' conftest.$ac_ext >&5
57843 eval "$as_ac_var=no"
57845 rm -f conftest.err conftest.$ac_objext \
57846 conftest$ac_exeext conftest.$ac_ext
57848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57850 if test `eval echo '${'$as_ac_var'}'` = yes; then
57851 cat >>confdefs.h <<_ACEOF
57852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57853 _ACEOF
57856 done
57866 echo "$as_me:$LINENO: checking for copysign declaration" >&5
57867 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
57868 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
57869 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
57870 echo $ECHO_N "(cached) $ECHO_C" >&6
57871 else
57875 ac_ext=cc
57876 ac_cpp='$CXXCPP $CPPFLAGS'
57877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57881 cat >conftest.$ac_ext <<_ACEOF
57882 /* confdefs.h. */
57883 _ACEOF
57884 cat confdefs.h >>conftest.$ac_ext
57885 cat >>conftest.$ac_ext <<_ACEOF
57886 /* end confdefs.h. */
57887 #include <math.h>
57889 main ()
57891 copysign(0, 0);
57893 return 0;
57895 _ACEOF
57896 rm -f conftest.$ac_objext
57897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57898 (eval $ac_compile) 2>conftest.er1
57899 ac_status=$?
57900 grep -v '^ *+' conftest.er1 >conftest.err
57901 rm -f conftest.er1
57902 cat conftest.err >&5
57903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57904 (exit $ac_status); } &&
57905 { ac_try='test -z "$ac_cxx_werror_flag"
57906 || test ! -s conftest.err'
57907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57908 (eval $ac_try) 2>&5
57909 ac_status=$?
57910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57911 (exit $ac_status); }; } &&
57912 { ac_try='test -s conftest.$ac_objext'
57913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57914 (eval $ac_try) 2>&5
57915 ac_status=$?
57916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57917 (exit $ac_status); }; }; then
57918 glibcxx_cv_func_copysign_use=yes
57919 else
57920 echo "$as_me: failed program was:" >&5
57921 sed 's/^/| /' conftest.$ac_ext >&5
57923 glibcxx_cv_func_copysign_use=no
57925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57926 ac_ext=c
57927 ac_cpp='$CPP $CPPFLAGS'
57928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
57937 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
57939 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
57941 for ac_func in copysign
57943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57944 echo "$as_me:$LINENO: checking for $ac_func" >&5
57945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57946 if eval "test \"\${$as_ac_var+set}\" = set"; then
57947 echo $ECHO_N "(cached) $ECHO_C" >&6
57948 else
57949 if test x$gcc_no_link = xyes; then
57950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57952 { (exit 1); exit 1; }; }
57954 cat >conftest.$ac_ext <<_ACEOF
57955 /* confdefs.h. */
57956 _ACEOF
57957 cat confdefs.h >>conftest.$ac_ext
57958 cat >>conftest.$ac_ext <<_ACEOF
57959 /* end confdefs.h. */
57960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57962 #define $ac_func innocuous_$ac_func
57964 /* System header to define __stub macros and hopefully few prototypes,
57965 which can conflict with char $ac_func (); below.
57966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57967 <limits.h> exists even on freestanding compilers. */
57969 #ifdef __STDC__
57970 # include <limits.h>
57971 #else
57972 # include <assert.h>
57973 #endif
57975 #undef $ac_func
57977 /* Override any gcc2 internal prototype to avoid an error. */
57978 #ifdef __cplusplus
57979 extern "C"
57981 #endif
57982 /* We use char because int might match the return type of a gcc2
57983 builtin and then its argument prototype would still apply. */
57984 char $ac_func ();
57985 /* The GNU C library defines this for functions which it implements
57986 to always fail with ENOSYS. Some functions are actually named
57987 something starting with __ and the normal name is an alias. */
57988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57989 choke me
57990 #else
57991 char (*f) () = $ac_func;
57992 #endif
57993 #ifdef __cplusplus
57995 #endif
57998 main ()
58000 return f != $ac_func;
58002 return 0;
58004 _ACEOF
58005 rm -f conftest.$ac_objext conftest$ac_exeext
58006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58007 (eval $ac_link) 2>conftest.er1
58008 ac_status=$?
58009 grep -v '^ *+' conftest.er1 >conftest.err
58010 rm -f conftest.er1
58011 cat conftest.err >&5
58012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58013 (exit $ac_status); } &&
58014 { ac_try='test -z "$ac_c_werror_flag"
58015 || test ! -s conftest.err'
58016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58017 (eval $ac_try) 2>&5
58018 ac_status=$?
58019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020 (exit $ac_status); }; } &&
58021 { ac_try='test -s conftest$ac_exeext'
58022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58023 (eval $ac_try) 2>&5
58024 ac_status=$?
58025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58026 (exit $ac_status); }; }; then
58027 eval "$as_ac_var=yes"
58028 else
58029 echo "$as_me: failed program was:" >&5
58030 sed 's/^/| /' conftest.$ac_ext >&5
58032 eval "$as_ac_var=no"
58034 rm -f conftest.err conftest.$ac_objext \
58035 conftest$ac_exeext conftest.$ac_ext
58037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58039 if test `eval echo '${'$as_ac_var'}'` = yes; then
58040 cat >>confdefs.h <<_ACEOF
58041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58042 _ACEOF
58045 done
58047 else
58049 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
58050 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
58051 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
58052 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
58053 echo $ECHO_N "(cached) $ECHO_C" >&6
58054 else
58058 ac_ext=cc
58059 ac_cpp='$CXXCPP $CPPFLAGS'
58060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58064 cat >conftest.$ac_ext <<_ACEOF
58065 /* confdefs.h. */
58066 _ACEOF
58067 cat confdefs.h >>conftest.$ac_ext
58068 cat >>conftest.$ac_ext <<_ACEOF
58069 /* end confdefs.h. */
58070 #include <math.h>
58072 main ()
58074 _copysign(0, 0);
58076 return 0;
58078 _ACEOF
58079 rm -f conftest.$ac_objext
58080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58081 (eval $ac_compile) 2>conftest.er1
58082 ac_status=$?
58083 grep -v '^ *+' conftest.er1 >conftest.err
58084 rm -f conftest.er1
58085 cat conftest.err >&5
58086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087 (exit $ac_status); } &&
58088 { ac_try='test -z "$ac_cxx_werror_flag"
58089 || test ! -s conftest.err'
58090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58091 (eval $ac_try) 2>&5
58092 ac_status=$?
58093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58094 (exit $ac_status); }; } &&
58095 { ac_try='test -s conftest.$ac_objext'
58096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58097 (eval $ac_try) 2>&5
58098 ac_status=$?
58099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58100 (exit $ac_status); }; }; then
58101 glibcxx_cv_func__copysign_use=yes
58102 else
58103 echo "$as_me: failed program was:" >&5
58104 sed 's/^/| /' conftest.$ac_ext >&5
58106 glibcxx_cv_func__copysign_use=no
58108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58109 ac_ext=c
58110 ac_cpp='$CPP $CPPFLAGS'
58111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
58120 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
58122 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
58124 for ac_func in _copysign
58126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58127 echo "$as_me:$LINENO: checking for $ac_func" >&5
58128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58129 if eval "test \"\${$as_ac_var+set}\" = set"; then
58130 echo $ECHO_N "(cached) $ECHO_C" >&6
58131 else
58132 if test x$gcc_no_link = xyes; then
58133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58135 { (exit 1); exit 1; }; }
58137 cat >conftest.$ac_ext <<_ACEOF
58138 /* confdefs.h. */
58139 _ACEOF
58140 cat confdefs.h >>conftest.$ac_ext
58141 cat >>conftest.$ac_ext <<_ACEOF
58142 /* end confdefs.h. */
58143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58145 #define $ac_func innocuous_$ac_func
58147 /* System header to define __stub macros and hopefully few prototypes,
58148 which can conflict with char $ac_func (); below.
58149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58150 <limits.h> exists even on freestanding compilers. */
58152 #ifdef __STDC__
58153 # include <limits.h>
58154 #else
58155 # include <assert.h>
58156 #endif
58158 #undef $ac_func
58160 /* Override any gcc2 internal prototype to avoid an error. */
58161 #ifdef __cplusplus
58162 extern "C"
58164 #endif
58165 /* We use char because int might match the return type of a gcc2
58166 builtin and then its argument prototype would still apply. */
58167 char $ac_func ();
58168 /* The GNU C library defines this for functions which it implements
58169 to always fail with ENOSYS. Some functions are actually named
58170 something starting with __ and the normal name is an alias. */
58171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58172 choke me
58173 #else
58174 char (*f) () = $ac_func;
58175 #endif
58176 #ifdef __cplusplus
58178 #endif
58181 main ()
58183 return f != $ac_func;
58185 return 0;
58187 _ACEOF
58188 rm -f conftest.$ac_objext conftest$ac_exeext
58189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58190 (eval $ac_link) 2>conftest.er1
58191 ac_status=$?
58192 grep -v '^ *+' conftest.er1 >conftest.err
58193 rm -f conftest.er1
58194 cat conftest.err >&5
58195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58196 (exit $ac_status); } &&
58197 { ac_try='test -z "$ac_c_werror_flag"
58198 || test ! -s conftest.err'
58199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58200 (eval $ac_try) 2>&5
58201 ac_status=$?
58202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58203 (exit $ac_status); }; } &&
58204 { ac_try='test -s conftest$ac_exeext'
58205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58206 (eval $ac_try) 2>&5
58207 ac_status=$?
58208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58209 (exit $ac_status); }; }; then
58210 eval "$as_ac_var=yes"
58211 else
58212 echo "$as_me: failed program was:" >&5
58213 sed 's/^/| /' conftest.$ac_ext >&5
58215 eval "$as_ac_var=no"
58217 rm -f conftest.err conftest.$ac_objext \
58218 conftest$ac_exeext conftest.$ac_ext
58220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58222 if test `eval echo '${'$as_ac_var'}'` = yes; then
58223 cat >>confdefs.h <<_ACEOF
58224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58225 _ACEOF
58228 done
58238 echo "$as_me:$LINENO: checking for sincos declaration" >&5
58239 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
58240 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58241 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
58242 echo $ECHO_N "(cached) $ECHO_C" >&6
58243 else
58247 ac_ext=cc
58248 ac_cpp='$CXXCPP $CPPFLAGS'
58249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58253 cat >conftest.$ac_ext <<_ACEOF
58254 /* confdefs.h. */
58255 _ACEOF
58256 cat confdefs.h >>conftest.$ac_ext
58257 cat >>conftest.$ac_ext <<_ACEOF
58258 /* end confdefs.h. */
58259 #include <math.h>
58261 main ()
58263 sincos(0, 0, 0);
58265 return 0;
58267 _ACEOF
58268 rm -f conftest.$ac_objext
58269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58270 (eval $ac_compile) 2>conftest.er1
58271 ac_status=$?
58272 grep -v '^ *+' conftest.er1 >conftest.err
58273 rm -f conftest.er1
58274 cat conftest.err >&5
58275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58276 (exit $ac_status); } &&
58277 { ac_try='test -z "$ac_cxx_werror_flag"
58278 || test ! -s conftest.err'
58279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58280 (eval $ac_try) 2>&5
58281 ac_status=$?
58282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58283 (exit $ac_status); }; } &&
58284 { ac_try='test -s conftest.$ac_objext'
58285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58286 (eval $ac_try) 2>&5
58287 ac_status=$?
58288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58289 (exit $ac_status); }; }; then
58290 glibcxx_cv_func_sincos_use=yes
58291 else
58292 echo "$as_me: failed program was:" >&5
58293 sed 's/^/| /' conftest.$ac_ext >&5
58295 glibcxx_cv_func_sincos_use=no
58297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58298 ac_ext=c
58299 ac_cpp='$CPP $CPPFLAGS'
58300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
58309 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
58311 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58313 for ac_func in sincos
58315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58316 echo "$as_me:$LINENO: checking for $ac_func" >&5
58317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58318 if eval "test \"\${$as_ac_var+set}\" = set"; then
58319 echo $ECHO_N "(cached) $ECHO_C" >&6
58320 else
58321 if test x$gcc_no_link = xyes; then
58322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58324 { (exit 1); exit 1; }; }
58326 cat >conftest.$ac_ext <<_ACEOF
58327 /* confdefs.h. */
58328 _ACEOF
58329 cat confdefs.h >>conftest.$ac_ext
58330 cat >>conftest.$ac_ext <<_ACEOF
58331 /* end confdefs.h. */
58332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58334 #define $ac_func innocuous_$ac_func
58336 /* System header to define __stub macros and hopefully few prototypes,
58337 which can conflict with char $ac_func (); below.
58338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58339 <limits.h> exists even on freestanding compilers. */
58341 #ifdef __STDC__
58342 # include <limits.h>
58343 #else
58344 # include <assert.h>
58345 #endif
58347 #undef $ac_func
58349 /* Override any gcc2 internal prototype to avoid an error. */
58350 #ifdef __cplusplus
58351 extern "C"
58353 #endif
58354 /* We use char because int might match the return type of a gcc2
58355 builtin and then its argument prototype would still apply. */
58356 char $ac_func ();
58357 /* The GNU C library defines this for functions which it implements
58358 to always fail with ENOSYS. Some functions are actually named
58359 something starting with __ and the normal name is an alias. */
58360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58361 choke me
58362 #else
58363 char (*f) () = $ac_func;
58364 #endif
58365 #ifdef __cplusplus
58367 #endif
58370 main ()
58372 return f != $ac_func;
58374 return 0;
58376 _ACEOF
58377 rm -f conftest.$ac_objext conftest$ac_exeext
58378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58379 (eval $ac_link) 2>conftest.er1
58380 ac_status=$?
58381 grep -v '^ *+' conftest.er1 >conftest.err
58382 rm -f conftest.er1
58383 cat conftest.err >&5
58384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58385 (exit $ac_status); } &&
58386 { ac_try='test -z "$ac_c_werror_flag"
58387 || test ! -s conftest.err'
58388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58389 (eval $ac_try) 2>&5
58390 ac_status=$?
58391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58392 (exit $ac_status); }; } &&
58393 { ac_try='test -s conftest$ac_exeext'
58394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58395 (eval $ac_try) 2>&5
58396 ac_status=$?
58397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58398 (exit $ac_status); }; }; then
58399 eval "$as_ac_var=yes"
58400 else
58401 echo "$as_me: failed program was:" >&5
58402 sed 's/^/| /' conftest.$ac_ext >&5
58404 eval "$as_ac_var=no"
58406 rm -f conftest.err conftest.$ac_objext \
58407 conftest$ac_exeext conftest.$ac_ext
58409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58411 if test `eval echo '${'$as_ac_var'}'` = yes; then
58412 cat >>confdefs.h <<_ACEOF
58413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58414 _ACEOF
58417 done
58419 else
58421 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
58422 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
58423 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58424 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
58425 echo $ECHO_N "(cached) $ECHO_C" >&6
58426 else
58430 ac_ext=cc
58431 ac_cpp='$CXXCPP $CPPFLAGS'
58432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58436 cat >conftest.$ac_ext <<_ACEOF
58437 /* confdefs.h. */
58438 _ACEOF
58439 cat confdefs.h >>conftest.$ac_ext
58440 cat >>conftest.$ac_ext <<_ACEOF
58441 /* end confdefs.h. */
58442 #include <math.h>
58444 main ()
58446 _sincos(0, 0, 0);
58448 return 0;
58450 _ACEOF
58451 rm -f conftest.$ac_objext
58452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58453 (eval $ac_compile) 2>conftest.er1
58454 ac_status=$?
58455 grep -v '^ *+' conftest.er1 >conftest.err
58456 rm -f conftest.er1
58457 cat conftest.err >&5
58458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58459 (exit $ac_status); } &&
58460 { ac_try='test -z "$ac_cxx_werror_flag"
58461 || test ! -s conftest.err'
58462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58463 (eval $ac_try) 2>&5
58464 ac_status=$?
58465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58466 (exit $ac_status); }; } &&
58467 { ac_try='test -s conftest.$ac_objext'
58468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58469 (eval $ac_try) 2>&5
58470 ac_status=$?
58471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58472 (exit $ac_status); }; }; then
58473 glibcxx_cv_func__sincos_use=yes
58474 else
58475 echo "$as_me: failed program was:" >&5
58476 sed 's/^/| /' conftest.$ac_ext >&5
58478 glibcxx_cv_func__sincos_use=no
58480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58481 ac_ext=c
58482 ac_cpp='$CPP $CPPFLAGS'
58483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
58492 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
58494 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58496 for ac_func in _sincos
58498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58499 echo "$as_me:$LINENO: checking for $ac_func" >&5
58500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58501 if eval "test \"\${$as_ac_var+set}\" = set"; then
58502 echo $ECHO_N "(cached) $ECHO_C" >&6
58503 else
58504 if test x$gcc_no_link = xyes; then
58505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58507 { (exit 1); exit 1; }; }
58509 cat >conftest.$ac_ext <<_ACEOF
58510 /* confdefs.h. */
58511 _ACEOF
58512 cat confdefs.h >>conftest.$ac_ext
58513 cat >>conftest.$ac_ext <<_ACEOF
58514 /* end confdefs.h. */
58515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58517 #define $ac_func innocuous_$ac_func
58519 /* System header to define __stub macros and hopefully few prototypes,
58520 which can conflict with char $ac_func (); below.
58521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58522 <limits.h> exists even on freestanding compilers. */
58524 #ifdef __STDC__
58525 # include <limits.h>
58526 #else
58527 # include <assert.h>
58528 #endif
58530 #undef $ac_func
58532 /* Override any gcc2 internal prototype to avoid an error. */
58533 #ifdef __cplusplus
58534 extern "C"
58536 #endif
58537 /* We use char because int might match the return type of a gcc2
58538 builtin and then its argument prototype would still apply. */
58539 char $ac_func ();
58540 /* The GNU C library defines this for functions which it implements
58541 to always fail with ENOSYS. Some functions are actually named
58542 something starting with __ and the normal name is an alias. */
58543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58544 choke me
58545 #else
58546 char (*f) () = $ac_func;
58547 #endif
58548 #ifdef __cplusplus
58550 #endif
58553 main ()
58555 return f != $ac_func;
58557 return 0;
58559 _ACEOF
58560 rm -f conftest.$ac_objext conftest$ac_exeext
58561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58562 (eval $ac_link) 2>conftest.er1
58563 ac_status=$?
58564 grep -v '^ *+' conftest.er1 >conftest.err
58565 rm -f conftest.er1
58566 cat conftest.err >&5
58567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58568 (exit $ac_status); } &&
58569 { ac_try='test -z "$ac_c_werror_flag"
58570 || test ! -s conftest.err'
58571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58572 (eval $ac_try) 2>&5
58573 ac_status=$?
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); }; } &&
58576 { ac_try='test -s conftest$ac_exeext'
58577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58578 (eval $ac_try) 2>&5
58579 ac_status=$?
58580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 (exit $ac_status); }; }; then
58582 eval "$as_ac_var=yes"
58583 else
58584 echo "$as_me: failed program was:" >&5
58585 sed 's/^/| /' conftest.$ac_ext >&5
58587 eval "$as_ac_var=no"
58589 rm -f conftest.err conftest.$ac_objext \
58590 conftest$ac_exeext conftest.$ac_ext
58592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58594 if test `eval echo '${'$as_ac_var'}'` = yes; then
58595 cat >>confdefs.h <<_ACEOF
58596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58597 _ACEOF
58600 done
58610 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
58611 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
58612 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58613 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
58614 echo $ECHO_N "(cached) $ECHO_C" >&6
58615 else
58619 ac_ext=cc
58620 ac_cpp='$CXXCPP $CPPFLAGS'
58621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58625 cat >conftest.$ac_ext <<_ACEOF
58626 /* confdefs.h. */
58627 _ACEOF
58628 cat confdefs.h >>conftest.$ac_ext
58629 cat >>conftest.$ac_ext <<_ACEOF
58630 /* end confdefs.h. */
58631 #include <math.h>
58632 #ifdef HAVE_IEEEFP_H
58633 #include <ieeefp.h>
58634 #endif
58637 main ()
58639 fpclass(0);
58641 return 0;
58643 _ACEOF
58644 rm -f conftest.$ac_objext
58645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58646 (eval $ac_compile) 2>conftest.er1
58647 ac_status=$?
58648 grep -v '^ *+' conftest.er1 >conftest.err
58649 rm -f conftest.er1
58650 cat conftest.err >&5
58651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58652 (exit $ac_status); } &&
58653 { ac_try='test -z "$ac_cxx_werror_flag"
58654 || test ! -s conftest.err'
58655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58656 (eval $ac_try) 2>&5
58657 ac_status=$?
58658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58659 (exit $ac_status); }; } &&
58660 { ac_try='test -s conftest.$ac_objext'
58661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58662 (eval $ac_try) 2>&5
58663 ac_status=$?
58664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58665 (exit $ac_status); }; }; then
58666 glibcxx_cv_func_fpclass_use=yes
58667 else
58668 echo "$as_me: failed program was:" >&5
58669 sed 's/^/| /' conftest.$ac_ext >&5
58671 glibcxx_cv_func_fpclass_use=no
58673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58674 ac_ext=c
58675 ac_cpp='$CPP $CPPFLAGS'
58676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
58685 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
58687 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58689 for ac_func in fpclass
58691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58692 echo "$as_me:$LINENO: checking for $ac_func" >&5
58693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58694 if eval "test \"\${$as_ac_var+set}\" = set"; then
58695 echo $ECHO_N "(cached) $ECHO_C" >&6
58696 else
58697 if test x$gcc_no_link = xyes; then
58698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58700 { (exit 1); exit 1; }; }
58702 cat >conftest.$ac_ext <<_ACEOF
58703 /* confdefs.h. */
58704 _ACEOF
58705 cat confdefs.h >>conftest.$ac_ext
58706 cat >>conftest.$ac_ext <<_ACEOF
58707 /* end confdefs.h. */
58708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58710 #define $ac_func innocuous_$ac_func
58712 /* System header to define __stub macros and hopefully few prototypes,
58713 which can conflict with char $ac_func (); below.
58714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58715 <limits.h> exists even on freestanding compilers. */
58717 #ifdef __STDC__
58718 # include <limits.h>
58719 #else
58720 # include <assert.h>
58721 #endif
58723 #undef $ac_func
58725 /* Override any gcc2 internal prototype to avoid an error. */
58726 #ifdef __cplusplus
58727 extern "C"
58729 #endif
58730 /* We use char because int might match the return type of a gcc2
58731 builtin and then its argument prototype would still apply. */
58732 char $ac_func ();
58733 /* The GNU C library defines this for functions which it implements
58734 to always fail with ENOSYS. Some functions are actually named
58735 something starting with __ and the normal name is an alias. */
58736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58737 choke me
58738 #else
58739 char (*f) () = $ac_func;
58740 #endif
58741 #ifdef __cplusplus
58743 #endif
58746 main ()
58748 return f != $ac_func;
58750 return 0;
58752 _ACEOF
58753 rm -f conftest.$ac_objext conftest$ac_exeext
58754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58755 (eval $ac_link) 2>conftest.er1
58756 ac_status=$?
58757 grep -v '^ *+' conftest.er1 >conftest.err
58758 rm -f conftest.er1
58759 cat conftest.err >&5
58760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58761 (exit $ac_status); } &&
58762 { ac_try='test -z "$ac_c_werror_flag"
58763 || test ! -s conftest.err'
58764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58765 (eval $ac_try) 2>&5
58766 ac_status=$?
58767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58768 (exit $ac_status); }; } &&
58769 { ac_try='test -s conftest$ac_exeext'
58770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58771 (eval $ac_try) 2>&5
58772 ac_status=$?
58773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58774 (exit $ac_status); }; }; then
58775 eval "$as_ac_var=yes"
58776 else
58777 echo "$as_me: failed program was:" >&5
58778 sed 's/^/| /' conftest.$ac_ext >&5
58780 eval "$as_ac_var=no"
58782 rm -f conftest.err conftest.$ac_objext \
58783 conftest$ac_exeext conftest.$ac_ext
58785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58787 if test `eval echo '${'$as_ac_var'}'` = yes; then
58788 cat >>confdefs.h <<_ACEOF
58789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58790 _ACEOF
58793 done
58795 else
58797 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
58798 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
58799 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58800 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
58801 echo $ECHO_N "(cached) $ECHO_C" >&6
58802 else
58806 ac_ext=cc
58807 ac_cpp='$CXXCPP $CPPFLAGS'
58808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812 cat >conftest.$ac_ext <<_ACEOF
58813 /* confdefs.h. */
58814 _ACEOF
58815 cat confdefs.h >>conftest.$ac_ext
58816 cat >>conftest.$ac_ext <<_ACEOF
58817 /* end confdefs.h. */
58818 #include <math.h>
58819 #ifdef HAVE_IEEEFP_H
58820 #include <ieeefp.h>
58821 #endif
58824 main ()
58826 _fpclass(0);
58828 return 0;
58830 _ACEOF
58831 rm -f conftest.$ac_objext
58832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58833 (eval $ac_compile) 2>conftest.er1
58834 ac_status=$?
58835 grep -v '^ *+' conftest.er1 >conftest.err
58836 rm -f conftest.er1
58837 cat conftest.err >&5
58838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58839 (exit $ac_status); } &&
58840 { ac_try='test -z "$ac_cxx_werror_flag"
58841 || test ! -s conftest.err'
58842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58843 (eval $ac_try) 2>&5
58844 ac_status=$?
58845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58846 (exit $ac_status); }; } &&
58847 { ac_try='test -s conftest.$ac_objext'
58848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58849 (eval $ac_try) 2>&5
58850 ac_status=$?
58851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58852 (exit $ac_status); }; }; then
58853 glibcxx_cv_func__fpclass_use=yes
58854 else
58855 echo "$as_me: failed program was:" >&5
58856 sed 's/^/| /' conftest.$ac_ext >&5
58858 glibcxx_cv_func__fpclass_use=no
58860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58861 ac_ext=c
58862 ac_cpp='$CPP $CPPFLAGS'
58863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58871 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
58872 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
58874 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58876 for ac_func in _fpclass
58878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58879 echo "$as_me:$LINENO: checking for $ac_func" >&5
58880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58881 if eval "test \"\${$as_ac_var+set}\" = set"; then
58882 echo $ECHO_N "(cached) $ECHO_C" >&6
58883 else
58884 if test x$gcc_no_link = xyes; then
58885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58887 { (exit 1); exit 1; }; }
58889 cat >conftest.$ac_ext <<_ACEOF
58890 /* confdefs.h. */
58891 _ACEOF
58892 cat confdefs.h >>conftest.$ac_ext
58893 cat >>conftest.$ac_ext <<_ACEOF
58894 /* end confdefs.h. */
58895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58897 #define $ac_func innocuous_$ac_func
58899 /* System header to define __stub macros and hopefully few prototypes,
58900 which can conflict with char $ac_func (); below.
58901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58902 <limits.h> exists even on freestanding compilers. */
58904 #ifdef __STDC__
58905 # include <limits.h>
58906 #else
58907 # include <assert.h>
58908 #endif
58910 #undef $ac_func
58912 /* Override any gcc2 internal prototype to avoid an error. */
58913 #ifdef __cplusplus
58914 extern "C"
58916 #endif
58917 /* We use char because int might match the return type of a gcc2
58918 builtin and then its argument prototype would still apply. */
58919 char $ac_func ();
58920 /* The GNU C library defines this for functions which it implements
58921 to always fail with ENOSYS. Some functions are actually named
58922 something starting with __ and the normal name is an alias. */
58923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58924 choke me
58925 #else
58926 char (*f) () = $ac_func;
58927 #endif
58928 #ifdef __cplusplus
58930 #endif
58933 main ()
58935 return f != $ac_func;
58937 return 0;
58939 _ACEOF
58940 rm -f conftest.$ac_objext conftest$ac_exeext
58941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58942 (eval $ac_link) 2>conftest.er1
58943 ac_status=$?
58944 grep -v '^ *+' conftest.er1 >conftest.err
58945 rm -f conftest.er1
58946 cat conftest.err >&5
58947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58948 (exit $ac_status); } &&
58949 { ac_try='test -z "$ac_c_werror_flag"
58950 || test ! -s conftest.err'
58951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58952 (eval $ac_try) 2>&5
58953 ac_status=$?
58954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58955 (exit $ac_status); }; } &&
58956 { ac_try='test -s conftest$ac_exeext'
58957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58958 (eval $ac_try) 2>&5
58959 ac_status=$?
58960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58961 (exit $ac_status); }; }; then
58962 eval "$as_ac_var=yes"
58963 else
58964 echo "$as_me: failed program was:" >&5
58965 sed 's/^/| /' conftest.$ac_ext >&5
58967 eval "$as_ac_var=no"
58969 rm -f conftest.err conftest.$ac_objext \
58970 conftest$ac_exeext conftest.$ac_ext
58972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58974 if test `eval echo '${'$as_ac_var'}'` = yes; then
58975 cat >>confdefs.h <<_ACEOF
58976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58977 _ACEOF
58980 done
58990 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
58991 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
58992 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58993 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
58994 echo $ECHO_N "(cached) $ECHO_C" >&6
58995 else
58999 ac_ext=cc
59000 ac_cpp='$CXXCPP $CPPFLAGS'
59001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59005 cat >conftest.$ac_ext <<_ACEOF
59006 /* confdefs.h. */
59007 _ACEOF
59008 cat confdefs.h >>conftest.$ac_ext
59009 cat >>conftest.$ac_ext <<_ACEOF
59010 /* end confdefs.h. */
59011 #include <math.h>
59012 #ifdef HAVE_IEEEFP_H
59013 #include <ieeefp.h>
59014 #endif
59017 main ()
59019 qfpclass(0);
59021 return 0;
59023 _ACEOF
59024 rm -f conftest.$ac_objext
59025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59026 (eval $ac_compile) 2>conftest.er1
59027 ac_status=$?
59028 grep -v '^ *+' conftest.er1 >conftest.err
59029 rm -f conftest.er1
59030 cat conftest.err >&5
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); } &&
59033 { ac_try='test -z "$ac_cxx_werror_flag"
59034 || test ! -s conftest.err'
59035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59036 (eval $ac_try) 2>&5
59037 ac_status=$?
59038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59039 (exit $ac_status); }; } &&
59040 { ac_try='test -s conftest.$ac_objext'
59041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59042 (eval $ac_try) 2>&5
59043 ac_status=$?
59044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59045 (exit $ac_status); }; }; then
59046 glibcxx_cv_func_qfpclass_use=yes
59047 else
59048 echo "$as_me: failed program was:" >&5
59049 sed 's/^/| /' conftest.$ac_ext >&5
59051 glibcxx_cv_func_qfpclass_use=no
59053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59054 ac_ext=c
59055 ac_cpp='$CPP $CPPFLAGS'
59056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
59065 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
59067 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59069 for ac_func in qfpclass
59071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59072 echo "$as_me:$LINENO: checking for $ac_func" >&5
59073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59074 if eval "test \"\${$as_ac_var+set}\" = set"; then
59075 echo $ECHO_N "(cached) $ECHO_C" >&6
59076 else
59077 if test x$gcc_no_link = xyes; then
59078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59080 { (exit 1); exit 1; }; }
59082 cat >conftest.$ac_ext <<_ACEOF
59083 /* confdefs.h. */
59084 _ACEOF
59085 cat confdefs.h >>conftest.$ac_ext
59086 cat >>conftest.$ac_ext <<_ACEOF
59087 /* end confdefs.h. */
59088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59090 #define $ac_func innocuous_$ac_func
59092 /* System header to define __stub macros and hopefully few prototypes,
59093 which can conflict with char $ac_func (); below.
59094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59095 <limits.h> exists even on freestanding compilers. */
59097 #ifdef __STDC__
59098 # include <limits.h>
59099 #else
59100 # include <assert.h>
59101 #endif
59103 #undef $ac_func
59105 /* Override any gcc2 internal prototype to avoid an error. */
59106 #ifdef __cplusplus
59107 extern "C"
59109 #endif
59110 /* We use char because int might match the return type of a gcc2
59111 builtin and then its argument prototype would still apply. */
59112 char $ac_func ();
59113 /* The GNU C library defines this for functions which it implements
59114 to always fail with ENOSYS. Some functions are actually named
59115 something starting with __ and the normal name is an alias. */
59116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59117 choke me
59118 #else
59119 char (*f) () = $ac_func;
59120 #endif
59121 #ifdef __cplusplus
59123 #endif
59126 main ()
59128 return f != $ac_func;
59130 return 0;
59132 _ACEOF
59133 rm -f conftest.$ac_objext conftest$ac_exeext
59134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59135 (eval $ac_link) 2>conftest.er1
59136 ac_status=$?
59137 grep -v '^ *+' conftest.er1 >conftest.err
59138 rm -f conftest.er1
59139 cat conftest.err >&5
59140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141 (exit $ac_status); } &&
59142 { ac_try='test -z "$ac_c_werror_flag"
59143 || test ! -s conftest.err'
59144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59145 (eval $ac_try) 2>&5
59146 ac_status=$?
59147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59148 (exit $ac_status); }; } &&
59149 { ac_try='test -s conftest$ac_exeext'
59150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59151 (eval $ac_try) 2>&5
59152 ac_status=$?
59153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59154 (exit $ac_status); }; }; then
59155 eval "$as_ac_var=yes"
59156 else
59157 echo "$as_me: failed program was:" >&5
59158 sed 's/^/| /' conftest.$ac_ext >&5
59160 eval "$as_ac_var=no"
59162 rm -f conftest.err conftest.$ac_objext \
59163 conftest$ac_exeext conftest.$ac_ext
59165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59167 if test `eval echo '${'$as_ac_var'}'` = yes; then
59168 cat >>confdefs.h <<_ACEOF
59169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59170 _ACEOF
59173 done
59175 else
59177 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
59178 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
59179 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59180 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
59181 echo $ECHO_N "(cached) $ECHO_C" >&6
59182 else
59186 ac_ext=cc
59187 ac_cpp='$CXXCPP $CPPFLAGS'
59188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59192 cat >conftest.$ac_ext <<_ACEOF
59193 /* confdefs.h. */
59194 _ACEOF
59195 cat confdefs.h >>conftest.$ac_ext
59196 cat >>conftest.$ac_ext <<_ACEOF
59197 /* end confdefs.h. */
59198 #include <math.h>
59199 #ifdef HAVE_IEEEFP_H
59200 #include <ieeefp.h>
59201 #endif
59204 main ()
59206 _qfpclass(0);
59208 return 0;
59210 _ACEOF
59211 rm -f conftest.$ac_objext
59212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59213 (eval $ac_compile) 2>conftest.er1
59214 ac_status=$?
59215 grep -v '^ *+' conftest.er1 >conftest.err
59216 rm -f conftest.er1
59217 cat conftest.err >&5
59218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59219 (exit $ac_status); } &&
59220 { ac_try='test -z "$ac_cxx_werror_flag"
59221 || test ! -s conftest.err'
59222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59223 (eval $ac_try) 2>&5
59224 ac_status=$?
59225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59226 (exit $ac_status); }; } &&
59227 { ac_try='test -s conftest.$ac_objext'
59228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59229 (eval $ac_try) 2>&5
59230 ac_status=$?
59231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59232 (exit $ac_status); }; }; then
59233 glibcxx_cv_func__qfpclass_use=yes
59234 else
59235 echo "$as_me: failed program was:" >&5
59236 sed 's/^/| /' conftest.$ac_ext >&5
59238 glibcxx_cv_func__qfpclass_use=no
59240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59241 ac_ext=c
59242 ac_cpp='$CPP $CPPFLAGS'
59243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59251 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
59252 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
59254 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59256 for ac_func in _qfpclass
59258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59259 echo "$as_me:$LINENO: checking for $ac_func" >&5
59260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59261 if eval "test \"\${$as_ac_var+set}\" = set"; then
59262 echo $ECHO_N "(cached) $ECHO_C" >&6
59263 else
59264 if test x$gcc_no_link = xyes; then
59265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59267 { (exit 1); exit 1; }; }
59269 cat >conftest.$ac_ext <<_ACEOF
59270 /* confdefs.h. */
59271 _ACEOF
59272 cat confdefs.h >>conftest.$ac_ext
59273 cat >>conftest.$ac_ext <<_ACEOF
59274 /* end confdefs.h. */
59275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59277 #define $ac_func innocuous_$ac_func
59279 /* System header to define __stub macros and hopefully few prototypes,
59280 which can conflict with char $ac_func (); below.
59281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59282 <limits.h> exists even on freestanding compilers. */
59284 #ifdef __STDC__
59285 # include <limits.h>
59286 #else
59287 # include <assert.h>
59288 #endif
59290 #undef $ac_func
59292 /* Override any gcc2 internal prototype to avoid an error. */
59293 #ifdef __cplusplus
59294 extern "C"
59296 #endif
59297 /* We use char because int might match the return type of a gcc2
59298 builtin and then its argument prototype would still apply. */
59299 char $ac_func ();
59300 /* The GNU C library defines this for functions which it implements
59301 to always fail with ENOSYS. Some functions are actually named
59302 something starting with __ and the normal name is an alias. */
59303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59304 choke me
59305 #else
59306 char (*f) () = $ac_func;
59307 #endif
59308 #ifdef __cplusplus
59310 #endif
59313 main ()
59315 return f != $ac_func;
59317 return 0;
59319 _ACEOF
59320 rm -f conftest.$ac_objext conftest$ac_exeext
59321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59322 (eval $ac_link) 2>conftest.er1
59323 ac_status=$?
59324 grep -v '^ *+' conftest.er1 >conftest.err
59325 rm -f conftest.er1
59326 cat conftest.err >&5
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); } &&
59329 { ac_try='test -z "$ac_c_werror_flag"
59330 || test ! -s conftest.err'
59331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59332 (eval $ac_try) 2>&5
59333 ac_status=$?
59334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59335 (exit $ac_status); }; } &&
59336 { ac_try='test -s conftest$ac_exeext'
59337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59338 (eval $ac_try) 2>&5
59339 ac_status=$?
59340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59341 (exit $ac_status); }; }; then
59342 eval "$as_ac_var=yes"
59343 else
59344 echo "$as_me: failed program was:" >&5
59345 sed 's/^/| /' conftest.$ac_ext >&5
59347 eval "$as_ac_var=no"
59349 rm -f conftest.err conftest.$ac_objext \
59350 conftest$ac_exeext conftest.$ac_ext
59352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59354 if test `eval echo '${'$as_ac_var'}'` = yes; then
59355 cat >>confdefs.h <<_ACEOF
59356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59357 _ACEOF
59360 done
59370 echo "$as_me:$LINENO: checking for hypot declaration" >&5
59371 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
59372 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59373 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
59374 echo $ECHO_N "(cached) $ECHO_C" >&6
59375 else
59379 ac_ext=cc
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385 cat >conftest.$ac_ext <<_ACEOF
59386 /* confdefs.h. */
59387 _ACEOF
59388 cat confdefs.h >>conftest.$ac_ext
59389 cat >>conftest.$ac_ext <<_ACEOF
59390 /* end confdefs.h. */
59391 #include <math.h>
59393 main ()
59395 hypot(0, 0);
59397 return 0;
59399 _ACEOF
59400 rm -f conftest.$ac_objext
59401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59402 (eval $ac_compile) 2>conftest.er1
59403 ac_status=$?
59404 grep -v '^ *+' conftest.er1 >conftest.err
59405 rm -f conftest.er1
59406 cat conftest.err >&5
59407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59408 (exit $ac_status); } &&
59409 { ac_try='test -z "$ac_cxx_werror_flag"
59410 || test ! -s conftest.err'
59411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59412 (eval $ac_try) 2>&5
59413 ac_status=$?
59414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59415 (exit $ac_status); }; } &&
59416 { ac_try='test -s conftest.$ac_objext'
59417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59418 (eval $ac_try) 2>&5
59419 ac_status=$?
59420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59421 (exit $ac_status); }; }; then
59422 glibcxx_cv_func_hypot_use=yes
59423 else
59424 echo "$as_me: failed program was:" >&5
59425 sed 's/^/| /' conftest.$ac_ext >&5
59427 glibcxx_cv_func_hypot_use=no
59429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59430 ac_ext=c
59431 ac_cpp='$CPP $CPPFLAGS'
59432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
59441 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
59443 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59445 for ac_func in hypot
59447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59448 echo "$as_me:$LINENO: checking for $ac_func" >&5
59449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59450 if eval "test \"\${$as_ac_var+set}\" = set"; then
59451 echo $ECHO_N "(cached) $ECHO_C" >&6
59452 else
59453 if test x$gcc_no_link = xyes; then
59454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59456 { (exit 1); exit 1; }; }
59458 cat >conftest.$ac_ext <<_ACEOF
59459 /* confdefs.h. */
59460 _ACEOF
59461 cat confdefs.h >>conftest.$ac_ext
59462 cat >>conftest.$ac_ext <<_ACEOF
59463 /* end confdefs.h. */
59464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59466 #define $ac_func innocuous_$ac_func
59468 /* System header to define __stub macros and hopefully few prototypes,
59469 which can conflict with char $ac_func (); below.
59470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59471 <limits.h> exists even on freestanding compilers. */
59473 #ifdef __STDC__
59474 # include <limits.h>
59475 #else
59476 # include <assert.h>
59477 #endif
59479 #undef $ac_func
59481 /* Override any gcc2 internal prototype to avoid an error. */
59482 #ifdef __cplusplus
59483 extern "C"
59485 #endif
59486 /* We use char because int might match the return type of a gcc2
59487 builtin and then its argument prototype would still apply. */
59488 char $ac_func ();
59489 /* The GNU C library defines this for functions which it implements
59490 to always fail with ENOSYS. Some functions are actually named
59491 something starting with __ and the normal name is an alias. */
59492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59493 choke me
59494 #else
59495 char (*f) () = $ac_func;
59496 #endif
59497 #ifdef __cplusplus
59499 #endif
59502 main ()
59504 return f != $ac_func;
59506 return 0;
59508 _ACEOF
59509 rm -f conftest.$ac_objext conftest$ac_exeext
59510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59511 (eval $ac_link) 2>conftest.er1
59512 ac_status=$?
59513 grep -v '^ *+' conftest.er1 >conftest.err
59514 rm -f conftest.er1
59515 cat conftest.err >&5
59516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59517 (exit $ac_status); } &&
59518 { ac_try='test -z "$ac_c_werror_flag"
59519 || test ! -s conftest.err'
59520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59521 (eval $ac_try) 2>&5
59522 ac_status=$?
59523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59524 (exit $ac_status); }; } &&
59525 { ac_try='test -s conftest$ac_exeext'
59526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59527 (eval $ac_try) 2>&5
59528 ac_status=$?
59529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59530 (exit $ac_status); }; }; then
59531 eval "$as_ac_var=yes"
59532 else
59533 echo "$as_me: failed program was:" >&5
59534 sed 's/^/| /' conftest.$ac_ext >&5
59536 eval "$as_ac_var=no"
59538 rm -f conftest.err conftest.$ac_objext \
59539 conftest$ac_exeext conftest.$ac_ext
59541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59543 if test `eval echo '${'$as_ac_var'}'` = yes; then
59544 cat >>confdefs.h <<_ACEOF
59545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59546 _ACEOF
59549 done
59551 else
59553 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
59554 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
59555 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59556 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
59557 echo $ECHO_N "(cached) $ECHO_C" >&6
59558 else
59562 ac_ext=cc
59563 ac_cpp='$CXXCPP $CPPFLAGS'
59564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59568 cat >conftest.$ac_ext <<_ACEOF
59569 /* confdefs.h. */
59570 _ACEOF
59571 cat confdefs.h >>conftest.$ac_ext
59572 cat >>conftest.$ac_ext <<_ACEOF
59573 /* end confdefs.h. */
59574 #include <math.h>
59576 main ()
59578 _hypot(0, 0);
59580 return 0;
59582 _ACEOF
59583 rm -f conftest.$ac_objext
59584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59585 (eval $ac_compile) 2>conftest.er1
59586 ac_status=$?
59587 grep -v '^ *+' conftest.er1 >conftest.err
59588 rm -f conftest.er1
59589 cat conftest.err >&5
59590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59591 (exit $ac_status); } &&
59592 { ac_try='test -z "$ac_cxx_werror_flag"
59593 || test ! -s conftest.err'
59594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59595 (eval $ac_try) 2>&5
59596 ac_status=$?
59597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59598 (exit $ac_status); }; } &&
59599 { ac_try='test -s conftest.$ac_objext'
59600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59601 (eval $ac_try) 2>&5
59602 ac_status=$?
59603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59604 (exit $ac_status); }; }; then
59605 glibcxx_cv_func__hypot_use=yes
59606 else
59607 echo "$as_me: failed program was:" >&5
59608 sed 's/^/| /' conftest.$ac_ext >&5
59610 glibcxx_cv_func__hypot_use=no
59612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59613 ac_ext=c
59614 ac_cpp='$CPP $CPPFLAGS'
59615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
59624 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
59626 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59628 for ac_func in _hypot
59630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59631 echo "$as_me:$LINENO: checking for $ac_func" >&5
59632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59633 if eval "test \"\${$as_ac_var+set}\" = set"; then
59634 echo $ECHO_N "(cached) $ECHO_C" >&6
59635 else
59636 if test x$gcc_no_link = xyes; then
59637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59639 { (exit 1); exit 1; }; }
59641 cat >conftest.$ac_ext <<_ACEOF
59642 /* confdefs.h. */
59643 _ACEOF
59644 cat confdefs.h >>conftest.$ac_ext
59645 cat >>conftest.$ac_ext <<_ACEOF
59646 /* end confdefs.h. */
59647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59649 #define $ac_func innocuous_$ac_func
59651 /* System header to define __stub macros and hopefully few prototypes,
59652 which can conflict with char $ac_func (); below.
59653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59654 <limits.h> exists even on freestanding compilers. */
59656 #ifdef __STDC__
59657 # include <limits.h>
59658 #else
59659 # include <assert.h>
59660 #endif
59662 #undef $ac_func
59664 /* Override any gcc2 internal prototype to avoid an error. */
59665 #ifdef __cplusplus
59666 extern "C"
59668 #endif
59669 /* We use char because int might match the return type of a gcc2
59670 builtin and then its argument prototype would still apply. */
59671 char $ac_func ();
59672 /* The GNU C library defines this for functions which it implements
59673 to always fail with ENOSYS. Some functions are actually named
59674 something starting with __ and the normal name is an alias. */
59675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59676 choke me
59677 #else
59678 char (*f) () = $ac_func;
59679 #endif
59680 #ifdef __cplusplus
59682 #endif
59685 main ()
59687 return f != $ac_func;
59689 return 0;
59691 _ACEOF
59692 rm -f conftest.$ac_objext conftest$ac_exeext
59693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59694 (eval $ac_link) 2>conftest.er1
59695 ac_status=$?
59696 grep -v '^ *+' conftest.er1 >conftest.err
59697 rm -f conftest.er1
59698 cat conftest.err >&5
59699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59700 (exit $ac_status); } &&
59701 { ac_try='test -z "$ac_c_werror_flag"
59702 || test ! -s conftest.err'
59703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59704 (eval $ac_try) 2>&5
59705 ac_status=$?
59706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59707 (exit $ac_status); }; } &&
59708 { ac_try='test -s conftest$ac_exeext'
59709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59710 (eval $ac_try) 2>&5
59711 ac_status=$?
59712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59713 (exit $ac_status); }; }; then
59714 eval "$as_ac_var=yes"
59715 else
59716 echo "$as_me: failed program was:" >&5
59717 sed 's/^/| /' conftest.$ac_ext >&5
59719 eval "$as_ac_var=no"
59721 rm -f conftest.err conftest.$ac_objext \
59722 conftest$ac_exeext conftest.$ac_ext
59724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59726 if test `eval echo '${'$as_ac_var'}'` = yes; then
59727 cat >>confdefs.h <<_ACEOF
59728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59729 _ACEOF
59732 done
59742 echo "$as_me:$LINENO: checking for float trig functions" >&5
59743 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
59744 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
59745 echo $ECHO_N "(cached) $ECHO_C" >&6
59746 else
59750 ac_ext=cc
59751 ac_cpp='$CXXCPP $CPPFLAGS'
59752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59756 cat >conftest.$ac_ext <<_ACEOF
59757 /* confdefs.h. */
59758 _ACEOF
59759 cat confdefs.h >>conftest.$ac_ext
59760 cat >>conftest.$ac_ext <<_ACEOF
59761 /* end confdefs.h. */
59762 #include <math.h>
59764 main ()
59766 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59768 return 0;
59770 _ACEOF
59771 rm -f conftest.$ac_objext
59772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59773 (eval $ac_compile) 2>conftest.er1
59774 ac_status=$?
59775 grep -v '^ *+' conftest.er1 >conftest.err
59776 rm -f conftest.er1
59777 cat conftest.err >&5
59778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59779 (exit $ac_status); } &&
59780 { ac_try='test -z "$ac_cxx_werror_flag"
59781 || test ! -s conftest.err'
59782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59783 (eval $ac_try) 2>&5
59784 ac_status=$?
59785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786 (exit $ac_status); }; } &&
59787 { ac_try='test -s conftest.$ac_objext'
59788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59789 (eval $ac_try) 2>&5
59790 ac_status=$?
59791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59792 (exit $ac_status); }; }; then
59793 glibcxx_cv_func_float_trig_use=yes
59794 else
59795 echo "$as_me: failed program was:" >&5
59796 sed 's/^/| /' conftest.$ac_ext >&5
59798 glibcxx_cv_func_float_trig_use=no
59800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59801 ac_ext=c
59802 ac_cpp='$CPP $CPPFLAGS'
59803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
59810 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
59811 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59821 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59824 echo "$as_me:$LINENO: checking for $ac_func" >&5
59825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59826 if eval "test \"\${$as_ac_var+set}\" = set"; then
59827 echo $ECHO_N "(cached) $ECHO_C" >&6
59828 else
59829 if test x$gcc_no_link = xyes; then
59830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59832 { (exit 1); exit 1; }; }
59834 cat >conftest.$ac_ext <<_ACEOF
59835 /* confdefs.h. */
59836 _ACEOF
59837 cat confdefs.h >>conftest.$ac_ext
59838 cat >>conftest.$ac_ext <<_ACEOF
59839 /* end confdefs.h. */
59840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59842 #define $ac_func innocuous_$ac_func
59844 /* System header to define __stub macros and hopefully few prototypes,
59845 which can conflict with char $ac_func (); below.
59846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59847 <limits.h> exists even on freestanding compilers. */
59849 #ifdef __STDC__
59850 # include <limits.h>
59851 #else
59852 # include <assert.h>
59853 #endif
59855 #undef $ac_func
59857 /* Override any gcc2 internal prototype to avoid an error. */
59858 #ifdef __cplusplus
59859 extern "C"
59861 #endif
59862 /* We use char because int might match the return type of a gcc2
59863 builtin and then its argument prototype would still apply. */
59864 char $ac_func ();
59865 /* The GNU C library defines this for functions which it implements
59866 to always fail with ENOSYS. Some functions are actually named
59867 something starting with __ and the normal name is an alias. */
59868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59869 choke me
59870 #else
59871 char (*f) () = $ac_func;
59872 #endif
59873 #ifdef __cplusplus
59875 #endif
59878 main ()
59880 return f != $ac_func;
59882 return 0;
59884 _ACEOF
59885 rm -f conftest.$ac_objext conftest$ac_exeext
59886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59887 (eval $ac_link) 2>conftest.er1
59888 ac_status=$?
59889 grep -v '^ *+' conftest.er1 >conftest.err
59890 rm -f conftest.er1
59891 cat conftest.err >&5
59892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59893 (exit $ac_status); } &&
59894 { ac_try='test -z "$ac_c_werror_flag"
59895 || test ! -s conftest.err'
59896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59897 (eval $ac_try) 2>&5
59898 ac_status=$?
59899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59900 (exit $ac_status); }; } &&
59901 { ac_try='test -s conftest$ac_exeext'
59902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59903 (eval $ac_try) 2>&5
59904 ac_status=$?
59905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59906 (exit $ac_status); }; }; then
59907 eval "$as_ac_var=yes"
59908 else
59909 echo "$as_me: failed program was:" >&5
59910 sed 's/^/| /' conftest.$ac_ext >&5
59912 eval "$as_ac_var=no"
59914 rm -f conftest.err conftest.$ac_objext \
59915 conftest$ac_exeext conftest.$ac_ext
59917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59919 if test `eval echo '${'$as_ac_var'}'` = yes; then
59920 cat >>confdefs.h <<_ACEOF
59921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59922 _ACEOF
59925 done
59927 else
59928 echo "$as_me:$LINENO: checking for _float trig functions" >&5
59929 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
59930 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
59931 echo $ECHO_N "(cached) $ECHO_C" >&6
59932 else
59936 ac_ext=cc
59937 ac_cpp='$CXXCPP $CPPFLAGS'
59938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59942 cat >conftest.$ac_ext <<_ACEOF
59943 /* confdefs.h. */
59944 _ACEOF
59945 cat confdefs.h >>conftest.$ac_ext
59946 cat >>conftest.$ac_ext <<_ACEOF
59947 /* end confdefs.h. */
59948 #include <math.h>
59950 main ()
59952 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59954 return 0;
59956 _ACEOF
59957 rm -f conftest.$ac_objext
59958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59959 (eval $ac_compile) 2>conftest.er1
59960 ac_status=$?
59961 grep -v '^ *+' conftest.er1 >conftest.err
59962 rm -f conftest.er1
59963 cat conftest.err >&5
59964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59965 (exit $ac_status); } &&
59966 { ac_try='test -z "$ac_cxx_werror_flag"
59967 || test ! -s conftest.err'
59968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59969 (eval $ac_try) 2>&5
59970 ac_status=$?
59971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59972 (exit $ac_status); }; } &&
59973 { ac_try='test -s conftest.$ac_objext'
59974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59975 (eval $ac_try) 2>&5
59976 ac_status=$?
59977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59978 (exit $ac_status); }; }; then
59979 glibcxx_cv_func__float_trig_use=yes
59980 else
59981 echo "$as_me: failed program was:" >&5
59982 sed 's/^/| /' conftest.$ac_ext >&5
59984 glibcxx_cv_func__float_trig_use=no
59986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59987 ac_ext=c
59988 ac_cpp='$CPP $CPPFLAGS'
59989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
59996 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
59997 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60007 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60010 echo "$as_me:$LINENO: checking for $ac_func" >&5
60011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60012 if eval "test \"\${$as_ac_var+set}\" = set"; then
60013 echo $ECHO_N "(cached) $ECHO_C" >&6
60014 else
60015 if test x$gcc_no_link = xyes; then
60016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60018 { (exit 1); exit 1; }; }
60020 cat >conftest.$ac_ext <<_ACEOF
60021 /* confdefs.h. */
60022 _ACEOF
60023 cat confdefs.h >>conftest.$ac_ext
60024 cat >>conftest.$ac_ext <<_ACEOF
60025 /* end confdefs.h. */
60026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60028 #define $ac_func innocuous_$ac_func
60030 /* System header to define __stub macros and hopefully few prototypes,
60031 which can conflict with char $ac_func (); below.
60032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60033 <limits.h> exists even on freestanding compilers. */
60035 #ifdef __STDC__
60036 # include <limits.h>
60037 #else
60038 # include <assert.h>
60039 #endif
60041 #undef $ac_func
60043 /* Override any gcc2 internal prototype to avoid an error. */
60044 #ifdef __cplusplus
60045 extern "C"
60047 #endif
60048 /* We use char because int might match the return type of a gcc2
60049 builtin and then its argument prototype would still apply. */
60050 char $ac_func ();
60051 /* The GNU C library defines this for functions which it implements
60052 to always fail with ENOSYS. Some functions are actually named
60053 something starting with __ and the normal name is an alias. */
60054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60055 choke me
60056 #else
60057 char (*f) () = $ac_func;
60058 #endif
60059 #ifdef __cplusplus
60061 #endif
60064 main ()
60066 return f != $ac_func;
60068 return 0;
60070 _ACEOF
60071 rm -f conftest.$ac_objext conftest$ac_exeext
60072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60073 (eval $ac_link) 2>conftest.er1
60074 ac_status=$?
60075 grep -v '^ *+' conftest.er1 >conftest.err
60076 rm -f conftest.er1
60077 cat conftest.err >&5
60078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60079 (exit $ac_status); } &&
60080 { ac_try='test -z "$ac_c_werror_flag"
60081 || test ! -s conftest.err'
60082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60083 (eval $ac_try) 2>&5
60084 ac_status=$?
60085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60086 (exit $ac_status); }; } &&
60087 { ac_try='test -s conftest$ac_exeext'
60088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60089 (eval $ac_try) 2>&5
60090 ac_status=$?
60091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60092 (exit $ac_status); }; }; then
60093 eval "$as_ac_var=yes"
60094 else
60095 echo "$as_me: failed program was:" >&5
60096 sed 's/^/| /' conftest.$ac_ext >&5
60098 eval "$as_ac_var=no"
60100 rm -f conftest.err conftest.$ac_objext \
60101 conftest$ac_exeext conftest.$ac_ext
60103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60105 if test `eval echo '${'$as_ac_var'}'` = yes; then
60106 cat >>confdefs.h <<_ACEOF
60107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60108 _ACEOF
60111 done
60129 echo "$as_me:$LINENO: checking for float round functions" >&5
60130 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
60131 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
60132 echo $ECHO_N "(cached) $ECHO_C" >&6
60133 else
60137 ac_ext=cc
60138 ac_cpp='$CXXCPP $CPPFLAGS'
60139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60143 cat >conftest.$ac_ext <<_ACEOF
60144 /* confdefs.h. */
60145 _ACEOF
60146 cat confdefs.h >>conftest.$ac_ext
60147 cat >>conftest.$ac_ext <<_ACEOF
60148 /* end confdefs.h. */
60149 #include <math.h>
60151 main ()
60153 ceilf (0); floorf (0);
60155 return 0;
60157 _ACEOF
60158 rm -f conftest.$ac_objext
60159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60160 (eval $ac_compile) 2>conftest.er1
60161 ac_status=$?
60162 grep -v '^ *+' conftest.er1 >conftest.err
60163 rm -f conftest.er1
60164 cat conftest.err >&5
60165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60166 (exit $ac_status); } &&
60167 { ac_try='test -z "$ac_cxx_werror_flag"
60168 || test ! -s conftest.err'
60169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60170 (eval $ac_try) 2>&5
60171 ac_status=$?
60172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60173 (exit $ac_status); }; } &&
60174 { ac_try='test -s conftest.$ac_objext'
60175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60176 (eval $ac_try) 2>&5
60177 ac_status=$?
60178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60179 (exit $ac_status); }; }; then
60180 glibcxx_cv_func_float_round_use=yes
60181 else
60182 echo "$as_me: failed program was:" >&5
60183 sed 's/^/| /' conftest.$ac_ext >&5
60185 glibcxx_cv_func_float_round_use=no
60187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60196 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
60197 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
60198 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60201 for ac_func in ceilf floorf
60203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60204 echo "$as_me:$LINENO: checking for $ac_func" >&5
60205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60206 if eval "test \"\${$as_ac_var+set}\" = set"; then
60207 echo $ECHO_N "(cached) $ECHO_C" >&6
60208 else
60209 if test x$gcc_no_link = xyes; then
60210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60212 { (exit 1); exit 1; }; }
60214 cat >conftest.$ac_ext <<_ACEOF
60215 /* confdefs.h. */
60216 _ACEOF
60217 cat confdefs.h >>conftest.$ac_ext
60218 cat >>conftest.$ac_ext <<_ACEOF
60219 /* end confdefs.h. */
60220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60222 #define $ac_func innocuous_$ac_func
60224 /* System header to define __stub macros and hopefully few prototypes,
60225 which can conflict with char $ac_func (); below.
60226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60227 <limits.h> exists even on freestanding compilers. */
60229 #ifdef __STDC__
60230 # include <limits.h>
60231 #else
60232 # include <assert.h>
60233 #endif
60235 #undef $ac_func
60237 /* Override any gcc2 internal prototype to avoid an error. */
60238 #ifdef __cplusplus
60239 extern "C"
60241 #endif
60242 /* We use char because int might match the return type of a gcc2
60243 builtin and then its argument prototype would still apply. */
60244 char $ac_func ();
60245 /* The GNU C library defines this for functions which it implements
60246 to always fail with ENOSYS. Some functions are actually named
60247 something starting with __ and the normal name is an alias. */
60248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60249 choke me
60250 #else
60251 char (*f) () = $ac_func;
60252 #endif
60253 #ifdef __cplusplus
60255 #endif
60258 main ()
60260 return f != $ac_func;
60262 return 0;
60264 _ACEOF
60265 rm -f conftest.$ac_objext conftest$ac_exeext
60266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60267 (eval $ac_link) 2>conftest.er1
60268 ac_status=$?
60269 grep -v '^ *+' conftest.er1 >conftest.err
60270 rm -f conftest.er1
60271 cat conftest.err >&5
60272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60273 (exit $ac_status); } &&
60274 { ac_try='test -z "$ac_c_werror_flag"
60275 || test ! -s conftest.err'
60276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60277 (eval $ac_try) 2>&5
60278 ac_status=$?
60279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60280 (exit $ac_status); }; } &&
60281 { ac_try='test -s conftest$ac_exeext'
60282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60283 (eval $ac_try) 2>&5
60284 ac_status=$?
60285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60286 (exit $ac_status); }; }; then
60287 eval "$as_ac_var=yes"
60288 else
60289 echo "$as_me: failed program was:" >&5
60290 sed 's/^/| /' conftest.$ac_ext >&5
60292 eval "$as_ac_var=no"
60294 rm -f conftest.err conftest.$ac_objext \
60295 conftest$ac_exeext conftest.$ac_ext
60297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60299 if test `eval echo '${'$as_ac_var'}'` = yes; then
60300 cat >>confdefs.h <<_ACEOF
60301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60302 _ACEOF
60305 done
60307 else
60308 echo "$as_me:$LINENO: checking for _float round functions" >&5
60309 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
60310 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
60311 echo $ECHO_N "(cached) $ECHO_C" >&6
60312 else
60316 ac_ext=cc
60317 ac_cpp='$CXXCPP $CPPFLAGS'
60318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60322 cat >conftest.$ac_ext <<_ACEOF
60323 /* confdefs.h. */
60324 _ACEOF
60325 cat confdefs.h >>conftest.$ac_ext
60326 cat >>conftest.$ac_ext <<_ACEOF
60327 /* end confdefs.h. */
60328 #include <math.h>
60330 main ()
60332 _ceilf (0); _floorf (0);
60334 return 0;
60336 _ACEOF
60337 rm -f conftest.$ac_objext
60338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60339 (eval $ac_compile) 2>conftest.er1
60340 ac_status=$?
60341 grep -v '^ *+' conftest.er1 >conftest.err
60342 rm -f conftest.er1
60343 cat conftest.err >&5
60344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60345 (exit $ac_status); } &&
60346 { ac_try='test -z "$ac_cxx_werror_flag"
60347 || test ! -s conftest.err'
60348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60349 (eval $ac_try) 2>&5
60350 ac_status=$?
60351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60352 (exit $ac_status); }; } &&
60353 { ac_try='test -s conftest.$ac_objext'
60354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60355 (eval $ac_try) 2>&5
60356 ac_status=$?
60357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60358 (exit $ac_status); }; }; then
60359 glibcxx_cv_func__float_round_use=yes
60360 else
60361 echo "$as_me: failed program was:" >&5
60362 sed 's/^/| /' conftest.$ac_ext >&5
60364 glibcxx_cv_func__float_round_use=no
60366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60367 ac_ext=c
60368 ac_cpp='$CPP $CPPFLAGS'
60369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60375 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
60376 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
60377 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60380 for ac_func in _ceilf _floorf
60382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60383 echo "$as_me:$LINENO: checking for $ac_func" >&5
60384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60385 if eval "test \"\${$as_ac_var+set}\" = set"; then
60386 echo $ECHO_N "(cached) $ECHO_C" >&6
60387 else
60388 if test x$gcc_no_link = xyes; then
60389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60391 { (exit 1); exit 1; }; }
60393 cat >conftest.$ac_ext <<_ACEOF
60394 /* confdefs.h. */
60395 _ACEOF
60396 cat confdefs.h >>conftest.$ac_ext
60397 cat >>conftest.$ac_ext <<_ACEOF
60398 /* end confdefs.h. */
60399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60401 #define $ac_func innocuous_$ac_func
60403 /* System header to define __stub macros and hopefully few prototypes,
60404 which can conflict with char $ac_func (); below.
60405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60406 <limits.h> exists even on freestanding compilers. */
60408 #ifdef __STDC__
60409 # include <limits.h>
60410 #else
60411 # include <assert.h>
60412 #endif
60414 #undef $ac_func
60416 /* Override any gcc2 internal prototype to avoid an error. */
60417 #ifdef __cplusplus
60418 extern "C"
60420 #endif
60421 /* We use char because int might match the return type of a gcc2
60422 builtin and then its argument prototype would still apply. */
60423 char $ac_func ();
60424 /* The GNU C library defines this for functions which it implements
60425 to always fail with ENOSYS. Some functions are actually named
60426 something starting with __ and the normal name is an alias. */
60427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60428 choke me
60429 #else
60430 char (*f) () = $ac_func;
60431 #endif
60432 #ifdef __cplusplus
60434 #endif
60437 main ()
60439 return f != $ac_func;
60441 return 0;
60443 _ACEOF
60444 rm -f conftest.$ac_objext conftest$ac_exeext
60445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60446 (eval $ac_link) 2>conftest.er1
60447 ac_status=$?
60448 grep -v '^ *+' conftest.er1 >conftest.err
60449 rm -f conftest.er1
60450 cat conftest.err >&5
60451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60452 (exit $ac_status); } &&
60453 { ac_try='test -z "$ac_c_werror_flag"
60454 || test ! -s conftest.err'
60455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60456 (eval $ac_try) 2>&5
60457 ac_status=$?
60458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60459 (exit $ac_status); }; } &&
60460 { ac_try='test -s conftest$ac_exeext'
60461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60462 (eval $ac_try) 2>&5
60463 ac_status=$?
60464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60465 (exit $ac_status); }; }; then
60466 eval "$as_ac_var=yes"
60467 else
60468 echo "$as_me: failed program was:" >&5
60469 sed 's/^/| /' conftest.$ac_ext >&5
60471 eval "$as_ac_var=no"
60473 rm -f conftest.err conftest.$ac_objext \
60474 conftest$ac_exeext conftest.$ac_ext
60476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60478 if test `eval echo '${'$as_ac_var'}'` = yes; then
60479 cat >>confdefs.h <<_ACEOF
60480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60481 _ACEOF
60484 done
60496 echo "$as_me:$LINENO: checking for expf declaration" >&5
60497 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
60498 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60499 if test "${glibcxx_cv_func_expf_use+set}" = set; then
60500 echo $ECHO_N "(cached) $ECHO_C" >&6
60501 else
60505 ac_ext=cc
60506 ac_cpp='$CXXCPP $CPPFLAGS'
60507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60511 cat >conftest.$ac_ext <<_ACEOF
60512 /* confdefs.h. */
60513 _ACEOF
60514 cat confdefs.h >>conftest.$ac_ext
60515 cat >>conftest.$ac_ext <<_ACEOF
60516 /* end confdefs.h. */
60517 #include <math.h>
60518 #ifdef HAVE_IEEEFP_H
60519 #include <ieeefp.h>
60520 #endif
60523 main ()
60525 expf(0);
60527 return 0;
60529 _ACEOF
60530 rm -f conftest.$ac_objext
60531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60532 (eval $ac_compile) 2>conftest.er1
60533 ac_status=$?
60534 grep -v '^ *+' conftest.er1 >conftest.err
60535 rm -f conftest.er1
60536 cat conftest.err >&5
60537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60538 (exit $ac_status); } &&
60539 { ac_try='test -z "$ac_cxx_werror_flag"
60540 || test ! -s conftest.err'
60541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60542 (eval $ac_try) 2>&5
60543 ac_status=$?
60544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60545 (exit $ac_status); }; } &&
60546 { ac_try='test -s conftest.$ac_objext'
60547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60548 (eval $ac_try) 2>&5
60549 ac_status=$?
60550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60551 (exit $ac_status); }; }; then
60552 glibcxx_cv_func_expf_use=yes
60553 else
60554 echo "$as_me: failed program was:" >&5
60555 sed 's/^/| /' conftest.$ac_ext >&5
60557 glibcxx_cv_func_expf_use=no
60559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60560 ac_ext=c
60561 ac_cpp='$CPP $CPPFLAGS'
60562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
60571 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
60573 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60575 for ac_func in expf
60577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60578 echo "$as_me:$LINENO: checking for $ac_func" >&5
60579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60580 if eval "test \"\${$as_ac_var+set}\" = set"; then
60581 echo $ECHO_N "(cached) $ECHO_C" >&6
60582 else
60583 if test x$gcc_no_link = xyes; then
60584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60586 { (exit 1); exit 1; }; }
60588 cat >conftest.$ac_ext <<_ACEOF
60589 /* confdefs.h. */
60590 _ACEOF
60591 cat confdefs.h >>conftest.$ac_ext
60592 cat >>conftest.$ac_ext <<_ACEOF
60593 /* end confdefs.h. */
60594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60596 #define $ac_func innocuous_$ac_func
60598 /* System header to define __stub macros and hopefully few prototypes,
60599 which can conflict with char $ac_func (); below.
60600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60601 <limits.h> exists even on freestanding compilers. */
60603 #ifdef __STDC__
60604 # include <limits.h>
60605 #else
60606 # include <assert.h>
60607 #endif
60609 #undef $ac_func
60611 /* Override any gcc2 internal prototype to avoid an error. */
60612 #ifdef __cplusplus
60613 extern "C"
60615 #endif
60616 /* We use char because int might match the return type of a gcc2
60617 builtin and then its argument prototype would still apply. */
60618 char $ac_func ();
60619 /* The GNU C library defines this for functions which it implements
60620 to always fail with ENOSYS. Some functions are actually named
60621 something starting with __ and the normal name is an alias. */
60622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60623 choke me
60624 #else
60625 char (*f) () = $ac_func;
60626 #endif
60627 #ifdef __cplusplus
60629 #endif
60632 main ()
60634 return f != $ac_func;
60636 return 0;
60638 _ACEOF
60639 rm -f conftest.$ac_objext conftest$ac_exeext
60640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60641 (eval $ac_link) 2>conftest.er1
60642 ac_status=$?
60643 grep -v '^ *+' conftest.er1 >conftest.err
60644 rm -f conftest.er1
60645 cat conftest.err >&5
60646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60647 (exit $ac_status); } &&
60648 { ac_try='test -z "$ac_c_werror_flag"
60649 || test ! -s conftest.err'
60650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60651 (eval $ac_try) 2>&5
60652 ac_status=$?
60653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60654 (exit $ac_status); }; } &&
60655 { ac_try='test -s conftest$ac_exeext'
60656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60657 (eval $ac_try) 2>&5
60658 ac_status=$?
60659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60660 (exit $ac_status); }; }; then
60661 eval "$as_ac_var=yes"
60662 else
60663 echo "$as_me: failed program was:" >&5
60664 sed 's/^/| /' conftest.$ac_ext >&5
60666 eval "$as_ac_var=no"
60668 rm -f conftest.err conftest.$ac_objext \
60669 conftest$ac_exeext conftest.$ac_ext
60671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60673 if test `eval echo '${'$as_ac_var'}'` = yes; then
60674 cat >>confdefs.h <<_ACEOF
60675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60676 _ACEOF
60679 done
60681 else
60683 echo "$as_me:$LINENO: checking for _expf declaration" >&5
60684 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
60685 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60686 if test "${glibcxx_cv_func__expf_use+set}" = set; then
60687 echo $ECHO_N "(cached) $ECHO_C" >&6
60688 else
60692 ac_ext=cc
60693 ac_cpp='$CXXCPP $CPPFLAGS'
60694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60698 cat >conftest.$ac_ext <<_ACEOF
60699 /* confdefs.h. */
60700 _ACEOF
60701 cat confdefs.h >>conftest.$ac_ext
60702 cat >>conftest.$ac_ext <<_ACEOF
60703 /* end confdefs.h. */
60704 #include <math.h>
60705 #ifdef HAVE_IEEEFP_H
60706 #include <ieeefp.h>
60707 #endif
60710 main ()
60712 _expf(0);
60714 return 0;
60716 _ACEOF
60717 rm -f conftest.$ac_objext
60718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60719 (eval $ac_compile) 2>conftest.er1
60720 ac_status=$?
60721 grep -v '^ *+' conftest.er1 >conftest.err
60722 rm -f conftest.er1
60723 cat conftest.err >&5
60724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60725 (exit $ac_status); } &&
60726 { ac_try='test -z "$ac_cxx_werror_flag"
60727 || test ! -s conftest.err'
60728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60729 (eval $ac_try) 2>&5
60730 ac_status=$?
60731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60732 (exit $ac_status); }; } &&
60733 { ac_try='test -s conftest.$ac_objext'
60734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60735 (eval $ac_try) 2>&5
60736 ac_status=$?
60737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60738 (exit $ac_status); }; }; then
60739 glibcxx_cv_func__expf_use=yes
60740 else
60741 echo "$as_me: failed program was:" >&5
60742 sed 's/^/| /' conftest.$ac_ext >&5
60744 glibcxx_cv_func__expf_use=no
60746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60747 ac_ext=c
60748 ac_cpp='$CPP $CPPFLAGS'
60749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
60758 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
60760 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60762 for ac_func in _expf
60764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60765 echo "$as_me:$LINENO: checking for $ac_func" >&5
60766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60767 if eval "test \"\${$as_ac_var+set}\" = set"; then
60768 echo $ECHO_N "(cached) $ECHO_C" >&6
60769 else
60770 if test x$gcc_no_link = xyes; then
60771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60773 { (exit 1); exit 1; }; }
60775 cat >conftest.$ac_ext <<_ACEOF
60776 /* confdefs.h. */
60777 _ACEOF
60778 cat confdefs.h >>conftest.$ac_ext
60779 cat >>conftest.$ac_ext <<_ACEOF
60780 /* end confdefs.h. */
60781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60783 #define $ac_func innocuous_$ac_func
60785 /* System header to define __stub macros and hopefully few prototypes,
60786 which can conflict with char $ac_func (); below.
60787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60788 <limits.h> exists even on freestanding compilers. */
60790 #ifdef __STDC__
60791 # include <limits.h>
60792 #else
60793 # include <assert.h>
60794 #endif
60796 #undef $ac_func
60798 /* Override any gcc2 internal prototype to avoid an error. */
60799 #ifdef __cplusplus
60800 extern "C"
60802 #endif
60803 /* We use char because int might match the return type of a gcc2
60804 builtin and then its argument prototype would still apply. */
60805 char $ac_func ();
60806 /* The GNU C library defines this for functions which it implements
60807 to always fail with ENOSYS. Some functions are actually named
60808 something starting with __ and the normal name is an alias. */
60809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60810 choke me
60811 #else
60812 char (*f) () = $ac_func;
60813 #endif
60814 #ifdef __cplusplus
60816 #endif
60819 main ()
60821 return f != $ac_func;
60823 return 0;
60825 _ACEOF
60826 rm -f conftest.$ac_objext conftest$ac_exeext
60827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60828 (eval $ac_link) 2>conftest.er1
60829 ac_status=$?
60830 grep -v '^ *+' conftest.er1 >conftest.err
60831 rm -f conftest.er1
60832 cat conftest.err >&5
60833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60834 (exit $ac_status); } &&
60835 { ac_try='test -z "$ac_c_werror_flag"
60836 || test ! -s conftest.err'
60837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60838 (eval $ac_try) 2>&5
60839 ac_status=$?
60840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60841 (exit $ac_status); }; } &&
60842 { ac_try='test -s conftest$ac_exeext'
60843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60844 (eval $ac_try) 2>&5
60845 ac_status=$?
60846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60847 (exit $ac_status); }; }; then
60848 eval "$as_ac_var=yes"
60849 else
60850 echo "$as_me: failed program was:" >&5
60851 sed 's/^/| /' conftest.$ac_ext >&5
60853 eval "$as_ac_var=no"
60855 rm -f conftest.err conftest.$ac_objext \
60856 conftest$ac_exeext conftest.$ac_ext
60858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60860 if test `eval echo '${'$as_ac_var'}'` = yes; then
60861 cat >>confdefs.h <<_ACEOF
60862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60863 _ACEOF
60866 done
60876 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
60877 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
60878 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60879 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
60880 echo $ECHO_N "(cached) $ECHO_C" >&6
60881 else
60885 ac_ext=cc
60886 ac_cpp='$CXXCPP $CPPFLAGS'
60887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60891 cat >conftest.$ac_ext <<_ACEOF
60892 /* confdefs.h. */
60893 _ACEOF
60894 cat confdefs.h >>conftest.$ac_ext
60895 cat >>conftest.$ac_ext <<_ACEOF
60896 /* end confdefs.h. */
60897 #include <math.h>
60898 #ifdef HAVE_IEEEFP_H
60899 #include <ieeefp.h>
60900 #endif
60903 main ()
60905 isnanf(0);
60907 return 0;
60909 _ACEOF
60910 rm -f conftest.$ac_objext
60911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60912 (eval $ac_compile) 2>conftest.er1
60913 ac_status=$?
60914 grep -v '^ *+' conftest.er1 >conftest.err
60915 rm -f conftest.er1
60916 cat conftest.err >&5
60917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918 (exit $ac_status); } &&
60919 { ac_try='test -z "$ac_cxx_werror_flag"
60920 || test ! -s conftest.err'
60921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60922 (eval $ac_try) 2>&5
60923 ac_status=$?
60924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60925 (exit $ac_status); }; } &&
60926 { ac_try='test -s conftest.$ac_objext'
60927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60928 (eval $ac_try) 2>&5
60929 ac_status=$?
60930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60931 (exit $ac_status); }; }; then
60932 glibcxx_cv_func_isnanf_use=yes
60933 else
60934 echo "$as_me: failed program was:" >&5
60935 sed 's/^/| /' conftest.$ac_ext >&5
60937 glibcxx_cv_func_isnanf_use=no
60939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60940 ac_ext=c
60941 ac_cpp='$CPP $CPPFLAGS'
60942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
60951 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
60953 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60955 for ac_func in isnanf
60957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60958 echo "$as_me:$LINENO: checking for $ac_func" >&5
60959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60960 if eval "test \"\${$as_ac_var+set}\" = set"; then
60961 echo $ECHO_N "(cached) $ECHO_C" >&6
60962 else
60963 if test x$gcc_no_link = xyes; then
60964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60966 { (exit 1); exit 1; }; }
60968 cat >conftest.$ac_ext <<_ACEOF
60969 /* confdefs.h. */
60970 _ACEOF
60971 cat confdefs.h >>conftest.$ac_ext
60972 cat >>conftest.$ac_ext <<_ACEOF
60973 /* end confdefs.h. */
60974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60976 #define $ac_func innocuous_$ac_func
60978 /* System header to define __stub macros and hopefully few prototypes,
60979 which can conflict with char $ac_func (); below.
60980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60981 <limits.h> exists even on freestanding compilers. */
60983 #ifdef __STDC__
60984 # include <limits.h>
60985 #else
60986 # include <assert.h>
60987 #endif
60989 #undef $ac_func
60991 /* Override any gcc2 internal prototype to avoid an error. */
60992 #ifdef __cplusplus
60993 extern "C"
60995 #endif
60996 /* We use char because int might match the return type of a gcc2
60997 builtin and then its argument prototype would still apply. */
60998 char $ac_func ();
60999 /* The GNU C library defines this for functions which it implements
61000 to always fail with ENOSYS. Some functions are actually named
61001 something starting with __ and the normal name is an alias. */
61002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61003 choke me
61004 #else
61005 char (*f) () = $ac_func;
61006 #endif
61007 #ifdef __cplusplus
61009 #endif
61012 main ()
61014 return f != $ac_func;
61016 return 0;
61018 _ACEOF
61019 rm -f conftest.$ac_objext conftest$ac_exeext
61020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61021 (eval $ac_link) 2>conftest.er1
61022 ac_status=$?
61023 grep -v '^ *+' conftest.er1 >conftest.err
61024 rm -f conftest.er1
61025 cat conftest.err >&5
61026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027 (exit $ac_status); } &&
61028 { ac_try='test -z "$ac_c_werror_flag"
61029 || test ! -s conftest.err'
61030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61031 (eval $ac_try) 2>&5
61032 ac_status=$?
61033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61034 (exit $ac_status); }; } &&
61035 { ac_try='test -s conftest$ac_exeext'
61036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61037 (eval $ac_try) 2>&5
61038 ac_status=$?
61039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61040 (exit $ac_status); }; }; then
61041 eval "$as_ac_var=yes"
61042 else
61043 echo "$as_me: failed program was:" >&5
61044 sed 's/^/| /' conftest.$ac_ext >&5
61046 eval "$as_ac_var=no"
61048 rm -f conftest.err conftest.$ac_objext \
61049 conftest$ac_exeext conftest.$ac_ext
61051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61053 if test `eval echo '${'$as_ac_var'}'` = yes; then
61054 cat >>confdefs.h <<_ACEOF
61055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61056 _ACEOF
61059 done
61061 else
61063 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
61064 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
61065 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61066 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
61067 echo $ECHO_N "(cached) $ECHO_C" >&6
61068 else
61072 ac_ext=cc
61073 ac_cpp='$CXXCPP $CPPFLAGS'
61074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61078 cat >conftest.$ac_ext <<_ACEOF
61079 /* confdefs.h. */
61080 _ACEOF
61081 cat confdefs.h >>conftest.$ac_ext
61082 cat >>conftest.$ac_ext <<_ACEOF
61083 /* end confdefs.h. */
61084 #include <math.h>
61085 #ifdef HAVE_IEEEFP_H
61086 #include <ieeefp.h>
61087 #endif
61090 main ()
61092 _isnanf(0);
61094 return 0;
61096 _ACEOF
61097 rm -f conftest.$ac_objext
61098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61099 (eval $ac_compile) 2>conftest.er1
61100 ac_status=$?
61101 grep -v '^ *+' conftest.er1 >conftest.err
61102 rm -f conftest.er1
61103 cat conftest.err >&5
61104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61105 (exit $ac_status); } &&
61106 { ac_try='test -z "$ac_cxx_werror_flag"
61107 || test ! -s conftest.err'
61108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61109 (eval $ac_try) 2>&5
61110 ac_status=$?
61111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61112 (exit $ac_status); }; } &&
61113 { ac_try='test -s conftest.$ac_objext'
61114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61115 (eval $ac_try) 2>&5
61116 ac_status=$?
61117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61118 (exit $ac_status); }; }; then
61119 glibcxx_cv_func__isnanf_use=yes
61120 else
61121 echo "$as_me: failed program was:" >&5
61122 sed 's/^/| /' conftest.$ac_ext >&5
61124 glibcxx_cv_func__isnanf_use=no
61126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61127 ac_ext=c
61128 ac_cpp='$CPP $CPPFLAGS'
61129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
61138 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
61140 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61142 for ac_func in _isnanf
61144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61145 echo "$as_me:$LINENO: checking for $ac_func" >&5
61146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61147 if eval "test \"\${$as_ac_var+set}\" = set"; then
61148 echo $ECHO_N "(cached) $ECHO_C" >&6
61149 else
61150 if test x$gcc_no_link = xyes; then
61151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61153 { (exit 1); exit 1; }; }
61155 cat >conftest.$ac_ext <<_ACEOF
61156 /* confdefs.h. */
61157 _ACEOF
61158 cat confdefs.h >>conftest.$ac_ext
61159 cat >>conftest.$ac_ext <<_ACEOF
61160 /* end confdefs.h. */
61161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61163 #define $ac_func innocuous_$ac_func
61165 /* System header to define __stub macros and hopefully few prototypes,
61166 which can conflict with char $ac_func (); below.
61167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61168 <limits.h> exists even on freestanding compilers. */
61170 #ifdef __STDC__
61171 # include <limits.h>
61172 #else
61173 # include <assert.h>
61174 #endif
61176 #undef $ac_func
61178 /* Override any gcc2 internal prototype to avoid an error. */
61179 #ifdef __cplusplus
61180 extern "C"
61182 #endif
61183 /* We use char because int might match the return type of a gcc2
61184 builtin and then its argument prototype would still apply. */
61185 char $ac_func ();
61186 /* The GNU C library defines this for functions which it implements
61187 to always fail with ENOSYS. Some functions are actually named
61188 something starting with __ and the normal name is an alias. */
61189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61190 choke me
61191 #else
61192 char (*f) () = $ac_func;
61193 #endif
61194 #ifdef __cplusplus
61196 #endif
61199 main ()
61201 return f != $ac_func;
61203 return 0;
61205 _ACEOF
61206 rm -f conftest.$ac_objext conftest$ac_exeext
61207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61208 (eval $ac_link) 2>conftest.er1
61209 ac_status=$?
61210 grep -v '^ *+' conftest.er1 >conftest.err
61211 rm -f conftest.er1
61212 cat conftest.err >&5
61213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214 (exit $ac_status); } &&
61215 { ac_try='test -z "$ac_c_werror_flag"
61216 || test ! -s conftest.err'
61217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61218 (eval $ac_try) 2>&5
61219 ac_status=$?
61220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221 (exit $ac_status); }; } &&
61222 { ac_try='test -s conftest$ac_exeext'
61223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61224 (eval $ac_try) 2>&5
61225 ac_status=$?
61226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61227 (exit $ac_status); }; }; then
61228 eval "$as_ac_var=yes"
61229 else
61230 echo "$as_me: failed program was:" >&5
61231 sed 's/^/| /' conftest.$ac_ext >&5
61233 eval "$as_ac_var=no"
61235 rm -f conftest.err conftest.$ac_objext \
61236 conftest$ac_exeext conftest.$ac_ext
61238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61240 if test `eval echo '${'$as_ac_var'}'` = yes; then
61241 cat >>confdefs.h <<_ACEOF
61242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61243 _ACEOF
61246 done
61256 echo "$as_me:$LINENO: checking for isinff declaration" >&5
61257 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
61258 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61259 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
61260 echo $ECHO_N "(cached) $ECHO_C" >&6
61261 else
61265 ac_ext=cc
61266 ac_cpp='$CXXCPP $CPPFLAGS'
61267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61271 cat >conftest.$ac_ext <<_ACEOF
61272 /* confdefs.h. */
61273 _ACEOF
61274 cat confdefs.h >>conftest.$ac_ext
61275 cat >>conftest.$ac_ext <<_ACEOF
61276 /* end confdefs.h. */
61277 #include <math.h>
61278 #ifdef HAVE_IEEEFP_H
61279 #include <ieeefp.h>
61280 #endif
61283 main ()
61285 isinff(0);
61287 return 0;
61289 _ACEOF
61290 rm -f conftest.$ac_objext
61291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61292 (eval $ac_compile) 2>conftest.er1
61293 ac_status=$?
61294 grep -v '^ *+' conftest.er1 >conftest.err
61295 rm -f conftest.er1
61296 cat conftest.err >&5
61297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61298 (exit $ac_status); } &&
61299 { ac_try='test -z "$ac_cxx_werror_flag"
61300 || test ! -s conftest.err'
61301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61302 (eval $ac_try) 2>&5
61303 ac_status=$?
61304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61305 (exit $ac_status); }; } &&
61306 { ac_try='test -s conftest.$ac_objext'
61307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61308 (eval $ac_try) 2>&5
61309 ac_status=$?
61310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61311 (exit $ac_status); }; }; then
61312 glibcxx_cv_func_isinff_use=yes
61313 else
61314 echo "$as_me: failed program was:" >&5
61315 sed 's/^/| /' conftest.$ac_ext >&5
61317 glibcxx_cv_func_isinff_use=no
61319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61320 ac_ext=c
61321 ac_cpp='$CPP $CPPFLAGS'
61322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
61331 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
61333 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61335 for ac_func in isinff
61337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61338 echo "$as_me:$LINENO: checking for $ac_func" >&5
61339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61340 if eval "test \"\${$as_ac_var+set}\" = set"; then
61341 echo $ECHO_N "(cached) $ECHO_C" >&6
61342 else
61343 if test x$gcc_no_link = xyes; then
61344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61346 { (exit 1); exit 1; }; }
61348 cat >conftest.$ac_ext <<_ACEOF
61349 /* confdefs.h. */
61350 _ACEOF
61351 cat confdefs.h >>conftest.$ac_ext
61352 cat >>conftest.$ac_ext <<_ACEOF
61353 /* end confdefs.h. */
61354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61356 #define $ac_func innocuous_$ac_func
61358 /* System header to define __stub macros and hopefully few prototypes,
61359 which can conflict with char $ac_func (); below.
61360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61361 <limits.h> exists even on freestanding compilers. */
61363 #ifdef __STDC__
61364 # include <limits.h>
61365 #else
61366 # include <assert.h>
61367 #endif
61369 #undef $ac_func
61371 /* Override any gcc2 internal prototype to avoid an error. */
61372 #ifdef __cplusplus
61373 extern "C"
61375 #endif
61376 /* We use char because int might match the return type of a gcc2
61377 builtin and then its argument prototype would still apply. */
61378 char $ac_func ();
61379 /* The GNU C library defines this for functions which it implements
61380 to always fail with ENOSYS. Some functions are actually named
61381 something starting with __ and the normal name is an alias. */
61382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61383 choke me
61384 #else
61385 char (*f) () = $ac_func;
61386 #endif
61387 #ifdef __cplusplus
61389 #endif
61392 main ()
61394 return f != $ac_func;
61396 return 0;
61398 _ACEOF
61399 rm -f conftest.$ac_objext conftest$ac_exeext
61400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61401 (eval $ac_link) 2>conftest.er1
61402 ac_status=$?
61403 grep -v '^ *+' conftest.er1 >conftest.err
61404 rm -f conftest.er1
61405 cat conftest.err >&5
61406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61407 (exit $ac_status); } &&
61408 { ac_try='test -z "$ac_c_werror_flag"
61409 || test ! -s conftest.err'
61410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61411 (eval $ac_try) 2>&5
61412 ac_status=$?
61413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61414 (exit $ac_status); }; } &&
61415 { ac_try='test -s conftest$ac_exeext'
61416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61417 (eval $ac_try) 2>&5
61418 ac_status=$?
61419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61420 (exit $ac_status); }; }; then
61421 eval "$as_ac_var=yes"
61422 else
61423 echo "$as_me: failed program was:" >&5
61424 sed 's/^/| /' conftest.$ac_ext >&5
61426 eval "$as_ac_var=no"
61428 rm -f conftest.err conftest.$ac_objext \
61429 conftest$ac_exeext conftest.$ac_ext
61431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61433 if test `eval echo '${'$as_ac_var'}'` = yes; then
61434 cat >>confdefs.h <<_ACEOF
61435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61436 _ACEOF
61439 done
61441 else
61443 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
61444 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
61445 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61446 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
61447 echo $ECHO_N "(cached) $ECHO_C" >&6
61448 else
61452 ac_ext=cc
61453 ac_cpp='$CXXCPP $CPPFLAGS'
61454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61458 cat >conftest.$ac_ext <<_ACEOF
61459 /* confdefs.h. */
61460 _ACEOF
61461 cat confdefs.h >>conftest.$ac_ext
61462 cat >>conftest.$ac_ext <<_ACEOF
61463 /* end confdefs.h. */
61464 #include <math.h>
61465 #ifdef HAVE_IEEEFP_H
61466 #include <ieeefp.h>
61467 #endif
61470 main ()
61472 _isinff(0);
61474 return 0;
61476 _ACEOF
61477 rm -f conftest.$ac_objext
61478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61479 (eval $ac_compile) 2>conftest.er1
61480 ac_status=$?
61481 grep -v '^ *+' conftest.er1 >conftest.err
61482 rm -f conftest.er1
61483 cat conftest.err >&5
61484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61485 (exit $ac_status); } &&
61486 { ac_try='test -z "$ac_cxx_werror_flag"
61487 || test ! -s conftest.err'
61488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61489 (eval $ac_try) 2>&5
61490 ac_status=$?
61491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61492 (exit $ac_status); }; } &&
61493 { ac_try='test -s conftest.$ac_objext'
61494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61495 (eval $ac_try) 2>&5
61496 ac_status=$?
61497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61498 (exit $ac_status); }; }; then
61499 glibcxx_cv_func__isinff_use=yes
61500 else
61501 echo "$as_me: failed program was:" >&5
61502 sed 's/^/| /' conftest.$ac_ext >&5
61504 glibcxx_cv_func__isinff_use=no
61506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61507 ac_ext=c
61508 ac_cpp='$CPP $CPPFLAGS'
61509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
61518 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
61520 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61522 for ac_func in _isinff
61524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61525 echo "$as_me:$LINENO: checking for $ac_func" >&5
61526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61527 if eval "test \"\${$as_ac_var+set}\" = set"; then
61528 echo $ECHO_N "(cached) $ECHO_C" >&6
61529 else
61530 if test x$gcc_no_link = xyes; then
61531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61533 { (exit 1); exit 1; }; }
61535 cat >conftest.$ac_ext <<_ACEOF
61536 /* confdefs.h. */
61537 _ACEOF
61538 cat confdefs.h >>conftest.$ac_ext
61539 cat >>conftest.$ac_ext <<_ACEOF
61540 /* end confdefs.h. */
61541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61543 #define $ac_func innocuous_$ac_func
61545 /* System header to define __stub macros and hopefully few prototypes,
61546 which can conflict with char $ac_func (); below.
61547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61548 <limits.h> exists even on freestanding compilers. */
61550 #ifdef __STDC__
61551 # include <limits.h>
61552 #else
61553 # include <assert.h>
61554 #endif
61556 #undef $ac_func
61558 /* Override any gcc2 internal prototype to avoid an error. */
61559 #ifdef __cplusplus
61560 extern "C"
61562 #endif
61563 /* We use char because int might match the return type of a gcc2
61564 builtin and then its argument prototype would still apply. */
61565 char $ac_func ();
61566 /* The GNU C library defines this for functions which it implements
61567 to always fail with ENOSYS. Some functions are actually named
61568 something starting with __ and the normal name is an alias. */
61569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61570 choke me
61571 #else
61572 char (*f) () = $ac_func;
61573 #endif
61574 #ifdef __cplusplus
61576 #endif
61579 main ()
61581 return f != $ac_func;
61583 return 0;
61585 _ACEOF
61586 rm -f conftest.$ac_objext conftest$ac_exeext
61587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61588 (eval $ac_link) 2>conftest.er1
61589 ac_status=$?
61590 grep -v '^ *+' conftest.er1 >conftest.err
61591 rm -f conftest.er1
61592 cat conftest.err >&5
61593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61594 (exit $ac_status); } &&
61595 { ac_try='test -z "$ac_c_werror_flag"
61596 || test ! -s conftest.err'
61597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61598 (eval $ac_try) 2>&5
61599 ac_status=$?
61600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61601 (exit $ac_status); }; } &&
61602 { ac_try='test -s conftest$ac_exeext'
61603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61604 (eval $ac_try) 2>&5
61605 ac_status=$?
61606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61607 (exit $ac_status); }; }; then
61608 eval "$as_ac_var=yes"
61609 else
61610 echo "$as_me: failed program was:" >&5
61611 sed 's/^/| /' conftest.$ac_ext >&5
61613 eval "$as_ac_var=no"
61615 rm -f conftest.err conftest.$ac_objext \
61616 conftest$ac_exeext conftest.$ac_ext
61618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61620 if test `eval echo '${'$as_ac_var'}'` = yes; then
61621 cat >>confdefs.h <<_ACEOF
61622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61623 _ACEOF
61626 done
61636 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
61637 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
61638 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61639 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
61640 echo $ECHO_N "(cached) $ECHO_C" >&6
61641 else
61645 ac_ext=cc
61646 ac_cpp='$CXXCPP $CPPFLAGS'
61647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61651 cat >conftest.$ac_ext <<_ACEOF
61652 /* confdefs.h. */
61653 _ACEOF
61654 cat confdefs.h >>conftest.$ac_ext
61655 cat >>conftest.$ac_ext <<_ACEOF
61656 /* end confdefs.h. */
61657 #include <math.h>
61659 main ()
61661 atan2f(0, 0);
61663 return 0;
61665 _ACEOF
61666 rm -f conftest.$ac_objext
61667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61668 (eval $ac_compile) 2>conftest.er1
61669 ac_status=$?
61670 grep -v '^ *+' conftest.er1 >conftest.err
61671 rm -f conftest.er1
61672 cat conftest.err >&5
61673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61674 (exit $ac_status); } &&
61675 { ac_try='test -z "$ac_cxx_werror_flag"
61676 || test ! -s conftest.err'
61677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61678 (eval $ac_try) 2>&5
61679 ac_status=$?
61680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61681 (exit $ac_status); }; } &&
61682 { ac_try='test -s conftest.$ac_objext'
61683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61684 (eval $ac_try) 2>&5
61685 ac_status=$?
61686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61687 (exit $ac_status); }; }; then
61688 glibcxx_cv_func_atan2f_use=yes
61689 else
61690 echo "$as_me: failed program was:" >&5
61691 sed 's/^/| /' conftest.$ac_ext >&5
61693 glibcxx_cv_func_atan2f_use=no
61695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61696 ac_ext=c
61697 ac_cpp='$CPP $CPPFLAGS'
61698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
61707 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
61709 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61711 for ac_func in atan2f
61713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61714 echo "$as_me:$LINENO: checking for $ac_func" >&5
61715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61716 if eval "test \"\${$as_ac_var+set}\" = set"; then
61717 echo $ECHO_N "(cached) $ECHO_C" >&6
61718 else
61719 if test x$gcc_no_link = xyes; then
61720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61722 { (exit 1); exit 1; }; }
61724 cat >conftest.$ac_ext <<_ACEOF
61725 /* confdefs.h. */
61726 _ACEOF
61727 cat confdefs.h >>conftest.$ac_ext
61728 cat >>conftest.$ac_ext <<_ACEOF
61729 /* end confdefs.h. */
61730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61732 #define $ac_func innocuous_$ac_func
61734 /* System header to define __stub macros and hopefully few prototypes,
61735 which can conflict with char $ac_func (); below.
61736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61737 <limits.h> exists even on freestanding compilers. */
61739 #ifdef __STDC__
61740 # include <limits.h>
61741 #else
61742 # include <assert.h>
61743 #endif
61745 #undef $ac_func
61747 /* Override any gcc2 internal prototype to avoid an error. */
61748 #ifdef __cplusplus
61749 extern "C"
61751 #endif
61752 /* We use char because int might match the return type of a gcc2
61753 builtin and then its argument prototype would still apply. */
61754 char $ac_func ();
61755 /* The GNU C library defines this for functions which it implements
61756 to always fail with ENOSYS. Some functions are actually named
61757 something starting with __ and the normal name is an alias. */
61758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61759 choke me
61760 #else
61761 char (*f) () = $ac_func;
61762 #endif
61763 #ifdef __cplusplus
61765 #endif
61768 main ()
61770 return f != $ac_func;
61772 return 0;
61774 _ACEOF
61775 rm -f conftest.$ac_objext conftest$ac_exeext
61776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61777 (eval $ac_link) 2>conftest.er1
61778 ac_status=$?
61779 grep -v '^ *+' conftest.er1 >conftest.err
61780 rm -f conftest.er1
61781 cat conftest.err >&5
61782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61783 (exit $ac_status); } &&
61784 { ac_try='test -z "$ac_c_werror_flag"
61785 || test ! -s conftest.err'
61786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61787 (eval $ac_try) 2>&5
61788 ac_status=$?
61789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61790 (exit $ac_status); }; } &&
61791 { ac_try='test -s conftest$ac_exeext'
61792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61793 (eval $ac_try) 2>&5
61794 ac_status=$?
61795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61796 (exit $ac_status); }; }; then
61797 eval "$as_ac_var=yes"
61798 else
61799 echo "$as_me: failed program was:" >&5
61800 sed 's/^/| /' conftest.$ac_ext >&5
61802 eval "$as_ac_var=no"
61804 rm -f conftest.err conftest.$ac_objext \
61805 conftest$ac_exeext conftest.$ac_ext
61807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61809 if test `eval echo '${'$as_ac_var'}'` = yes; then
61810 cat >>confdefs.h <<_ACEOF
61811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61812 _ACEOF
61815 done
61817 else
61819 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
61820 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
61821 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61822 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
61823 echo $ECHO_N "(cached) $ECHO_C" >&6
61824 else
61828 ac_ext=cc
61829 ac_cpp='$CXXCPP $CPPFLAGS'
61830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61834 cat >conftest.$ac_ext <<_ACEOF
61835 /* confdefs.h. */
61836 _ACEOF
61837 cat confdefs.h >>conftest.$ac_ext
61838 cat >>conftest.$ac_ext <<_ACEOF
61839 /* end confdefs.h. */
61840 #include <math.h>
61842 main ()
61844 _atan2f(0, 0);
61846 return 0;
61848 _ACEOF
61849 rm -f conftest.$ac_objext
61850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61851 (eval $ac_compile) 2>conftest.er1
61852 ac_status=$?
61853 grep -v '^ *+' conftest.er1 >conftest.err
61854 rm -f conftest.er1
61855 cat conftest.err >&5
61856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61857 (exit $ac_status); } &&
61858 { ac_try='test -z "$ac_cxx_werror_flag"
61859 || test ! -s conftest.err'
61860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61861 (eval $ac_try) 2>&5
61862 ac_status=$?
61863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61864 (exit $ac_status); }; } &&
61865 { ac_try='test -s conftest.$ac_objext'
61866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61867 (eval $ac_try) 2>&5
61868 ac_status=$?
61869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61870 (exit $ac_status); }; }; then
61871 glibcxx_cv_func__atan2f_use=yes
61872 else
61873 echo "$as_me: failed program was:" >&5
61874 sed 's/^/| /' conftest.$ac_ext >&5
61876 glibcxx_cv_func__atan2f_use=no
61878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61879 ac_ext=c
61880 ac_cpp='$CPP $CPPFLAGS'
61881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
61890 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
61892 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61894 for ac_func in _atan2f
61896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61897 echo "$as_me:$LINENO: checking for $ac_func" >&5
61898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61899 if eval "test \"\${$as_ac_var+set}\" = set"; then
61900 echo $ECHO_N "(cached) $ECHO_C" >&6
61901 else
61902 if test x$gcc_no_link = xyes; then
61903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61905 { (exit 1); exit 1; }; }
61907 cat >conftest.$ac_ext <<_ACEOF
61908 /* confdefs.h. */
61909 _ACEOF
61910 cat confdefs.h >>conftest.$ac_ext
61911 cat >>conftest.$ac_ext <<_ACEOF
61912 /* end confdefs.h. */
61913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61915 #define $ac_func innocuous_$ac_func
61917 /* System header to define __stub macros and hopefully few prototypes,
61918 which can conflict with char $ac_func (); below.
61919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61920 <limits.h> exists even on freestanding compilers. */
61922 #ifdef __STDC__
61923 # include <limits.h>
61924 #else
61925 # include <assert.h>
61926 #endif
61928 #undef $ac_func
61930 /* Override any gcc2 internal prototype to avoid an error. */
61931 #ifdef __cplusplus
61932 extern "C"
61934 #endif
61935 /* We use char because int might match the return type of a gcc2
61936 builtin and then its argument prototype would still apply. */
61937 char $ac_func ();
61938 /* The GNU C library defines this for functions which it implements
61939 to always fail with ENOSYS. Some functions are actually named
61940 something starting with __ and the normal name is an alias. */
61941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61942 choke me
61943 #else
61944 char (*f) () = $ac_func;
61945 #endif
61946 #ifdef __cplusplus
61948 #endif
61951 main ()
61953 return f != $ac_func;
61955 return 0;
61957 _ACEOF
61958 rm -f conftest.$ac_objext conftest$ac_exeext
61959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61960 (eval $ac_link) 2>conftest.er1
61961 ac_status=$?
61962 grep -v '^ *+' conftest.er1 >conftest.err
61963 rm -f conftest.er1
61964 cat conftest.err >&5
61965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61966 (exit $ac_status); } &&
61967 { ac_try='test -z "$ac_c_werror_flag"
61968 || test ! -s conftest.err'
61969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61970 (eval $ac_try) 2>&5
61971 ac_status=$?
61972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61973 (exit $ac_status); }; } &&
61974 { ac_try='test -s conftest$ac_exeext'
61975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61976 (eval $ac_try) 2>&5
61977 ac_status=$?
61978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61979 (exit $ac_status); }; }; then
61980 eval "$as_ac_var=yes"
61981 else
61982 echo "$as_me: failed program was:" >&5
61983 sed 's/^/| /' conftest.$ac_ext >&5
61985 eval "$as_ac_var=no"
61987 rm -f conftest.err conftest.$ac_objext \
61988 conftest$ac_exeext conftest.$ac_ext
61990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61992 if test `eval echo '${'$as_ac_var'}'` = yes; then
61993 cat >>confdefs.h <<_ACEOF
61994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61995 _ACEOF
61998 done
62008 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
62009 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
62010 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62011 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
62012 echo $ECHO_N "(cached) $ECHO_C" >&6
62013 else
62017 ac_ext=cc
62018 ac_cpp='$CXXCPP $CPPFLAGS'
62019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62023 cat >conftest.$ac_ext <<_ACEOF
62024 /* confdefs.h. */
62025 _ACEOF
62026 cat confdefs.h >>conftest.$ac_ext
62027 cat >>conftest.$ac_ext <<_ACEOF
62028 /* end confdefs.h. */
62029 #include <math.h>
62030 #ifdef HAVE_IEEEFP_H
62031 #include <ieeefp.h>
62032 #endif
62035 main ()
62037 fabsf(0);
62039 return 0;
62041 _ACEOF
62042 rm -f conftest.$ac_objext
62043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62044 (eval $ac_compile) 2>conftest.er1
62045 ac_status=$?
62046 grep -v '^ *+' conftest.er1 >conftest.err
62047 rm -f conftest.er1
62048 cat conftest.err >&5
62049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62050 (exit $ac_status); } &&
62051 { ac_try='test -z "$ac_cxx_werror_flag"
62052 || test ! -s conftest.err'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; } &&
62058 { ac_try='test -s conftest.$ac_objext'
62059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62060 (eval $ac_try) 2>&5
62061 ac_status=$?
62062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62063 (exit $ac_status); }; }; then
62064 glibcxx_cv_func_fabsf_use=yes
62065 else
62066 echo "$as_me: failed program was:" >&5
62067 sed 's/^/| /' conftest.$ac_ext >&5
62069 glibcxx_cv_func_fabsf_use=no
62071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62072 ac_ext=c
62073 ac_cpp='$CPP $CPPFLAGS'
62074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
62083 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
62085 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62087 for ac_func in fabsf
62089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62090 echo "$as_me:$LINENO: checking for $ac_func" >&5
62091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62092 if eval "test \"\${$as_ac_var+set}\" = set"; then
62093 echo $ECHO_N "(cached) $ECHO_C" >&6
62094 else
62095 if test x$gcc_no_link = xyes; then
62096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62098 { (exit 1); exit 1; }; }
62100 cat >conftest.$ac_ext <<_ACEOF
62101 /* confdefs.h. */
62102 _ACEOF
62103 cat confdefs.h >>conftest.$ac_ext
62104 cat >>conftest.$ac_ext <<_ACEOF
62105 /* end confdefs.h. */
62106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62108 #define $ac_func innocuous_$ac_func
62110 /* System header to define __stub macros and hopefully few prototypes,
62111 which can conflict with char $ac_func (); below.
62112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62113 <limits.h> exists even on freestanding compilers. */
62115 #ifdef __STDC__
62116 # include <limits.h>
62117 #else
62118 # include <assert.h>
62119 #endif
62121 #undef $ac_func
62123 /* Override any gcc2 internal prototype to avoid an error. */
62124 #ifdef __cplusplus
62125 extern "C"
62127 #endif
62128 /* We use char because int might match the return type of a gcc2
62129 builtin and then its argument prototype would still apply. */
62130 char $ac_func ();
62131 /* The GNU C library defines this for functions which it implements
62132 to always fail with ENOSYS. Some functions are actually named
62133 something starting with __ and the normal name is an alias. */
62134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62135 choke me
62136 #else
62137 char (*f) () = $ac_func;
62138 #endif
62139 #ifdef __cplusplus
62141 #endif
62144 main ()
62146 return f != $ac_func;
62148 return 0;
62150 _ACEOF
62151 rm -f conftest.$ac_objext conftest$ac_exeext
62152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62153 (eval $ac_link) 2>conftest.er1
62154 ac_status=$?
62155 grep -v '^ *+' conftest.er1 >conftest.err
62156 rm -f conftest.er1
62157 cat conftest.err >&5
62158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62159 (exit $ac_status); } &&
62160 { ac_try='test -z "$ac_c_werror_flag"
62161 || test ! -s conftest.err'
62162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62163 (eval $ac_try) 2>&5
62164 ac_status=$?
62165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62166 (exit $ac_status); }; } &&
62167 { ac_try='test -s conftest$ac_exeext'
62168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62169 (eval $ac_try) 2>&5
62170 ac_status=$?
62171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62172 (exit $ac_status); }; }; then
62173 eval "$as_ac_var=yes"
62174 else
62175 echo "$as_me: failed program was:" >&5
62176 sed 's/^/| /' conftest.$ac_ext >&5
62178 eval "$as_ac_var=no"
62180 rm -f conftest.err conftest.$ac_objext \
62181 conftest$ac_exeext conftest.$ac_ext
62183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62185 if test `eval echo '${'$as_ac_var'}'` = yes; then
62186 cat >>confdefs.h <<_ACEOF
62187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62188 _ACEOF
62191 done
62193 else
62195 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
62196 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
62197 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62198 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
62199 echo $ECHO_N "(cached) $ECHO_C" >&6
62200 else
62204 ac_ext=cc
62205 ac_cpp='$CXXCPP $CPPFLAGS'
62206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62210 cat >conftest.$ac_ext <<_ACEOF
62211 /* confdefs.h. */
62212 _ACEOF
62213 cat confdefs.h >>conftest.$ac_ext
62214 cat >>conftest.$ac_ext <<_ACEOF
62215 /* end confdefs.h. */
62216 #include <math.h>
62217 #ifdef HAVE_IEEEFP_H
62218 #include <ieeefp.h>
62219 #endif
62222 main ()
62224 _fabsf(0);
62226 return 0;
62228 _ACEOF
62229 rm -f conftest.$ac_objext
62230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62231 (eval $ac_compile) 2>conftest.er1
62232 ac_status=$?
62233 grep -v '^ *+' conftest.er1 >conftest.err
62234 rm -f conftest.er1
62235 cat conftest.err >&5
62236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62237 (exit $ac_status); } &&
62238 { ac_try='test -z "$ac_cxx_werror_flag"
62239 || test ! -s conftest.err'
62240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62241 (eval $ac_try) 2>&5
62242 ac_status=$?
62243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62244 (exit $ac_status); }; } &&
62245 { ac_try='test -s conftest.$ac_objext'
62246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62247 (eval $ac_try) 2>&5
62248 ac_status=$?
62249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62250 (exit $ac_status); }; }; then
62251 glibcxx_cv_func__fabsf_use=yes
62252 else
62253 echo "$as_me: failed program was:" >&5
62254 sed 's/^/| /' conftest.$ac_ext >&5
62256 glibcxx_cv_func__fabsf_use=no
62258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62259 ac_ext=c
62260 ac_cpp='$CPP $CPPFLAGS'
62261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
62270 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
62272 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62274 for ac_func in _fabsf
62276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62277 echo "$as_me:$LINENO: checking for $ac_func" >&5
62278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62279 if eval "test \"\${$as_ac_var+set}\" = set"; then
62280 echo $ECHO_N "(cached) $ECHO_C" >&6
62281 else
62282 if test x$gcc_no_link = xyes; then
62283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62285 { (exit 1); exit 1; }; }
62287 cat >conftest.$ac_ext <<_ACEOF
62288 /* confdefs.h. */
62289 _ACEOF
62290 cat confdefs.h >>conftest.$ac_ext
62291 cat >>conftest.$ac_ext <<_ACEOF
62292 /* end confdefs.h. */
62293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62295 #define $ac_func innocuous_$ac_func
62297 /* System header to define __stub macros and hopefully few prototypes,
62298 which can conflict with char $ac_func (); below.
62299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62300 <limits.h> exists even on freestanding compilers. */
62302 #ifdef __STDC__
62303 # include <limits.h>
62304 #else
62305 # include <assert.h>
62306 #endif
62308 #undef $ac_func
62310 /* Override any gcc2 internal prototype to avoid an error. */
62311 #ifdef __cplusplus
62312 extern "C"
62314 #endif
62315 /* We use char because int might match the return type of a gcc2
62316 builtin and then its argument prototype would still apply. */
62317 char $ac_func ();
62318 /* The GNU C library defines this for functions which it implements
62319 to always fail with ENOSYS. Some functions are actually named
62320 something starting with __ and the normal name is an alias. */
62321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62322 choke me
62323 #else
62324 char (*f) () = $ac_func;
62325 #endif
62326 #ifdef __cplusplus
62328 #endif
62331 main ()
62333 return f != $ac_func;
62335 return 0;
62337 _ACEOF
62338 rm -f conftest.$ac_objext conftest$ac_exeext
62339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62340 (eval $ac_link) 2>conftest.er1
62341 ac_status=$?
62342 grep -v '^ *+' conftest.er1 >conftest.err
62343 rm -f conftest.er1
62344 cat conftest.err >&5
62345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62346 (exit $ac_status); } &&
62347 { ac_try='test -z "$ac_c_werror_flag"
62348 || test ! -s conftest.err'
62349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62350 (eval $ac_try) 2>&5
62351 ac_status=$?
62352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62353 (exit $ac_status); }; } &&
62354 { ac_try='test -s conftest$ac_exeext'
62355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62356 (eval $ac_try) 2>&5
62357 ac_status=$?
62358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62359 (exit $ac_status); }; }; then
62360 eval "$as_ac_var=yes"
62361 else
62362 echo "$as_me: failed program was:" >&5
62363 sed 's/^/| /' conftest.$ac_ext >&5
62365 eval "$as_ac_var=no"
62367 rm -f conftest.err conftest.$ac_objext \
62368 conftest$ac_exeext conftest.$ac_ext
62370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62372 if test `eval echo '${'$as_ac_var'}'` = yes; then
62373 cat >>confdefs.h <<_ACEOF
62374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62375 _ACEOF
62378 done
62388 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
62389 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
62390 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62391 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
62392 echo $ECHO_N "(cached) $ECHO_C" >&6
62393 else
62397 ac_ext=cc
62398 ac_cpp='$CXXCPP $CPPFLAGS'
62399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62403 cat >conftest.$ac_ext <<_ACEOF
62404 /* confdefs.h. */
62405 _ACEOF
62406 cat confdefs.h >>conftest.$ac_ext
62407 cat >>conftest.$ac_ext <<_ACEOF
62408 /* end confdefs.h. */
62409 #include <math.h>
62411 main ()
62413 fmodf(0, 0);
62415 return 0;
62417 _ACEOF
62418 rm -f conftest.$ac_objext
62419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62420 (eval $ac_compile) 2>conftest.er1
62421 ac_status=$?
62422 grep -v '^ *+' conftest.er1 >conftest.err
62423 rm -f conftest.er1
62424 cat conftest.err >&5
62425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62426 (exit $ac_status); } &&
62427 { ac_try='test -z "$ac_cxx_werror_flag"
62428 || test ! -s conftest.err'
62429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62430 (eval $ac_try) 2>&5
62431 ac_status=$?
62432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62433 (exit $ac_status); }; } &&
62434 { ac_try='test -s conftest.$ac_objext'
62435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62436 (eval $ac_try) 2>&5
62437 ac_status=$?
62438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62439 (exit $ac_status); }; }; then
62440 glibcxx_cv_func_fmodf_use=yes
62441 else
62442 echo "$as_me: failed program was:" >&5
62443 sed 's/^/| /' conftest.$ac_ext >&5
62445 glibcxx_cv_func_fmodf_use=no
62447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62448 ac_ext=c
62449 ac_cpp='$CPP $CPPFLAGS'
62450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
62459 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
62461 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62463 for ac_func in fmodf
62465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62466 echo "$as_me:$LINENO: checking for $ac_func" >&5
62467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62468 if eval "test \"\${$as_ac_var+set}\" = set"; then
62469 echo $ECHO_N "(cached) $ECHO_C" >&6
62470 else
62471 if test x$gcc_no_link = xyes; then
62472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62474 { (exit 1); exit 1; }; }
62476 cat >conftest.$ac_ext <<_ACEOF
62477 /* confdefs.h. */
62478 _ACEOF
62479 cat confdefs.h >>conftest.$ac_ext
62480 cat >>conftest.$ac_ext <<_ACEOF
62481 /* end confdefs.h. */
62482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62484 #define $ac_func innocuous_$ac_func
62486 /* System header to define __stub macros and hopefully few prototypes,
62487 which can conflict with char $ac_func (); below.
62488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62489 <limits.h> exists even on freestanding compilers. */
62491 #ifdef __STDC__
62492 # include <limits.h>
62493 #else
62494 # include <assert.h>
62495 #endif
62497 #undef $ac_func
62499 /* Override any gcc2 internal prototype to avoid an error. */
62500 #ifdef __cplusplus
62501 extern "C"
62503 #endif
62504 /* We use char because int might match the return type of a gcc2
62505 builtin and then its argument prototype would still apply. */
62506 char $ac_func ();
62507 /* The GNU C library defines this for functions which it implements
62508 to always fail with ENOSYS. Some functions are actually named
62509 something starting with __ and the normal name is an alias. */
62510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62511 choke me
62512 #else
62513 char (*f) () = $ac_func;
62514 #endif
62515 #ifdef __cplusplus
62517 #endif
62520 main ()
62522 return f != $ac_func;
62524 return 0;
62526 _ACEOF
62527 rm -f conftest.$ac_objext conftest$ac_exeext
62528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62529 (eval $ac_link) 2>conftest.er1
62530 ac_status=$?
62531 grep -v '^ *+' conftest.er1 >conftest.err
62532 rm -f conftest.er1
62533 cat conftest.err >&5
62534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62535 (exit $ac_status); } &&
62536 { ac_try='test -z "$ac_c_werror_flag"
62537 || test ! -s conftest.err'
62538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62539 (eval $ac_try) 2>&5
62540 ac_status=$?
62541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62542 (exit $ac_status); }; } &&
62543 { ac_try='test -s conftest$ac_exeext'
62544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62545 (eval $ac_try) 2>&5
62546 ac_status=$?
62547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62548 (exit $ac_status); }; }; then
62549 eval "$as_ac_var=yes"
62550 else
62551 echo "$as_me: failed program was:" >&5
62552 sed 's/^/| /' conftest.$ac_ext >&5
62554 eval "$as_ac_var=no"
62556 rm -f conftest.err conftest.$ac_objext \
62557 conftest$ac_exeext conftest.$ac_ext
62559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62561 if test `eval echo '${'$as_ac_var'}'` = yes; then
62562 cat >>confdefs.h <<_ACEOF
62563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62564 _ACEOF
62567 done
62569 else
62571 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
62572 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
62573 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62574 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
62575 echo $ECHO_N "(cached) $ECHO_C" >&6
62576 else
62580 ac_ext=cc
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62586 cat >conftest.$ac_ext <<_ACEOF
62587 /* confdefs.h. */
62588 _ACEOF
62589 cat confdefs.h >>conftest.$ac_ext
62590 cat >>conftest.$ac_ext <<_ACEOF
62591 /* end confdefs.h. */
62592 #include <math.h>
62594 main ()
62596 _fmodf(0, 0);
62598 return 0;
62600 _ACEOF
62601 rm -f conftest.$ac_objext
62602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62603 (eval $ac_compile) 2>conftest.er1
62604 ac_status=$?
62605 grep -v '^ *+' conftest.er1 >conftest.err
62606 rm -f conftest.er1
62607 cat conftest.err >&5
62608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62609 (exit $ac_status); } &&
62610 { ac_try='test -z "$ac_cxx_werror_flag"
62611 || test ! -s conftest.err'
62612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62613 (eval $ac_try) 2>&5
62614 ac_status=$?
62615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62616 (exit $ac_status); }; } &&
62617 { ac_try='test -s conftest.$ac_objext'
62618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62619 (eval $ac_try) 2>&5
62620 ac_status=$?
62621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62622 (exit $ac_status); }; }; then
62623 glibcxx_cv_func__fmodf_use=yes
62624 else
62625 echo "$as_me: failed program was:" >&5
62626 sed 's/^/| /' conftest.$ac_ext >&5
62628 glibcxx_cv_func__fmodf_use=no
62630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62631 ac_ext=c
62632 ac_cpp='$CPP $CPPFLAGS'
62633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
62642 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
62644 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62646 for ac_func in _fmodf
62648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62649 echo "$as_me:$LINENO: checking for $ac_func" >&5
62650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62651 if eval "test \"\${$as_ac_var+set}\" = set"; then
62652 echo $ECHO_N "(cached) $ECHO_C" >&6
62653 else
62654 if test x$gcc_no_link = xyes; then
62655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62657 { (exit 1); exit 1; }; }
62659 cat >conftest.$ac_ext <<_ACEOF
62660 /* confdefs.h. */
62661 _ACEOF
62662 cat confdefs.h >>conftest.$ac_ext
62663 cat >>conftest.$ac_ext <<_ACEOF
62664 /* end confdefs.h. */
62665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62667 #define $ac_func innocuous_$ac_func
62669 /* System header to define __stub macros and hopefully few prototypes,
62670 which can conflict with char $ac_func (); below.
62671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62672 <limits.h> exists even on freestanding compilers. */
62674 #ifdef __STDC__
62675 # include <limits.h>
62676 #else
62677 # include <assert.h>
62678 #endif
62680 #undef $ac_func
62682 /* Override any gcc2 internal prototype to avoid an error. */
62683 #ifdef __cplusplus
62684 extern "C"
62686 #endif
62687 /* We use char because int might match the return type of a gcc2
62688 builtin and then its argument prototype would still apply. */
62689 char $ac_func ();
62690 /* The GNU C library defines this for functions which it implements
62691 to always fail with ENOSYS. Some functions are actually named
62692 something starting with __ and the normal name is an alias. */
62693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62694 choke me
62695 #else
62696 char (*f) () = $ac_func;
62697 #endif
62698 #ifdef __cplusplus
62700 #endif
62703 main ()
62705 return f != $ac_func;
62707 return 0;
62709 _ACEOF
62710 rm -f conftest.$ac_objext conftest$ac_exeext
62711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62712 (eval $ac_link) 2>conftest.er1
62713 ac_status=$?
62714 grep -v '^ *+' conftest.er1 >conftest.err
62715 rm -f conftest.er1
62716 cat conftest.err >&5
62717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718 (exit $ac_status); } &&
62719 { ac_try='test -z "$ac_c_werror_flag"
62720 || test ! -s conftest.err'
62721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62722 (eval $ac_try) 2>&5
62723 ac_status=$?
62724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62725 (exit $ac_status); }; } &&
62726 { ac_try='test -s conftest$ac_exeext'
62727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62728 (eval $ac_try) 2>&5
62729 ac_status=$?
62730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62731 (exit $ac_status); }; }; then
62732 eval "$as_ac_var=yes"
62733 else
62734 echo "$as_me: failed program was:" >&5
62735 sed 's/^/| /' conftest.$ac_ext >&5
62737 eval "$as_ac_var=no"
62739 rm -f conftest.err conftest.$ac_objext \
62740 conftest$ac_exeext conftest.$ac_ext
62742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62744 if test `eval echo '${'$as_ac_var'}'` = yes; then
62745 cat >>confdefs.h <<_ACEOF
62746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62747 _ACEOF
62750 done
62760 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
62761 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
62762 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62763 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
62764 echo $ECHO_N "(cached) $ECHO_C" >&6
62765 else
62769 ac_ext=cc
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62775 cat >conftest.$ac_ext <<_ACEOF
62776 /* confdefs.h. */
62777 _ACEOF
62778 cat confdefs.h >>conftest.$ac_ext
62779 cat >>conftest.$ac_ext <<_ACEOF
62780 /* end confdefs.h. */
62781 #include <math.h>
62783 main ()
62785 frexpf(0, 0);
62787 return 0;
62789 _ACEOF
62790 rm -f conftest.$ac_objext
62791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62792 (eval $ac_compile) 2>conftest.er1
62793 ac_status=$?
62794 grep -v '^ *+' conftest.er1 >conftest.err
62795 rm -f conftest.er1
62796 cat conftest.err >&5
62797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62798 (exit $ac_status); } &&
62799 { ac_try='test -z "$ac_cxx_werror_flag"
62800 || test ! -s conftest.err'
62801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62802 (eval $ac_try) 2>&5
62803 ac_status=$?
62804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62805 (exit $ac_status); }; } &&
62806 { ac_try='test -s conftest.$ac_objext'
62807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62808 (eval $ac_try) 2>&5
62809 ac_status=$?
62810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62811 (exit $ac_status); }; }; then
62812 glibcxx_cv_func_frexpf_use=yes
62813 else
62814 echo "$as_me: failed program was:" >&5
62815 sed 's/^/| /' conftest.$ac_ext >&5
62817 glibcxx_cv_func_frexpf_use=no
62819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62820 ac_ext=c
62821 ac_cpp='$CPP $CPPFLAGS'
62822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62830 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
62831 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
62833 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62835 for ac_func in frexpf
62837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62838 echo "$as_me:$LINENO: checking for $ac_func" >&5
62839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62840 if eval "test \"\${$as_ac_var+set}\" = set"; then
62841 echo $ECHO_N "(cached) $ECHO_C" >&6
62842 else
62843 if test x$gcc_no_link = xyes; then
62844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62846 { (exit 1); exit 1; }; }
62848 cat >conftest.$ac_ext <<_ACEOF
62849 /* confdefs.h. */
62850 _ACEOF
62851 cat confdefs.h >>conftest.$ac_ext
62852 cat >>conftest.$ac_ext <<_ACEOF
62853 /* end confdefs.h. */
62854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62856 #define $ac_func innocuous_$ac_func
62858 /* System header to define __stub macros and hopefully few prototypes,
62859 which can conflict with char $ac_func (); below.
62860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62861 <limits.h> exists even on freestanding compilers. */
62863 #ifdef __STDC__
62864 # include <limits.h>
62865 #else
62866 # include <assert.h>
62867 #endif
62869 #undef $ac_func
62871 /* Override any gcc2 internal prototype to avoid an error. */
62872 #ifdef __cplusplus
62873 extern "C"
62875 #endif
62876 /* We use char because int might match the return type of a gcc2
62877 builtin and then its argument prototype would still apply. */
62878 char $ac_func ();
62879 /* The GNU C library defines this for functions which it implements
62880 to always fail with ENOSYS. Some functions are actually named
62881 something starting with __ and the normal name is an alias. */
62882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62883 choke me
62884 #else
62885 char (*f) () = $ac_func;
62886 #endif
62887 #ifdef __cplusplus
62889 #endif
62892 main ()
62894 return f != $ac_func;
62896 return 0;
62898 _ACEOF
62899 rm -f conftest.$ac_objext conftest$ac_exeext
62900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62901 (eval $ac_link) 2>conftest.er1
62902 ac_status=$?
62903 grep -v '^ *+' conftest.er1 >conftest.err
62904 rm -f conftest.er1
62905 cat conftest.err >&5
62906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62907 (exit $ac_status); } &&
62908 { ac_try='test -z "$ac_c_werror_flag"
62909 || test ! -s conftest.err'
62910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62911 (eval $ac_try) 2>&5
62912 ac_status=$?
62913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62914 (exit $ac_status); }; } &&
62915 { ac_try='test -s conftest$ac_exeext'
62916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62917 (eval $ac_try) 2>&5
62918 ac_status=$?
62919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62920 (exit $ac_status); }; }; then
62921 eval "$as_ac_var=yes"
62922 else
62923 echo "$as_me: failed program was:" >&5
62924 sed 's/^/| /' conftest.$ac_ext >&5
62926 eval "$as_ac_var=no"
62928 rm -f conftest.err conftest.$ac_objext \
62929 conftest$ac_exeext conftest.$ac_ext
62931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62933 if test `eval echo '${'$as_ac_var'}'` = yes; then
62934 cat >>confdefs.h <<_ACEOF
62935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62936 _ACEOF
62939 done
62941 else
62943 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
62944 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
62945 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62946 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
62947 echo $ECHO_N "(cached) $ECHO_C" >&6
62948 else
62952 ac_ext=cc
62953 ac_cpp='$CXXCPP $CPPFLAGS'
62954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62958 cat >conftest.$ac_ext <<_ACEOF
62959 /* confdefs.h. */
62960 _ACEOF
62961 cat confdefs.h >>conftest.$ac_ext
62962 cat >>conftest.$ac_ext <<_ACEOF
62963 /* end confdefs.h. */
62964 #include <math.h>
62966 main ()
62968 _frexpf(0, 0);
62970 return 0;
62972 _ACEOF
62973 rm -f conftest.$ac_objext
62974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62975 (eval $ac_compile) 2>conftest.er1
62976 ac_status=$?
62977 grep -v '^ *+' conftest.er1 >conftest.err
62978 rm -f conftest.er1
62979 cat conftest.err >&5
62980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62981 (exit $ac_status); } &&
62982 { ac_try='test -z "$ac_cxx_werror_flag"
62983 || test ! -s conftest.err'
62984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62985 (eval $ac_try) 2>&5
62986 ac_status=$?
62987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62988 (exit $ac_status); }; } &&
62989 { ac_try='test -s conftest.$ac_objext'
62990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62991 (eval $ac_try) 2>&5
62992 ac_status=$?
62993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62994 (exit $ac_status); }; }; then
62995 glibcxx_cv_func__frexpf_use=yes
62996 else
62997 echo "$as_me: failed program was:" >&5
62998 sed 's/^/| /' conftest.$ac_ext >&5
63000 glibcxx_cv_func__frexpf_use=no
63002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63003 ac_ext=c
63004 ac_cpp='$CPP $CPPFLAGS'
63005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
63014 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
63016 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63018 for ac_func in _frexpf
63020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63021 echo "$as_me:$LINENO: checking for $ac_func" >&5
63022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63023 if eval "test \"\${$as_ac_var+set}\" = set"; then
63024 echo $ECHO_N "(cached) $ECHO_C" >&6
63025 else
63026 if test x$gcc_no_link = xyes; then
63027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63029 { (exit 1); exit 1; }; }
63031 cat >conftest.$ac_ext <<_ACEOF
63032 /* confdefs.h. */
63033 _ACEOF
63034 cat confdefs.h >>conftest.$ac_ext
63035 cat >>conftest.$ac_ext <<_ACEOF
63036 /* end confdefs.h. */
63037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63039 #define $ac_func innocuous_$ac_func
63041 /* System header to define __stub macros and hopefully few prototypes,
63042 which can conflict with char $ac_func (); below.
63043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63044 <limits.h> exists even on freestanding compilers. */
63046 #ifdef __STDC__
63047 # include <limits.h>
63048 #else
63049 # include <assert.h>
63050 #endif
63052 #undef $ac_func
63054 /* Override any gcc2 internal prototype to avoid an error. */
63055 #ifdef __cplusplus
63056 extern "C"
63058 #endif
63059 /* We use char because int might match the return type of a gcc2
63060 builtin and then its argument prototype would still apply. */
63061 char $ac_func ();
63062 /* The GNU C library defines this for functions which it implements
63063 to always fail with ENOSYS. Some functions are actually named
63064 something starting with __ and the normal name is an alias. */
63065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63066 choke me
63067 #else
63068 char (*f) () = $ac_func;
63069 #endif
63070 #ifdef __cplusplus
63072 #endif
63075 main ()
63077 return f != $ac_func;
63079 return 0;
63081 _ACEOF
63082 rm -f conftest.$ac_objext conftest$ac_exeext
63083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63084 (eval $ac_link) 2>conftest.er1
63085 ac_status=$?
63086 grep -v '^ *+' conftest.er1 >conftest.err
63087 rm -f conftest.er1
63088 cat conftest.err >&5
63089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63090 (exit $ac_status); } &&
63091 { ac_try='test -z "$ac_c_werror_flag"
63092 || test ! -s conftest.err'
63093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63094 (eval $ac_try) 2>&5
63095 ac_status=$?
63096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63097 (exit $ac_status); }; } &&
63098 { ac_try='test -s conftest$ac_exeext'
63099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63100 (eval $ac_try) 2>&5
63101 ac_status=$?
63102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63103 (exit $ac_status); }; }; then
63104 eval "$as_ac_var=yes"
63105 else
63106 echo "$as_me: failed program was:" >&5
63107 sed 's/^/| /' conftest.$ac_ext >&5
63109 eval "$as_ac_var=no"
63111 rm -f conftest.err conftest.$ac_objext \
63112 conftest$ac_exeext conftest.$ac_ext
63114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63116 if test `eval echo '${'$as_ac_var'}'` = yes; then
63117 cat >>confdefs.h <<_ACEOF
63118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63119 _ACEOF
63122 done
63132 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
63133 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
63134 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63135 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
63136 echo $ECHO_N "(cached) $ECHO_C" >&6
63137 else
63141 ac_ext=cc
63142 ac_cpp='$CXXCPP $CPPFLAGS'
63143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63147 cat >conftest.$ac_ext <<_ACEOF
63148 /* confdefs.h. */
63149 _ACEOF
63150 cat confdefs.h >>conftest.$ac_ext
63151 cat >>conftest.$ac_ext <<_ACEOF
63152 /* end confdefs.h. */
63153 #include <math.h>
63155 main ()
63157 hypotf(0, 0);
63159 return 0;
63161 _ACEOF
63162 rm -f conftest.$ac_objext
63163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63164 (eval $ac_compile) 2>conftest.er1
63165 ac_status=$?
63166 grep -v '^ *+' conftest.er1 >conftest.err
63167 rm -f conftest.er1
63168 cat conftest.err >&5
63169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63170 (exit $ac_status); } &&
63171 { ac_try='test -z "$ac_cxx_werror_flag"
63172 || test ! -s conftest.err'
63173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63174 (eval $ac_try) 2>&5
63175 ac_status=$?
63176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63177 (exit $ac_status); }; } &&
63178 { ac_try='test -s conftest.$ac_objext'
63179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63180 (eval $ac_try) 2>&5
63181 ac_status=$?
63182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63183 (exit $ac_status); }; }; then
63184 glibcxx_cv_func_hypotf_use=yes
63185 else
63186 echo "$as_me: failed program was:" >&5
63187 sed 's/^/| /' conftest.$ac_ext >&5
63189 glibcxx_cv_func_hypotf_use=no
63191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63192 ac_ext=c
63193 ac_cpp='$CPP $CPPFLAGS'
63194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
63203 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
63205 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63207 for ac_func in hypotf
63209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63210 echo "$as_me:$LINENO: checking for $ac_func" >&5
63211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63212 if eval "test \"\${$as_ac_var+set}\" = set"; then
63213 echo $ECHO_N "(cached) $ECHO_C" >&6
63214 else
63215 if test x$gcc_no_link = xyes; then
63216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63218 { (exit 1); exit 1; }; }
63220 cat >conftest.$ac_ext <<_ACEOF
63221 /* confdefs.h. */
63222 _ACEOF
63223 cat confdefs.h >>conftest.$ac_ext
63224 cat >>conftest.$ac_ext <<_ACEOF
63225 /* end confdefs.h. */
63226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63228 #define $ac_func innocuous_$ac_func
63230 /* System header to define __stub macros and hopefully few prototypes,
63231 which can conflict with char $ac_func (); below.
63232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63233 <limits.h> exists even on freestanding compilers. */
63235 #ifdef __STDC__
63236 # include <limits.h>
63237 #else
63238 # include <assert.h>
63239 #endif
63241 #undef $ac_func
63243 /* Override any gcc2 internal prototype to avoid an error. */
63244 #ifdef __cplusplus
63245 extern "C"
63247 #endif
63248 /* We use char because int might match the return type of a gcc2
63249 builtin and then its argument prototype would still apply. */
63250 char $ac_func ();
63251 /* The GNU C library defines this for functions which it implements
63252 to always fail with ENOSYS. Some functions are actually named
63253 something starting with __ and the normal name is an alias. */
63254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63255 choke me
63256 #else
63257 char (*f) () = $ac_func;
63258 #endif
63259 #ifdef __cplusplus
63261 #endif
63264 main ()
63266 return f != $ac_func;
63268 return 0;
63270 _ACEOF
63271 rm -f conftest.$ac_objext conftest$ac_exeext
63272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63273 (eval $ac_link) 2>conftest.er1
63274 ac_status=$?
63275 grep -v '^ *+' conftest.er1 >conftest.err
63276 rm -f conftest.er1
63277 cat conftest.err >&5
63278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63279 (exit $ac_status); } &&
63280 { ac_try='test -z "$ac_c_werror_flag"
63281 || test ! -s conftest.err'
63282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63283 (eval $ac_try) 2>&5
63284 ac_status=$?
63285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63286 (exit $ac_status); }; } &&
63287 { ac_try='test -s conftest$ac_exeext'
63288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63289 (eval $ac_try) 2>&5
63290 ac_status=$?
63291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63292 (exit $ac_status); }; }; then
63293 eval "$as_ac_var=yes"
63294 else
63295 echo "$as_me: failed program was:" >&5
63296 sed 's/^/| /' conftest.$ac_ext >&5
63298 eval "$as_ac_var=no"
63300 rm -f conftest.err conftest.$ac_objext \
63301 conftest$ac_exeext conftest.$ac_ext
63303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63305 if test `eval echo '${'$as_ac_var'}'` = yes; then
63306 cat >>confdefs.h <<_ACEOF
63307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63308 _ACEOF
63311 done
63313 else
63315 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
63316 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
63317 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63318 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
63319 echo $ECHO_N "(cached) $ECHO_C" >&6
63320 else
63324 ac_ext=cc
63325 ac_cpp='$CXXCPP $CPPFLAGS'
63326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63330 cat >conftest.$ac_ext <<_ACEOF
63331 /* confdefs.h. */
63332 _ACEOF
63333 cat confdefs.h >>conftest.$ac_ext
63334 cat >>conftest.$ac_ext <<_ACEOF
63335 /* end confdefs.h. */
63336 #include <math.h>
63338 main ()
63340 _hypotf(0, 0);
63342 return 0;
63344 _ACEOF
63345 rm -f conftest.$ac_objext
63346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63347 (eval $ac_compile) 2>conftest.er1
63348 ac_status=$?
63349 grep -v '^ *+' conftest.er1 >conftest.err
63350 rm -f conftest.er1
63351 cat conftest.err >&5
63352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63353 (exit $ac_status); } &&
63354 { ac_try='test -z "$ac_cxx_werror_flag"
63355 || test ! -s conftest.err'
63356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63357 (eval $ac_try) 2>&5
63358 ac_status=$?
63359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63360 (exit $ac_status); }; } &&
63361 { ac_try='test -s conftest.$ac_objext'
63362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63363 (eval $ac_try) 2>&5
63364 ac_status=$?
63365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63366 (exit $ac_status); }; }; then
63367 glibcxx_cv_func__hypotf_use=yes
63368 else
63369 echo "$as_me: failed program was:" >&5
63370 sed 's/^/| /' conftest.$ac_ext >&5
63372 glibcxx_cv_func__hypotf_use=no
63374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63375 ac_ext=c
63376 ac_cpp='$CPP $CPPFLAGS'
63377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
63386 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
63388 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63390 for ac_func in _hypotf
63392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63393 echo "$as_me:$LINENO: checking for $ac_func" >&5
63394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63395 if eval "test \"\${$as_ac_var+set}\" = set"; then
63396 echo $ECHO_N "(cached) $ECHO_C" >&6
63397 else
63398 if test x$gcc_no_link = xyes; then
63399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63401 { (exit 1); exit 1; }; }
63403 cat >conftest.$ac_ext <<_ACEOF
63404 /* confdefs.h. */
63405 _ACEOF
63406 cat confdefs.h >>conftest.$ac_ext
63407 cat >>conftest.$ac_ext <<_ACEOF
63408 /* end confdefs.h. */
63409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63411 #define $ac_func innocuous_$ac_func
63413 /* System header to define __stub macros and hopefully few prototypes,
63414 which can conflict with char $ac_func (); below.
63415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63416 <limits.h> exists even on freestanding compilers. */
63418 #ifdef __STDC__
63419 # include <limits.h>
63420 #else
63421 # include <assert.h>
63422 #endif
63424 #undef $ac_func
63426 /* Override any gcc2 internal prototype to avoid an error. */
63427 #ifdef __cplusplus
63428 extern "C"
63430 #endif
63431 /* We use char because int might match the return type of a gcc2
63432 builtin and then its argument prototype would still apply. */
63433 char $ac_func ();
63434 /* The GNU C library defines this for functions which it implements
63435 to always fail with ENOSYS. Some functions are actually named
63436 something starting with __ and the normal name is an alias. */
63437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63438 choke me
63439 #else
63440 char (*f) () = $ac_func;
63441 #endif
63442 #ifdef __cplusplus
63444 #endif
63447 main ()
63449 return f != $ac_func;
63451 return 0;
63453 _ACEOF
63454 rm -f conftest.$ac_objext conftest$ac_exeext
63455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63456 (eval $ac_link) 2>conftest.er1
63457 ac_status=$?
63458 grep -v '^ *+' conftest.er1 >conftest.err
63459 rm -f conftest.er1
63460 cat conftest.err >&5
63461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63462 (exit $ac_status); } &&
63463 { ac_try='test -z "$ac_c_werror_flag"
63464 || test ! -s conftest.err'
63465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63466 (eval $ac_try) 2>&5
63467 ac_status=$?
63468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63469 (exit $ac_status); }; } &&
63470 { ac_try='test -s conftest$ac_exeext'
63471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63472 (eval $ac_try) 2>&5
63473 ac_status=$?
63474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63475 (exit $ac_status); }; }; then
63476 eval "$as_ac_var=yes"
63477 else
63478 echo "$as_me: failed program was:" >&5
63479 sed 's/^/| /' conftest.$ac_ext >&5
63481 eval "$as_ac_var=no"
63483 rm -f conftest.err conftest.$ac_objext \
63484 conftest$ac_exeext conftest.$ac_ext
63486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63488 if test `eval echo '${'$as_ac_var'}'` = yes; then
63489 cat >>confdefs.h <<_ACEOF
63490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63491 _ACEOF
63494 done
63504 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
63505 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
63506 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63507 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
63508 echo $ECHO_N "(cached) $ECHO_C" >&6
63509 else
63513 ac_ext=cc
63514 ac_cpp='$CXXCPP $CPPFLAGS'
63515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63519 cat >conftest.$ac_ext <<_ACEOF
63520 /* confdefs.h. */
63521 _ACEOF
63522 cat confdefs.h >>conftest.$ac_ext
63523 cat >>conftest.$ac_ext <<_ACEOF
63524 /* end confdefs.h. */
63525 #include <math.h>
63527 main ()
63529 ldexpf(0, 0);
63531 return 0;
63533 _ACEOF
63534 rm -f conftest.$ac_objext
63535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63536 (eval $ac_compile) 2>conftest.er1
63537 ac_status=$?
63538 grep -v '^ *+' conftest.er1 >conftest.err
63539 rm -f conftest.er1
63540 cat conftest.err >&5
63541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63542 (exit $ac_status); } &&
63543 { ac_try='test -z "$ac_cxx_werror_flag"
63544 || test ! -s conftest.err'
63545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63546 (eval $ac_try) 2>&5
63547 ac_status=$?
63548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63549 (exit $ac_status); }; } &&
63550 { ac_try='test -s conftest.$ac_objext'
63551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63552 (eval $ac_try) 2>&5
63553 ac_status=$?
63554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63555 (exit $ac_status); }; }; then
63556 glibcxx_cv_func_ldexpf_use=yes
63557 else
63558 echo "$as_me: failed program was:" >&5
63559 sed 's/^/| /' conftest.$ac_ext >&5
63561 glibcxx_cv_func_ldexpf_use=no
63563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63564 ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
63575 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
63577 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63579 for ac_func in ldexpf
63581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63582 echo "$as_me:$LINENO: checking for $ac_func" >&5
63583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63584 if eval "test \"\${$as_ac_var+set}\" = set"; then
63585 echo $ECHO_N "(cached) $ECHO_C" >&6
63586 else
63587 if test x$gcc_no_link = xyes; then
63588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63590 { (exit 1); exit 1; }; }
63592 cat >conftest.$ac_ext <<_ACEOF
63593 /* confdefs.h. */
63594 _ACEOF
63595 cat confdefs.h >>conftest.$ac_ext
63596 cat >>conftest.$ac_ext <<_ACEOF
63597 /* end confdefs.h. */
63598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63600 #define $ac_func innocuous_$ac_func
63602 /* System header to define __stub macros and hopefully few prototypes,
63603 which can conflict with char $ac_func (); below.
63604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63605 <limits.h> exists even on freestanding compilers. */
63607 #ifdef __STDC__
63608 # include <limits.h>
63609 #else
63610 # include <assert.h>
63611 #endif
63613 #undef $ac_func
63615 /* Override any gcc2 internal prototype to avoid an error. */
63616 #ifdef __cplusplus
63617 extern "C"
63619 #endif
63620 /* We use char because int might match the return type of a gcc2
63621 builtin and then its argument prototype would still apply. */
63622 char $ac_func ();
63623 /* The GNU C library defines this for functions which it implements
63624 to always fail with ENOSYS. Some functions are actually named
63625 something starting with __ and the normal name is an alias. */
63626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63627 choke me
63628 #else
63629 char (*f) () = $ac_func;
63630 #endif
63631 #ifdef __cplusplus
63633 #endif
63636 main ()
63638 return f != $ac_func;
63640 return 0;
63642 _ACEOF
63643 rm -f conftest.$ac_objext conftest$ac_exeext
63644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63645 (eval $ac_link) 2>conftest.er1
63646 ac_status=$?
63647 grep -v '^ *+' conftest.er1 >conftest.err
63648 rm -f conftest.er1
63649 cat conftest.err >&5
63650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63651 (exit $ac_status); } &&
63652 { ac_try='test -z "$ac_c_werror_flag"
63653 || test ! -s conftest.err'
63654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63655 (eval $ac_try) 2>&5
63656 ac_status=$?
63657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63658 (exit $ac_status); }; } &&
63659 { ac_try='test -s conftest$ac_exeext'
63660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63661 (eval $ac_try) 2>&5
63662 ac_status=$?
63663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63664 (exit $ac_status); }; }; then
63665 eval "$as_ac_var=yes"
63666 else
63667 echo "$as_me: failed program was:" >&5
63668 sed 's/^/| /' conftest.$ac_ext >&5
63670 eval "$as_ac_var=no"
63672 rm -f conftest.err conftest.$ac_objext \
63673 conftest$ac_exeext conftest.$ac_ext
63675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63677 if test `eval echo '${'$as_ac_var'}'` = yes; then
63678 cat >>confdefs.h <<_ACEOF
63679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63680 _ACEOF
63683 done
63685 else
63687 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
63688 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
63689 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63690 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
63691 echo $ECHO_N "(cached) $ECHO_C" >&6
63692 else
63696 ac_ext=cc
63697 ac_cpp='$CXXCPP $CPPFLAGS'
63698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63702 cat >conftest.$ac_ext <<_ACEOF
63703 /* confdefs.h. */
63704 _ACEOF
63705 cat confdefs.h >>conftest.$ac_ext
63706 cat >>conftest.$ac_ext <<_ACEOF
63707 /* end confdefs.h. */
63708 #include <math.h>
63710 main ()
63712 _ldexpf(0, 0);
63714 return 0;
63716 _ACEOF
63717 rm -f conftest.$ac_objext
63718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63719 (eval $ac_compile) 2>conftest.er1
63720 ac_status=$?
63721 grep -v '^ *+' conftest.er1 >conftest.err
63722 rm -f conftest.er1
63723 cat conftest.err >&5
63724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63725 (exit $ac_status); } &&
63726 { ac_try='test -z "$ac_cxx_werror_flag"
63727 || test ! -s conftest.err'
63728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63729 (eval $ac_try) 2>&5
63730 ac_status=$?
63731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63732 (exit $ac_status); }; } &&
63733 { ac_try='test -s conftest.$ac_objext'
63734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63735 (eval $ac_try) 2>&5
63736 ac_status=$?
63737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738 (exit $ac_status); }; }; then
63739 glibcxx_cv_func__ldexpf_use=yes
63740 else
63741 echo "$as_me: failed program was:" >&5
63742 sed 's/^/| /' conftest.$ac_ext >&5
63744 glibcxx_cv_func__ldexpf_use=no
63746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63747 ac_ext=c
63748 ac_cpp='$CPP $CPPFLAGS'
63749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
63758 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
63760 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63762 for ac_func in _ldexpf
63764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63765 echo "$as_me:$LINENO: checking for $ac_func" >&5
63766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63767 if eval "test \"\${$as_ac_var+set}\" = set"; then
63768 echo $ECHO_N "(cached) $ECHO_C" >&6
63769 else
63770 if test x$gcc_no_link = xyes; then
63771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63773 { (exit 1); exit 1; }; }
63775 cat >conftest.$ac_ext <<_ACEOF
63776 /* confdefs.h. */
63777 _ACEOF
63778 cat confdefs.h >>conftest.$ac_ext
63779 cat >>conftest.$ac_ext <<_ACEOF
63780 /* end confdefs.h. */
63781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63783 #define $ac_func innocuous_$ac_func
63785 /* System header to define __stub macros and hopefully few prototypes,
63786 which can conflict with char $ac_func (); below.
63787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63788 <limits.h> exists even on freestanding compilers. */
63790 #ifdef __STDC__
63791 # include <limits.h>
63792 #else
63793 # include <assert.h>
63794 #endif
63796 #undef $ac_func
63798 /* Override any gcc2 internal prototype to avoid an error. */
63799 #ifdef __cplusplus
63800 extern "C"
63802 #endif
63803 /* We use char because int might match the return type of a gcc2
63804 builtin and then its argument prototype would still apply. */
63805 char $ac_func ();
63806 /* The GNU C library defines this for functions which it implements
63807 to always fail with ENOSYS. Some functions are actually named
63808 something starting with __ and the normal name is an alias. */
63809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63810 choke me
63811 #else
63812 char (*f) () = $ac_func;
63813 #endif
63814 #ifdef __cplusplus
63816 #endif
63819 main ()
63821 return f != $ac_func;
63823 return 0;
63825 _ACEOF
63826 rm -f conftest.$ac_objext conftest$ac_exeext
63827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63828 (eval $ac_link) 2>conftest.er1
63829 ac_status=$?
63830 grep -v '^ *+' conftest.er1 >conftest.err
63831 rm -f conftest.er1
63832 cat conftest.err >&5
63833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63834 (exit $ac_status); } &&
63835 { ac_try='test -z "$ac_c_werror_flag"
63836 || test ! -s conftest.err'
63837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63838 (eval $ac_try) 2>&5
63839 ac_status=$?
63840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63841 (exit $ac_status); }; } &&
63842 { ac_try='test -s conftest$ac_exeext'
63843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63844 (eval $ac_try) 2>&5
63845 ac_status=$?
63846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63847 (exit $ac_status); }; }; then
63848 eval "$as_ac_var=yes"
63849 else
63850 echo "$as_me: failed program was:" >&5
63851 sed 's/^/| /' conftest.$ac_ext >&5
63853 eval "$as_ac_var=no"
63855 rm -f conftest.err conftest.$ac_objext \
63856 conftest$ac_exeext conftest.$ac_ext
63858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63860 if test `eval echo '${'$as_ac_var'}'` = yes; then
63861 cat >>confdefs.h <<_ACEOF
63862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63863 _ACEOF
63866 done
63876 echo "$as_me:$LINENO: checking for logf declaration" >&5
63877 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
63878 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63879 if test "${glibcxx_cv_func_logf_use+set}" = set; then
63880 echo $ECHO_N "(cached) $ECHO_C" >&6
63881 else
63885 ac_ext=cc
63886 ac_cpp='$CXXCPP $CPPFLAGS'
63887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63891 cat >conftest.$ac_ext <<_ACEOF
63892 /* confdefs.h. */
63893 _ACEOF
63894 cat confdefs.h >>conftest.$ac_ext
63895 cat >>conftest.$ac_ext <<_ACEOF
63896 /* end confdefs.h. */
63897 #include <math.h>
63898 #ifdef HAVE_IEEEFP_H
63899 #include <ieeefp.h>
63900 #endif
63903 main ()
63905 logf(0);
63907 return 0;
63909 _ACEOF
63910 rm -f conftest.$ac_objext
63911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63912 (eval $ac_compile) 2>conftest.er1
63913 ac_status=$?
63914 grep -v '^ *+' conftest.er1 >conftest.err
63915 rm -f conftest.er1
63916 cat conftest.err >&5
63917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918 (exit $ac_status); } &&
63919 { ac_try='test -z "$ac_cxx_werror_flag"
63920 || test ! -s conftest.err'
63921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63922 (eval $ac_try) 2>&5
63923 ac_status=$?
63924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63925 (exit $ac_status); }; } &&
63926 { ac_try='test -s conftest.$ac_objext'
63927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63928 (eval $ac_try) 2>&5
63929 ac_status=$?
63930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931 (exit $ac_status); }; }; then
63932 glibcxx_cv_func_logf_use=yes
63933 else
63934 echo "$as_me: failed program was:" >&5
63935 sed 's/^/| /' conftest.$ac_ext >&5
63937 glibcxx_cv_func_logf_use=no
63939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63940 ac_ext=c
63941 ac_cpp='$CPP $CPPFLAGS'
63942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
63951 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
63953 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63955 for ac_func in logf
63957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63958 echo "$as_me:$LINENO: checking for $ac_func" >&5
63959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63960 if eval "test \"\${$as_ac_var+set}\" = set"; then
63961 echo $ECHO_N "(cached) $ECHO_C" >&6
63962 else
63963 if test x$gcc_no_link = xyes; then
63964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63966 { (exit 1); exit 1; }; }
63968 cat >conftest.$ac_ext <<_ACEOF
63969 /* confdefs.h. */
63970 _ACEOF
63971 cat confdefs.h >>conftest.$ac_ext
63972 cat >>conftest.$ac_ext <<_ACEOF
63973 /* end confdefs.h. */
63974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63976 #define $ac_func innocuous_$ac_func
63978 /* System header to define __stub macros and hopefully few prototypes,
63979 which can conflict with char $ac_func (); below.
63980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63981 <limits.h> exists even on freestanding compilers. */
63983 #ifdef __STDC__
63984 # include <limits.h>
63985 #else
63986 # include <assert.h>
63987 #endif
63989 #undef $ac_func
63991 /* Override any gcc2 internal prototype to avoid an error. */
63992 #ifdef __cplusplus
63993 extern "C"
63995 #endif
63996 /* We use char because int might match the return type of a gcc2
63997 builtin and then its argument prototype would still apply. */
63998 char $ac_func ();
63999 /* The GNU C library defines this for functions which it implements
64000 to always fail with ENOSYS. Some functions are actually named
64001 something starting with __ and the normal name is an alias. */
64002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64003 choke me
64004 #else
64005 char (*f) () = $ac_func;
64006 #endif
64007 #ifdef __cplusplus
64009 #endif
64012 main ()
64014 return f != $ac_func;
64016 return 0;
64018 _ACEOF
64019 rm -f conftest.$ac_objext conftest$ac_exeext
64020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64021 (eval $ac_link) 2>conftest.er1
64022 ac_status=$?
64023 grep -v '^ *+' conftest.er1 >conftest.err
64024 rm -f conftest.er1
64025 cat conftest.err >&5
64026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027 (exit $ac_status); } &&
64028 { ac_try='test -z "$ac_c_werror_flag"
64029 || test ! -s conftest.err'
64030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64031 (eval $ac_try) 2>&5
64032 ac_status=$?
64033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64034 (exit $ac_status); }; } &&
64035 { ac_try='test -s conftest$ac_exeext'
64036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64037 (eval $ac_try) 2>&5
64038 ac_status=$?
64039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64040 (exit $ac_status); }; }; then
64041 eval "$as_ac_var=yes"
64042 else
64043 echo "$as_me: failed program was:" >&5
64044 sed 's/^/| /' conftest.$ac_ext >&5
64046 eval "$as_ac_var=no"
64048 rm -f conftest.err conftest.$ac_objext \
64049 conftest$ac_exeext conftest.$ac_ext
64051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64053 if test `eval echo '${'$as_ac_var'}'` = yes; then
64054 cat >>confdefs.h <<_ACEOF
64055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64056 _ACEOF
64059 done
64061 else
64063 echo "$as_me:$LINENO: checking for _logf declaration" >&5
64064 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
64065 if test x${glibcxx_cv_func__logf_use+set} != xset; then
64066 if test "${glibcxx_cv_func__logf_use+set}" = set; then
64067 echo $ECHO_N "(cached) $ECHO_C" >&6
64068 else
64072 ac_ext=cc
64073 ac_cpp='$CXXCPP $CPPFLAGS'
64074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64078 cat >conftest.$ac_ext <<_ACEOF
64079 /* confdefs.h. */
64080 _ACEOF
64081 cat confdefs.h >>conftest.$ac_ext
64082 cat >>conftest.$ac_ext <<_ACEOF
64083 /* end confdefs.h. */
64084 #include <math.h>
64085 #ifdef HAVE_IEEEFP_H
64086 #include <ieeefp.h>
64087 #endif
64090 main ()
64092 _logf(0);
64094 return 0;
64096 _ACEOF
64097 rm -f conftest.$ac_objext
64098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64099 (eval $ac_compile) 2>conftest.er1
64100 ac_status=$?
64101 grep -v '^ *+' conftest.er1 >conftest.err
64102 rm -f conftest.er1
64103 cat conftest.err >&5
64104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64105 (exit $ac_status); } &&
64106 { ac_try='test -z "$ac_cxx_werror_flag"
64107 || test ! -s conftest.err'
64108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64109 (eval $ac_try) 2>&5
64110 ac_status=$?
64111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112 (exit $ac_status); }; } &&
64113 { ac_try='test -s conftest.$ac_objext'
64114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64115 (eval $ac_try) 2>&5
64116 ac_status=$?
64117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64118 (exit $ac_status); }; }; then
64119 glibcxx_cv_func__logf_use=yes
64120 else
64121 echo "$as_me: failed program was:" >&5
64122 sed 's/^/| /' conftest.$ac_ext >&5
64124 glibcxx_cv_func__logf_use=no
64126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64127 ac_ext=c
64128 ac_cpp='$CPP $CPPFLAGS'
64129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
64138 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
64140 if test x$glibcxx_cv_func__logf_use = x"yes"; then
64142 for ac_func in _logf
64144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64145 echo "$as_me:$LINENO: checking for $ac_func" >&5
64146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64147 if eval "test \"\${$as_ac_var+set}\" = set"; then
64148 echo $ECHO_N "(cached) $ECHO_C" >&6
64149 else
64150 if test x$gcc_no_link = xyes; then
64151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64153 { (exit 1); exit 1; }; }
64155 cat >conftest.$ac_ext <<_ACEOF
64156 /* confdefs.h. */
64157 _ACEOF
64158 cat confdefs.h >>conftest.$ac_ext
64159 cat >>conftest.$ac_ext <<_ACEOF
64160 /* end confdefs.h. */
64161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64163 #define $ac_func innocuous_$ac_func
64165 /* System header to define __stub macros and hopefully few prototypes,
64166 which can conflict with char $ac_func (); below.
64167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64168 <limits.h> exists even on freestanding compilers. */
64170 #ifdef __STDC__
64171 # include <limits.h>
64172 #else
64173 # include <assert.h>
64174 #endif
64176 #undef $ac_func
64178 /* Override any gcc2 internal prototype to avoid an error. */
64179 #ifdef __cplusplus
64180 extern "C"
64182 #endif
64183 /* We use char because int might match the return type of a gcc2
64184 builtin and then its argument prototype would still apply. */
64185 char $ac_func ();
64186 /* The GNU C library defines this for functions which it implements
64187 to always fail with ENOSYS. Some functions are actually named
64188 something starting with __ and the normal name is an alias. */
64189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64190 choke me
64191 #else
64192 char (*f) () = $ac_func;
64193 #endif
64194 #ifdef __cplusplus
64196 #endif
64199 main ()
64201 return f != $ac_func;
64203 return 0;
64205 _ACEOF
64206 rm -f conftest.$ac_objext conftest$ac_exeext
64207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64208 (eval $ac_link) 2>conftest.er1
64209 ac_status=$?
64210 grep -v '^ *+' conftest.er1 >conftest.err
64211 rm -f conftest.er1
64212 cat conftest.err >&5
64213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64214 (exit $ac_status); } &&
64215 { ac_try='test -z "$ac_c_werror_flag"
64216 || test ! -s conftest.err'
64217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64218 (eval $ac_try) 2>&5
64219 ac_status=$?
64220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64221 (exit $ac_status); }; } &&
64222 { ac_try='test -s conftest$ac_exeext'
64223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64224 (eval $ac_try) 2>&5
64225 ac_status=$?
64226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64227 (exit $ac_status); }; }; then
64228 eval "$as_ac_var=yes"
64229 else
64230 echo "$as_me: failed program was:" >&5
64231 sed 's/^/| /' conftest.$ac_ext >&5
64233 eval "$as_ac_var=no"
64235 rm -f conftest.err conftest.$ac_objext \
64236 conftest$ac_exeext conftest.$ac_ext
64238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64240 if test `eval echo '${'$as_ac_var'}'` = yes; then
64241 cat >>confdefs.h <<_ACEOF
64242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64243 _ACEOF
64246 done
64256 echo "$as_me:$LINENO: checking for log10f declaration" >&5
64257 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
64258 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
64259 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
64260 echo $ECHO_N "(cached) $ECHO_C" >&6
64261 else
64265 ac_ext=cc
64266 ac_cpp='$CXXCPP $CPPFLAGS'
64267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64271 cat >conftest.$ac_ext <<_ACEOF
64272 /* confdefs.h. */
64273 _ACEOF
64274 cat confdefs.h >>conftest.$ac_ext
64275 cat >>conftest.$ac_ext <<_ACEOF
64276 /* end confdefs.h. */
64277 #include <math.h>
64278 #ifdef HAVE_IEEEFP_H
64279 #include <ieeefp.h>
64280 #endif
64283 main ()
64285 log10f(0);
64287 return 0;
64289 _ACEOF
64290 rm -f conftest.$ac_objext
64291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64292 (eval $ac_compile) 2>conftest.er1
64293 ac_status=$?
64294 grep -v '^ *+' conftest.er1 >conftest.err
64295 rm -f conftest.er1
64296 cat conftest.err >&5
64297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64298 (exit $ac_status); } &&
64299 { ac_try='test -z "$ac_cxx_werror_flag"
64300 || test ! -s conftest.err'
64301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64302 (eval $ac_try) 2>&5
64303 ac_status=$?
64304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64305 (exit $ac_status); }; } &&
64306 { ac_try='test -s conftest.$ac_objext'
64307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64308 (eval $ac_try) 2>&5
64309 ac_status=$?
64310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64311 (exit $ac_status); }; }; then
64312 glibcxx_cv_func_log10f_use=yes
64313 else
64314 echo "$as_me: failed program was:" >&5
64315 sed 's/^/| /' conftest.$ac_ext >&5
64317 glibcxx_cv_func_log10f_use=no
64319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64320 ac_ext=c
64321 ac_cpp='$CPP $CPPFLAGS'
64322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
64331 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
64333 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
64335 for ac_func in log10f
64337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64338 echo "$as_me:$LINENO: checking for $ac_func" >&5
64339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64340 if eval "test \"\${$as_ac_var+set}\" = set"; then
64341 echo $ECHO_N "(cached) $ECHO_C" >&6
64342 else
64343 if test x$gcc_no_link = xyes; then
64344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64346 { (exit 1); exit 1; }; }
64348 cat >conftest.$ac_ext <<_ACEOF
64349 /* confdefs.h. */
64350 _ACEOF
64351 cat confdefs.h >>conftest.$ac_ext
64352 cat >>conftest.$ac_ext <<_ACEOF
64353 /* end confdefs.h. */
64354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64356 #define $ac_func innocuous_$ac_func
64358 /* System header to define __stub macros and hopefully few prototypes,
64359 which can conflict with char $ac_func (); below.
64360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64361 <limits.h> exists even on freestanding compilers. */
64363 #ifdef __STDC__
64364 # include <limits.h>
64365 #else
64366 # include <assert.h>
64367 #endif
64369 #undef $ac_func
64371 /* Override any gcc2 internal prototype to avoid an error. */
64372 #ifdef __cplusplus
64373 extern "C"
64375 #endif
64376 /* We use char because int might match the return type of a gcc2
64377 builtin and then its argument prototype would still apply. */
64378 char $ac_func ();
64379 /* The GNU C library defines this for functions which it implements
64380 to always fail with ENOSYS. Some functions are actually named
64381 something starting with __ and the normal name is an alias. */
64382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64383 choke me
64384 #else
64385 char (*f) () = $ac_func;
64386 #endif
64387 #ifdef __cplusplus
64389 #endif
64392 main ()
64394 return f != $ac_func;
64396 return 0;
64398 _ACEOF
64399 rm -f conftest.$ac_objext conftest$ac_exeext
64400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64401 (eval $ac_link) 2>conftest.er1
64402 ac_status=$?
64403 grep -v '^ *+' conftest.er1 >conftest.err
64404 rm -f conftest.er1
64405 cat conftest.err >&5
64406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64407 (exit $ac_status); } &&
64408 { ac_try='test -z "$ac_c_werror_flag"
64409 || test ! -s conftest.err'
64410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64411 (eval $ac_try) 2>&5
64412 ac_status=$?
64413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64414 (exit $ac_status); }; } &&
64415 { ac_try='test -s conftest$ac_exeext'
64416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64417 (eval $ac_try) 2>&5
64418 ac_status=$?
64419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64420 (exit $ac_status); }; }; then
64421 eval "$as_ac_var=yes"
64422 else
64423 echo "$as_me: failed program was:" >&5
64424 sed 's/^/| /' conftest.$ac_ext >&5
64426 eval "$as_ac_var=no"
64428 rm -f conftest.err conftest.$ac_objext \
64429 conftest$ac_exeext conftest.$ac_ext
64431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64433 if test `eval echo '${'$as_ac_var'}'` = yes; then
64434 cat >>confdefs.h <<_ACEOF
64435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64436 _ACEOF
64439 done
64441 else
64443 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
64444 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
64445 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
64446 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
64447 echo $ECHO_N "(cached) $ECHO_C" >&6
64448 else
64452 ac_ext=cc
64453 ac_cpp='$CXXCPP $CPPFLAGS'
64454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64458 cat >conftest.$ac_ext <<_ACEOF
64459 /* confdefs.h. */
64460 _ACEOF
64461 cat confdefs.h >>conftest.$ac_ext
64462 cat >>conftest.$ac_ext <<_ACEOF
64463 /* end confdefs.h. */
64464 #include <math.h>
64465 #ifdef HAVE_IEEEFP_H
64466 #include <ieeefp.h>
64467 #endif
64470 main ()
64472 _log10f(0);
64474 return 0;
64476 _ACEOF
64477 rm -f conftest.$ac_objext
64478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64479 (eval $ac_compile) 2>conftest.er1
64480 ac_status=$?
64481 grep -v '^ *+' conftest.er1 >conftest.err
64482 rm -f conftest.er1
64483 cat conftest.err >&5
64484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64485 (exit $ac_status); } &&
64486 { ac_try='test -z "$ac_cxx_werror_flag"
64487 || test ! -s conftest.err'
64488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64489 (eval $ac_try) 2>&5
64490 ac_status=$?
64491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64492 (exit $ac_status); }; } &&
64493 { ac_try='test -s conftest.$ac_objext'
64494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64495 (eval $ac_try) 2>&5
64496 ac_status=$?
64497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64498 (exit $ac_status); }; }; then
64499 glibcxx_cv_func__log10f_use=yes
64500 else
64501 echo "$as_me: failed program was:" >&5
64502 sed 's/^/| /' conftest.$ac_ext >&5
64504 glibcxx_cv_func__log10f_use=no
64506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64507 ac_ext=c
64508 ac_cpp='$CPP $CPPFLAGS'
64509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
64518 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
64520 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
64522 for ac_func in _log10f
64524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64525 echo "$as_me:$LINENO: checking for $ac_func" >&5
64526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64527 if eval "test \"\${$as_ac_var+set}\" = set"; then
64528 echo $ECHO_N "(cached) $ECHO_C" >&6
64529 else
64530 if test x$gcc_no_link = xyes; then
64531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64533 { (exit 1); exit 1; }; }
64535 cat >conftest.$ac_ext <<_ACEOF
64536 /* confdefs.h. */
64537 _ACEOF
64538 cat confdefs.h >>conftest.$ac_ext
64539 cat >>conftest.$ac_ext <<_ACEOF
64540 /* end confdefs.h. */
64541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64543 #define $ac_func innocuous_$ac_func
64545 /* System header to define __stub macros and hopefully few prototypes,
64546 which can conflict with char $ac_func (); below.
64547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64548 <limits.h> exists even on freestanding compilers. */
64550 #ifdef __STDC__
64551 # include <limits.h>
64552 #else
64553 # include <assert.h>
64554 #endif
64556 #undef $ac_func
64558 /* Override any gcc2 internal prototype to avoid an error. */
64559 #ifdef __cplusplus
64560 extern "C"
64562 #endif
64563 /* We use char because int might match the return type of a gcc2
64564 builtin and then its argument prototype would still apply. */
64565 char $ac_func ();
64566 /* The GNU C library defines this for functions which it implements
64567 to always fail with ENOSYS. Some functions are actually named
64568 something starting with __ and the normal name is an alias. */
64569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64570 choke me
64571 #else
64572 char (*f) () = $ac_func;
64573 #endif
64574 #ifdef __cplusplus
64576 #endif
64579 main ()
64581 return f != $ac_func;
64583 return 0;
64585 _ACEOF
64586 rm -f conftest.$ac_objext conftest$ac_exeext
64587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64588 (eval $ac_link) 2>conftest.er1
64589 ac_status=$?
64590 grep -v '^ *+' conftest.er1 >conftest.err
64591 rm -f conftest.er1
64592 cat conftest.err >&5
64593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64594 (exit $ac_status); } &&
64595 { ac_try='test -z "$ac_c_werror_flag"
64596 || test ! -s conftest.err'
64597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64598 (eval $ac_try) 2>&5
64599 ac_status=$?
64600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64601 (exit $ac_status); }; } &&
64602 { ac_try='test -s conftest$ac_exeext'
64603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64604 (eval $ac_try) 2>&5
64605 ac_status=$?
64606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64607 (exit $ac_status); }; }; then
64608 eval "$as_ac_var=yes"
64609 else
64610 echo "$as_me: failed program was:" >&5
64611 sed 's/^/| /' conftest.$ac_ext >&5
64613 eval "$as_ac_var=no"
64615 rm -f conftest.err conftest.$ac_objext \
64616 conftest$ac_exeext conftest.$ac_ext
64618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64620 if test `eval echo '${'$as_ac_var'}'` = yes; then
64621 cat >>confdefs.h <<_ACEOF
64622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64623 _ACEOF
64626 done
64636 echo "$as_me:$LINENO: checking for modff declaration" >&5
64637 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
64638 if test x${glibcxx_cv_func_modff_use+set} != xset; then
64639 if test "${glibcxx_cv_func_modff_use+set}" = set; then
64640 echo $ECHO_N "(cached) $ECHO_C" >&6
64641 else
64645 ac_ext=cc
64646 ac_cpp='$CXXCPP $CPPFLAGS'
64647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64651 cat >conftest.$ac_ext <<_ACEOF
64652 /* confdefs.h. */
64653 _ACEOF
64654 cat confdefs.h >>conftest.$ac_ext
64655 cat >>conftest.$ac_ext <<_ACEOF
64656 /* end confdefs.h. */
64657 #include <math.h>
64659 main ()
64661 modff(0, 0);
64663 return 0;
64665 _ACEOF
64666 rm -f conftest.$ac_objext
64667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64668 (eval $ac_compile) 2>conftest.er1
64669 ac_status=$?
64670 grep -v '^ *+' conftest.er1 >conftest.err
64671 rm -f conftest.er1
64672 cat conftest.err >&5
64673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64674 (exit $ac_status); } &&
64675 { ac_try='test -z "$ac_cxx_werror_flag"
64676 || test ! -s conftest.err'
64677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64678 (eval $ac_try) 2>&5
64679 ac_status=$?
64680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64681 (exit $ac_status); }; } &&
64682 { ac_try='test -s conftest.$ac_objext'
64683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64684 (eval $ac_try) 2>&5
64685 ac_status=$?
64686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64687 (exit $ac_status); }; }; then
64688 glibcxx_cv_func_modff_use=yes
64689 else
64690 echo "$as_me: failed program was:" >&5
64691 sed 's/^/| /' conftest.$ac_ext >&5
64693 glibcxx_cv_func_modff_use=no
64695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64696 ac_ext=c
64697 ac_cpp='$CPP $CPPFLAGS'
64698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
64707 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
64709 if test x$glibcxx_cv_func_modff_use = x"yes"; then
64711 for ac_func in modff
64713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64714 echo "$as_me:$LINENO: checking for $ac_func" >&5
64715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64716 if eval "test \"\${$as_ac_var+set}\" = set"; then
64717 echo $ECHO_N "(cached) $ECHO_C" >&6
64718 else
64719 if test x$gcc_no_link = xyes; then
64720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64722 { (exit 1); exit 1; }; }
64724 cat >conftest.$ac_ext <<_ACEOF
64725 /* confdefs.h. */
64726 _ACEOF
64727 cat confdefs.h >>conftest.$ac_ext
64728 cat >>conftest.$ac_ext <<_ACEOF
64729 /* end confdefs.h. */
64730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64732 #define $ac_func innocuous_$ac_func
64734 /* System header to define __stub macros and hopefully few prototypes,
64735 which can conflict with char $ac_func (); below.
64736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64737 <limits.h> exists even on freestanding compilers. */
64739 #ifdef __STDC__
64740 # include <limits.h>
64741 #else
64742 # include <assert.h>
64743 #endif
64745 #undef $ac_func
64747 /* Override any gcc2 internal prototype to avoid an error. */
64748 #ifdef __cplusplus
64749 extern "C"
64751 #endif
64752 /* We use char because int might match the return type of a gcc2
64753 builtin and then its argument prototype would still apply. */
64754 char $ac_func ();
64755 /* The GNU C library defines this for functions which it implements
64756 to always fail with ENOSYS. Some functions are actually named
64757 something starting with __ and the normal name is an alias. */
64758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64759 choke me
64760 #else
64761 char (*f) () = $ac_func;
64762 #endif
64763 #ifdef __cplusplus
64765 #endif
64768 main ()
64770 return f != $ac_func;
64772 return 0;
64774 _ACEOF
64775 rm -f conftest.$ac_objext conftest$ac_exeext
64776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64777 (eval $ac_link) 2>conftest.er1
64778 ac_status=$?
64779 grep -v '^ *+' conftest.er1 >conftest.err
64780 rm -f conftest.er1
64781 cat conftest.err >&5
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); } &&
64784 { ac_try='test -z "$ac_c_werror_flag"
64785 || test ! -s conftest.err'
64786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64787 (eval $ac_try) 2>&5
64788 ac_status=$?
64789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64790 (exit $ac_status); }; } &&
64791 { ac_try='test -s conftest$ac_exeext'
64792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64793 (eval $ac_try) 2>&5
64794 ac_status=$?
64795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64796 (exit $ac_status); }; }; then
64797 eval "$as_ac_var=yes"
64798 else
64799 echo "$as_me: failed program was:" >&5
64800 sed 's/^/| /' conftest.$ac_ext >&5
64802 eval "$as_ac_var=no"
64804 rm -f conftest.err conftest.$ac_objext \
64805 conftest$ac_exeext conftest.$ac_ext
64807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64809 if test `eval echo '${'$as_ac_var'}'` = yes; then
64810 cat >>confdefs.h <<_ACEOF
64811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64812 _ACEOF
64815 done
64817 else
64819 echo "$as_me:$LINENO: checking for _modff declaration" >&5
64820 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
64821 if test x${glibcxx_cv_func__modff_use+set} != xset; then
64822 if test "${glibcxx_cv_func__modff_use+set}" = set; then
64823 echo $ECHO_N "(cached) $ECHO_C" >&6
64824 else
64828 ac_ext=cc
64829 ac_cpp='$CXXCPP $CPPFLAGS'
64830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64834 cat >conftest.$ac_ext <<_ACEOF
64835 /* confdefs.h. */
64836 _ACEOF
64837 cat confdefs.h >>conftest.$ac_ext
64838 cat >>conftest.$ac_ext <<_ACEOF
64839 /* end confdefs.h. */
64840 #include <math.h>
64842 main ()
64844 _modff(0, 0);
64846 return 0;
64848 _ACEOF
64849 rm -f conftest.$ac_objext
64850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64851 (eval $ac_compile) 2>conftest.er1
64852 ac_status=$?
64853 grep -v '^ *+' conftest.er1 >conftest.err
64854 rm -f conftest.er1
64855 cat conftest.err >&5
64856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64857 (exit $ac_status); } &&
64858 { ac_try='test -z "$ac_cxx_werror_flag"
64859 || test ! -s conftest.err'
64860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64861 (eval $ac_try) 2>&5
64862 ac_status=$?
64863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864 (exit $ac_status); }; } &&
64865 { ac_try='test -s conftest.$ac_objext'
64866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64867 (eval $ac_try) 2>&5
64868 ac_status=$?
64869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64870 (exit $ac_status); }; }; then
64871 glibcxx_cv_func__modff_use=yes
64872 else
64873 echo "$as_me: failed program was:" >&5
64874 sed 's/^/| /' conftest.$ac_ext >&5
64876 glibcxx_cv_func__modff_use=no
64878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64879 ac_ext=c
64880 ac_cpp='$CPP $CPPFLAGS'
64881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
64890 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
64892 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64894 for ac_func in _modff
64896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64897 echo "$as_me:$LINENO: checking for $ac_func" >&5
64898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64899 if eval "test \"\${$as_ac_var+set}\" = set"; then
64900 echo $ECHO_N "(cached) $ECHO_C" >&6
64901 else
64902 if test x$gcc_no_link = xyes; then
64903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64905 { (exit 1); exit 1; }; }
64907 cat >conftest.$ac_ext <<_ACEOF
64908 /* confdefs.h. */
64909 _ACEOF
64910 cat confdefs.h >>conftest.$ac_ext
64911 cat >>conftest.$ac_ext <<_ACEOF
64912 /* end confdefs.h. */
64913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64915 #define $ac_func innocuous_$ac_func
64917 /* System header to define __stub macros and hopefully few prototypes,
64918 which can conflict with char $ac_func (); below.
64919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64920 <limits.h> exists even on freestanding compilers. */
64922 #ifdef __STDC__
64923 # include <limits.h>
64924 #else
64925 # include <assert.h>
64926 #endif
64928 #undef $ac_func
64930 /* Override any gcc2 internal prototype to avoid an error. */
64931 #ifdef __cplusplus
64932 extern "C"
64934 #endif
64935 /* We use char because int might match the return type of a gcc2
64936 builtin and then its argument prototype would still apply. */
64937 char $ac_func ();
64938 /* The GNU C library defines this for functions which it implements
64939 to always fail with ENOSYS. Some functions are actually named
64940 something starting with __ and the normal name is an alias. */
64941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64942 choke me
64943 #else
64944 char (*f) () = $ac_func;
64945 #endif
64946 #ifdef __cplusplus
64948 #endif
64951 main ()
64953 return f != $ac_func;
64955 return 0;
64957 _ACEOF
64958 rm -f conftest.$ac_objext conftest$ac_exeext
64959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64960 (eval $ac_link) 2>conftest.er1
64961 ac_status=$?
64962 grep -v '^ *+' conftest.er1 >conftest.err
64963 rm -f conftest.er1
64964 cat conftest.err >&5
64965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64966 (exit $ac_status); } &&
64967 { ac_try='test -z "$ac_c_werror_flag"
64968 || test ! -s conftest.err'
64969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64970 (eval $ac_try) 2>&5
64971 ac_status=$?
64972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64973 (exit $ac_status); }; } &&
64974 { ac_try='test -s conftest$ac_exeext'
64975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64976 (eval $ac_try) 2>&5
64977 ac_status=$?
64978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64979 (exit $ac_status); }; }; then
64980 eval "$as_ac_var=yes"
64981 else
64982 echo "$as_me: failed program was:" >&5
64983 sed 's/^/| /' conftest.$ac_ext >&5
64985 eval "$as_ac_var=no"
64987 rm -f conftest.err conftest.$ac_objext \
64988 conftest$ac_exeext conftest.$ac_ext
64990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64992 if test `eval echo '${'$as_ac_var'}'` = yes; then
64993 cat >>confdefs.h <<_ACEOF
64994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64995 _ACEOF
64998 done
65008 echo "$as_me:$LINENO: checking for modf declaration" >&5
65009 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
65010 if test x${glibcxx_cv_func_modf_use+set} != xset; then
65011 if test "${glibcxx_cv_func_modf_use+set}" = set; then
65012 echo $ECHO_N "(cached) $ECHO_C" >&6
65013 else
65017 ac_ext=cc
65018 ac_cpp='$CXXCPP $CPPFLAGS'
65019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65023 cat >conftest.$ac_ext <<_ACEOF
65024 /* confdefs.h. */
65025 _ACEOF
65026 cat confdefs.h >>conftest.$ac_ext
65027 cat >>conftest.$ac_ext <<_ACEOF
65028 /* end confdefs.h. */
65029 #include <math.h>
65031 main ()
65033 modf(0, 0);
65035 return 0;
65037 _ACEOF
65038 rm -f conftest.$ac_objext
65039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65040 (eval $ac_compile) 2>conftest.er1
65041 ac_status=$?
65042 grep -v '^ *+' conftest.er1 >conftest.err
65043 rm -f conftest.er1
65044 cat conftest.err >&5
65045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65046 (exit $ac_status); } &&
65047 { ac_try='test -z "$ac_cxx_werror_flag"
65048 || test ! -s conftest.err'
65049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65050 (eval $ac_try) 2>&5
65051 ac_status=$?
65052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65053 (exit $ac_status); }; } &&
65054 { ac_try='test -s conftest.$ac_objext'
65055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65056 (eval $ac_try) 2>&5
65057 ac_status=$?
65058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65059 (exit $ac_status); }; }; then
65060 glibcxx_cv_func_modf_use=yes
65061 else
65062 echo "$as_me: failed program was:" >&5
65063 sed 's/^/| /' conftest.$ac_ext >&5
65065 glibcxx_cv_func_modf_use=no
65067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65068 ac_ext=c
65069 ac_cpp='$CPP $CPPFLAGS'
65070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
65079 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
65081 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65083 for ac_func in modf
65085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65086 echo "$as_me:$LINENO: checking for $ac_func" >&5
65087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65088 if eval "test \"\${$as_ac_var+set}\" = set"; then
65089 echo $ECHO_N "(cached) $ECHO_C" >&6
65090 else
65091 if test x$gcc_no_link = xyes; then
65092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65094 { (exit 1); exit 1; }; }
65096 cat >conftest.$ac_ext <<_ACEOF
65097 /* confdefs.h. */
65098 _ACEOF
65099 cat confdefs.h >>conftest.$ac_ext
65100 cat >>conftest.$ac_ext <<_ACEOF
65101 /* end confdefs.h. */
65102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65104 #define $ac_func innocuous_$ac_func
65106 /* System header to define __stub macros and hopefully few prototypes,
65107 which can conflict with char $ac_func (); below.
65108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65109 <limits.h> exists even on freestanding compilers. */
65111 #ifdef __STDC__
65112 # include <limits.h>
65113 #else
65114 # include <assert.h>
65115 #endif
65117 #undef $ac_func
65119 /* Override any gcc2 internal prototype to avoid an error. */
65120 #ifdef __cplusplus
65121 extern "C"
65123 #endif
65124 /* We use char because int might match the return type of a gcc2
65125 builtin and then its argument prototype would still apply. */
65126 char $ac_func ();
65127 /* The GNU C library defines this for functions which it implements
65128 to always fail with ENOSYS. Some functions are actually named
65129 something starting with __ and the normal name is an alias. */
65130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65131 choke me
65132 #else
65133 char (*f) () = $ac_func;
65134 #endif
65135 #ifdef __cplusplus
65137 #endif
65140 main ()
65142 return f != $ac_func;
65144 return 0;
65146 _ACEOF
65147 rm -f conftest.$ac_objext conftest$ac_exeext
65148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65149 (eval $ac_link) 2>conftest.er1
65150 ac_status=$?
65151 grep -v '^ *+' conftest.er1 >conftest.err
65152 rm -f conftest.er1
65153 cat conftest.err >&5
65154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65155 (exit $ac_status); } &&
65156 { ac_try='test -z "$ac_c_werror_flag"
65157 || test ! -s conftest.err'
65158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65159 (eval $ac_try) 2>&5
65160 ac_status=$?
65161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65162 (exit $ac_status); }; } &&
65163 { ac_try='test -s conftest$ac_exeext'
65164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65165 (eval $ac_try) 2>&5
65166 ac_status=$?
65167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65168 (exit $ac_status); }; }; then
65169 eval "$as_ac_var=yes"
65170 else
65171 echo "$as_me: failed program was:" >&5
65172 sed 's/^/| /' conftest.$ac_ext >&5
65174 eval "$as_ac_var=no"
65176 rm -f conftest.err conftest.$ac_objext \
65177 conftest$ac_exeext conftest.$ac_ext
65179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65181 if test `eval echo '${'$as_ac_var'}'` = yes; then
65182 cat >>confdefs.h <<_ACEOF
65183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65184 _ACEOF
65187 done
65189 else
65191 echo "$as_me:$LINENO: checking for _modf declaration" >&5
65192 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
65193 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65194 if test "${glibcxx_cv_func__modf_use+set}" = set; then
65195 echo $ECHO_N "(cached) $ECHO_C" >&6
65196 else
65200 ac_ext=cc
65201 ac_cpp='$CXXCPP $CPPFLAGS'
65202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65206 cat >conftest.$ac_ext <<_ACEOF
65207 /* confdefs.h. */
65208 _ACEOF
65209 cat confdefs.h >>conftest.$ac_ext
65210 cat >>conftest.$ac_ext <<_ACEOF
65211 /* end confdefs.h. */
65212 #include <math.h>
65214 main ()
65216 _modf(0, 0);
65218 return 0;
65220 _ACEOF
65221 rm -f conftest.$ac_objext
65222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65223 (eval $ac_compile) 2>conftest.er1
65224 ac_status=$?
65225 grep -v '^ *+' conftest.er1 >conftest.err
65226 rm -f conftest.er1
65227 cat conftest.err >&5
65228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229 (exit $ac_status); } &&
65230 { ac_try='test -z "$ac_cxx_werror_flag"
65231 || test ! -s conftest.err'
65232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65233 (eval $ac_try) 2>&5
65234 ac_status=$?
65235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65236 (exit $ac_status); }; } &&
65237 { ac_try='test -s conftest.$ac_objext'
65238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65239 (eval $ac_try) 2>&5
65240 ac_status=$?
65241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65242 (exit $ac_status); }; }; then
65243 glibcxx_cv_func__modf_use=yes
65244 else
65245 echo "$as_me: failed program was:" >&5
65246 sed 's/^/| /' conftest.$ac_ext >&5
65248 glibcxx_cv_func__modf_use=no
65250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65251 ac_ext=c
65252 ac_cpp='$CPP $CPPFLAGS'
65253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
65262 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
65264 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65266 for ac_func in _modf
65268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65269 echo "$as_me:$LINENO: checking for $ac_func" >&5
65270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65271 if eval "test \"\${$as_ac_var+set}\" = set"; then
65272 echo $ECHO_N "(cached) $ECHO_C" >&6
65273 else
65274 if test x$gcc_no_link = xyes; then
65275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65277 { (exit 1); exit 1; }; }
65279 cat >conftest.$ac_ext <<_ACEOF
65280 /* confdefs.h. */
65281 _ACEOF
65282 cat confdefs.h >>conftest.$ac_ext
65283 cat >>conftest.$ac_ext <<_ACEOF
65284 /* end confdefs.h. */
65285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65287 #define $ac_func innocuous_$ac_func
65289 /* System header to define __stub macros and hopefully few prototypes,
65290 which can conflict with char $ac_func (); below.
65291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65292 <limits.h> exists even on freestanding compilers. */
65294 #ifdef __STDC__
65295 # include <limits.h>
65296 #else
65297 # include <assert.h>
65298 #endif
65300 #undef $ac_func
65302 /* Override any gcc2 internal prototype to avoid an error. */
65303 #ifdef __cplusplus
65304 extern "C"
65306 #endif
65307 /* We use char because int might match the return type of a gcc2
65308 builtin and then its argument prototype would still apply. */
65309 char $ac_func ();
65310 /* The GNU C library defines this for functions which it implements
65311 to always fail with ENOSYS. Some functions are actually named
65312 something starting with __ and the normal name is an alias. */
65313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65314 choke me
65315 #else
65316 char (*f) () = $ac_func;
65317 #endif
65318 #ifdef __cplusplus
65320 #endif
65323 main ()
65325 return f != $ac_func;
65327 return 0;
65329 _ACEOF
65330 rm -f conftest.$ac_objext conftest$ac_exeext
65331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65332 (eval $ac_link) 2>conftest.er1
65333 ac_status=$?
65334 grep -v '^ *+' conftest.er1 >conftest.err
65335 rm -f conftest.er1
65336 cat conftest.err >&5
65337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65338 (exit $ac_status); } &&
65339 { ac_try='test -z "$ac_c_werror_flag"
65340 || test ! -s conftest.err'
65341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65342 (eval $ac_try) 2>&5
65343 ac_status=$?
65344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65345 (exit $ac_status); }; } &&
65346 { ac_try='test -s conftest$ac_exeext'
65347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65348 (eval $ac_try) 2>&5
65349 ac_status=$?
65350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65351 (exit $ac_status); }; }; then
65352 eval "$as_ac_var=yes"
65353 else
65354 echo "$as_me: failed program was:" >&5
65355 sed 's/^/| /' conftest.$ac_ext >&5
65357 eval "$as_ac_var=no"
65359 rm -f conftest.err conftest.$ac_objext \
65360 conftest$ac_exeext conftest.$ac_ext
65362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65364 if test `eval echo '${'$as_ac_var'}'` = yes; then
65365 cat >>confdefs.h <<_ACEOF
65366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65367 _ACEOF
65370 done
65380 echo "$as_me:$LINENO: checking for powf declaration" >&5
65381 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
65382 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65383 if test "${glibcxx_cv_func_powf_use+set}" = set; then
65384 echo $ECHO_N "(cached) $ECHO_C" >&6
65385 else
65389 ac_ext=cc
65390 ac_cpp='$CXXCPP $CPPFLAGS'
65391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65395 cat >conftest.$ac_ext <<_ACEOF
65396 /* confdefs.h. */
65397 _ACEOF
65398 cat confdefs.h >>conftest.$ac_ext
65399 cat >>conftest.$ac_ext <<_ACEOF
65400 /* end confdefs.h. */
65401 #include <math.h>
65403 main ()
65405 powf(0, 0);
65407 return 0;
65409 _ACEOF
65410 rm -f conftest.$ac_objext
65411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65412 (eval $ac_compile) 2>conftest.er1
65413 ac_status=$?
65414 grep -v '^ *+' conftest.er1 >conftest.err
65415 rm -f conftest.er1
65416 cat conftest.err >&5
65417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65418 (exit $ac_status); } &&
65419 { ac_try='test -z "$ac_cxx_werror_flag"
65420 || test ! -s conftest.err'
65421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65422 (eval $ac_try) 2>&5
65423 ac_status=$?
65424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425 (exit $ac_status); }; } &&
65426 { ac_try='test -s conftest.$ac_objext'
65427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65428 (eval $ac_try) 2>&5
65429 ac_status=$?
65430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431 (exit $ac_status); }; }; then
65432 glibcxx_cv_func_powf_use=yes
65433 else
65434 echo "$as_me: failed program was:" >&5
65435 sed 's/^/| /' conftest.$ac_ext >&5
65437 glibcxx_cv_func_powf_use=no
65439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65440 ac_ext=c
65441 ac_cpp='$CPP $CPPFLAGS'
65442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
65451 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
65453 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65455 for ac_func in powf
65457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65458 echo "$as_me:$LINENO: checking for $ac_func" >&5
65459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65460 if eval "test \"\${$as_ac_var+set}\" = set"; then
65461 echo $ECHO_N "(cached) $ECHO_C" >&6
65462 else
65463 if test x$gcc_no_link = xyes; then
65464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65466 { (exit 1); exit 1; }; }
65468 cat >conftest.$ac_ext <<_ACEOF
65469 /* confdefs.h. */
65470 _ACEOF
65471 cat confdefs.h >>conftest.$ac_ext
65472 cat >>conftest.$ac_ext <<_ACEOF
65473 /* end confdefs.h. */
65474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65476 #define $ac_func innocuous_$ac_func
65478 /* System header to define __stub macros and hopefully few prototypes,
65479 which can conflict with char $ac_func (); below.
65480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65481 <limits.h> exists even on freestanding compilers. */
65483 #ifdef __STDC__
65484 # include <limits.h>
65485 #else
65486 # include <assert.h>
65487 #endif
65489 #undef $ac_func
65491 /* Override any gcc2 internal prototype to avoid an error. */
65492 #ifdef __cplusplus
65493 extern "C"
65495 #endif
65496 /* We use char because int might match the return type of a gcc2
65497 builtin and then its argument prototype would still apply. */
65498 char $ac_func ();
65499 /* The GNU C library defines this for functions which it implements
65500 to always fail with ENOSYS. Some functions are actually named
65501 something starting with __ and the normal name is an alias. */
65502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65503 choke me
65504 #else
65505 char (*f) () = $ac_func;
65506 #endif
65507 #ifdef __cplusplus
65509 #endif
65512 main ()
65514 return f != $ac_func;
65516 return 0;
65518 _ACEOF
65519 rm -f conftest.$ac_objext conftest$ac_exeext
65520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65521 (eval $ac_link) 2>conftest.er1
65522 ac_status=$?
65523 grep -v '^ *+' conftest.er1 >conftest.err
65524 rm -f conftest.er1
65525 cat conftest.err >&5
65526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65527 (exit $ac_status); } &&
65528 { ac_try='test -z "$ac_c_werror_flag"
65529 || test ! -s conftest.err'
65530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65531 (eval $ac_try) 2>&5
65532 ac_status=$?
65533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65534 (exit $ac_status); }; } &&
65535 { ac_try='test -s conftest$ac_exeext'
65536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65537 (eval $ac_try) 2>&5
65538 ac_status=$?
65539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65540 (exit $ac_status); }; }; then
65541 eval "$as_ac_var=yes"
65542 else
65543 echo "$as_me: failed program was:" >&5
65544 sed 's/^/| /' conftest.$ac_ext >&5
65546 eval "$as_ac_var=no"
65548 rm -f conftest.err conftest.$ac_objext \
65549 conftest$ac_exeext conftest.$ac_ext
65551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65553 if test `eval echo '${'$as_ac_var'}'` = yes; then
65554 cat >>confdefs.h <<_ACEOF
65555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65556 _ACEOF
65559 done
65561 else
65563 echo "$as_me:$LINENO: checking for _powf declaration" >&5
65564 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
65565 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65566 if test "${glibcxx_cv_func__powf_use+set}" = set; then
65567 echo $ECHO_N "(cached) $ECHO_C" >&6
65568 else
65572 ac_ext=cc
65573 ac_cpp='$CXXCPP $CPPFLAGS'
65574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65578 cat >conftest.$ac_ext <<_ACEOF
65579 /* confdefs.h. */
65580 _ACEOF
65581 cat confdefs.h >>conftest.$ac_ext
65582 cat >>conftest.$ac_ext <<_ACEOF
65583 /* end confdefs.h. */
65584 #include <math.h>
65586 main ()
65588 _powf(0, 0);
65590 return 0;
65592 _ACEOF
65593 rm -f conftest.$ac_objext
65594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65595 (eval $ac_compile) 2>conftest.er1
65596 ac_status=$?
65597 grep -v '^ *+' conftest.er1 >conftest.err
65598 rm -f conftest.er1
65599 cat conftest.err >&5
65600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65601 (exit $ac_status); } &&
65602 { ac_try='test -z "$ac_cxx_werror_flag"
65603 || test ! -s conftest.err'
65604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65605 (eval $ac_try) 2>&5
65606 ac_status=$?
65607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65608 (exit $ac_status); }; } &&
65609 { ac_try='test -s conftest.$ac_objext'
65610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65611 (eval $ac_try) 2>&5
65612 ac_status=$?
65613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614 (exit $ac_status); }; }; then
65615 glibcxx_cv_func__powf_use=yes
65616 else
65617 echo "$as_me: failed program was:" >&5
65618 sed 's/^/| /' conftest.$ac_ext >&5
65620 glibcxx_cv_func__powf_use=no
65622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65623 ac_ext=c
65624 ac_cpp='$CPP $CPPFLAGS'
65625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
65634 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
65636 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65638 for ac_func in _powf
65640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65641 echo "$as_me:$LINENO: checking for $ac_func" >&5
65642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65643 if eval "test \"\${$as_ac_var+set}\" = set"; then
65644 echo $ECHO_N "(cached) $ECHO_C" >&6
65645 else
65646 if test x$gcc_no_link = xyes; then
65647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65649 { (exit 1); exit 1; }; }
65651 cat >conftest.$ac_ext <<_ACEOF
65652 /* confdefs.h. */
65653 _ACEOF
65654 cat confdefs.h >>conftest.$ac_ext
65655 cat >>conftest.$ac_ext <<_ACEOF
65656 /* end confdefs.h. */
65657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65659 #define $ac_func innocuous_$ac_func
65661 /* System header to define __stub macros and hopefully few prototypes,
65662 which can conflict with char $ac_func (); below.
65663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65664 <limits.h> exists even on freestanding compilers. */
65666 #ifdef __STDC__
65667 # include <limits.h>
65668 #else
65669 # include <assert.h>
65670 #endif
65672 #undef $ac_func
65674 /* Override any gcc2 internal prototype to avoid an error. */
65675 #ifdef __cplusplus
65676 extern "C"
65678 #endif
65679 /* We use char because int might match the return type of a gcc2
65680 builtin and then its argument prototype would still apply. */
65681 char $ac_func ();
65682 /* The GNU C library defines this for functions which it implements
65683 to always fail with ENOSYS. Some functions are actually named
65684 something starting with __ and the normal name is an alias. */
65685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65686 choke me
65687 #else
65688 char (*f) () = $ac_func;
65689 #endif
65690 #ifdef __cplusplus
65692 #endif
65695 main ()
65697 return f != $ac_func;
65699 return 0;
65701 _ACEOF
65702 rm -f conftest.$ac_objext conftest$ac_exeext
65703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65704 (eval $ac_link) 2>conftest.er1
65705 ac_status=$?
65706 grep -v '^ *+' conftest.er1 >conftest.err
65707 rm -f conftest.er1
65708 cat conftest.err >&5
65709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65710 (exit $ac_status); } &&
65711 { ac_try='test -z "$ac_c_werror_flag"
65712 || test ! -s conftest.err'
65713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65714 (eval $ac_try) 2>&5
65715 ac_status=$?
65716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65717 (exit $ac_status); }; } &&
65718 { ac_try='test -s conftest$ac_exeext'
65719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65720 (eval $ac_try) 2>&5
65721 ac_status=$?
65722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65723 (exit $ac_status); }; }; then
65724 eval "$as_ac_var=yes"
65725 else
65726 echo "$as_me: failed program was:" >&5
65727 sed 's/^/| /' conftest.$ac_ext >&5
65729 eval "$as_ac_var=no"
65731 rm -f conftest.err conftest.$ac_objext \
65732 conftest$ac_exeext conftest.$ac_ext
65734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65736 if test `eval echo '${'$as_ac_var'}'` = yes; then
65737 cat >>confdefs.h <<_ACEOF
65738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65739 _ACEOF
65742 done
65752 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
65753 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
65754 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65755 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
65756 echo $ECHO_N "(cached) $ECHO_C" >&6
65757 else
65761 ac_ext=cc
65762 ac_cpp='$CXXCPP $CPPFLAGS'
65763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65767 cat >conftest.$ac_ext <<_ACEOF
65768 /* confdefs.h. */
65769 _ACEOF
65770 cat confdefs.h >>conftest.$ac_ext
65771 cat >>conftest.$ac_ext <<_ACEOF
65772 /* end confdefs.h. */
65773 #include <math.h>
65774 #ifdef HAVE_IEEEFP_H
65775 #include <ieeefp.h>
65776 #endif
65779 main ()
65781 sqrtf(0);
65783 return 0;
65785 _ACEOF
65786 rm -f conftest.$ac_objext
65787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65788 (eval $ac_compile) 2>conftest.er1
65789 ac_status=$?
65790 grep -v '^ *+' conftest.er1 >conftest.err
65791 rm -f conftest.er1
65792 cat conftest.err >&5
65793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 (exit $ac_status); } &&
65795 { ac_try='test -z "$ac_cxx_werror_flag"
65796 || test ! -s conftest.err'
65797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65798 (eval $ac_try) 2>&5
65799 ac_status=$?
65800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65801 (exit $ac_status); }; } &&
65802 { ac_try='test -s conftest.$ac_objext'
65803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65804 (eval $ac_try) 2>&5
65805 ac_status=$?
65806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65807 (exit $ac_status); }; }; then
65808 glibcxx_cv_func_sqrtf_use=yes
65809 else
65810 echo "$as_me: failed program was:" >&5
65811 sed 's/^/| /' conftest.$ac_ext >&5
65813 glibcxx_cv_func_sqrtf_use=no
65815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65816 ac_ext=c
65817 ac_cpp='$CPP $CPPFLAGS'
65818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
65827 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
65829 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65831 for ac_func in sqrtf
65833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65834 echo "$as_me:$LINENO: checking for $ac_func" >&5
65835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65836 if eval "test \"\${$as_ac_var+set}\" = set"; then
65837 echo $ECHO_N "(cached) $ECHO_C" >&6
65838 else
65839 if test x$gcc_no_link = xyes; then
65840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65842 { (exit 1); exit 1; }; }
65844 cat >conftest.$ac_ext <<_ACEOF
65845 /* confdefs.h. */
65846 _ACEOF
65847 cat confdefs.h >>conftest.$ac_ext
65848 cat >>conftest.$ac_ext <<_ACEOF
65849 /* end confdefs.h. */
65850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65852 #define $ac_func innocuous_$ac_func
65854 /* System header to define __stub macros and hopefully few prototypes,
65855 which can conflict with char $ac_func (); below.
65856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65857 <limits.h> exists even on freestanding compilers. */
65859 #ifdef __STDC__
65860 # include <limits.h>
65861 #else
65862 # include <assert.h>
65863 #endif
65865 #undef $ac_func
65867 /* Override any gcc2 internal prototype to avoid an error. */
65868 #ifdef __cplusplus
65869 extern "C"
65871 #endif
65872 /* We use char because int might match the return type of a gcc2
65873 builtin and then its argument prototype would still apply. */
65874 char $ac_func ();
65875 /* The GNU C library defines this for functions which it implements
65876 to always fail with ENOSYS. Some functions are actually named
65877 something starting with __ and the normal name is an alias. */
65878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65879 choke me
65880 #else
65881 char (*f) () = $ac_func;
65882 #endif
65883 #ifdef __cplusplus
65885 #endif
65888 main ()
65890 return f != $ac_func;
65892 return 0;
65894 _ACEOF
65895 rm -f conftest.$ac_objext conftest$ac_exeext
65896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65897 (eval $ac_link) 2>conftest.er1
65898 ac_status=$?
65899 grep -v '^ *+' conftest.er1 >conftest.err
65900 rm -f conftest.er1
65901 cat conftest.err >&5
65902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65903 (exit $ac_status); } &&
65904 { ac_try='test -z "$ac_c_werror_flag"
65905 || test ! -s conftest.err'
65906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65907 (eval $ac_try) 2>&5
65908 ac_status=$?
65909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65910 (exit $ac_status); }; } &&
65911 { ac_try='test -s conftest$ac_exeext'
65912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65913 (eval $ac_try) 2>&5
65914 ac_status=$?
65915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65916 (exit $ac_status); }; }; then
65917 eval "$as_ac_var=yes"
65918 else
65919 echo "$as_me: failed program was:" >&5
65920 sed 's/^/| /' conftest.$ac_ext >&5
65922 eval "$as_ac_var=no"
65924 rm -f conftest.err conftest.$ac_objext \
65925 conftest$ac_exeext conftest.$ac_ext
65927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65929 if test `eval echo '${'$as_ac_var'}'` = yes; then
65930 cat >>confdefs.h <<_ACEOF
65931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65932 _ACEOF
65935 done
65937 else
65939 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
65940 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
65941 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
65942 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
65943 echo $ECHO_N "(cached) $ECHO_C" >&6
65944 else
65948 ac_ext=cc
65949 ac_cpp='$CXXCPP $CPPFLAGS'
65950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65954 cat >conftest.$ac_ext <<_ACEOF
65955 /* confdefs.h. */
65956 _ACEOF
65957 cat confdefs.h >>conftest.$ac_ext
65958 cat >>conftest.$ac_ext <<_ACEOF
65959 /* end confdefs.h. */
65960 #include <math.h>
65961 #ifdef HAVE_IEEEFP_H
65962 #include <ieeefp.h>
65963 #endif
65966 main ()
65968 _sqrtf(0);
65970 return 0;
65972 _ACEOF
65973 rm -f conftest.$ac_objext
65974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65975 (eval $ac_compile) 2>conftest.er1
65976 ac_status=$?
65977 grep -v '^ *+' conftest.er1 >conftest.err
65978 rm -f conftest.er1
65979 cat conftest.err >&5
65980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65981 (exit $ac_status); } &&
65982 { ac_try='test -z "$ac_cxx_werror_flag"
65983 || test ! -s conftest.err'
65984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65985 (eval $ac_try) 2>&5
65986 ac_status=$?
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); }; } &&
65989 { ac_try='test -s conftest.$ac_objext'
65990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65991 (eval $ac_try) 2>&5
65992 ac_status=$?
65993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65994 (exit $ac_status); }; }; then
65995 glibcxx_cv_func__sqrtf_use=yes
65996 else
65997 echo "$as_me: failed program was:" >&5
65998 sed 's/^/| /' conftest.$ac_ext >&5
66000 glibcxx_cv_func__sqrtf_use=no
66002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66003 ac_ext=c
66004 ac_cpp='$CPP $CPPFLAGS'
66005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
66014 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
66016 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66018 for ac_func in _sqrtf
66020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66021 echo "$as_me:$LINENO: checking for $ac_func" >&5
66022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66023 if eval "test \"\${$as_ac_var+set}\" = set"; then
66024 echo $ECHO_N "(cached) $ECHO_C" >&6
66025 else
66026 if test x$gcc_no_link = xyes; then
66027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66029 { (exit 1); exit 1; }; }
66031 cat >conftest.$ac_ext <<_ACEOF
66032 /* confdefs.h. */
66033 _ACEOF
66034 cat confdefs.h >>conftest.$ac_ext
66035 cat >>conftest.$ac_ext <<_ACEOF
66036 /* end confdefs.h. */
66037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66039 #define $ac_func innocuous_$ac_func
66041 /* System header to define __stub macros and hopefully few prototypes,
66042 which can conflict with char $ac_func (); below.
66043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66044 <limits.h> exists even on freestanding compilers. */
66046 #ifdef __STDC__
66047 # include <limits.h>
66048 #else
66049 # include <assert.h>
66050 #endif
66052 #undef $ac_func
66054 /* Override any gcc2 internal prototype to avoid an error. */
66055 #ifdef __cplusplus
66056 extern "C"
66058 #endif
66059 /* We use char because int might match the return type of a gcc2
66060 builtin and then its argument prototype would still apply. */
66061 char $ac_func ();
66062 /* The GNU C library defines this for functions which it implements
66063 to always fail with ENOSYS. Some functions are actually named
66064 something starting with __ and the normal name is an alias. */
66065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66066 choke me
66067 #else
66068 char (*f) () = $ac_func;
66069 #endif
66070 #ifdef __cplusplus
66072 #endif
66075 main ()
66077 return f != $ac_func;
66079 return 0;
66081 _ACEOF
66082 rm -f conftest.$ac_objext conftest$ac_exeext
66083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66084 (eval $ac_link) 2>conftest.er1
66085 ac_status=$?
66086 grep -v '^ *+' conftest.er1 >conftest.err
66087 rm -f conftest.er1
66088 cat conftest.err >&5
66089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66090 (exit $ac_status); } &&
66091 { ac_try='test -z "$ac_c_werror_flag"
66092 || test ! -s conftest.err'
66093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66094 (eval $ac_try) 2>&5
66095 ac_status=$?
66096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66097 (exit $ac_status); }; } &&
66098 { ac_try='test -s conftest$ac_exeext'
66099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66100 (eval $ac_try) 2>&5
66101 ac_status=$?
66102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66103 (exit $ac_status); }; }; then
66104 eval "$as_ac_var=yes"
66105 else
66106 echo "$as_me: failed program was:" >&5
66107 sed 's/^/| /' conftest.$ac_ext >&5
66109 eval "$as_ac_var=no"
66111 rm -f conftest.err conftest.$ac_objext \
66112 conftest$ac_exeext conftest.$ac_ext
66114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66116 if test `eval echo '${'$as_ac_var'}'` = yes; then
66117 cat >>confdefs.h <<_ACEOF
66118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66119 _ACEOF
66122 done
66132 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
66133 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
66134 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66135 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
66136 echo $ECHO_N "(cached) $ECHO_C" >&6
66137 else
66141 ac_ext=cc
66142 ac_cpp='$CXXCPP $CPPFLAGS'
66143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66147 cat >conftest.$ac_ext <<_ACEOF
66148 /* confdefs.h. */
66149 _ACEOF
66150 cat confdefs.h >>conftest.$ac_ext
66151 cat >>conftest.$ac_ext <<_ACEOF
66152 /* end confdefs.h. */
66153 #include <math.h>
66155 main ()
66157 sincosf(0, 0, 0);
66159 return 0;
66161 _ACEOF
66162 rm -f conftest.$ac_objext
66163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66164 (eval $ac_compile) 2>conftest.er1
66165 ac_status=$?
66166 grep -v '^ *+' conftest.er1 >conftest.err
66167 rm -f conftest.er1
66168 cat conftest.err >&5
66169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66170 (exit $ac_status); } &&
66171 { ac_try='test -z "$ac_cxx_werror_flag"
66172 || test ! -s conftest.err'
66173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66174 (eval $ac_try) 2>&5
66175 ac_status=$?
66176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66177 (exit $ac_status); }; } &&
66178 { ac_try='test -s conftest.$ac_objext'
66179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66180 (eval $ac_try) 2>&5
66181 ac_status=$?
66182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66183 (exit $ac_status); }; }; then
66184 glibcxx_cv_func_sincosf_use=yes
66185 else
66186 echo "$as_me: failed program was:" >&5
66187 sed 's/^/| /' conftest.$ac_ext >&5
66189 glibcxx_cv_func_sincosf_use=no
66191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66192 ac_ext=c
66193 ac_cpp='$CPP $CPPFLAGS'
66194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
66203 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
66205 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66207 for ac_func in sincosf
66209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66210 echo "$as_me:$LINENO: checking for $ac_func" >&5
66211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66212 if eval "test \"\${$as_ac_var+set}\" = set"; then
66213 echo $ECHO_N "(cached) $ECHO_C" >&6
66214 else
66215 if test x$gcc_no_link = xyes; then
66216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66218 { (exit 1); exit 1; }; }
66220 cat >conftest.$ac_ext <<_ACEOF
66221 /* confdefs.h. */
66222 _ACEOF
66223 cat confdefs.h >>conftest.$ac_ext
66224 cat >>conftest.$ac_ext <<_ACEOF
66225 /* end confdefs.h. */
66226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66228 #define $ac_func innocuous_$ac_func
66230 /* System header to define __stub macros and hopefully few prototypes,
66231 which can conflict with char $ac_func (); below.
66232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66233 <limits.h> exists even on freestanding compilers. */
66235 #ifdef __STDC__
66236 # include <limits.h>
66237 #else
66238 # include <assert.h>
66239 #endif
66241 #undef $ac_func
66243 /* Override any gcc2 internal prototype to avoid an error. */
66244 #ifdef __cplusplus
66245 extern "C"
66247 #endif
66248 /* We use char because int might match the return type of a gcc2
66249 builtin and then its argument prototype would still apply. */
66250 char $ac_func ();
66251 /* The GNU C library defines this for functions which it implements
66252 to always fail with ENOSYS. Some functions are actually named
66253 something starting with __ and the normal name is an alias. */
66254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66255 choke me
66256 #else
66257 char (*f) () = $ac_func;
66258 #endif
66259 #ifdef __cplusplus
66261 #endif
66264 main ()
66266 return f != $ac_func;
66268 return 0;
66270 _ACEOF
66271 rm -f conftest.$ac_objext conftest$ac_exeext
66272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66273 (eval $ac_link) 2>conftest.er1
66274 ac_status=$?
66275 grep -v '^ *+' conftest.er1 >conftest.err
66276 rm -f conftest.er1
66277 cat conftest.err >&5
66278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66279 (exit $ac_status); } &&
66280 { ac_try='test -z "$ac_c_werror_flag"
66281 || test ! -s conftest.err'
66282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66283 (eval $ac_try) 2>&5
66284 ac_status=$?
66285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66286 (exit $ac_status); }; } &&
66287 { ac_try='test -s conftest$ac_exeext'
66288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66289 (eval $ac_try) 2>&5
66290 ac_status=$?
66291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66292 (exit $ac_status); }; }; then
66293 eval "$as_ac_var=yes"
66294 else
66295 echo "$as_me: failed program was:" >&5
66296 sed 's/^/| /' conftest.$ac_ext >&5
66298 eval "$as_ac_var=no"
66300 rm -f conftest.err conftest.$ac_objext \
66301 conftest$ac_exeext conftest.$ac_ext
66303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66305 if test `eval echo '${'$as_ac_var'}'` = yes; then
66306 cat >>confdefs.h <<_ACEOF
66307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66308 _ACEOF
66311 done
66313 else
66315 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
66316 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
66317 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66318 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
66319 echo $ECHO_N "(cached) $ECHO_C" >&6
66320 else
66324 ac_ext=cc
66325 ac_cpp='$CXXCPP $CPPFLAGS'
66326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66330 cat >conftest.$ac_ext <<_ACEOF
66331 /* confdefs.h. */
66332 _ACEOF
66333 cat confdefs.h >>conftest.$ac_ext
66334 cat >>conftest.$ac_ext <<_ACEOF
66335 /* end confdefs.h. */
66336 #include <math.h>
66338 main ()
66340 _sincosf(0, 0, 0);
66342 return 0;
66344 _ACEOF
66345 rm -f conftest.$ac_objext
66346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66347 (eval $ac_compile) 2>conftest.er1
66348 ac_status=$?
66349 grep -v '^ *+' conftest.er1 >conftest.err
66350 rm -f conftest.er1
66351 cat conftest.err >&5
66352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66353 (exit $ac_status); } &&
66354 { ac_try='test -z "$ac_cxx_werror_flag"
66355 || test ! -s conftest.err'
66356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66357 (eval $ac_try) 2>&5
66358 ac_status=$?
66359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66360 (exit $ac_status); }; } &&
66361 { ac_try='test -s conftest.$ac_objext'
66362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66363 (eval $ac_try) 2>&5
66364 ac_status=$?
66365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66366 (exit $ac_status); }; }; then
66367 glibcxx_cv_func__sincosf_use=yes
66368 else
66369 echo "$as_me: failed program was:" >&5
66370 sed 's/^/| /' conftest.$ac_ext >&5
66372 glibcxx_cv_func__sincosf_use=no
66374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66375 ac_ext=c
66376 ac_cpp='$CPP $CPPFLAGS'
66377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
66386 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
66388 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66390 for ac_func in _sincosf
66392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66393 echo "$as_me:$LINENO: checking for $ac_func" >&5
66394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66395 if eval "test \"\${$as_ac_var+set}\" = set"; then
66396 echo $ECHO_N "(cached) $ECHO_C" >&6
66397 else
66398 if test x$gcc_no_link = xyes; then
66399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66401 { (exit 1); exit 1; }; }
66403 cat >conftest.$ac_ext <<_ACEOF
66404 /* confdefs.h. */
66405 _ACEOF
66406 cat confdefs.h >>conftest.$ac_ext
66407 cat >>conftest.$ac_ext <<_ACEOF
66408 /* end confdefs.h. */
66409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66411 #define $ac_func innocuous_$ac_func
66413 /* System header to define __stub macros and hopefully few prototypes,
66414 which can conflict with char $ac_func (); below.
66415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66416 <limits.h> exists even on freestanding compilers. */
66418 #ifdef __STDC__
66419 # include <limits.h>
66420 #else
66421 # include <assert.h>
66422 #endif
66424 #undef $ac_func
66426 /* Override any gcc2 internal prototype to avoid an error. */
66427 #ifdef __cplusplus
66428 extern "C"
66430 #endif
66431 /* We use char because int might match the return type of a gcc2
66432 builtin and then its argument prototype would still apply. */
66433 char $ac_func ();
66434 /* The GNU C library defines this for functions which it implements
66435 to always fail with ENOSYS. Some functions are actually named
66436 something starting with __ and the normal name is an alias. */
66437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66438 choke me
66439 #else
66440 char (*f) () = $ac_func;
66441 #endif
66442 #ifdef __cplusplus
66444 #endif
66447 main ()
66449 return f != $ac_func;
66451 return 0;
66453 _ACEOF
66454 rm -f conftest.$ac_objext conftest$ac_exeext
66455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66456 (eval $ac_link) 2>conftest.er1
66457 ac_status=$?
66458 grep -v '^ *+' conftest.er1 >conftest.err
66459 rm -f conftest.er1
66460 cat conftest.err >&5
66461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66462 (exit $ac_status); } &&
66463 { ac_try='test -z "$ac_c_werror_flag"
66464 || test ! -s conftest.err'
66465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66466 (eval $ac_try) 2>&5
66467 ac_status=$?
66468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66469 (exit $ac_status); }; } &&
66470 { ac_try='test -s conftest$ac_exeext'
66471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66472 (eval $ac_try) 2>&5
66473 ac_status=$?
66474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66475 (exit $ac_status); }; }; then
66476 eval "$as_ac_var=yes"
66477 else
66478 echo "$as_me: failed program was:" >&5
66479 sed 's/^/| /' conftest.$ac_ext >&5
66481 eval "$as_ac_var=no"
66483 rm -f conftest.err conftest.$ac_objext \
66484 conftest$ac_exeext conftest.$ac_ext
66486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66488 if test `eval echo '${'$as_ac_var'}'` = yes; then
66489 cat >>confdefs.h <<_ACEOF
66490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66491 _ACEOF
66494 done
66504 echo "$as_me:$LINENO: checking for finitef declaration" >&5
66505 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
66506 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66507 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
66508 echo $ECHO_N "(cached) $ECHO_C" >&6
66509 else
66513 ac_ext=cc
66514 ac_cpp='$CXXCPP $CPPFLAGS'
66515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66519 cat >conftest.$ac_ext <<_ACEOF
66520 /* confdefs.h. */
66521 _ACEOF
66522 cat confdefs.h >>conftest.$ac_ext
66523 cat >>conftest.$ac_ext <<_ACEOF
66524 /* end confdefs.h. */
66525 #include <math.h>
66526 #ifdef HAVE_IEEEFP_H
66527 #include <ieeefp.h>
66528 #endif
66531 main ()
66533 finitef(0);
66535 return 0;
66537 _ACEOF
66538 rm -f conftest.$ac_objext
66539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66540 (eval $ac_compile) 2>conftest.er1
66541 ac_status=$?
66542 grep -v '^ *+' conftest.er1 >conftest.err
66543 rm -f conftest.er1
66544 cat conftest.err >&5
66545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66546 (exit $ac_status); } &&
66547 { ac_try='test -z "$ac_cxx_werror_flag"
66548 || test ! -s conftest.err'
66549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66550 (eval $ac_try) 2>&5
66551 ac_status=$?
66552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66553 (exit $ac_status); }; } &&
66554 { ac_try='test -s conftest.$ac_objext'
66555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66556 (eval $ac_try) 2>&5
66557 ac_status=$?
66558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66559 (exit $ac_status); }; }; then
66560 glibcxx_cv_func_finitef_use=yes
66561 else
66562 echo "$as_me: failed program was:" >&5
66563 sed 's/^/| /' conftest.$ac_ext >&5
66565 glibcxx_cv_func_finitef_use=no
66567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66568 ac_ext=c
66569 ac_cpp='$CPP $CPPFLAGS'
66570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
66579 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
66581 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
66583 for ac_func in finitef
66585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66586 echo "$as_me:$LINENO: checking for $ac_func" >&5
66587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66588 if eval "test \"\${$as_ac_var+set}\" = set"; then
66589 echo $ECHO_N "(cached) $ECHO_C" >&6
66590 else
66591 if test x$gcc_no_link = xyes; then
66592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66594 { (exit 1); exit 1; }; }
66596 cat >conftest.$ac_ext <<_ACEOF
66597 /* confdefs.h. */
66598 _ACEOF
66599 cat confdefs.h >>conftest.$ac_ext
66600 cat >>conftest.$ac_ext <<_ACEOF
66601 /* end confdefs.h. */
66602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66604 #define $ac_func innocuous_$ac_func
66606 /* System header to define __stub macros and hopefully few prototypes,
66607 which can conflict with char $ac_func (); below.
66608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66609 <limits.h> exists even on freestanding compilers. */
66611 #ifdef __STDC__
66612 # include <limits.h>
66613 #else
66614 # include <assert.h>
66615 #endif
66617 #undef $ac_func
66619 /* Override any gcc2 internal prototype to avoid an error. */
66620 #ifdef __cplusplus
66621 extern "C"
66623 #endif
66624 /* We use char because int might match the return type of a gcc2
66625 builtin and then its argument prototype would still apply. */
66626 char $ac_func ();
66627 /* The GNU C library defines this for functions which it implements
66628 to always fail with ENOSYS. Some functions are actually named
66629 something starting with __ and the normal name is an alias. */
66630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66631 choke me
66632 #else
66633 char (*f) () = $ac_func;
66634 #endif
66635 #ifdef __cplusplus
66637 #endif
66640 main ()
66642 return f != $ac_func;
66644 return 0;
66646 _ACEOF
66647 rm -f conftest.$ac_objext conftest$ac_exeext
66648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66649 (eval $ac_link) 2>conftest.er1
66650 ac_status=$?
66651 grep -v '^ *+' conftest.er1 >conftest.err
66652 rm -f conftest.er1
66653 cat conftest.err >&5
66654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66655 (exit $ac_status); } &&
66656 { ac_try='test -z "$ac_c_werror_flag"
66657 || test ! -s conftest.err'
66658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66659 (eval $ac_try) 2>&5
66660 ac_status=$?
66661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66662 (exit $ac_status); }; } &&
66663 { ac_try='test -s conftest$ac_exeext'
66664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66665 (eval $ac_try) 2>&5
66666 ac_status=$?
66667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66668 (exit $ac_status); }; }; then
66669 eval "$as_ac_var=yes"
66670 else
66671 echo "$as_me: failed program was:" >&5
66672 sed 's/^/| /' conftest.$ac_ext >&5
66674 eval "$as_ac_var=no"
66676 rm -f conftest.err conftest.$ac_objext \
66677 conftest$ac_exeext conftest.$ac_ext
66679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66681 if test `eval echo '${'$as_ac_var'}'` = yes; then
66682 cat >>confdefs.h <<_ACEOF
66683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66684 _ACEOF
66687 done
66689 else
66691 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
66692 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
66693 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
66694 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
66695 echo $ECHO_N "(cached) $ECHO_C" >&6
66696 else
66700 ac_ext=cc
66701 ac_cpp='$CXXCPP $CPPFLAGS'
66702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66706 cat >conftest.$ac_ext <<_ACEOF
66707 /* confdefs.h. */
66708 _ACEOF
66709 cat confdefs.h >>conftest.$ac_ext
66710 cat >>conftest.$ac_ext <<_ACEOF
66711 /* end confdefs.h. */
66712 #include <math.h>
66713 #ifdef HAVE_IEEEFP_H
66714 #include <ieeefp.h>
66715 #endif
66718 main ()
66720 _finitef(0);
66722 return 0;
66724 _ACEOF
66725 rm -f conftest.$ac_objext
66726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66727 (eval $ac_compile) 2>conftest.er1
66728 ac_status=$?
66729 grep -v '^ *+' conftest.er1 >conftest.err
66730 rm -f conftest.er1
66731 cat conftest.err >&5
66732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733 (exit $ac_status); } &&
66734 { ac_try='test -z "$ac_cxx_werror_flag"
66735 || test ! -s conftest.err'
66736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66737 (eval $ac_try) 2>&5
66738 ac_status=$?
66739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66740 (exit $ac_status); }; } &&
66741 { ac_try='test -s conftest.$ac_objext'
66742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66743 (eval $ac_try) 2>&5
66744 ac_status=$?
66745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66746 (exit $ac_status); }; }; then
66747 glibcxx_cv_func__finitef_use=yes
66748 else
66749 echo "$as_me: failed program was:" >&5
66750 sed 's/^/| /' conftest.$ac_ext >&5
66752 glibcxx_cv_func__finitef_use=no
66754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
66766 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
66768 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
66770 for ac_func in _finitef
66772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66773 echo "$as_me:$LINENO: checking for $ac_func" >&5
66774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66775 if eval "test \"\${$as_ac_var+set}\" = set"; then
66776 echo $ECHO_N "(cached) $ECHO_C" >&6
66777 else
66778 if test x$gcc_no_link = xyes; then
66779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66781 { (exit 1); exit 1; }; }
66783 cat >conftest.$ac_ext <<_ACEOF
66784 /* confdefs.h. */
66785 _ACEOF
66786 cat confdefs.h >>conftest.$ac_ext
66787 cat >>conftest.$ac_ext <<_ACEOF
66788 /* end confdefs.h. */
66789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66791 #define $ac_func innocuous_$ac_func
66793 /* System header to define __stub macros and hopefully few prototypes,
66794 which can conflict with char $ac_func (); below.
66795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66796 <limits.h> exists even on freestanding compilers. */
66798 #ifdef __STDC__
66799 # include <limits.h>
66800 #else
66801 # include <assert.h>
66802 #endif
66804 #undef $ac_func
66806 /* Override any gcc2 internal prototype to avoid an error. */
66807 #ifdef __cplusplus
66808 extern "C"
66810 #endif
66811 /* We use char because int might match the return type of a gcc2
66812 builtin and then its argument prototype would still apply. */
66813 char $ac_func ();
66814 /* The GNU C library defines this for functions which it implements
66815 to always fail with ENOSYS. Some functions are actually named
66816 something starting with __ and the normal name is an alias. */
66817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66818 choke me
66819 #else
66820 char (*f) () = $ac_func;
66821 #endif
66822 #ifdef __cplusplus
66824 #endif
66827 main ()
66829 return f != $ac_func;
66831 return 0;
66833 _ACEOF
66834 rm -f conftest.$ac_objext conftest$ac_exeext
66835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66836 (eval $ac_link) 2>conftest.er1
66837 ac_status=$?
66838 grep -v '^ *+' conftest.er1 >conftest.err
66839 rm -f conftest.er1
66840 cat conftest.err >&5
66841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66842 (exit $ac_status); } &&
66843 { ac_try='test -z "$ac_c_werror_flag"
66844 || test ! -s conftest.err'
66845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66846 (eval $ac_try) 2>&5
66847 ac_status=$?
66848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66849 (exit $ac_status); }; } &&
66850 { ac_try='test -s conftest$ac_exeext'
66851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66852 (eval $ac_try) 2>&5
66853 ac_status=$?
66854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855 (exit $ac_status); }; }; then
66856 eval "$as_ac_var=yes"
66857 else
66858 echo "$as_me: failed program was:" >&5
66859 sed 's/^/| /' conftest.$ac_ext >&5
66861 eval "$as_ac_var=no"
66863 rm -f conftest.err conftest.$ac_objext \
66864 conftest$ac_exeext conftest.$ac_ext
66866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66868 if test `eval echo '${'$as_ac_var'}'` = yes; then
66869 cat >>confdefs.h <<_ACEOF
66870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66871 _ACEOF
66874 done
66884 echo "$as_me:$LINENO: checking for long double trig functions" >&5
66885 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
66886 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
66887 echo $ECHO_N "(cached) $ECHO_C" >&6
66888 else
66892 ac_ext=cc
66893 ac_cpp='$CXXCPP $CPPFLAGS'
66894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66898 cat >conftest.$ac_ext <<_ACEOF
66899 /* confdefs.h. */
66900 _ACEOF
66901 cat confdefs.h >>conftest.$ac_ext
66902 cat >>conftest.$ac_ext <<_ACEOF
66903 /* end confdefs.h. */
66904 #include <math.h>
66906 main ()
66908 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
66910 return 0;
66912 _ACEOF
66913 rm -f conftest.$ac_objext
66914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66915 (eval $ac_compile) 2>conftest.er1
66916 ac_status=$?
66917 grep -v '^ *+' conftest.er1 >conftest.err
66918 rm -f conftest.er1
66919 cat conftest.err >&5
66920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66921 (exit $ac_status); } &&
66922 { ac_try='test -z "$ac_cxx_werror_flag"
66923 || test ! -s conftest.err'
66924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66925 (eval $ac_try) 2>&5
66926 ac_status=$?
66927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66928 (exit $ac_status); }; } &&
66929 { ac_try='test -s conftest.$ac_objext'
66930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66931 (eval $ac_try) 2>&5
66932 ac_status=$?
66933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66934 (exit $ac_status); }; }; then
66935 glibcxx_cv_func_long_double_trig_use=yes
66936 else
66937 echo "$as_me: failed program was:" >&5
66938 sed 's/^/| /' conftest.$ac_ext >&5
66940 glibcxx_cv_func_long_double_trig_use=no
66942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66943 ac_ext=c
66944 ac_cpp='$CPP $CPPFLAGS'
66945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
66952 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
66953 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
66963 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
66965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66966 echo "$as_me:$LINENO: checking for $ac_func" >&5
66967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66968 if eval "test \"\${$as_ac_var+set}\" = set"; then
66969 echo $ECHO_N "(cached) $ECHO_C" >&6
66970 else
66971 if test x$gcc_no_link = xyes; then
66972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66974 { (exit 1); exit 1; }; }
66976 cat >conftest.$ac_ext <<_ACEOF
66977 /* confdefs.h. */
66978 _ACEOF
66979 cat confdefs.h >>conftest.$ac_ext
66980 cat >>conftest.$ac_ext <<_ACEOF
66981 /* end confdefs.h. */
66982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66984 #define $ac_func innocuous_$ac_func
66986 /* System header to define __stub macros and hopefully few prototypes,
66987 which can conflict with char $ac_func (); below.
66988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66989 <limits.h> exists even on freestanding compilers. */
66991 #ifdef __STDC__
66992 # include <limits.h>
66993 #else
66994 # include <assert.h>
66995 #endif
66997 #undef $ac_func
66999 /* Override any gcc2 internal prototype to avoid an error. */
67000 #ifdef __cplusplus
67001 extern "C"
67003 #endif
67004 /* We use char because int might match the return type of a gcc2
67005 builtin and then its argument prototype would still apply. */
67006 char $ac_func ();
67007 /* The GNU C library defines this for functions which it implements
67008 to always fail with ENOSYS. Some functions are actually named
67009 something starting with __ and the normal name is an alias. */
67010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67011 choke me
67012 #else
67013 char (*f) () = $ac_func;
67014 #endif
67015 #ifdef __cplusplus
67017 #endif
67020 main ()
67022 return f != $ac_func;
67024 return 0;
67026 _ACEOF
67027 rm -f conftest.$ac_objext conftest$ac_exeext
67028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67029 (eval $ac_link) 2>conftest.er1
67030 ac_status=$?
67031 grep -v '^ *+' conftest.er1 >conftest.err
67032 rm -f conftest.er1
67033 cat conftest.err >&5
67034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67035 (exit $ac_status); } &&
67036 { ac_try='test -z "$ac_c_werror_flag"
67037 || test ! -s conftest.err'
67038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67039 (eval $ac_try) 2>&5
67040 ac_status=$?
67041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67042 (exit $ac_status); }; } &&
67043 { ac_try='test -s conftest$ac_exeext'
67044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67045 (eval $ac_try) 2>&5
67046 ac_status=$?
67047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67048 (exit $ac_status); }; }; then
67049 eval "$as_ac_var=yes"
67050 else
67051 echo "$as_me: failed program was:" >&5
67052 sed 's/^/| /' conftest.$ac_ext >&5
67054 eval "$as_ac_var=no"
67056 rm -f conftest.err conftest.$ac_objext \
67057 conftest$ac_exeext conftest.$ac_ext
67059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67061 if test `eval echo '${'$as_ac_var'}'` = yes; then
67062 cat >>confdefs.h <<_ACEOF
67063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67064 _ACEOF
67067 done
67069 else
67070 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
67071 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
67072 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
67073 echo $ECHO_N "(cached) $ECHO_C" >&6
67074 else
67078 ac_ext=cc
67079 ac_cpp='$CXXCPP $CPPFLAGS'
67080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67084 cat >conftest.$ac_ext <<_ACEOF
67085 /* confdefs.h. */
67086 _ACEOF
67087 cat confdefs.h >>conftest.$ac_ext
67088 cat >>conftest.$ac_ext <<_ACEOF
67089 /* end confdefs.h. */
67090 #include <math.h>
67092 main ()
67094 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67096 return 0;
67098 _ACEOF
67099 rm -f conftest.$ac_objext
67100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67101 (eval $ac_compile) 2>conftest.er1
67102 ac_status=$?
67103 grep -v '^ *+' conftest.er1 >conftest.err
67104 rm -f conftest.er1
67105 cat conftest.err >&5
67106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107 (exit $ac_status); } &&
67108 { ac_try='test -z "$ac_cxx_werror_flag"
67109 || test ! -s conftest.err'
67110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67111 (eval $ac_try) 2>&5
67112 ac_status=$?
67113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67114 (exit $ac_status); }; } &&
67115 { ac_try='test -s conftest.$ac_objext'
67116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67117 (eval $ac_try) 2>&5
67118 ac_status=$?
67119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67120 (exit $ac_status); }; }; then
67121 glibcxx_cv_func__long_double_trig_use=yes
67122 else
67123 echo "$as_me: failed program was:" >&5
67124 sed 's/^/| /' conftest.$ac_ext >&5
67126 glibcxx_cv_func__long_double_trig_use=no
67128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67129 ac_ext=c
67130 ac_cpp='$CPP $CPPFLAGS'
67131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
67138 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
67139 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67149 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67152 echo "$as_me:$LINENO: checking for $ac_func" >&5
67153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67154 if eval "test \"\${$as_ac_var+set}\" = set"; then
67155 echo $ECHO_N "(cached) $ECHO_C" >&6
67156 else
67157 if test x$gcc_no_link = xyes; then
67158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67160 { (exit 1); exit 1; }; }
67162 cat >conftest.$ac_ext <<_ACEOF
67163 /* confdefs.h. */
67164 _ACEOF
67165 cat confdefs.h >>conftest.$ac_ext
67166 cat >>conftest.$ac_ext <<_ACEOF
67167 /* end confdefs.h. */
67168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67170 #define $ac_func innocuous_$ac_func
67172 /* System header to define __stub macros and hopefully few prototypes,
67173 which can conflict with char $ac_func (); below.
67174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67175 <limits.h> exists even on freestanding compilers. */
67177 #ifdef __STDC__
67178 # include <limits.h>
67179 #else
67180 # include <assert.h>
67181 #endif
67183 #undef $ac_func
67185 /* Override any gcc2 internal prototype to avoid an error. */
67186 #ifdef __cplusplus
67187 extern "C"
67189 #endif
67190 /* We use char because int might match the return type of a gcc2
67191 builtin and then its argument prototype would still apply. */
67192 char $ac_func ();
67193 /* The GNU C library defines this for functions which it implements
67194 to always fail with ENOSYS. Some functions are actually named
67195 something starting with __ and the normal name is an alias. */
67196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67197 choke me
67198 #else
67199 char (*f) () = $ac_func;
67200 #endif
67201 #ifdef __cplusplus
67203 #endif
67206 main ()
67208 return f != $ac_func;
67210 return 0;
67212 _ACEOF
67213 rm -f conftest.$ac_objext conftest$ac_exeext
67214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67215 (eval $ac_link) 2>conftest.er1
67216 ac_status=$?
67217 grep -v '^ *+' conftest.er1 >conftest.err
67218 rm -f conftest.er1
67219 cat conftest.err >&5
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); } &&
67222 { ac_try='test -z "$ac_c_werror_flag"
67223 || test ! -s conftest.err'
67224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67225 (eval $ac_try) 2>&5
67226 ac_status=$?
67227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67228 (exit $ac_status); }; } &&
67229 { ac_try='test -s conftest$ac_exeext'
67230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67231 (eval $ac_try) 2>&5
67232 ac_status=$?
67233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234 (exit $ac_status); }; }; then
67235 eval "$as_ac_var=yes"
67236 else
67237 echo "$as_me: failed program was:" >&5
67238 sed 's/^/| /' conftest.$ac_ext >&5
67240 eval "$as_ac_var=no"
67242 rm -f conftest.err conftest.$ac_objext \
67243 conftest$ac_exeext conftest.$ac_ext
67245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67247 if test `eval echo '${'$as_ac_var'}'` = yes; then
67248 cat >>confdefs.h <<_ACEOF
67249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67250 _ACEOF
67253 done
67271 echo "$as_me:$LINENO: checking for long double round functions" >&5
67272 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
67273 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
67274 echo $ECHO_N "(cached) $ECHO_C" >&6
67275 else
67279 ac_ext=cc
67280 ac_cpp='$CXXCPP $CPPFLAGS'
67281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67285 cat >conftest.$ac_ext <<_ACEOF
67286 /* confdefs.h. */
67287 _ACEOF
67288 cat confdefs.h >>conftest.$ac_ext
67289 cat >>conftest.$ac_ext <<_ACEOF
67290 /* end confdefs.h. */
67291 #include <math.h>
67293 main ()
67295 ceill (0); floorl (0);
67297 return 0;
67299 _ACEOF
67300 rm -f conftest.$ac_objext
67301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67302 (eval $ac_compile) 2>conftest.er1
67303 ac_status=$?
67304 grep -v '^ *+' conftest.er1 >conftest.err
67305 rm -f conftest.er1
67306 cat conftest.err >&5
67307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67308 (exit $ac_status); } &&
67309 { ac_try='test -z "$ac_cxx_werror_flag"
67310 || test ! -s conftest.err'
67311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67312 (eval $ac_try) 2>&5
67313 ac_status=$?
67314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67315 (exit $ac_status); }; } &&
67316 { ac_try='test -s conftest.$ac_objext'
67317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67318 (eval $ac_try) 2>&5
67319 ac_status=$?
67320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67321 (exit $ac_status); }; }; then
67322 glibcxx_cv_func_long_double_round_use=yes
67323 else
67324 echo "$as_me: failed program was:" >&5
67325 sed 's/^/| /' conftest.$ac_ext >&5
67327 glibcxx_cv_func_long_double_round_use=no
67329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67330 ac_ext=c
67331 ac_cpp='$CPP $CPPFLAGS'
67332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
67339 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
67340 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67343 for ac_func in ceill floorl
67345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67346 echo "$as_me:$LINENO: checking for $ac_func" >&5
67347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67348 if eval "test \"\${$as_ac_var+set}\" = set"; then
67349 echo $ECHO_N "(cached) $ECHO_C" >&6
67350 else
67351 if test x$gcc_no_link = xyes; then
67352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67354 { (exit 1); exit 1; }; }
67356 cat >conftest.$ac_ext <<_ACEOF
67357 /* confdefs.h. */
67358 _ACEOF
67359 cat confdefs.h >>conftest.$ac_ext
67360 cat >>conftest.$ac_ext <<_ACEOF
67361 /* end confdefs.h. */
67362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67364 #define $ac_func innocuous_$ac_func
67366 /* System header to define __stub macros and hopefully few prototypes,
67367 which can conflict with char $ac_func (); below.
67368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67369 <limits.h> exists even on freestanding compilers. */
67371 #ifdef __STDC__
67372 # include <limits.h>
67373 #else
67374 # include <assert.h>
67375 #endif
67377 #undef $ac_func
67379 /* Override any gcc2 internal prototype to avoid an error. */
67380 #ifdef __cplusplus
67381 extern "C"
67383 #endif
67384 /* We use char because int might match the return type of a gcc2
67385 builtin and then its argument prototype would still apply. */
67386 char $ac_func ();
67387 /* The GNU C library defines this for functions which it implements
67388 to always fail with ENOSYS. Some functions are actually named
67389 something starting with __ and the normal name is an alias. */
67390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67391 choke me
67392 #else
67393 char (*f) () = $ac_func;
67394 #endif
67395 #ifdef __cplusplus
67397 #endif
67400 main ()
67402 return f != $ac_func;
67404 return 0;
67406 _ACEOF
67407 rm -f conftest.$ac_objext conftest$ac_exeext
67408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67409 (eval $ac_link) 2>conftest.er1
67410 ac_status=$?
67411 grep -v '^ *+' conftest.er1 >conftest.err
67412 rm -f conftest.er1
67413 cat conftest.err >&5
67414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67415 (exit $ac_status); } &&
67416 { ac_try='test -z "$ac_c_werror_flag"
67417 || test ! -s conftest.err'
67418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67419 (eval $ac_try) 2>&5
67420 ac_status=$?
67421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67422 (exit $ac_status); }; } &&
67423 { ac_try='test -s conftest$ac_exeext'
67424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67425 (eval $ac_try) 2>&5
67426 ac_status=$?
67427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67428 (exit $ac_status); }; }; then
67429 eval "$as_ac_var=yes"
67430 else
67431 echo "$as_me: failed program was:" >&5
67432 sed 's/^/| /' conftest.$ac_ext >&5
67434 eval "$as_ac_var=no"
67436 rm -f conftest.err conftest.$ac_objext \
67437 conftest$ac_exeext conftest.$ac_ext
67439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67441 if test `eval echo '${'$as_ac_var'}'` = yes; then
67442 cat >>confdefs.h <<_ACEOF
67443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67444 _ACEOF
67447 done
67449 else
67450 echo "$as_me:$LINENO: checking for _long double round functions" >&5
67451 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
67452 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
67453 echo $ECHO_N "(cached) $ECHO_C" >&6
67454 else
67458 ac_ext=cc
67459 ac_cpp='$CXXCPP $CPPFLAGS'
67460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67464 cat >conftest.$ac_ext <<_ACEOF
67465 /* confdefs.h. */
67466 _ACEOF
67467 cat confdefs.h >>conftest.$ac_ext
67468 cat >>conftest.$ac_ext <<_ACEOF
67469 /* end confdefs.h. */
67470 #include <math.h>
67472 main ()
67474 _ceill (0); _floorl (0);
67476 return 0;
67478 _ACEOF
67479 rm -f conftest.$ac_objext
67480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67481 (eval $ac_compile) 2>conftest.er1
67482 ac_status=$?
67483 grep -v '^ *+' conftest.er1 >conftest.err
67484 rm -f conftest.er1
67485 cat conftest.err >&5
67486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67487 (exit $ac_status); } &&
67488 { ac_try='test -z "$ac_cxx_werror_flag"
67489 || test ! -s conftest.err'
67490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67491 (eval $ac_try) 2>&5
67492 ac_status=$?
67493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67494 (exit $ac_status); }; } &&
67495 { ac_try='test -s conftest.$ac_objext'
67496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67497 (eval $ac_try) 2>&5
67498 ac_status=$?
67499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67500 (exit $ac_status); }; }; then
67501 glibcxx_cv_func__long_double_round_use=yes
67502 else
67503 echo "$as_me: failed program was:" >&5
67504 sed 's/^/| /' conftest.$ac_ext >&5
67506 glibcxx_cv_func__long_double_round_use=no
67508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67509 ac_ext=c
67510 ac_cpp='$CPP $CPPFLAGS'
67511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
67518 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
67519 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67522 for ac_func in _ceill _floorl
67524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67525 echo "$as_me:$LINENO: checking for $ac_func" >&5
67526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67527 if eval "test \"\${$as_ac_var+set}\" = set"; then
67528 echo $ECHO_N "(cached) $ECHO_C" >&6
67529 else
67530 if test x$gcc_no_link = xyes; then
67531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67533 { (exit 1); exit 1; }; }
67535 cat >conftest.$ac_ext <<_ACEOF
67536 /* confdefs.h. */
67537 _ACEOF
67538 cat confdefs.h >>conftest.$ac_ext
67539 cat >>conftest.$ac_ext <<_ACEOF
67540 /* end confdefs.h. */
67541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67543 #define $ac_func innocuous_$ac_func
67545 /* System header to define __stub macros and hopefully few prototypes,
67546 which can conflict with char $ac_func (); below.
67547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67548 <limits.h> exists even on freestanding compilers. */
67550 #ifdef __STDC__
67551 # include <limits.h>
67552 #else
67553 # include <assert.h>
67554 #endif
67556 #undef $ac_func
67558 /* Override any gcc2 internal prototype to avoid an error. */
67559 #ifdef __cplusplus
67560 extern "C"
67562 #endif
67563 /* We use char because int might match the return type of a gcc2
67564 builtin and then its argument prototype would still apply. */
67565 char $ac_func ();
67566 /* The GNU C library defines this for functions which it implements
67567 to always fail with ENOSYS. Some functions are actually named
67568 something starting with __ and the normal name is an alias. */
67569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67570 choke me
67571 #else
67572 char (*f) () = $ac_func;
67573 #endif
67574 #ifdef __cplusplus
67576 #endif
67579 main ()
67581 return f != $ac_func;
67583 return 0;
67585 _ACEOF
67586 rm -f conftest.$ac_objext conftest$ac_exeext
67587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67588 (eval $ac_link) 2>conftest.er1
67589 ac_status=$?
67590 grep -v '^ *+' conftest.er1 >conftest.err
67591 rm -f conftest.er1
67592 cat conftest.err >&5
67593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67594 (exit $ac_status); } &&
67595 { ac_try='test -z "$ac_c_werror_flag"
67596 || test ! -s conftest.err'
67597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67598 (eval $ac_try) 2>&5
67599 ac_status=$?
67600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67601 (exit $ac_status); }; } &&
67602 { ac_try='test -s conftest$ac_exeext'
67603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67604 (eval $ac_try) 2>&5
67605 ac_status=$?
67606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67607 (exit $ac_status); }; }; then
67608 eval "$as_ac_var=yes"
67609 else
67610 echo "$as_me: failed program was:" >&5
67611 sed 's/^/| /' conftest.$ac_ext >&5
67613 eval "$as_ac_var=no"
67615 rm -f conftest.err conftest.$ac_objext \
67616 conftest$ac_exeext conftest.$ac_ext
67618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67620 if test `eval echo '${'$as_ac_var'}'` = yes; then
67621 cat >>confdefs.h <<_ACEOF
67622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67623 _ACEOF
67626 done
67638 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
67639 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
67640 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67641 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
67642 echo $ECHO_N "(cached) $ECHO_C" >&6
67643 else
67647 ac_ext=cc
67648 ac_cpp='$CXXCPP $CPPFLAGS'
67649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67653 cat >conftest.$ac_ext <<_ACEOF
67654 /* confdefs.h. */
67655 _ACEOF
67656 cat confdefs.h >>conftest.$ac_ext
67657 cat >>conftest.$ac_ext <<_ACEOF
67658 /* end confdefs.h. */
67659 #include <math.h>
67660 #ifdef HAVE_IEEEFP_H
67661 #include <ieeefp.h>
67662 #endif
67665 main ()
67667 isnanl(0);
67669 return 0;
67671 _ACEOF
67672 rm -f conftest.$ac_objext
67673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67674 (eval $ac_compile) 2>conftest.er1
67675 ac_status=$?
67676 grep -v '^ *+' conftest.er1 >conftest.err
67677 rm -f conftest.er1
67678 cat conftest.err >&5
67679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680 (exit $ac_status); } &&
67681 { ac_try='test -z "$ac_cxx_werror_flag"
67682 || test ! -s conftest.err'
67683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67684 (eval $ac_try) 2>&5
67685 ac_status=$?
67686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67687 (exit $ac_status); }; } &&
67688 { ac_try='test -s conftest.$ac_objext'
67689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67690 (eval $ac_try) 2>&5
67691 ac_status=$?
67692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67693 (exit $ac_status); }; }; then
67694 glibcxx_cv_func_isnanl_use=yes
67695 else
67696 echo "$as_me: failed program was:" >&5
67697 sed 's/^/| /' conftest.$ac_ext >&5
67699 glibcxx_cv_func_isnanl_use=no
67701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67702 ac_ext=c
67703 ac_cpp='$CPP $CPPFLAGS'
67704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
67713 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
67715 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67717 for ac_func in isnanl
67719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67720 echo "$as_me:$LINENO: checking for $ac_func" >&5
67721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67722 if eval "test \"\${$as_ac_var+set}\" = set"; then
67723 echo $ECHO_N "(cached) $ECHO_C" >&6
67724 else
67725 if test x$gcc_no_link = xyes; then
67726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67728 { (exit 1); exit 1; }; }
67730 cat >conftest.$ac_ext <<_ACEOF
67731 /* confdefs.h. */
67732 _ACEOF
67733 cat confdefs.h >>conftest.$ac_ext
67734 cat >>conftest.$ac_ext <<_ACEOF
67735 /* end confdefs.h. */
67736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67738 #define $ac_func innocuous_$ac_func
67740 /* System header to define __stub macros and hopefully few prototypes,
67741 which can conflict with char $ac_func (); below.
67742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67743 <limits.h> exists even on freestanding compilers. */
67745 #ifdef __STDC__
67746 # include <limits.h>
67747 #else
67748 # include <assert.h>
67749 #endif
67751 #undef $ac_func
67753 /* Override any gcc2 internal prototype to avoid an error. */
67754 #ifdef __cplusplus
67755 extern "C"
67757 #endif
67758 /* We use char because int might match the return type of a gcc2
67759 builtin and then its argument prototype would still apply. */
67760 char $ac_func ();
67761 /* The GNU C library defines this for functions which it implements
67762 to always fail with ENOSYS. Some functions are actually named
67763 something starting with __ and the normal name is an alias. */
67764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67765 choke me
67766 #else
67767 char (*f) () = $ac_func;
67768 #endif
67769 #ifdef __cplusplus
67771 #endif
67774 main ()
67776 return f != $ac_func;
67778 return 0;
67780 _ACEOF
67781 rm -f conftest.$ac_objext conftest$ac_exeext
67782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67783 (eval $ac_link) 2>conftest.er1
67784 ac_status=$?
67785 grep -v '^ *+' conftest.er1 >conftest.err
67786 rm -f conftest.er1
67787 cat conftest.err >&5
67788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67789 (exit $ac_status); } &&
67790 { ac_try='test -z "$ac_c_werror_flag"
67791 || test ! -s conftest.err'
67792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67793 (eval $ac_try) 2>&5
67794 ac_status=$?
67795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67796 (exit $ac_status); }; } &&
67797 { ac_try='test -s conftest$ac_exeext'
67798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67799 (eval $ac_try) 2>&5
67800 ac_status=$?
67801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67802 (exit $ac_status); }; }; then
67803 eval "$as_ac_var=yes"
67804 else
67805 echo "$as_me: failed program was:" >&5
67806 sed 's/^/| /' conftest.$ac_ext >&5
67808 eval "$as_ac_var=no"
67810 rm -f conftest.err conftest.$ac_objext \
67811 conftest$ac_exeext conftest.$ac_ext
67813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67815 if test `eval echo '${'$as_ac_var'}'` = yes; then
67816 cat >>confdefs.h <<_ACEOF
67817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67818 _ACEOF
67821 done
67823 else
67825 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
67826 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
67827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
67829 echo $ECHO_N "(cached) $ECHO_C" >&6
67830 else
67834 ac_ext=cc
67835 ac_cpp='$CXXCPP $CPPFLAGS'
67836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67840 cat >conftest.$ac_ext <<_ACEOF
67841 /* confdefs.h. */
67842 _ACEOF
67843 cat confdefs.h >>conftest.$ac_ext
67844 cat >>conftest.$ac_ext <<_ACEOF
67845 /* end confdefs.h. */
67846 #include <math.h>
67847 #ifdef HAVE_IEEEFP_H
67848 #include <ieeefp.h>
67849 #endif
67852 main ()
67854 _isnanl(0);
67856 return 0;
67858 _ACEOF
67859 rm -f conftest.$ac_objext
67860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67861 (eval $ac_compile) 2>conftest.er1
67862 ac_status=$?
67863 grep -v '^ *+' conftest.er1 >conftest.err
67864 rm -f conftest.er1
67865 cat conftest.err >&5
67866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867 (exit $ac_status); } &&
67868 { ac_try='test -z "$ac_cxx_werror_flag"
67869 || test ! -s conftest.err'
67870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67871 (eval $ac_try) 2>&5
67872 ac_status=$?
67873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67874 (exit $ac_status); }; } &&
67875 { ac_try='test -s conftest.$ac_objext'
67876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67877 (eval $ac_try) 2>&5
67878 ac_status=$?
67879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67880 (exit $ac_status); }; }; then
67881 glibcxx_cv_func__isnanl_use=yes
67882 else
67883 echo "$as_me: failed program was:" >&5
67884 sed 's/^/| /' conftest.$ac_ext >&5
67886 glibcxx_cv_func__isnanl_use=no
67888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67889 ac_ext=c
67890 ac_cpp='$CPP $CPPFLAGS'
67891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
67900 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
67902 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67904 for ac_func in _isnanl
67906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67907 echo "$as_me:$LINENO: checking for $ac_func" >&5
67908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67909 if eval "test \"\${$as_ac_var+set}\" = set"; then
67910 echo $ECHO_N "(cached) $ECHO_C" >&6
67911 else
67912 if test x$gcc_no_link = xyes; then
67913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67915 { (exit 1); exit 1; }; }
67917 cat >conftest.$ac_ext <<_ACEOF
67918 /* confdefs.h. */
67919 _ACEOF
67920 cat confdefs.h >>conftest.$ac_ext
67921 cat >>conftest.$ac_ext <<_ACEOF
67922 /* end confdefs.h. */
67923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67925 #define $ac_func innocuous_$ac_func
67927 /* System header to define __stub macros and hopefully few prototypes,
67928 which can conflict with char $ac_func (); below.
67929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67930 <limits.h> exists even on freestanding compilers. */
67932 #ifdef __STDC__
67933 # include <limits.h>
67934 #else
67935 # include <assert.h>
67936 #endif
67938 #undef $ac_func
67940 /* Override any gcc2 internal prototype to avoid an error. */
67941 #ifdef __cplusplus
67942 extern "C"
67944 #endif
67945 /* We use char because int might match the return type of a gcc2
67946 builtin and then its argument prototype would still apply. */
67947 char $ac_func ();
67948 /* The GNU C library defines this for functions which it implements
67949 to always fail with ENOSYS. Some functions are actually named
67950 something starting with __ and the normal name is an alias. */
67951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67952 choke me
67953 #else
67954 char (*f) () = $ac_func;
67955 #endif
67956 #ifdef __cplusplus
67958 #endif
67961 main ()
67963 return f != $ac_func;
67965 return 0;
67967 _ACEOF
67968 rm -f conftest.$ac_objext conftest$ac_exeext
67969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67970 (eval $ac_link) 2>conftest.er1
67971 ac_status=$?
67972 grep -v '^ *+' conftest.er1 >conftest.err
67973 rm -f conftest.er1
67974 cat conftest.err >&5
67975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67976 (exit $ac_status); } &&
67977 { ac_try='test -z "$ac_c_werror_flag"
67978 || test ! -s conftest.err'
67979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67980 (eval $ac_try) 2>&5
67981 ac_status=$?
67982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67983 (exit $ac_status); }; } &&
67984 { ac_try='test -s conftest$ac_exeext'
67985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67986 (eval $ac_try) 2>&5
67987 ac_status=$?
67988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67989 (exit $ac_status); }; }; then
67990 eval "$as_ac_var=yes"
67991 else
67992 echo "$as_me: failed program was:" >&5
67993 sed 's/^/| /' conftest.$ac_ext >&5
67995 eval "$as_ac_var=no"
67997 rm -f conftest.err conftest.$ac_objext \
67998 conftest$ac_exeext conftest.$ac_ext
68000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68002 if test `eval echo '${'$as_ac_var'}'` = yes; then
68003 cat >>confdefs.h <<_ACEOF
68004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68005 _ACEOF
68008 done
68018 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
68019 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
68020 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68021 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
68022 echo $ECHO_N "(cached) $ECHO_C" >&6
68023 else
68027 ac_ext=cc
68028 ac_cpp='$CXXCPP $CPPFLAGS'
68029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68033 cat >conftest.$ac_ext <<_ACEOF
68034 /* confdefs.h. */
68035 _ACEOF
68036 cat confdefs.h >>conftest.$ac_ext
68037 cat >>conftest.$ac_ext <<_ACEOF
68038 /* end confdefs.h. */
68039 #include <math.h>
68040 #ifdef HAVE_IEEEFP_H
68041 #include <ieeefp.h>
68042 #endif
68045 main ()
68047 isinfl(0);
68049 return 0;
68051 _ACEOF
68052 rm -f conftest.$ac_objext
68053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68054 (eval $ac_compile) 2>conftest.er1
68055 ac_status=$?
68056 grep -v '^ *+' conftest.er1 >conftest.err
68057 rm -f conftest.er1
68058 cat conftest.err >&5
68059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68060 (exit $ac_status); } &&
68061 { ac_try='test -z "$ac_cxx_werror_flag"
68062 || test ! -s conftest.err'
68063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68064 (eval $ac_try) 2>&5
68065 ac_status=$?
68066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067 (exit $ac_status); }; } &&
68068 { ac_try='test -s conftest.$ac_objext'
68069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68070 (eval $ac_try) 2>&5
68071 ac_status=$?
68072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68073 (exit $ac_status); }; }; then
68074 glibcxx_cv_func_isinfl_use=yes
68075 else
68076 echo "$as_me: failed program was:" >&5
68077 sed 's/^/| /' conftest.$ac_ext >&5
68079 glibcxx_cv_func_isinfl_use=no
68081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68082 ac_ext=c
68083 ac_cpp='$CPP $CPPFLAGS'
68084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
68093 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
68095 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68097 for ac_func in isinfl
68099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68100 echo "$as_me:$LINENO: checking for $ac_func" >&5
68101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68102 if eval "test \"\${$as_ac_var+set}\" = set"; then
68103 echo $ECHO_N "(cached) $ECHO_C" >&6
68104 else
68105 if test x$gcc_no_link = xyes; then
68106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68108 { (exit 1); exit 1; }; }
68110 cat >conftest.$ac_ext <<_ACEOF
68111 /* confdefs.h. */
68112 _ACEOF
68113 cat confdefs.h >>conftest.$ac_ext
68114 cat >>conftest.$ac_ext <<_ACEOF
68115 /* end confdefs.h. */
68116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68118 #define $ac_func innocuous_$ac_func
68120 /* System header to define __stub macros and hopefully few prototypes,
68121 which can conflict with char $ac_func (); below.
68122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68123 <limits.h> exists even on freestanding compilers. */
68125 #ifdef __STDC__
68126 # include <limits.h>
68127 #else
68128 # include <assert.h>
68129 #endif
68131 #undef $ac_func
68133 /* Override any gcc2 internal prototype to avoid an error. */
68134 #ifdef __cplusplus
68135 extern "C"
68137 #endif
68138 /* We use char because int might match the return type of a gcc2
68139 builtin and then its argument prototype would still apply. */
68140 char $ac_func ();
68141 /* The GNU C library defines this for functions which it implements
68142 to always fail with ENOSYS. Some functions are actually named
68143 something starting with __ and the normal name is an alias. */
68144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68145 choke me
68146 #else
68147 char (*f) () = $ac_func;
68148 #endif
68149 #ifdef __cplusplus
68151 #endif
68154 main ()
68156 return f != $ac_func;
68158 return 0;
68160 _ACEOF
68161 rm -f conftest.$ac_objext conftest$ac_exeext
68162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68163 (eval $ac_link) 2>conftest.er1
68164 ac_status=$?
68165 grep -v '^ *+' conftest.er1 >conftest.err
68166 rm -f conftest.er1
68167 cat conftest.err >&5
68168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68169 (exit $ac_status); } &&
68170 { ac_try='test -z "$ac_c_werror_flag"
68171 || test ! -s conftest.err'
68172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68173 (eval $ac_try) 2>&5
68174 ac_status=$?
68175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68176 (exit $ac_status); }; } &&
68177 { ac_try='test -s conftest$ac_exeext'
68178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68179 (eval $ac_try) 2>&5
68180 ac_status=$?
68181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68182 (exit $ac_status); }; }; then
68183 eval "$as_ac_var=yes"
68184 else
68185 echo "$as_me: failed program was:" >&5
68186 sed 's/^/| /' conftest.$ac_ext >&5
68188 eval "$as_ac_var=no"
68190 rm -f conftest.err conftest.$ac_objext \
68191 conftest$ac_exeext conftest.$ac_ext
68193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68195 if test `eval echo '${'$as_ac_var'}'` = yes; then
68196 cat >>confdefs.h <<_ACEOF
68197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68198 _ACEOF
68201 done
68203 else
68205 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
68206 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
68207 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68208 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
68209 echo $ECHO_N "(cached) $ECHO_C" >&6
68210 else
68214 ac_ext=cc
68215 ac_cpp='$CXXCPP $CPPFLAGS'
68216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68220 cat >conftest.$ac_ext <<_ACEOF
68221 /* confdefs.h. */
68222 _ACEOF
68223 cat confdefs.h >>conftest.$ac_ext
68224 cat >>conftest.$ac_ext <<_ACEOF
68225 /* end confdefs.h. */
68226 #include <math.h>
68227 #ifdef HAVE_IEEEFP_H
68228 #include <ieeefp.h>
68229 #endif
68232 main ()
68234 _isinfl(0);
68236 return 0;
68238 _ACEOF
68239 rm -f conftest.$ac_objext
68240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68241 (eval $ac_compile) 2>conftest.er1
68242 ac_status=$?
68243 grep -v '^ *+' conftest.er1 >conftest.err
68244 rm -f conftest.er1
68245 cat conftest.err >&5
68246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68247 (exit $ac_status); } &&
68248 { ac_try='test -z "$ac_cxx_werror_flag"
68249 || test ! -s conftest.err'
68250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68251 (eval $ac_try) 2>&5
68252 ac_status=$?
68253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68254 (exit $ac_status); }; } &&
68255 { ac_try='test -s conftest.$ac_objext'
68256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68257 (eval $ac_try) 2>&5
68258 ac_status=$?
68259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68260 (exit $ac_status); }; }; then
68261 glibcxx_cv_func__isinfl_use=yes
68262 else
68263 echo "$as_me: failed program was:" >&5
68264 sed 's/^/| /' conftest.$ac_ext >&5
68266 glibcxx_cv_func__isinfl_use=no
68268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68269 ac_ext=c
68270 ac_cpp='$CPP $CPPFLAGS'
68271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68279 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
68280 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
68282 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68284 for ac_func in _isinfl
68286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68287 echo "$as_me:$LINENO: checking for $ac_func" >&5
68288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68289 if eval "test \"\${$as_ac_var+set}\" = set"; then
68290 echo $ECHO_N "(cached) $ECHO_C" >&6
68291 else
68292 if test x$gcc_no_link = xyes; then
68293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68295 { (exit 1); exit 1; }; }
68297 cat >conftest.$ac_ext <<_ACEOF
68298 /* confdefs.h. */
68299 _ACEOF
68300 cat confdefs.h >>conftest.$ac_ext
68301 cat >>conftest.$ac_ext <<_ACEOF
68302 /* end confdefs.h. */
68303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68305 #define $ac_func innocuous_$ac_func
68307 /* System header to define __stub macros and hopefully few prototypes,
68308 which can conflict with char $ac_func (); below.
68309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68310 <limits.h> exists even on freestanding compilers. */
68312 #ifdef __STDC__
68313 # include <limits.h>
68314 #else
68315 # include <assert.h>
68316 #endif
68318 #undef $ac_func
68320 /* Override any gcc2 internal prototype to avoid an error. */
68321 #ifdef __cplusplus
68322 extern "C"
68324 #endif
68325 /* We use char because int might match the return type of a gcc2
68326 builtin and then its argument prototype would still apply. */
68327 char $ac_func ();
68328 /* The GNU C library defines this for functions which it implements
68329 to always fail with ENOSYS. Some functions are actually named
68330 something starting with __ and the normal name is an alias. */
68331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68332 choke me
68333 #else
68334 char (*f) () = $ac_func;
68335 #endif
68336 #ifdef __cplusplus
68338 #endif
68341 main ()
68343 return f != $ac_func;
68345 return 0;
68347 _ACEOF
68348 rm -f conftest.$ac_objext conftest$ac_exeext
68349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68350 (eval $ac_link) 2>conftest.er1
68351 ac_status=$?
68352 grep -v '^ *+' conftest.er1 >conftest.err
68353 rm -f conftest.er1
68354 cat conftest.err >&5
68355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68356 (exit $ac_status); } &&
68357 { ac_try='test -z "$ac_c_werror_flag"
68358 || test ! -s conftest.err'
68359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68360 (eval $ac_try) 2>&5
68361 ac_status=$?
68362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68363 (exit $ac_status); }; } &&
68364 { ac_try='test -s conftest$ac_exeext'
68365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68366 (eval $ac_try) 2>&5
68367 ac_status=$?
68368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68369 (exit $ac_status); }; }; then
68370 eval "$as_ac_var=yes"
68371 else
68372 echo "$as_me: failed program was:" >&5
68373 sed 's/^/| /' conftest.$ac_ext >&5
68375 eval "$as_ac_var=no"
68377 rm -f conftest.err conftest.$ac_objext \
68378 conftest$ac_exeext conftest.$ac_ext
68380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68382 if test `eval echo '${'$as_ac_var'}'` = yes; then
68383 cat >>confdefs.h <<_ACEOF
68384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68385 _ACEOF
68388 done
68398 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
68399 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
68400 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
68401 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
68402 echo $ECHO_N "(cached) $ECHO_C" >&6
68403 else
68407 ac_ext=cc
68408 ac_cpp='$CXXCPP $CPPFLAGS'
68409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68413 cat >conftest.$ac_ext <<_ACEOF
68414 /* confdefs.h. */
68415 _ACEOF
68416 cat confdefs.h >>conftest.$ac_ext
68417 cat >>conftest.$ac_ext <<_ACEOF
68418 /* end confdefs.h. */
68419 #include <math.h>
68421 main ()
68423 copysignl(0, 0);
68425 return 0;
68427 _ACEOF
68428 rm -f conftest.$ac_objext
68429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68430 (eval $ac_compile) 2>conftest.er1
68431 ac_status=$?
68432 grep -v '^ *+' conftest.er1 >conftest.err
68433 rm -f conftest.er1
68434 cat conftest.err >&5
68435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436 (exit $ac_status); } &&
68437 { ac_try='test -z "$ac_cxx_werror_flag"
68438 || test ! -s conftest.err'
68439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68440 (eval $ac_try) 2>&5
68441 ac_status=$?
68442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68443 (exit $ac_status); }; } &&
68444 { ac_try='test -s conftest.$ac_objext'
68445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68446 (eval $ac_try) 2>&5
68447 ac_status=$?
68448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68449 (exit $ac_status); }; }; then
68450 glibcxx_cv_func_copysignl_use=yes
68451 else
68452 echo "$as_me: failed program was:" >&5
68453 sed 's/^/| /' conftest.$ac_ext >&5
68455 glibcxx_cv_func_copysignl_use=no
68457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68458 ac_ext=c
68459 ac_cpp='$CPP $CPPFLAGS'
68460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
68469 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
68471 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
68473 for ac_func in copysignl
68475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68476 echo "$as_me:$LINENO: checking for $ac_func" >&5
68477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68478 if eval "test \"\${$as_ac_var+set}\" = set"; then
68479 echo $ECHO_N "(cached) $ECHO_C" >&6
68480 else
68481 if test x$gcc_no_link = xyes; then
68482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68484 { (exit 1); exit 1; }; }
68486 cat >conftest.$ac_ext <<_ACEOF
68487 /* confdefs.h. */
68488 _ACEOF
68489 cat confdefs.h >>conftest.$ac_ext
68490 cat >>conftest.$ac_ext <<_ACEOF
68491 /* end confdefs.h. */
68492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68494 #define $ac_func innocuous_$ac_func
68496 /* System header to define __stub macros and hopefully few prototypes,
68497 which can conflict with char $ac_func (); below.
68498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68499 <limits.h> exists even on freestanding compilers. */
68501 #ifdef __STDC__
68502 # include <limits.h>
68503 #else
68504 # include <assert.h>
68505 #endif
68507 #undef $ac_func
68509 /* Override any gcc2 internal prototype to avoid an error. */
68510 #ifdef __cplusplus
68511 extern "C"
68513 #endif
68514 /* We use char because int might match the return type of a gcc2
68515 builtin and then its argument prototype would still apply. */
68516 char $ac_func ();
68517 /* The GNU C library defines this for functions which it implements
68518 to always fail with ENOSYS. Some functions are actually named
68519 something starting with __ and the normal name is an alias. */
68520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68521 choke me
68522 #else
68523 char (*f) () = $ac_func;
68524 #endif
68525 #ifdef __cplusplus
68527 #endif
68530 main ()
68532 return f != $ac_func;
68534 return 0;
68536 _ACEOF
68537 rm -f conftest.$ac_objext conftest$ac_exeext
68538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68539 (eval $ac_link) 2>conftest.er1
68540 ac_status=$?
68541 grep -v '^ *+' conftest.er1 >conftest.err
68542 rm -f conftest.er1
68543 cat conftest.err >&5
68544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68545 (exit $ac_status); } &&
68546 { ac_try='test -z "$ac_c_werror_flag"
68547 || test ! -s conftest.err'
68548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68549 (eval $ac_try) 2>&5
68550 ac_status=$?
68551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68552 (exit $ac_status); }; } &&
68553 { ac_try='test -s conftest$ac_exeext'
68554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68555 (eval $ac_try) 2>&5
68556 ac_status=$?
68557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68558 (exit $ac_status); }; }; then
68559 eval "$as_ac_var=yes"
68560 else
68561 echo "$as_me: failed program was:" >&5
68562 sed 's/^/| /' conftest.$ac_ext >&5
68564 eval "$as_ac_var=no"
68566 rm -f conftest.err conftest.$ac_objext \
68567 conftest$ac_exeext conftest.$ac_ext
68569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68571 if test `eval echo '${'$as_ac_var'}'` = yes; then
68572 cat >>confdefs.h <<_ACEOF
68573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68574 _ACEOF
68577 done
68579 else
68581 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
68582 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
68583 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
68584 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
68585 echo $ECHO_N "(cached) $ECHO_C" >&6
68586 else
68590 ac_ext=cc
68591 ac_cpp='$CXXCPP $CPPFLAGS'
68592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68596 cat >conftest.$ac_ext <<_ACEOF
68597 /* confdefs.h. */
68598 _ACEOF
68599 cat confdefs.h >>conftest.$ac_ext
68600 cat >>conftest.$ac_ext <<_ACEOF
68601 /* end confdefs.h. */
68602 #include <math.h>
68604 main ()
68606 _copysignl(0, 0);
68608 return 0;
68610 _ACEOF
68611 rm -f conftest.$ac_objext
68612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68613 (eval $ac_compile) 2>conftest.er1
68614 ac_status=$?
68615 grep -v '^ *+' conftest.er1 >conftest.err
68616 rm -f conftest.er1
68617 cat conftest.err >&5
68618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619 (exit $ac_status); } &&
68620 { ac_try='test -z "$ac_cxx_werror_flag"
68621 || test ! -s conftest.err'
68622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68623 (eval $ac_try) 2>&5
68624 ac_status=$?
68625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68626 (exit $ac_status); }; } &&
68627 { ac_try='test -s conftest.$ac_objext'
68628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68629 (eval $ac_try) 2>&5
68630 ac_status=$?
68631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632 (exit $ac_status); }; }; then
68633 glibcxx_cv_func__copysignl_use=yes
68634 else
68635 echo "$as_me: failed program was:" >&5
68636 sed 's/^/| /' conftest.$ac_ext >&5
68638 glibcxx_cv_func__copysignl_use=no
68640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68641 ac_ext=c
68642 ac_cpp='$CPP $CPPFLAGS'
68643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
68652 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
68654 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
68656 for ac_func in _copysignl
68658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68659 echo "$as_me:$LINENO: checking for $ac_func" >&5
68660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68661 if eval "test \"\${$as_ac_var+set}\" = set"; then
68662 echo $ECHO_N "(cached) $ECHO_C" >&6
68663 else
68664 if test x$gcc_no_link = xyes; then
68665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68667 { (exit 1); exit 1; }; }
68669 cat >conftest.$ac_ext <<_ACEOF
68670 /* confdefs.h. */
68671 _ACEOF
68672 cat confdefs.h >>conftest.$ac_ext
68673 cat >>conftest.$ac_ext <<_ACEOF
68674 /* end confdefs.h. */
68675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68677 #define $ac_func innocuous_$ac_func
68679 /* System header to define __stub macros and hopefully few prototypes,
68680 which can conflict with char $ac_func (); below.
68681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68682 <limits.h> exists even on freestanding compilers. */
68684 #ifdef __STDC__
68685 # include <limits.h>
68686 #else
68687 # include <assert.h>
68688 #endif
68690 #undef $ac_func
68692 /* Override any gcc2 internal prototype to avoid an error. */
68693 #ifdef __cplusplus
68694 extern "C"
68696 #endif
68697 /* We use char because int might match the return type of a gcc2
68698 builtin and then its argument prototype would still apply. */
68699 char $ac_func ();
68700 /* The GNU C library defines this for functions which it implements
68701 to always fail with ENOSYS. Some functions are actually named
68702 something starting with __ and the normal name is an alias. */
68703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68704 choke me
68705 #else
68706 char (*f) () = $ac_func;
68707 #endif
68708 #ifdef __cplusplus
68710 #endif
68713 main ()
68715 return f != $ac_func;
68717 return 0;
68719 _ACEOF
68720 rm -f conftest.$ac_objext conftest$ac_exeext
68721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68722 (eval $ac_link) 2>conftest.er1
68723 ac_status=$?
68724 grep -v '^ *+' conftest.er1 >conftest.err
68725 rm -f conftest.er1
68726 cat conftest.err >&5
68727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68728 (exit $ac_status); } &&
68729 { ac_try='test -z "$ac_c_werror_flag"
68730 || test ! -s conftest.err'
68731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68732 (eval $ac_try) 2>&5
68733 ac_status=$?
68734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68735 (exit $ac_status); }; } &&
68736 { ac_try='test -s conftest$ac_exeext'
68737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68738 (eval $ac_try) 2>&5
68739 ac_status=$?
68740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68741 (exit $ac_status); }; }; then
68742 eval "$as_ac_var=yes"
68743 else
68744 echo "$as_me: failed program was:" >&5
68745 sed 's/^/| /' conftest.$ac_ext >&5
68747 eval "$as_ac_var=no"
68749 rm -f conftest.err conftest.$ac_objext \
68750 conftest$ac_exeext conftest.$ac_ext
68752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68754 if test `eval echo '${'$as_ac_var'}'` = yes; then
68755 cat >>confdefs.h <<_ACEOF
68756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68757 _ACEOF
68760 done
68770 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
68771 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
68772 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68773 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
68774 echo $ECHO_N "(cached) $ECHO_C" >&6
68775 else
68779 ac_ext=cc
68780 ac_cpp='$CXXCPP $CPPFLAGS'
68781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68785 cat >conftest.$ac_ext <<_ACEOF
68786 /* confdefs.h. */
68787 _ACEOF
68788 cat confdefs.h >>conftest.$ac_ext
68789 cat >>conftest.$ac_ext <<_ACEOF
68790 /* end confdefs.h. */
68791 #include <math.h>
68793 main ()
68795 atan2l(0, 0);
68797 return 0;
68799 _ACEOF
68800 rm -f conftest.$ac_objext
68801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68802 (eval $ac_compile) 2>conftest.er1
68803 ac_status=$?
68804 grep -v '^ *+' conftest.er1 >conftest.err
68805 rm -f conftest.er1
68806 cat conftest.err >&5
68807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68808 (exit $ac_status); } &&
68809 { ac_try='test -z "$ac_cxx_werror_flag"
68810 || test ! -s conftest.err'
68811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68812 (eval $ac_try) 2>&5
68813 ac_status=$?
68814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68815 (exit $ac_status); }; } &&
68816 { ac_try='test -s conftest.$ac_objext'
68817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68818 (eval $ac_try) 2>&5
68819 ac_status=$?
68820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68821 (exit $ac_status); }; }; then
68822 glibcxx_cv_func_atan2l_use=yes
68823 else
68824 echo "$as_me: failed program was:" >&5
68825 sed 's/^/| /' conftest.$ac_ext >&5
68827 glibcxx_cv_func_atan2l_use=no
68829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68830 ac_ext=c
68831 ac_cpp='$CPP $CPPFLAGS'
68832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
68841 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
68843 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68845 for ac_func in atan2l
68847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68848 echo "$as_me:$LINENO: checking for $ac_func" >&5
68849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68850 if eval "test \"\${$as_ac_var+set}\" = set"; then
68851 echo $ECHO_N "(cached) $ECHO_C" >&6
68852 else
68853 if test x$gcc_no_link = xyes; then
68854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68856 { (exit 1); exit 1; }; }
68858 cat >conftest.$ac_ext <<_ACEOF
68859 /* confdefs.h. */
68860 _ACEOF
68861 cat confdefs.h >>conftest.$ac_ext
68862 cat >>conftest.$ac_ext <<_ACEOF
68863 /* end confdefs.h. */
68864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68866 #define $ac_func innocuous_$ac_func
68868 /* System header to define __stub macros and hopefully few prototypes,
68869 which can conflict with char $ac_func (); below.
68870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68871 <limits.h> exists even on freestanding compilers. */
68873 #ifdef __STDC__
68874 # include <limits.h>
68875 #else
68876 # include <assert.h>
68877 #endif
68879 #undef $ac_func
68881 /* Override any gcc2 internal prototype to avoid an error. */
68882 #ifdef __cplusplus
68883 extern "C"
68885 #endif
68886 /* We use char because int might match the return type of a gcc2
68887 builtin and then its argument prototype would still apply. */
68888 char $ac_func ();
68889 /* The GNU C library defines this for functions which it implements
68890 to always fail with ENOSYS. Some functions are actually named
68891 something starting with __ and the normal name is an alias. */
68892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68893 choke me
68894 #else
68895 char (*f) () = $ac_func;
68896 #endif
68897 #ifdef __cplusplus
68899 #endif
68902 main ()
68904 return f != $ac_func;
68906 return 0;
68908 _ACEOF
68909 rm -f conftest.$ac_objext conftest$ac_exeext
68910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68911 (eval $ac_link) 2>conftest.er1
68912 ac_status=$?
68913 grep -v '^ *+' conftest.er1 >conftest.err
68914 rm -f conftest.er1
68915 cat conftest.err >&5
68916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68917 (exit $ac_status); } &&
68918 { ac_try='test -z "$ac_c_werror_flag"
68919 || test ! -s conftest.err'
68920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68921 (eval $ac_try) 2>&5
68922 ac_status=$?
68923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68924 (exit $ac_status); }; } &&
68925 { ac_try='test -s conftest$ac_exeext'
68926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68927 (eval $ac_try) 2>&5
68928 ac_status=$?
68929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68930 (exit $ac_status); }; }; then
68931 eval "$as_ac_var=yes"
68932 else
68933 echo "$as_me: failed program was:" >&5
68934 sed 's/^/| /' conftest.$ac_ext >&5
68936 eval "$as_ac_var=no"
68938 rm -f conftest.err conftest.$ac_objext \
68939 conftest$ac_exeext conftest.$ac_ext
68941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68943 if test `eval echo '${'$as_ac_var'}'` = yes; then
68944 cat >>confdefs.h <<_ACEOF
68945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68946 _ACEOF
68949 done
68951 else
68953 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
68954 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
68955 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68956 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
68957 echo $ECHO_N "(cached) $ECHO_C" >&6
68958 else
68962 ac_ext=cc
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68968 cat >conftest.$ac_ext <<_ACEOF
68969 /* confdefs.h. */
68970 _ACEOF
68971 cat confdefs.h >>conftest.$ac_ext
68972 cat >>conftest.$ac_ext <<_ACEOF
68973 /* end confdefs.h. */
68974 #include <math.h>
68976 main ()
68978 _atan2l(0, 0);
68980 return 0;
68982 _ACEOF
68983 rm -f conftest.$ac_objext
68984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68985 (eval $ac_compile) 2>conftest.er1
68986 ac_status=$?
68987 grep -v '^ *+' conftest.er1 >conftest.err
68988 rm -f conftest.er1
68989 cat conftest.err >&5
68990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68991 (exit $ac_status); } &&
68992 { ac_try='test -z "$ac_cxx_werror_flag"
68993 || test ! -s conftest.err'
68994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68995 (eval $ac_try) 2>&5
68996 ac_status=$?
68997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998 (exit $ac_status); }; } &&
68999 { ac_try='test -s conftest.$ac_objext'
69000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69001 (eval $ac_try) 2>&5
69002 ac_status=$?
69003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69004 (exit $ac_status); }; }; then
69005 glibcxx_cv_func__atan2l_use=yes
69006 else
69007 echo "$as_me: failed program was:" >&5
69008 sed 's/^/| /' conftest.$ac_ext >&5
69010 glibcxx_cv_func__atan2l_use=no
69012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
69024 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
69026 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69028 for ac_func in _atan2l
69030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69031 echo "$as_me:$LINENO: checking for $ac_func" >&5
69032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69033 if eval "test \"\${$as_ac_var+set}\" = set"; then
69034 echo $ECHO_N "(cached) $ECHO_C" >&6
69035 else
69036 if test x$gcc_no_link = xyes; then
69037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69039 { (exit 1); exit 1; }; }
69041 cat >conftest.$ac_ext <<_ACEOF
69042 /* confdefs.h. */
69043 _ACEOF
69044 cat confdefs.h >>conftest.$ac_ext
69045 cat >>conftest.$ac_ext <<_ACEOF
69046 /* end confdefs.h. */
69047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69049 #define $ac_func innocuous_$ac_func
69051 /* System header to define __stub macros and hopefully few prototypes,
69052 which can conflict with char $ac_func (); below.
69053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69054 <limits.h> exists even on freestanding compilers. */
69056 #ifdef __STDC__
69057 # include <limits.h>
69058 #else
69059 # include <assert.h>
69060 #endif
69062 #undef $ac_func
69064 /* Override any gcc2 internal prototype to avoid an error. */
69065 #ifdef __cplusplus
69066 extern "C"
69068 #endif
69069 /* We use char because int might match the return type of a gcc2
69070 builtin and then its argument prototype would still apply. */
69071 char $ac_func ();
69072 /* The GNU C library defines this for functions which it implements
69073 to always fail with ENOSYS. Some functions are actually named
69074 something starting with __ and the normal name is an alias. */
69075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69076 choke me
69077 #else
69078 char (*f) () = $ac_func;
69079 #endif
69080 #ifdef __cplusplus
69082 #endif
69085 main ()
69087 return f != $ac_func;
69089 return 0;
69091 _ACEOF
69092 rm -f conftest.$ac_objext conftest$ac_exeext
69093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69094 (eval $ac_link) 2>conftest.er1
69095 ac_status=$?
69096 grep -v '^ *+' conftest.er1 >conftest.err
69097 rm -f conftest.er1
69098 cat conftest.err >&5
69099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69100 (exit $ac_status); } &&
69101 { ac_try='test -z "$ac_c_werror_flag"
69102 || test ! -s conftest.err'
69103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69104 (eval $ac_try) 2>&5
69105 ac_status=$?
69106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69107 (exit $ac_status); }; } &&
69108 { ac_try='test -s conftest$ac_exeext'
69109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69110 (eval $ac_try) 2>&5
69111 ac_status=$?
69112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69113 (exit $ac_status); }; }; then
69114 eval "$as_ac_var=yes"
69115 else
69116 echo "$as_me: failed program was:" >&5
69117 sed 's/^/| /' conftest.$ac_ext >&5
69119 eval "$as_ac_var=no"
69121 rm -f conftest.err conftest.$ac_objext \
69122 conftest$ac_exeext conftest.$ac_ext
69124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69126 if test `eval echo '${'$as_ac_var'}'` = yes; then
69127 cat >>confdefs.h <<_ACEOF
69128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69129 _ACEOF
69132 done
69142 echo "$as_me:$LINENO: checking for expl declaration" >&5
69143 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
69144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69145 if test "${glibcxx_cv_func_expl_use+set}" = set; then
69146 echo $ECHO_N "(cached) $ECHO_C" >&6
69147 else
69151 ac_ext=cc
69152 ac_cpp='$CXXCPP $CPPFLAGS'
69153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69157 cat >conftest.$ac_ext <<_ACEOF
69158 /* confdefs.h. */
69159 _ACEOF
69160 cat confdefs.h >>conftest.$ac_ext
69161 cat >>conftest.$ac_ext <<_ACEOF
69162 /* end confdefs.h. */
69163 #include <math.h>
69164 #ifdef HAVE_IEEEFP_H
69165 #include <ieeefp.h>
69166 #endif
69169 main ()
69171 expl(0);
69173 return 0;
69175 _ACEOF
69176 rm -f conftest.$ac_objext
69177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69178 (eval $ac_compile) 2>conftest.er1
69179 ac_status=$?
69180 grep -v '^ *+' conftest.er1 >conftest.err
69181 rm -f conftest.er1
69182 cat conftest.err >&5
69183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69184 (exit $ac_status); } &&
69185 { ac_try='test -z "$ac_cxx_werror_flag"
69186 || test ! -s conftest.err'
69187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69188 (eval $ac_try) 2>&5
69189 ac_status=$?
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); }; } &&
69192 { ac_try='test -s conftest.$ac_objext'
69193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69194 (eval $ac_try) 2>&5
69195 ac_status=$?
69196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69197 (exit $ac_status); }; }; then
69198 glibcxx_cv_func_expl_use=yes
69199 else
69200 echo "$as_me: failed program was:" >&5
69201 sed 's/^/| /' conftest.$ac_ext >&5
69203 glibcxx_cv_func_expl_use=no
69205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69206 ac_ext=c
69207 ac_cpp='$CPP $CPPFLAGS'
69208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
69217 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
69219 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69221 for ac_func in expl
69223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69224 echo "$as_me:$LINENO: checking for $ac_func" >&5
69225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69226 if eval "test \"\${$as_ac_var+set}\" = set"; then
69227 echo $ECHO_N "(cached) $ECHO_C" >&6
69228 else
69229 if test x$gcc_no_link = xyes; then
69230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69232 { (exit 1); exit 1; }; }
69234 cat >conftest.$ac_ext <<_ACEOF
69235 /* confdefs.h. */
69236 _ACEOF
69237 cat confdefs.h >>conftest.$ac_ext
69238 cat >>conftest.$ac_ext <<_ACEOF
69239 /* end confdefs.h. */
69240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69242 #define $ac_func innocuous_$ac_func
69244 /* System header to define __stub macros and hopefully few prototypes,
69245 which can conflict with char $ac_func (); below.
69246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69247 <limits.h> exists even on freestanding compilers. */
69249 #ifdef __STDC__
69250 # include <limits.h>
69251 #else
69252 # include <assert.h>
69253 #endif
69255 #undef $ac_func
69257 /* Override any gcc2 internal prototype to avoid an error. */
69258 #ifdef __cplusplus
69259 extern "C"
69261 #endif
69262 /* We use char because int might match the return type of a gcc2
69263 builtin and then its argument prototype would still apply. */
69264 char $ac_func ();
69265 /* The GNU C library defines this for functions which it implements
69266 to always fail with ENOSYS. Some functions are actually named
69267 something starting with __ and the normal name is an alias. */
69268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69269 choke me
69270 #else
69271 char (*f) () = $ac_func;
69272 #endif
69273 #ifdef __cplusplus
69275 #endif
69278 main ()
69280 return f != $ac_func;
69282 return 0;
69284 _ACEOF
69285 rm -f conftest.$ac_objext conftest$ac_exeext
69286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69287 (eval $ac_link) 2>conftest.er1
69288 ac_status=$?
69289 grep -v '^ *+' conftest.er1 >conftest.err
69290 rm -f conftest.er1
69291 cat conftest.err >&5
69292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69293 (exit $ac_status); } &&
69294 { ac_try='test -z "$ac_c_werror_flag"
69295 || test ! -s conftest.err'
69296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69297 (eval $ac_try) 2>&5
69298 ac_status=$?
69299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300 (exit $ac_status); }; } &&
69301 { ac_try='test -s conftest$ac_exeext'
69302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69303 (eval $ac_try) 2>&5
69304 ac_status=$?
69305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69306 (exit $ac_status); }; }; then
69307 eval "$as_ac_var=yes"
69308 else
69309 echo "$as_me: failed program was:" >&5
69310 sed 's/^/| /' conftest.$ac_ext >&5
69312 eval "$as_ac_var=no"
69314 rm -f conftest.err conftest.$ac_objext \
69315 conftest$ac_exeext conftest.$ac_ext
69317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69319 if test `eval echo '${'$as_ac_var'}'` = yes; then
69320 cat >>confdefs.h <<_ACEOF
69321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69322 _ACEOF
69325 done
69327 else
69329 echo "$as_me:$LINENO: checking for _expl declaration" >&5
69330 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
69331 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69332 if test "${glibcxx_cv_func__expl_use+set}" = set; then
69333 echo $ECHO_N "(cached) $ECHO_C" >&6
69334 else
69338 ac_ext=cc
69339 ac_cpp='$CXXCPP $CPPFLAGS'
69340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69344 cat >conftest.$ac_ext <<_ACEOF
69345 /* confdefs.h. */
69346 _ACEOF
69347 cat confdefs.h >>conftest.$ac_ext
69348 cat >>conftest.$ac_ext <<_ACEOF
69349 /* end confdefs.h. */
69350 #include <math.h>
69351 #ifdef HAVE_IEEEFP_H
69352 #include <ieeefp.h>
69353 #endif
69356 main ()
69358 _expl(0);
69360 return 0;
69362 _ACEOF
69363 rm -f conftest.$ac_objext
69364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69365 (eval $ac_compile) 2>conftest.er1
69366 ac_status=$?
69367 grep -v '^ *+' conftest.er1 >conftest.err
69368 rm -f conftest.er1
69369 cat conftest.err >&5
69370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69371 (exit $ac_status); } &&
69372 { ac_try='test -z "$ac_cxx_werror_flag"
69373 || test ! -s conftest.err'
69374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69375 (eval $ac_try) 2>&5
69376 ac_status=$?
69377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378 (exit $ac_status); }; } &&
69379 { ac_try='test -s conftest.$ac_objext'
69380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69381 (eval $ac_try) 2>&5
69382 ac_status=$?
69383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384 (exit $ac_status); }; }; then
69385 glibcxx_cv_func__expl_use=yes
69386 else
69387 echo "$as_me: failed program was:" >&5
69388 sed 's/^/| /' conftest.$ac_ext >&5
69390 glibcxx_cv_func__expl_use=no
69392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69393 ac_ext=c
69394 ac_cpp='$CPP $CPPFLAGS'
69395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
69404 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
69406 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69408 for ac_func in _expl
69410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69411 echo "$as_me:$LINENO: checking for $ac_func" >&5
69412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69413 if eval "test \"\${$as_ac_var+set}\" = set"; then
69414 echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69416 if test x$gcc_no_link = xyes; then
69417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69419 { (exit 1); exit 1; }; }
69421 cat >conftest.$ac_ext <<_ACEOF
69422 /* confdefs.h. */
69423 _ACEOF
69424 cat confdefs.h >>conftest.$ac_ext
69425 cat >>conftest.$ac_ext <<_ACEOF
69426 /* end confdefs.h. */
69427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69429 #define $ac_func innocuous_$ac_func
69431 /* System header to define __stub macros and hopefully few prototypes,
69432 which can conflict with char $ac_func (); below.
69433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69434 <limits.h> exists even on freestanding compilers. */
69436 #ifdef __STDC__
69437 # include <limits.h>
69438 #else
69439 # include <assert.h>
69440 #endif
69442 #undef $ac_func
69444 /* Override any gcc2 internal prototype to avoid an error. */
69445 #ifdef __cplusplus
69446 extern "C"
69448 #endif
69449 /* We use char because int might match the return type of a gcc2
69450 builtin and then its argument prototype would still apply. */
69451 char $ac_func ();
69452 /* The GNU C library defines this for functions which it implements
69453 to always fail with ENOSYS. Some functions are actually named
69454 something starting with __ and the normal name is an alias. */
69455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69456 choke me
69457 #else
69458 char (*f) () = $ac_func;
69459 #endif
69460 #ifdef __cplusplus
69462 #endif
69465 main ()
69467 return f != $ac_func;
69469 return 0;
69471 _ACEOF
69472 rm -f conftest.$ac_objext conftest$ac_exeext
69473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69474 (eval $ac_link) 2>conftest.er1
69475 ac_status=$?
69476 grep -v '^ *+' conftest.er1 >conftest.err
69477 rm -f conftest.er1
69478 cat conftest.err >&5
69479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69480 (exit $ac_status); } &&
69481 { ac_try='test -z "$ac_c_werror_flag"
69482 || test ! -s conftest.err'
69483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69484 (eval $ac_try) 2>&5
69485 ac_status=$?
69486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69487 (exit $ac_status); }; } &&
69488 { ac_try='test -s conftest$ac_exeext'
69489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69490 (eval $ac_try) 2>&5
69491 ac_status=$?
69492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69493 (exit $ac_status); }; }; then
69494 eval "$as_ac_var=yes"
69495 else
69496 echo "$as_me: failed program was:" >&5
69497 sed 's/^/| /' conftest.$ac_ext >&5
69499 eval "$as_ac_var=no"
69501 rm -f conftest.err conftest.$ac_objext \
69502 conftest$ac_exeext conftest.$ac_ext
69504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69506 if test `eval echo '${'$as_ac_var'}'` = yes; then
69507 cat >>confdefs.h <<_ACEOF
69508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69509 _ACEOF
69512 done
69522 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
69523 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
69524 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69525 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
69526 echo $ECHO_N "(cached) $ECHO_C" >&6
69527 else
69531 ac_ext=cc
69532 ac_cpp='$CXXCPP $CPPFLAGS'
69533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69537 cat >conftest.$ac_ext <<_ACEOF
69538 /* confdefs.h. */
69539 _ACEOF
69540 cat confdefs.h >>conftest.$ac_ext
69541 cat >>conftest.$ac_ext <<_ACEOF
69542 /* end confdefs.h. */
69543 #include <math.h>
69544 #ifdef HAVE_IEEEFP_H
69545 #include <ieeefp.h>
69546 #endif
69549 main ()
69551 fabsl(0);
69553 return 0;
69555 _ACEOF
69556 rm -f conftest.$ac_objext
69557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69558 (eval $ac_compile) 2>conftest.er1
69559 ac_status=$?
69560 grep -v '^ *+' conftest.er1 >conftest.err
69561 rm -f conftest.er1
69562 cat conftest.err >&5
69563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69564 (exit $ac_status); } &&
69565 { ac_try='test -z "$ac_cxx_werror_flag"
69566 || test ! -s conftest.err'
69567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69568 (eval $ac_try) 2>&5
69569 ac_status=$?
69570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69571 (exit $ac_status); }; } &&
69572 { ac_try='test -s conftest.$ac_objext'
69573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69574 (eval $ac_try) 2>&5
69575 ac_status=$?
69576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69577 (exit $ac_status); }; }; then
69578 glibcxx_cv_func_fabsl_use=yes
69579 else
69580 echo "$as_me: failed program was:" >&5
69581 sed 's/^/| /' conftest.$ac_ext >&5
69583 glibcxx_cv_func_fabsl_use=no
69585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69586 ac_ext=c
69587 ac_cpp='$CPP $CPPFLAGS'
69588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
69597 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
69599 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69601 for ac_func in fabsl
69603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69604 echo "$as_me:$LINENO: checking for $ac_func" >&5
69605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69606 if eval "test \"\${$as_ac_var+set}\" = set"; then
69607 echo $ECHO_N "(cached) $ECHO_C" >&6
69608 else
69609 if test x$gcc_no_link = xyes; then
69610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69612 { (exit 1); exit 1; }; }
69614 cat >conftest.$ac_ext <<_ACEOF
69615 /* confdefs.h. */
69616 _ACEOF
69617 cat confdefs.h >>conftest.$ac_ext
69618 cat >>conftest.$ac_ext <<_ACEOF
69619 /* end confdefs.h. */
69620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69622 #define $ac_func innocuous_$ac_func
69624 /* System header to define __stub macros and hopefully few prototypes,
69625 which can conflict with char $ac_func (); below.
69626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69627 <limits.h> exists even on freestanding compilers. */
69629 #ifdef __STDC__
69630 # include <limits.h>
69631 #else
69632 # include <assert.h>
69633 #endif
69635 #undef $ac_func
69637 /* Override any gcc2 internal prototype to avoid an error. */
69638 #ifdef __cplusplus
69639 extern "C"
69641 #endif
69642 /* We use char because int might match the return type of a gcc2
69643 builtin and then its argument prototype would still apply. */
69644 char $ac_func ();
69645 /* The GNU C library defines this for functions which it implements
69646 to always fail with ENOSYS. Some functions are actually named
69647 something starting with __ and the normal name is an alias. */
69648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69649 choke me
69650 #else
69651 char (*f) () = $ac_func;
69652 #endif
69653 #ifdef __cplusplus
69655 #endif
69658 main ()
69660 return f != $ac_func;
69662 return 0;
69664 _ACEOF
69665 rm -f conftest.$ac_objext conftest$ac_exeext
69666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69667 (eval $ac_link) 2>conftest.er1
69668 ac_status=$?
69669 grep -v '^ *+' conftest.er1 >conftest.err
69670 rm -f conftest.er1
69671 cat conftest.err >&5
69672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69673 (exit $ac_status); } &&
69674 { ac_try='test -z "$ac_c_werror_flag"
69675 || test ! -s conftest.err'
69676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69677 (eval $ac_try) 2>&5
69678 ac_status=$?
69679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69680 (exit $ac_status); }; } &&
69681 { ac_try='test -s conftest$ac_exeext'
69682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69683 (eval $ac_try) 2>&5
69684 ac_status=$?
69685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69686 (exit $ac_status); }; }; then
69687 eval "$as_ac_var=yes"
69688 else
69689 echo "$as_me: failed program was:" >&5
69690 sed 's/^/| /' conftest.$ac_ext >&5
69692 eval "$as_ac_var=no"
69694 rm -f conftest.err conftest.$ac_objext \
69695 conftest$ac_exeext conftest.$ac_ext
69697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69699 if test `eval echo '${'$as_ac_var'}'` = yes; then
69700 cat >>confdefs.h <<_ACEOF
69701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69702 _ACEOF
69705 done
69707 else
69709 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
69710 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
69711 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69712 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
69713 echo $ECHO_N "(cached) $ECHO_C" >&6
69714 else
69718 ac_ext=cc
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat >conftest.$ac_ext <<_ACEOF
69725 /* confdefs.h. */
69726 _ACEOF
69727 cat confdefs.h >>conftest.$ac_ext
69728 cat >>conftest.$ac_ext <<_ACEOF
69729 /* end confdefs.h. */
69730 #include <math.h>
69731 #ifdef HAVE_IEEEFP_H
69732 #include <ieeefp.h>
69733 #endif
69736 main ()
69738 _fabsl(0);
69740 return 0;
69742 _ACEOF
69743 rm -f conftest.$ac_objext
69744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69745 (eval $ac_compile) 2>conftest.er1
69746 ac_status=$?
69747 grep -v '^ *+' conftest.er1 >conftest.err
69748 rm -f conftest.er1
69749 cat conftest.err >&5
69750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751 (exit $ac_status); } &&
69752 { ac_try='test -z "$ac_cxx_werror_flag"
69753 || test ! -s conftest.err'
69754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69755 (eval $ac_try) 2>&5
69756 ac_status=$?
69757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69758 (exit $ac_status); }; } &&
69759 { ac_try='test -s conftest.$ac_objext'
69760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69761 (eval $ac_try) 2>&5
69762 ac_status=$?
69763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69764 (exit $ac_status); }; }; then
69765 glibcxx_cv_func__fabsl_use=yes
69766 else
69767 echo "$as_me: failed program was:" >&5
69768 sed 's/^/| /' conftest.$ac_ext >&5
69770 glibcxx_cv_func__fabsl_use=no
69772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69773 ac_ext=c
69774 ac_cpp='$CPP $CPPFLAGS'
69775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
69784 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
69786 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69788 for ac_func in _fabsl
69790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69791 echo "$as_me:$LINENO: checking for $ac_func" >&5
69792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69793 if eval "test \"\${$as_ac_var+set}\" = set"; then
69794 echo $ECHO_N "(cached) $ECHO_C" >&6
69795 else
69796 if test x$gcc_no_link = xyes; then
69797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69799 { (exit 1); exit 1; }; }
69801 cat >conftest.$ac_ext <<_ACEOF
69802 /* confdefs.h. */
69803 _ACEOF
69804 cat confdefs.h >>conftest.$ac_ext
69805 cat >>conftest.$ac_ext <<_ACEOF
69806 /* end confdefs.h. */
69807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69809 #define $ac_func innocuous_$ac_func
69811 /* System header to define __stub macros and hopefully few prototypes,
69812 which can conflict with char $ac_func (); below.
69813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69814 <limits.h> exists even on freestanding compilers. */
69816 #ifdef __STDC__
69817 # include <limits.h>
69818 #else
69819 # include <assert.h>
69820 #endif
69822 #undef $ac_func
69824 /* Override any gcc2 internal prototype to avoid an error. */
69825 #ifdef __cplusplus
69826 extern "C"
69828 #endif
69829 /* We use char because int might match the return type of a gcc2
69830 builtin and then its argument prototype would still apply. */
69831 char $ac_func ();
69832 /* The GNU C library defines this for functions which it implements
69833 to always fail with ENOSYS. Some functions are actually named
69834 something starting with __ and the normal name is an alias. */
69835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69836 choke me
69837 #else
69838 char (*f) () = $ac_func;
69839 #endif
69840 #ifdef __cplusplus
69842 #endif
69845 main ()
69847 return f != $ac_func;
69849 return 0;
69851 _ACEOF
69852 rm -f conftest.$ac_objext conftest$ac_exeext
69853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69854 (eval $ac_link) 2>conftest.er1
69855 ac_status=$?
69856 grep -v '^ *+' conftest.er1 >conftest.err
69857 rm -f conftest.er1
69858 cat conftest.err >&5
69859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69860 (exit $ac_status); } &&
69861 { ac_try='test -z "$ac_c_werror_flag"
69862 || test ! -s conftest.err'
69863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69864 (eval $ac_try) 2>&5
69865 ac_status=$?
69866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69867 (exit $ac_status); }; } &&
69868 { ac_try='test -s conftest$ac_exeext'
69869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69870 (eval $ac_try) 2>&5
69871 ac_status=$?
69872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69873 (exit $ac_status); }; }; then
69874 eval "$as_ac_var=yes"
69875 else
69876 echo "$as_me: failed program was:" >&5
69877 sed 's/^/| /' conftest.$ac_ext >&5
69879 eval "$as_ac_var=no"
69881 rm -f conftest.err conftest.$ac_objext \
69882 conftest$ac_exeext conftest.$ac_ext
69884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69886 if test `eval echo '${'$as_ac_var'}'` = yes; then
69887 cat >>confdefs.h <<_ACEOF
69888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69889 _ACEOF
69892 done
69902 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
69903 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
69904 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69905 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
69906 echo $ECHO_N "(cached) $ECHO_C" >&6
69907 else
69911 ac_ext=cc
69912 ac_cpp='$CXXCPP $CPPFLAGS'
69913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69917 cat >conftest.$ac_ext <<_ACEOF
69918 /* confdefs.h. */
69919 _ACEOF
69920 cat confdefs.h >>conftest.$ac_ext
69921 cat >>conftest.$ac_ext <<_ACEOF
69922 /* end confdefs.h. */
69923 #include <math.h>
69925 main ()
69927 fmodl(0, 0);
69929 return 0;
69931 _ACEOF
69932 rm -f conftest.$ac_objext
69933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69934 (eval $ac_compile) 2>conftest.er1
69935 ac_status=$?
69936 grep -v '^ *+' conftest.er1 >conftest.err
69937 rm -f conftest.er1
69938 cat conftest.err >&5
69939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69940 (exit $ac_status); } &&
69941 { ac_try='test -z "$ac_cxx_werror_flag"
69942 || test ! -s conftest.err'
69943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69944 (eval $ac_try) 2>&5
69945 ac_status=$?
69946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69947 (exit $ac_status); }; } &&
69948 { ac_try='test -s conftest.$ac_objext'
69949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69950 (eval $ac_try) 2>&5
69951 ac_status=$?
69952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69953 (exit $ac_status); }; }; then
69954 glibcxx_cv_func_fmodl_use=yes
69955 else
69956 echo "$as_me: failed program was:" >&5
69957 sed 's/^/| /' conftest.$ac_ext >&5
69959 glibcxx_cv_func_fmodl_use=no
69961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69962 ac_ext=c
69963 ac_cpp='$CPP $CPPFLAGS'
69964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
69973 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
69975 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69977 for ac_func in fmodl
69979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69980 echo "$as_me:$LINENO: checking for $ac_func" >&5
69981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69982 if eval "test \"\${$as_ac_var+set}\" = set"; then
69983 echo $ECHO_N "(cached) $ECHO_C" >&6
69984 else
69985 if test x$gcc_no_link = xyes; then
69986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69988 { (exit 1); exit 1; }; }
69990 cat >conftest.$ac_ext <<_ACEOF
69991 /* confdefs.h. */
69992 _ACEOF
69993 cat confdefs.h >>conftest.$ac_ext
69994 cat >>conftest.$ac_ext <<_ACEOF
69995 /* end confdefs.h. */
69996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69998 #define $ac_func innocuous_$ac_func
70000 /* System header to define __stub macros and hopefully few prototypes,
70001 which can conflict with char $ac_func (); below.
70002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70003 <limits.h> exists even on freestanding compilers. */
70005 #ifdef __STDC__
70006 # include <limits.h>
70007 #else
70008 # include <assert.h>
70009 #endif
70011 #undef $ac_func
70013 /* Override any gcc2 internal prototype to avoid an error. */
70014 #ifdef __cplusplus
70015 extern "C"
70017 #endif
70018 /* We use char because int might match the return type of a gcc2
70019 builtin and then its argument prototype would still apply. */
70020 char $ac_func ();
70021 /* The GNU C library defines this for functions which it implements
70022 to always fail with ENOSYS. Some functions are actually named
70023 something starting with __ and the normal name is an alias. */
70024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70025 choke me
70026 #else
70027 char (*f) () = $ac_func;
70028 #endif
70029 #ifdef __cplusplus
70031 #endif
70034 main ()
70036 return f != $ac_func;
70038 return 0;
70040 _ACEOF
70041 rm -f conftest.$ac_objext conftest$ac_exeext
70042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70043 (eval $ac_link) 2>conftest.er1
70044 ac_status=$?
70045 grep -v '^ *+' conftest.er1 >conftest.err
70046 rm -f conftest.er1
70047 cat conftest.err >&5
70048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70049 (exit $ac_status); } &&
70050 { ac_try='test -z "$ac_c_werror_flag"
70051 || test ! -s conftest.err'
70052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70053 (eval $ac_try) 2>&5
70054 ac_status=$?
70055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70056 (exit $ac_status); }; } &&
70057 { ac_try='test -s conftest$ac_exeext'
70058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70059 (eval $ac_try) 2>&5
70060 ac_status=$?
70061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70062 (exit $ac_status); }; }; then
70063 eval "$as_ac_var=yes"
70064 else
70065 echo "$as_me: failed program was:" >&5
70066 sed 's/^/| /' conftest.$ac_ext >&5
70068 eval "$as_ac_var=no"
70070 rm -f conftest.err conftest.$ac_objext \
70071 conftest$ac_exeext conftest.$ac_ext
70073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70075 if test `eval echo '${'$as_ac_var'}'` = yes; then
70076 cat >>confdefs.h <<_ACEOF
70077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70078 _ACEOF
70081 done
70083 else
70085 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
70086 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
70087 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70088 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
70089 echo $ECHO_N "(cached) $ECHO_C" >&6
70090 else
70094 ac_ext=cc
70095 ac_cpp='$CXXCPP $CPPFLAGS'
70096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70100 cat >conftest.$ac_ext <<_ACEOF
70101 /* confdefs.h. */
70102 _ACEOF
70103 cat confdefs.h >>conftest.$ac_ext
70104 cat >>conftest.$ac_ext <<_ACEOF
70105 /* end confdefs.h. */
70106 #include <math.h>
70108 main ()
70110 _fmodl(0, 0);
70112 return 0;
70114 _ACEOF
70115 rm -f conftest.$ac_objext
70116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70117 (eval $ac_compile) 2>conftest.er1
70118 ac_status=$?
70119 grep -v '^ *+' conftest.er1 >conftest.err
70120 rm -f conftest.er1
70121 cat conftest.err >&5
70122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70123 (exit $ac_status); } &&
70124 { ac_try='test -z "$ac_cxx_werror_flag"
70125 || test ! -s conftest.err'
70126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70127 (eval $ac_try) 2>&5
70128 ac_status=$?
70129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130 (exit $ac_status); }; } &&
70131 { ac_try='test -s conftest.$ac_objext'
70132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70133 (eval $ac_try) 2>&5
70134 ac_status=$?
70135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70136 (exit $ac_status); }; }; then
70137 glibcxx_cv_func__fmodl_use=yes
70138 else
70139 echo "$as_me: failed program was:" >&5
70140 sed 's/^/| /' conftest.$ac_ext >&5
70142 glibcxx_cv_func__fmodl_use=no
70144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70145 ac_ext=c
70146 ac_cpp='$CPP $CPPFLAGS'
70147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
70156 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
70158 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70160 for ac_func in _fmodl
70162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70163 echo "$as_me:$LINENO: checking for $ac_func" >&5
70164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70165 if eval "test \"\${$as_ac_var+set}\" = set"; then
70166 echo $ECHO_N "(cached) $ECHO_C" >&6
70167 else
70168 if test x$gcc_no_link = xyes; then
70169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70171 { (exit 1); exit 1; }; }
70173 cat >conftest.$ac_ext <<_ACEOF
70174 /* confdefs.h. */
70175 _ACEOF
70176 cat confdefs.h >>conftest.$ac_ext
70177 cat >>conftest.$ac_ext <<_ACEOF
70178 /* end confdefs.h. */
70179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70181 #define $ac_func innocuous_$ac_func
70183 /* System header to define __stub macros and hopefully few prototypes,
70184 which can conflict with char $ac_func (); below.
70185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70186 <limits.h> exists even on freestanding compilers. */
70188 #ifdef __STDC__
70189 # include <limits.h>
70190 #else
70191 # include <assert.h>
70192 #endif
70194 #undef $ac_func
70196 /* Override any gcc2 internal prototype to avoid an error. */
70197 #ifdef __cplusplus
70198 extern "C"
70200 #endif
70201 /* We use char because int might match the return type of a gcc2
70202 builtin and then its argument prototype would still apply. */
70203 char $ac_func ();
70204 /* The GNU C library defines this for functions which it implements
70205 to always fail with ENOSYS. Some functions are actually named
70206 something starting with __ and the normal name is an alias. */
70207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70208 choke me
70209 #else
70210 char (*f) () = $ac_func;
70211 #endif
70212 #ifdef __cplusplus
70214 #endif
70217 main ()
70219 return f != $ac_func;
70221 return 0;
70223 _ACEOF
70224 rm -f conftest.$ac_objext conftest$ac_exeext
70225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70226 (eval $ac_link) 2>conftest.er1
70227 ac_status=$?
70228 grep -v '^ *+' conftest.er1 >conftest.err
70229 rm -f conftest.er1
70230 cat conftest.err >&5
70231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70232 (exit $ac_status); } &&
70233 { ac_try='test -z "$ac_c_werror_flag"
70234 || test ! -s conftest.err'
70235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70236 (eval $ac_try) 2>&5
70237 ac_status=$?
70238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70239 (exit $ac_status); }; } &&
70240 { ac_try='test -s conftest$ac_exeext'
70241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70242 (eval $ac_try) 2>&5
70243 ac_status=$?
70244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70245 (exit $ac_status); }; }; then
70246 eval "$as_ac_var=yes"
70247 else
70248 echo "$as_me: failed program was:" >&5
70249 sed 's/^/| /' conftest.$ac_ext >&5
70251 eval "$as_ac_var=no"
70253 rm -f conftest.err conftest.$ac_objext \
70254 conftest$ac_exeext conftest.$ac_ext
70256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70258 if test `eval echo '${'$as_ac_var'}'` = yes; then
70259 cat >>confdefs.h <<_ACEOF
70260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70261 _ACEOF
70264 done
70274 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
70275 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
70276 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70277 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
70278 echo $ECHO_N "(cached) $ECHO_C" >&6
70279 else
70283 ac_ext=cc
70284 ac_cpp='$CXXCPP $CPPFLAGS'
70285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70289 cat >conftest.$ac_ext <<_ACEOF
70290 /* confdefs.h. */
70291 _ACEOF
70292 cat confdefs.h >>conftest.$ac_ext
70293 cat >>conftest.$ac_ext <<_ACEOF
70294 /* end confdefs.h. */
70295 #include <math.h>
70297 main ()
70299 frexpl(0, 0);
70301 return 0;
70303 _ACEOF
70304 rm -f conftest.$ac_objext
70305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70306 (eval $ac_compile) 2>conftest.er1
70307 ac_status=$?
70308 grep -v '^ *+' conftest.er1 >conftest.err
70309 rm -f conftest.er1
70310 cat conftest.err >&5
70311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312 (exit $ac_status); } &&
70313 { ac_try='test -z "$ac_cxx_werror_flag"
70314 || test ! -s conftest.err'
70315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70316 (eval $ac_try) 2>&5
70317 ac_status=$?
70318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70319 (exit $ac_status); }; } &&
70320 { ac_try='test -s conftest.$ac_objext'
70321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70322 (eval $ac_try) 2>&5
70323 ac_status=$?
70324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70325 (exit $ac_status); }; }; then
70326 glibcxx_cv_func_frexpl_use=yes
70327 else
70328 echo "$as_me: failed program was:" >&5
70329 sed 's/^/| /' conftest.$ac_ext >&5
70331 glibcxx_cv_func_frexpl_use=no
70333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70334 ac_ext=c
70335 ac_cpp='$CPP $CPPFLAGS'
70336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
70345 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
70347 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70349 for ac_func in frexpl
70351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70352 echo "$as_me:$LINENO: checking for $ac_func" >&5
70353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70354 if eval "test \"\${$as_ac_var+set}\" = set"; then
70355 echo $ECHO_N "(cached) $ECHO_C" >&6
70356 else
70357 if test x$gcc_no_link = xyes; then
70358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70360 { (exit 1); exit 1; }; }
70362 cat >conftest.$ac_ext <<_ACEOF
70363 /* confdefs.h. */
70364 _ACEOF
70365 cat confdefs.h >>conftest.$ac_ext
70366 cat >>conftest.$ac_ext <<_ACEOF
70367 /* end confdefs.h. */
70368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70370 #define $ac_func innocuous_$ac_func
70372 /* System header to define __stub macros and hopefully few prototypes,
70373 which can conflict with char $ac_func (); below.
70374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70375 <limits.h> exists even on freestanding compilers. */
70377 #ifdef __STDC__
70378 # include <limits.h>
70379 #else
70380 # include <assert.h>
70381 #endif
70383 #undef $ac_func
70385 /* Override any gcc2 internal prototype to avoid an error. */
70386 #ifdef __cplusplus
70387 extern "C"
70389 #endif
70390 /* We use char because int might match the return type of a gcc2
70391 builtin and then its argument prototype would still apply. */
70392 char $ac_func ();
70393 /* The GNU C library defines this for functions which it implements
70394 to always fail with ENOSYS. Some functions are actually named
70395 something starting with __ and the normal name is an alias. */
70396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70397 choke me
70398 #else
70399 char (*f) () = $ac_func;
70400 #endif
70401 #ifdef __cplusplus
70403 #endif
70406 main ()
70408 return f != $ac_func;
70410 return 0;
70412 _ACEOF
70413 rm -f conftest.$ac_objext conftest$ac_exeext
70414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70415 (eval $ac_link) 2>conftest.er1
70416 ac_status=$?
70417 grep -v '^ *+' conftest.er1 >conftest.err
70418 rm -f conftest.er1
70419 cat conftest.err >&5
70420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70421 (exit $ac_status); } &&
70422 { ac_try='test -z "$ac_c_werror_flag"
70423 || test ! -s conftest.err'
70424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70425 (eval $ac_try) 2>&5
70426 ac_status=$?
70427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70428 (exit $ac_status); }; } &&
70429 { ac_try='test -s conftest$ac_exeext'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; }; then
70435 eval "$as_ac_var=yes"
70436 else
70437 echo "$as_me: failed program was:" >&5
70438 sed 's/^/| /' conftest.$ac_ext >&5
70440 eval "$as_ac_var=no"
70442 rm -f conftest.err conftest.$ac_objext \
70443 conftest$ac_exeext conftest.$ac_ext
70445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70447 if test `eval echo '${'$as_ac_var'}'` = yes; then
70448 cat >>confdefs.h <<_ACEOF
70449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70450 _ACEOF
70453 done
70455 else
70457 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
70458 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
70459 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70460 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
70461 echo $ECHO_N "(cached) $ECHO_C" >&6
70462 else
70466 ac_ext=cc
70467 ac_cpp='$CXXCPP $CPPFLAGS'
70468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70472 cat >conftest.$ac_ext <<_ACEOF
70473 /* confdefs.h. */
70474 _ACEOF
70475 cat confdefs.h >>conftest.$ac_ext
70476 cat >>conftest.$ac_ext <<_ACEOF
70477 /* end confdefs.h. */
70478 #include <math.h>
70480 main ()
70482 _frexpl(0, 0);
70484 return 0;
70486 _ACEOF
70487 rm -f conftest.$ac_objext
70488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70489 (eval $ac_compile) 2>conftest.er1
70490 ac_status=$?
70491 grep -v '^ *+' conftest.er1 >conftest.err
70492 rm -f conftest.er1
70493 cat conftest.err >&5
70494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70495 (exit $ac_status); } &&
70496 { ac_try='test -z "$ac_cxx_werror_flag"
70497 || test ! -s conftest.err'
70498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70499 (eval $ac_try) 2>&5
70500 ac_status=$?
70501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70502 (exit $ac_status); }; } &&
70503 { ac_try='test -s conftest.$ac_objext'
70504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70505 (eval $ac_try) 2>&5
70506 ac_status=$?
70507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70508 (exit $ac_status); }; }; then
70509 glibcxx_cv_func__frexpl_use=yes
70510 else
70511 echo "$as_me: failed program was:" >&5
70512 sed 's/^/| /' conftest.$ac_ext >&5
70514 glibcxx_cv_func__frexpl_use=no
70516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70517 ac_ext=c
70518 ac_cpp='$CPP $CPPFLAGS'
70519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
70528 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
70530 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70532 for ac_func in _frexpl
70534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70535 echo "$as_me:$LINENO: checking for $ac_func" >&5
70536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70537 if eval "test \"\${$as_ac_var+set}\" = set"; then
70538 echo $ECHO_N "(cached) $ECHO_C" >&6
70539 else
70540 if test x$gcc_no_link = xyes; then
70541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70543 { (exit 1); exit 1; }; }
70545 cat >conftest.$ac_ext <<_ACEOF
70546 /* confdefs.h. */
70547 _ACEOF
70548 cat confdefs.h >>conftest.$ac_ext
70549 cat >>conftest.$ac_ext <<_ACEOF
70550 /* end confdefs.h. */
70551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70553 #define $ac_func innocuous_$ac_func
70555 /* System header to define __stub macros and hopefully few prototypes,
70556 which can conflict with char $ac_func (); below.
70557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70558 <limits.h> exists even on freestanding compilers. */
70560 #ifdef __STDC__
70561 # include <limits.h>
70562 #else
70563 # include <assert.h>
70564 #endif
70566 #undef $ac_func
70568 /* Override any gcc2 internal prototype to avoid an error. */
70569 #ifdef __cplusplus
70570 extern "C"
70572 #endif
70573 /* We use char because int might match the return type of a gcc2
70574 builtin and then its argument prototype would still apply. */
70575 char $ac_func ();
70576 /* The GNU C library defines this for functions which it implements
70577 to always fail with ENOSYS. Some functions are actually named
70578 something starting with __ and the normal name is an alias. */
70579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70580 choke me
70581 #else
70582 char (*f) () = $ac_func;
70583 #endif
70584 #ifdef __cplusplus
70586 #endif
70589 main ()
70591 return f != $ac_func;
70593 return 0;
70595 _ACEOF
70596 rm -f conftest.$ac_objext conftest$ac_exeext
70597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70598 (eval $ac_link) 2>conftest.er1
70599 ac_status=$?
70600 grep -v '^ *+' conftest.er1 >conftest.err
70601 rm -f conftest.er1
70602 cat conftest.err >&5
70603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70604 (exit $ac_status); } &&
70605 { ac_try='test -z "$ac_c_werror_flag"
70606 || test ! -s conftest.err'
70607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70608 (eval $ac_try) 2>&5
70609 ac_status=$?
70610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70611 (exit $ac_status); }; } &&
70612 { ac_try='test -s conftest$ac_exeext'
70613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70614 (eval $ac_try) 2>&5
70615 ac_status=$?
70616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70617 (exit $ac_status); }; }; then
70618 eval "$as_ac_var=yes"
70619 else
70620 echo "$as_me: failed program was:" >&5
70621 sed 's/^/| /' conftest.$ac_ext >&5
70623 eval "$as_ac_var=no"
70625 rm -f conftest.err conftest.$ac_objext \
70626 conftest$ac_exeext conftest.$ac_ext
70628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70630 if test `eval echo '${'$as_ac_var'}'` = yes; then
70631 cat >>confdefs.h <<_ACEOF
70632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70633 _ACEOF
70636 done
70646 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
70647 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
70648 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70649 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
70650 echo $ECHO_N "(cached) $ECHO_C" >&6
70651 else
70655 ac_ext=cc
70656 ac_cpp='$CXXCPP $CPPFLAGS'
70657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70661 cat >conftest.$ac_ext <<_ACEOF
70662 /* confdefs.h. */
70663 _ACEOF
70664 cat confdefs.h >>conftest.$ac_ext
70665 cat >>conftest.$ac_ext <<_ACEOF
70666 /* end confdefs.h. */
70667 #include <math.h>
70669 main ()
70671 hypotl(0, 0);
70673 return 0;
70675 _ACEOF
70676 rm -f conftest.$ac_objext
70677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70678 (eval $ac_compile) 2>conftest.er1
70679 ac_status=$?
70680 grep -v '^ *+' conftest.er1 >conftest.err
70681 rm -f conftest.er1
70682 cat conftest.err >&5
70683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70684 (exit $ac_status); } &&
70685 { ac_try='test -z "$ac_cxx_werror_flag"
70686 || test ! -s conftest.err'
70687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70688 (eval $ac_try) 2>&5
70689 ac_status=$?
70690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70691 (exit $ac_status); }; } &&
70692 { ac_try='test -s conftest.$ac_objext'
70693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70694 (eval $ac_try) 2>&5
70695 ac_status=$?
70696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70697 (exit $ac_status); }; }; then
70698 glibcxx_cv_func_hypotl_use=yes
70699 else
70700 echo "$as_me: failed program was:" >&5
70701 sed 's/^/| /' conftest.$ac_ext >&5
70703 glibcxx_cv_func_hypotl_use=no
70705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70706 ac_ext=c
70707 ac_cpp='$CPP $CPPFLAGS'
70708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
70717 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
70719 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70721 for ac_func in hypotl
70723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70724 echo "$as_me:$LINENO: checking for $ac_func" >&5
70725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70726 if eval "test \"\${$as_ac_var+set}\" = set"; then
70727 echo $ECHO_N "(cached) $ECHO_C" >&6
70728 else
70729 if test x$gcc_no_link = xyes; then
70730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70732 { (exit 1); exit 1; }; }
70734 cat >conftest.$ac_ext <<_ACEOF
70735 /* confdefs.h. */
70736 _ACEOF
70737 cat confdefs.h >>conftest.$ac_ext
70738 cat >>conftest.$ac_ext <<_ACEOF
70739 /* end confdefs.h. */
70740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70742 #define $ac_func innocuous_$ac_func
70744 /* System header to define __stub macros and hopefully few prototypes,
70745 which can conflict with char $ac_func (); below.
70746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70747 <limits.h> exists even on freestanding compilers. */
70749 #ifdef __STDC__
70750 # include <limits.h>
70751 #else
70752 # include <assert.h>
70753 #endif
70755 #undef $ac_func
70757 /* Override any gcc2 internal prototype to avoid an error. */
70758 #ifdef __cplusplus
70759 extern "C"
70761 #endif
70762 /* We use char because int might match the return type of a gcc2
70763 builtin and then its argument prototype would still apply. */
70764 char $ac_func ();
70765 /* The GNU C library defines this for functions which it implements
70766 to always fail with ENOSYS. Some functions are actually named
70767 something starting with __ and the normal name is an alias. */
70768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70769 choke me
70770 #else
70771 char (*f) () = $ac_func;
70772 #endif
70773 #ifdef __cplusplus
70775 #endif
70778 main ()
70780 return f != $ac_func;
70782 return 0;
70784 _ACEOF
70785 rm -f conftest.$ac_objext conftest$ac_exeext
70786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70787 (eval $ac_link) 2>conftest.er1
70788 ac_status=$?
70789 grep -v '^ *+' conftest.er1 >conftest.err
70790 rm -f conftest.er1
70791 cat conftest.err >&5
70792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70793 (exit $ac_status); } &&
70794 { ac_try='test -z "$ac_c_werror_flag"
70795 || test ! -s conftest.err'
70796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70797 (eval $ac_try) 2>&5
70798 ac_status=$?
70799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70800 (exit $ac_status); }; } &&
70801 { ac_try='test -s conftest$ac_exeext'
70802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70803 (eval $ac_try) 2>&5
70804 ac_status=$?
70805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70806 (exit $ac_status); }; }; then
70807 eval "$as_ac_var=yes"
70808 else
70809 echo "$as_me: failed program was:" >&5
70810 sed 's/^/| /' conftest.$ac_ext >&5
70812 eval "$as_ac_var=no"
70814 rm -f conftest.err conftest.$ac_objext \
70815 conftest$ac_exeext conftest.$ac_ext
70817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70819 if test `eval echo '${'$as_ac_var'}'` = yes; then
70820 cat >>confdefs.h <<_ACEOF
70821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70822 _ACEOF
70825 done
70827 else
70829 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
70830 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
70831 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70832 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
70833 echo $ECHO_N "(cached) $ECHO_C" >&6
70834 else
70838 ac_ext=cc
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844 cat >conftest.$ac_ext <<_ACEOF
70845 /* confdefs.h. */
70846 _ACEOF
70847 cat confdefs.h >>conftest.$ac_ext
70848 cat >>conftest.$ac_ext <<_ACEOF
70849 /* end confdefs.h. */
70850 #include <math.h>
70852 main ()
70854 _hypotl(0, 0);
70856 return 0;
70858 _ACEOF
70859 rm -f conftest.$ac_objext
70860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70861 (eval $ac_compile) 2>conftest.er1
70862 ac_status=$?
70863 grep -v '^ *+' conftest.er1 >conftest.err
70864 rm -f conftest.er1
70865 cat conftest.err >&5
70866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70867 (exit $ac_status); } &&
70868 { ac_try='test -z "$ac_cxx_werror_flag"
70869 || test ! -s conftest.err'
70870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70871 (eval $ac_try) 2>&5
70872 ac_status=$?
70873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70874 (exit $ac_status); }; } &&
70875 { ac_try='test -s conftest.$ac_objext'
70876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877 (eval $ac_try) 2>&5
70878 ac_status=$?
70879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880 (exit $ac_status); }; }; then
70881 glibcxx_cv_func__hypotl_use=yes
70882 else
70883 echo "$as_me: failed program was:" >&5
70884 sed 's/^/| /' conftest.$ac_ext >&5
70886 glibcxx_cv_func__hypotl_use=no
70888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70889 ac_ext=c
70890 ac_cpp='$CPP $CPPFLAGS'
70891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
70900 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
70902 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70904 for ac_func in _hypotl
70906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70907 echo "$as_me:$LINENO: checking for $ac_func" >&5
70908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70909 if eval "test \"\${$as_ac_var+set}\" = set"; then
70910 echo $ECHO_N "(cached) $ECHO_C" >&6
70911 else
70912 if test x$gcc_no_link = xyes; then
70913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70915 { (exit 1); exit 1; }; }
70917 cat >conftest.$ac_ext <<_ACEOF
70918 /* confdefs.h. */
70919 _ACEOF
70920 cat confdefs.h >>conftest.$ac_ext
70921 cat >>conftest.$ac_ext <<_ACEOF
70922 /* end confdefs.h. */
70923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70925 #define $ac_func innocuous_$ac_func
70927 /* System header to define __stub macros and hopefully few prototypes,
70928 which can conflict with char $ac_func (); below.
70929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70930 <limits.h> exists even on freestanding compilers. */
70932 #ifdef __STDC__
70933 # include <limits.h>
70934 #else
70935 # include <assert.h>
70936 #endif
70938 #undef $ac_func
70940 /* Override any gcc2 internal prototype to avoid an error. */
70941 #ifdef __cplusplus
70942 extern "C"
70944 #endif
70945 /* We use char because int might match the return type of a gcc2
70946 builtin and then its argument prototype would still apply. */
70947 char $ac_func ();
70948 /* The GNU C library defines this for functions which it implements
70949 to always fail with ENOSYS. Some functions are actually named
70950 something starting with __ and the normal name is an alias. */
70951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70952 choke me
70953 #else
70954 char (*f) () = $ac_func;
70955 #endif
70956 #ifdef __cplusplus
70958 #endif
70961 main ()
70963 return f != $ac_func;
70965 return 0;
70967 _ACEOF
70968 rm -f conftest.$ac_objext conftest$ac_exeext
70969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70970 (eval $ac_link) 2>conftest.er1
70971 ac_status=$?
70972 grep -v '^ *+' conftest.er1 >conftest.err
70973 rm -f conftest.er1
70974 cat conftest.err >&5
70975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70976 (exit $ac_status); } &&
70977 { ac_try='test -z "$ac_c_werror_flag"
70978 || test ! -s conftest.err'
70979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70980 (eval $ac_try) 2>&5
70981 ac_status=$?
70982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70983 (exit $ac_status); }; } &&
70984 { ac_try='test -s conftest$ac_exeext'
70985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70986 (eval $ac_try) 2>&5
70987 ac_status=$?
70988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70989 (exit $ac_status); }; }; then
70990 eval "$as_ac_var=yes"
70991 else
70992 echo "$as_me: failed program was:" >&5
70993 sed 's/^/| /' conftest.$ac_ext >&5
70995 eval "$as_ac_var=no"
70997 rm -f conftest.err conftest.$ac_objext \
70998 conftest$ac_exeext conftest.$ac_ext
71000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71002 if test `eval echo '${'$as_ac_var'}'` = yes; then
71003 cat >>confdefs.h <<_ACEOF
71004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71005 _ACEOF
71008 done
71018 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
71019 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
71020 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71021 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
71022 echo $ECHO_N "(cached) $ECHO_C" >&6
71023 else
71027 ac_ext=cc
71028 ac_cpp='$CXXCPP $CPPFLAGS'
71029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71033 cat >conftest.$ac_ext <<_ACEOF
71034 /* confdefs.h. */
71035 _ACEOF
71036 cat confdefs.h >>conftest.$ac_ext
71037 cat >>conftest.$ac_ext <<_ACEOF
71038 /* end confdefs.h. */
71039 #include <math.h>
71041 main ()
71043 ldexpl(0, 0);
71045 return 0;
71047 _ACEOF
71048 rm -f conftest.$ac_objext
71049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71050 (eval $ac_compile) 2>conftest.er1
71051 ac_status=$?
71052 grep -v '^ *+' conftest.er1 >conftest.err
71053 rm -f conftest.er1
71054 cat conftest.err >&5
71055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056 (exit $ac_status); } &&
71057 { ac_try='test -z "$ac_cxx_werror_flag"
71058 || test ! -s conftest.err'
71059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71060 (eval $ac_try) 2>&5
71061 ac_status=$?
71062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71063 (exit $ac_status); }; } &&
71064 { ac_try='test -s conftest.$ac_objext'
71065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71066 (eval $ac_try) 2>&5
71067 ac_status=$?
71068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069 (exit $ac_status); }; }; then
71070 glibcxx_cv_func_ldexpl_use=yes
71071 else
71072 echo "$as_me: failed program was:" >&5
71073 sed 's/^/| /' conftest.$ac_ext >&5
71075 glibcxx_cv_func_ldexpl_use=no
71077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71078 ac_ext=c
71079 ac_cpp='$CPP $CPPFLAGS'
71080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
71089 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
71091 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71093 for ac_func in ldexpl
71095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71096 echo "$as_me:$LINENO: checking for $ac_func" >&5
71097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71098 if eval "test \"\${$as_ac_var+set}\" = set"; then
71099 echo $ECHO_N "(cached) $ECHO_C" >&6
71100 else
71101 if test x$gcc_no_link = xyes; then
71102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71104 { (exit 1); exit 1; }; }
71106 cat >conftest.$ac_ext <<_ACEOF
71107 /* confdefs.h. */
71108 _ACEOF
71109 cat confdefs.h >>conftest.$ac_ext
71110 cat >>conftest.$ac_ext <<_ACEOF
71111 /* end confdefs.h. */
71112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71114 #define $ac_func innocuous_$ac_func
71116 /* System header to define __stub macros and hopefully few prototypes,
71117 which can conflict with char $ac_func (); below.
71118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71119 <limits.h> exists even on freestanding compilers. */
71121 #ifdef __STDC__
71122 # include <limits.h>
71123 #else
71124 # include <assert.h>
71125 #endif
71127 #undef $ac_func
71129 /* Override any gcc2 internal prototype to avoid an error. */
71130 #ifdef __cplusplus
71131 extern "C"
71133 #endif
71134 /* We use char because int might match the return type of a gcc2
71135 builtin and then its argument prototype would still apply. */
71136 char $ac_func ();
71137 /* The GNU C library defines this for functions which it implements
71138 to always fail with ENOSYS. Some functions are actually named
71139 something starting with __ and the normal name is an alias. */
71140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71141 choke me
71142 #else
71143 char (*f) () = $ac_func;
71144 #endif
71145 #ifdef __cplusplus
71147 #endif
71150 main ()
71152 return f != $ac_func;
71154 return 0;
71156 _ACEOF
71157 rm -f conftest.$ac_objext conftest$ac_exeext
71158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71159 (eval $ac_link) 2>conftest.er1
71160 ac_status=$?
71161 grep -v '^ *+' conftest.er1 >conftest.err
71162 rm -f conftest.er1
71163 cat conftest.err >&5
71164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71165 (exit $ac_status); } &&
71166 { ac_try='test -z "$ac_c_werror_flag"
71167 || test ! -s conftest.err'
71168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71169 (eval $ac_try) 2>&5
71170 ac_status=$?
71171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172 (exit $ac_status); }; } &&
71173 { ac_try='test -s conftest$ac_exeext'
71174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71175 (eval $ac_try) 2>&5
71176 ac_status=$?
71177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71178 (exit $ac_status); }; }; then
71179 eval "$as_ac_var=yes"
71180 else
71181 echo "$as_me: failed program was:" >&5
71182 sed 's/^/| /' conftest.$ac_ext >&5
71184 eval "$as_ac_var=no"
71186 rm -f conftest.err conftest.$ac_objext \
71187 conftest$ac_exeext conftest.$ac_ext
71189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71191 if test `eval echo '${'$as_ac_var'}'` = yes; then
71192 cat >>confdefs.h <<_ACEOF
71193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71194 _ACEOF
71197 done
71199 else
71201 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
71202 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
71203 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71204 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
71205 echo $ECHO_N "(cached) $ECHO_C" >&6
71206 else
71210 ac_ext=cc
71211 ac_cpp='$CXXCPP $CPPFLAGS'
71212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71216 cat >conftest.$ac_ext <<_ACEOF
71217 /* confdefs.h. */
71218 _ACEOF
71219 cat confdefs.h >>conftest.$ac_ext
71220 cat >>conftest.$ac_ext <<_ACEOF
71221 /* end confdefs.h. */
71222 #include <math.h>
71224 main ()
71226 _ldexpl(0, 0);
71228 return 0;
71230 _ACEOF
71231 rm -f conftest.$ac_objext
71232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71233 (eval $ac_compile) 2>conftest.er1
71234 ac_status=$?
71235 grep -v '^ *+' conftest.er1 >conftest.err
71236 rm -f conftest.er1
71237 cat conftest.err >&5
71238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71239 (exit $ac_status); } &&
71240 { ac_try='test -z "$ac_cxx_werror_flag"
71241 || test ! -s conftest.err'
71242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71243 (eval $ac_try) 2>&5
71244 ac_status=$?
71245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71246 (exit $ac_status); }; } &&
71247 { ac_try='test -s conftest.$ac_objext'
71248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71249 (eval $ac_try) 2>&5
71250 ac_status=$?
71251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71252 (exit $ac_status); }; }; then
71253 glibcxx_cv_func__ldexpl_use=yes
71254 else
71255 echo "$as_me: failed program was:" >&5
71256 sed 's/^/| /' conftest.$ac_ext >&5
71258 glibcxx_cv_func__ldexpl_use=no
71260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71261 ac_ext=c
71262 ac_cpp='$CPP $CPPFLAGS'
71263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
71272 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
71274 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71276 for ac_func in _ldexpl
71278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71279 echo "$as_me:$LINENO: checking for $ac_func" >&5
71280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71281 if eval "test \"\${$as_ac_var+set}\" = set"; then
71282 echo $ECHO_N "(cached) $ECHO_C" >&6
71283 else
71284 if test x$gcc_no_link = xyes; then
71285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71287 { (exit 1); exit 1; }; }
71289 cat >conftest.$ac_ext <<_ACEOF
71290 /* confdefs.h. */
71291 _ACEOF
71292 cat confdefs.h >>conftest.$ac_ext
71293 cat >>conftest.$ac_ext <<_ACEOF
71294 /* end confdefs.h. */
71295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71297 #define $ac_func innocuous_$ac_func
71299 /* System header to define __stub macros and hopefully few prototypes,
71300 which can conflict with char $ac_func (); below.
71301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71302 <limits.h> exists even on freestanding compilers. */
71304 #ifdef __STDC__
71305 # include <limits.h>
71306 #else
71307 # include <assert.h>
71308 #endif
71310 #undef $ac_func
71312 /* Override any gcc2 internal prototype to avoid an error. */
71313 #ifdef __cplusplus
71314 extern "C"
71316 #endif
71317 /* We use char because int might match the return type of a gcc2
71318 builtin and then its argument prototype would still apply. */
71319 char $ac_func ();
71320 /* The GNU C library defines this for functions which it implements
71321 to always fail with ENOSYS. Some functions are actually named
71322 something starting with __ and the normal name is an alias. */
71323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71324 choke me
71325 #else
71326 char (*f) () = $ac_func;
71327 #endif
71328 #ifdef __cplusplus
71330 #endif
71333 main ()
71335 return f != $ac_func;
71337 return 0;
71339 _ACEOF
71340 rm -f conftest.$ac_objext conftest$ac_exeext
71341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71342 (eval $ac_link) 2>conftest.er1
71343 ac_status=$?
71344 grep -v '^ *+' conftest.er1 >conftest.err
71345 rm -f conftest.er1
71346 cat conftest.err >&5
71347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71348 (exit $ac_status); } &&
71349 { ac_try='test -z "$ac_c_werror_flag"
71350 || test ! -s conftest.err'
71351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71352 (eval $ac_try) 2>&5
71353 ac_status=$?
71354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71355 (exit $ac_status); }; } &&
71356 { ac_try='test -s conftest$ac_exeext'
71357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71358 (eval $ac_try) 2>&5
71359 ac_status=$?
71360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71361 (exit $ac_status); }; }; then
71362 eval "$as_ac_var=yes"
71363 else
71364 echo "$as_me: failed program was:" >&5
71365 sed 's/^/| /' conftest.$ac_ext >&5
71367 eval "$as_ac_var=no"
71369 rm -f conftest.err conftest.$ac_objext \
71370 conftest$ac_exeext conftest.$ac_ext
71372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71374 if test `eval echo '${'$as_ac_var'}'` = yes; then
71375 cat >>confdefs.h <<_ACEOF
71376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71377 _ACEOF
71380 done
71390 echo "$as_me:$LINENO: checking for logl declaration" >&5
71391 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
71392 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71393 if test "${glibcxx_cv_func_logl_use+set}" = set; then
71394 echo $ECHO_N "(cached) $ECHO_C" >&6
71395 else
71399 ac_ext=cc
71400 ac_cpp='$CXXCPP $CPPFLAGS'
71401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71405 cat >conftest.$ac_ext <<_ACEOF
71406 /* confdefs.h. */
71407 _ACEOF
71408 cat confdefs.h >>conftest.$ac_ext
71409 cat >>conftest.$ac_ext <<_ACEOF
71410 /* end confdefs.h. */
71411 #include <math.h>
71412 #ifdef HAVE_IEEEFP_H
71413 #include <ieeefp.h>
71414 #endif
71417 main ()
71419 logl(0);
71421 return 0;
71423 _ACEOF
71424 rm -f conftest.$ac_objext
71425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71426 (eval $ac_compile) 2>conftest.er1
71427 ac_status=$?
71428 grep -v '^ *+' conftest.er1 >conftest.err
71429 rm -f conftest.er1
71430 cat conftest.err >&5
71431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71432 (exit $ac_status); } &&
71433 { ac_try='test -z "$ac_cxx_werror_flag"
71434 || test ! -s conftest.err'
71435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71436 (eval $ac_try) 2>&5
71437 ac_status=$?
71438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71439 (exit $ac_status); }; } &&
71440 { ac_try='test -s conftest.$ac_objext'
71441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71442 (eval $ac_try) 2>&5
71443 ac_status=$?
71444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71445 (exit $ac_status); }; }; then
71446 glibcxx_cv_func_logl_use=yes
71447 else
71448 echo "$as_me: failed program was:" >&5
71449 sed 's/^/| /' conftest.$ac_ext >&5
71451 glibcxx_cv_func_logl_use=no
71453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71454 ac_ext=c
71455 ac_cpp='$CPP $CPPFLAGS'
71456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
71465 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
71467 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71469 for ac_func in logl
71471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71472 echo "$as_me:$LINENO: checking for $ac_func" >&5
71473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71474 if eval "test \"\${$as_ac_var+set}\" = set"; then
71475 echo $ECHO_N "(cached) $ECHO_C" >&6
71476 else
71477 if test x$gcc_no_link = xyes; then
71478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71480 { (exit 1); exit 1; }; }
71482 cat >conftest.$ac_ext <<_ACEOF
71483 /* confdefs.h. */
71484 _ACEOF
71485 cat confdefs.h >>conftest.$ac_ext
71486 cat >>conftest.$ac_ext <<_ACEOF
71487 /* end confdefs.h. */
71488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71490 #define $ac_func innocuous_$ac_func
71492 /* System header to define __stub macros and hopefully few prototypes,
71493 which can conflict with char $ac_func (); below.
71494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71495 <limits.h> exists even on freestanding compilers. */
71497 #ifdef __STDC__
71498 # include <limits.h>
71499 #else
71500 # include <assert.h>
71501 #endif
71503 #undef $ac_func
71505 /* Override any gcc2 internal prototype to avoid an error. */
71506 #ifdef __cplusplus
71507 extern "C"
71509 #endif
71510 /* We use char because int might match the return type of a gcc2
71511 builtin and then its argument prototype would still apply. */
71512 char $ac_func ();
71513 /* The GNU C library defines this for functions which it implements
71514 to always fail with ENOSYS. Some functions are actually named
71515 something starting with __ and the normal name is an alias. */
71516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71517 choke me
71518 #else
71519 char (*f) () = $ac_func;
71520 #endif
71521 #ifdef __cplusplus
71523 #endif
71526 main ()
71528 return f != $ac_func;
71530 return 0;
71532 _ACEOF
71533 rm -f conftest.$ac_objext conftest$ac_exeext
71534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71535 (eval $ac_link) 2>conftest.er1
71536 ac_status=$?
71537 grep -v '^ *+' conftest.er1 >conftest.err
71538 rm -f conftest.er1
71539 cat conftest.err >&5
71540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71541 (exit $ac_status); } &&
71542 { ac_try='test -z "$ac_c_werror_flag"
71543 || test ! -s conftest.err'
71544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71545 (eval $ac_try) 2>&5
71546 ac_status=$?
71547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71548 (exit $ac_status); }; } &&
71549 { ac_try='test -s conftest$ac_exeext'
71550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71551 (eval $ac_try) 2>&5
71552 ac_status=$?
71553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554 (exit $ac_status); }; }; then
71555 eval "$as_ac_var=yes"
71556 else
71557 echo "$as_me: failed program was:" >&5
71558 sed 's/^/| /' conftest.$ac_ext >&5
71560 eval "$as_ac_var=no"
71562 rm -f conftest.err conftest.$ac_objext \
71563 conftest$ac_exeext conftest.$ac_ext
71565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71567 if test `eval echo '${'$as_ac_var'}'` = yes; then
71568 cat >>confdefs.h <<_ACEOF
71569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71570 _ACEOF
71573 done
71575 else
71577 echo "$as_me:$LINENO: checking for _logl declaration" >&5
71578 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
71579 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71580 if test "${glibcxx_cv_func__logl_use+set}" = set; then
71581 echo $ECHO_N "(cached) $ECHO_C" >&6
71582 else
71586 ac_ext=cc
71587 ac_cpp='$CXXCPP $CPPFLAGS'
71588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71592 cat >conftest.$ac_ext <<_ACEOF
71593 /* confdefs.h. */
71594 _ACEOF
71595 cat confdefs.h >>conftest.$ac_ext
71596 cat >>conftest.$ac_ext <<_ACEOF
71597 /* end confdefs.h. */
71598 #include <math.h>
71599 #ifdef HAVE_IEEEFP_H
71600 #include <ieeefp.h>
71601 #endif
71604 main ()
71606 _logl(0);
71608 return 0;
71610 _ACEOF
71611 rm -f conftest.$ac_objext
71612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71613 (eval $ac_compile) 2>conftest.er1
71614 ac_status=$?
71615 grep -v '^ *+' conftest.er1 >conftest.err
71616 rm -f conftest.er1
71617 cat conftest.err >&5
71618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71619 (exit $ac_status); } &&
71620 { ac_try='test -z "$ac_cxx_werror_flag"
71621 || test ! -s conftest.err'
71622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71623 (eval $ac_try) 2>&5
71624 ac_status=$?
71625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71626 (exit $ac_status); }; } &&
71627 { ac_try='test -s conftest.$ac_objext'
71628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629 (eval $ac_try) 2>&5
71630 ac_status=$?
71631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632 (exit $ac_status); }; }; then
71633 glibcxx_cv_func__logl_use=yes
71634 else
71635 echo "$as_me: failed program was:" >&5
71636 sed 's/^/| /' conftest.$ac_ext >&5
71638 glibcxx_cv_func__logl_use=no
71640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71641 ac_ext=c
71642 ac_cpp='$CPP $CPPFLAGS'
71643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
71652 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
71654 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71656 for ac_func in _logl
71658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71659 echo "$as_me:$LINENO: checking for $ac_func" >&5
71660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71661 if eval "test \"\${$as_ac_var+set}\" = set"; then
71662 echo $ECHO_N "(cached) $ECHO_C" >&6
71663 else
71664 if test x$gcc_no_link = xyes; then
71665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71667 { (exit 1); exit 1; }; }
71669 cat >conftest.$ac_ext <<_ACEOF
71670 /* confdefs.h. */
71671 _ACEOF
71672 cat confdefs.h >>conftest.$ac_ext
71673 cat >>conftest.$ac_ext <<_ACEOF
71674 /* end confdefs.h. */
71675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71677 #define $ac_func innocuous_$ac_func
71679 /* System header to define __stub macros and hopefully few prototypes,
71680 which can conflict with char $ac_func (); below.
71681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71682 <limits.h> exists even on freestanding compilers. */
71684 #ifdef __STDC__
71685 # include <limits.h>
71686 #else
71687 # include <assert.h>
71688 #endif
71690 #undef $ac_func
71692 /* Override any gcc2 internal prototype to avoid an error. */
71693 #ifdef __cplusplus
71694 extern "C"
71696 #endif
71697 /* We use char because int might match the return type of a gcc2
71698 builtin and then its argument prototype would still apply. */
71699 char $ac_func ();
71700 /* The GNU C library defines this for functions which it implements
71701 to always fail with ENOSYS. Some functions are actually named
71702 something starting with __ and the normal name is an alias. */
71703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71704 choke me
71705 #else
71706 char (*f) () = $ac_func;
71707 #endif
71708 #ifdef __cplusplus
71710 #endif
71713 main ()
71715 return f != $ac_func;
71717 return 0;
71719 _ACEOF
71720 rm -f conftest.$ac_objext conftest$ac_exeext
71721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71722 (eval $ac_link) 2>conftest.er1
71723 ac_status=$?
71724 grep -v '^ *+' conftest.er1 >conftest.err
71725 rm -f conftest.er1
71726 cat conftest.err >&5
71727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71728 (exit $ac_status); } &&
71729 { ac_try='test -z "$ac_c_werror_flag"
71730 || test ! -s conftest.err'
71731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71732 (eval $ac_try) 2>&5
71733 ac_status=$?
71734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71735 (exit $ac_status); }; } &&
71736 { ac_try='test -s conftest$ac_exeext'
71737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71738 (eval $ac_try) 2>&5
71739 ac_status=$?
71740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741 (exit $ac_status); }; }; then
71742 eval "$as_ac_var=yes"
71743 else
71744 echo "$as_me: failed program was:" >&5
71745 sed 's/^/| /' conftest.$ac_ext >&5
71747 eval "$as_ac_var=no"
71749 rm -f conftest.err conftest.$ac_objext \
71750 conftest$ac_exeext conftest.$ac_ext
71752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71754 if test `eval echo '${'$as_ac_var'}'` = yes; then
71755 cat >>confdefs.h <<_ACEOF
71756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71757 _ACEOF
71760 done
71770 echo "$as_me:$LINENO: checking for log10l declaration" >&5
71771 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
71772 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71773 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
71774 echo $ECHO_N "(cached) $ECHO_C" >&6
71775 else
71779 ac_ext=cc
71780 ac_cpp='$CXXCPP $CPPFLAGS'
71781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71785 cat >conftest.$ac_ext <<_ACEOF
71786 /* confdefs.h. */
71787 _ACEOF
71788 cat confdefs.h >>conftest.$ac_ext
71789 cat >>conftest.$ac_ext <<_ACEOF
71790 /* end confdefs.h. */
71791 #include <math.h>
71792 #ifdef HAVE_IEEEFP_H
71793 #include <ieeefp.h>
71794 #endif
71797 main ()
71799 log10l(0);
71801 return 0;
71803 _ACEOF
71804 rm -f conftest.$ac_objext
71805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71806 (eval $ac_compile) 2>conftest.er1
71807 ac_status=$?
71808 grep -v '^ *+' conftest.er1 >conftest.err
71809 rm -f conftest.er1
71810 cat conftest.err >&5
71811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71812 (exit $ac_status); } &&
71813 { ac_try='test -z "$ac_cxx_werror_flag"
71814 || test ! -s conftest.err'
71815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71816 (eval $ac_try) 2>&5
71817 ac_status=$?
71818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71819 (exit $ac_status); }; } &&
71820 { ac_try='test -s conftest.$ac_objext'
71821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71822 (eval $ac_try) 2>&5
71823 ac_status=$?
71824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71825 (exit $ac_status); }; }; then
71826 glibcxx_cv_func_log10l_use=yes
71827 else
71828 echo "$as_me: failed program was:" >&5
71829 sed 's/^/| /' conftest.$ac_ext >&5
71831 glibcxx_cv_func_log10l_use=no
71833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71834 ac_ext=c
71835 ac_cpp='$CPP $CPPFLAGS'
71836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
71845 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
71847 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71849 for ac_func in log10l
71851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71852 echo "$as_me:$LINENO: checking for $ac_func" >&5
71853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71854 if eval "test \"\${$as_ac_var+set}\" = set"; then
71855 echo $ECHO_N "(cached) $ECHO_C" >&6
71856 else
71857 if test x$gcc_no_link = xyes; then
71858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71860 { (exit 1); exit 1; }; }
71862 cat >conftest.$ac_ext <<_ACEOF
71863 /* confdefs.h. */
71864 _ACEOF
71865 cat confdefs.h >>conftest.$ac_ext
71866 cat >>conftest.$ac_ext <<_ACEOF
71867 /* end confdefs.h. */
71868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71870 #define $ac_func innocuous_$ac_func
71872 /* System header to define __stub macros and hopefully few prototypes,
71873 which can conflict with char $ac_func (); below.
71874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71875 <limits.h> exists even on freestanding compilers. */
71877 #ifdef __STDC__
71878 # include <limits.h>
71879 #else
71880 # include <assert.h>
71881 #endif
71883 #undef $ac_func
71885 /* Override any gcc2 internal prototype to avoid an error. */
71886 #ifdef __cplusplus
71887 extern "C"
71889 #endif
71890 /* We use char because int might match the return type of a gcc2
71891 builtin and then its argument prototype would still apply. */
71892 char $ac_func ();
71893 /* The GNU C library defines this for functions which it implements
71894 to always fail with ENOSYS. Some functions are actually named
71895 something starting with __ and the normal name is an alias. */
71896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71897 choke me
71898 #else
71899 char (*f) () = $ac_func;
71900 #endif
71901 #ifdef __cplusplus
71903 #endif
71906 main ()
71908 return f != $ac_func;
71910 return 0;
71912 _ACEOF
71913 rm -f conftest.$ac_objext conftest$ac_exeext
71914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71915 (eval $ac_link) 2>conftest.er1
71916 ac_status=$?
71917 grep -v '^ *+' conftest.er1 >conftest.err
71918 rm -f conftest.er1
71919 cat conftest.err >&5
71920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71921 (exit $ac_status); } &&
71922 { ac_try='test -z "$ac_c_werror_flag"
71923 || test ! -s conftest.err'
71924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71925 (eval $ac_try) 2>&5
71926 ac_status=$?
71927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71928 (exit $ac_status); }; } &&
71929 { ac_try='test -s conftest$ac_exeext'
71930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71931 (eval $ac_try) 2>&5
71932 ac_status=$?
71933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934 (exit $ac_status); }; }; then
71935 eval "$as_ac_var=yes"
71936 else
71937 echo "$as_me: failed program was:" >&5
71938 sed 's/^/| /' conftest.$ac_ext >&5
71940 eval "$as_ac_var=no"
71942 rm -f conftest.err conftest.$ac_objext \
71943 conftest$ac_exeext conftest.$ac_ext
71945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71947 if test `eval echo '${'$as_ac_var'}'` = yes; then
71948 cat >>confdefs.h <<_ACEOF
71949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71950 _ACEOF
71953 done
71955 else
71957 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
71958 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
71959 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71960 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
71961 echo $ECHO_N "(cached) $ECHO_C" >&6
71962 else
71966 ac_ext=cc
71967 ac_cpp='$CXXCPP $CPPFLAGS'
71968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71972 cat >conftest.$ac_ext <<_ACEOF
71973 /* confdefs.h. */
71974 _ACEOF
71975 cat confdefs.h >>conftest.$ac_ext
71976 cat >>conftest.$ac_ext <<_ACEOF
71977 /* end confdefs.h. */
71978 #include <math.h>
71979 #ifdef HAVE_IEEEFP_H
71980 #include <ieeefp.h>
71981 #endif
71984 main ()
71986 _log10l(0);
71988 return 0;
71990 _ACEOF
71991 rm -f conftest.$ac_objext
71992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71993 (eval $ac_compile) 2>conftest.er1
71994 ac_status=$?
71995 grep -v '^ *+' conftest.er1 >conftest.err
71996 rm -f conftest.er1
71997 cat conftest.err >&5
71998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71999 (exit $ac_status); } &&
72000 { ac_try='test -z "$ac_cxx_werror_flag"
72001 || test ! -s conftest.err'
72002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003 (eval $ac_try) 2>&5
72004 ac_status=$?
72005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006 (exit $ac_status); }; } &&
72007 { ac_try='test -s conftest.$ac_objext'
72008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72009 (eval $ac_try) 2>&5
72010 ac_status=$?
72011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72012 (exit $ac_status); }; }; then
72013 glibcxx_cv_func__log10l_use=yes
72014 else
72015 echo "$as_me: failed program was:" >&5
72016 sed 's/^/| /' conftest.$ac_ext >&5
72018 glibcxx_cv_func__log10l_use=no
72020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72021 ac_ext=c
72022 ac_cpp='$CPP $CPPFLAGS'
72023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
72032 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
72034 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72036 for ac_func in _log10l
72038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72039 echo "$as_me:$LINENO: checking for $ac_func" >&5
72040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72041 if eval "test \"\${$as_ac_var+set}\" = set"; then
72042 echo $ECHO_N "(cached) $ECHO_C" >&6
72043 else
72044 if test x$gcc_no_link = xyes; then
72045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72047 { (exit 1); exit 1; }; }
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h. */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h. */
72055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72057 #define $ac_func innocuous_$ac_func
72059 /* System header to define __stub macros and hopefully few prototypes,
72060 which can conflict with char $ac_func (); below.
72061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72062 <limits.h> exists even on freestanding compilers. */
72064 #ifdef __STDC__
72065 # include <limits.h>
72066 #else
72067 # include <assert.h>
72068 #endif
72070 #undef $ac_func
72072 /* Override any gcc2 internal prototype to avoid an error. */
72073 #ifdef __cplusplus
72074 extern "C"
72076 #endif
72077 /* We use char because int might match the return type of a gcc2
72078 builtin and then its argument prototype would still apply. */
72079 char $ac_func ();
72080 /* The GNU C library defines this for functions which it implements
72081 to always fail with ENOSYS. Some functions are actually named
72082 something starting with __ and the normal name is an alias. */
72083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72084 choke me
72085 #else
72086 char (*f) () = $ac_func;
72087 #endif
72088 #ifdef __cplusplus
72090 #endif
72093 main ()
72095 return f != $ac_func;
72097 return 0;
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102 (eval $ac_link) 2>conftest.er1
72103 ac_status=$?
72104 grep -v '^ *+' conftest.er1 >conftest.err
72105 rm -f conftest.er1
72106 cat conftest.err >&5
72107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108 (exit $ac_status); } &&
72109 { ac_try='test -z "$ac_c_werror_flag"
72110 || test ! -s conftest.err'
72111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112 (eval $ac_try) 2>&5
72113 ac_status=$?
72114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115 (exit $ac_status); }; } &&
72116 { ac_try='test -s conftest$ac_exeext'
72117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118 (eval $ac_try) 2>&5
72119 ac_status=$?
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); }; }; then
72122 eval "$as_ac_var=yes"
72123 else
72124 echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72127 eval "$as_ac_var=no"
72129 rm -f conftest.err conftest.$ac_objext \
72130 conftest$ac_exeext conftest.$ac_ext
72132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72134 if test `eval echo '${'$as_ac_var'}'` = yes; then
72135 cat >>confdefs.h <<_ACEOF
72136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72137 _ACEOF
72140 done
72150 echo "$as_me:$LINENO: checking for modfl declaration" >&5
72151 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
72152 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72153 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
72154 echo $ECHO_N "(cached) $ECHO_C" >&6
72155 else
72159 ac_ext=cc
72160 ac_cpp='$CXXCPP $CPPFLAGS'
72161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72165 cat >conftest.$ac_ext <<_ACEOF
72166 /* confdefs.h. */
72167 _ACEOF
72168 cat confdefs.h >>conftest.$ac_ext
72169 cat >>conftest.$ac_ext <<_ACEOF
72170 /* end confdefs.h. */
72171 #include <math.h>
72173 main ()
72175 modfl(0, 0);
72177 return 0;
72179 _ACEOF
72180 rm -f conftest.$ac_objext
72181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72182 (eval $ac_compile) 2>conftest.er1
72183 ac_status=$?
72184 grep -v '^ *+' conftest.er1 >conftest.err
72185 rm -f conftest.er1
72186 cat conftest.err >&5
72187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72188 (exit $ac_status); } &&
72189 { ac_try='test -z "$ac_cxx_werror_flag"
72190 || test ! -s conftest.err'
72191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72192 (eval $ac_try) 2>&5
72193 ac_status=$?
72194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195 (exit $ac_status); }; } &&
72196 { ac_try='test -s conftest.$ac_objext'
72197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72198 (eval $ac_try) 2>&5
72199 ac_status=$?
72200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201 (exit $ac_status); }; }; then
72202 glibcxx_cv_func_modfl_use=yes
72203 else
72204 echo "$as_me: failed program was:" >&5
72205 sed 's/^/| /' conftest.$ac_ext >&5
72207 glibcxx_cv_func_modfl_use=no
72209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72210 ac_ext=c
72211 ac_cpp='$CPP $CPPFLAGS'
72212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
72221 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
72223 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72225 for ac_func in modfl
72227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72228 echo "$as_me:$LINENO: checking for $ac_func" >&5
72229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72230 if eval "test \"\${$as_ac_var+set}\" = set"; then
72231 echo $ECHO_N "(cached) $ECHO_C" >&6
72232 else
72233 if test x$gcc_no_link = xyes; then
72234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72236 { (exit 1); exit 1; }; }
72238 cat >conftest.$ac_ext <<_ACEOF
72239 /* confdefs.h. */
72240 _ACEOF
72241 cat confdefs.h >>conftest.$ac_ext
72242 cat >>conftest.$ac_ext <<_ACEOF
72243 /* end confdefs.h. */
72244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72246 #define $ac_func innocuous_$ac_func
72248 /* System header to define __stub macros and hopefully few prototypes,
72249 which can conflict with char $ac_func (); below.
72250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72251 <limits.h> exists even on freestanding compilers. */
72253 #ifdef __STDC__
72254 # include <limits.h>
72255 #else
72256 # include <assert.h>
72257 #endif
72259 #undef $ac_func
72261 /* Override any gcc2 internal prototype to avoid an error. */
72262 #ifdef __cplusplus
72263 extern "C"
72265 #endif
72266 /* We use char because int might match the return type of a gcc2
72267 builtin and then its argument prototype would still apply. */
72268 char $ac_func ();
72269 /* The GNU C library defines this for functions which it implements
72270 to always fail with ENOSYS. Some functions are actually named
72271 something starting with __ and the normal name is an alias. */
72272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72273 choke me
72274 #else
72275 char (*f) () = $ac_func;
72276 #endif
72277 #ifdef __cplusplus
72279 #endif
72282 main ()
72284 return f != $ac_func;
72286 return 0;
72288 _ACEOF
72289 rm -f conftest.$ac_objext conftest$ac_exeext
72290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72291 (eval $ac_link) 2>conftest.er1
72292 ac_status=$?
72293 grep -v '^ *+' conftest.er1 >conftest.err
72294 rm -f conftest.er1
72295 cat conftest.err >&5
72296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72297 (exit $ac_status); } &&
72298 { ac_try='test -z "$ac_c_werror_flag"
72299 || test ! -s conftest.err'
72300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72301 (eval $ac_try) 2>&5
72302 ac_status=$?
72303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72304 (exit $ac_status); }; } &&
72305 { ac_try='test -s conftest$ac_exeext'
72306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72307 (eval $ac_try) 2>&5
72308 ac_status=$?
72309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310 (exit $ac_status); }; }; then
72311 eval "$as_ac_var=yes"
72312 else
72313 echo "$as_me: failed program was:" >&5
72314 sed 's/^/| /' conftest.$ac_ext >&5
72316 eval "$as_ac_var=no"
72318 rm -f conftest.err conftest.$ac_objext \
72319 conftest$ac_exeext conftest.$ac_ext
72321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72323 if test `eval echo '${'$as_ac_var'}'` = yes; then
72324 cat >>confdefs.h <<_ACEOF
72325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72326 _ACEOF
72329 done
72331 else
72333 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
72334 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
72335 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72336 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
72337 echo $ECHO_N "(cached) $ECHO_C" >&6
72338 else
72342 ac_ext=cc
72343 ac_cpp='$CXXCPP $CPPFLAGS'
72344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72348 cat >conftest.$ac_ext <<_ACEOF
72349 /* confdefs.h. */
72350 _ACEOF
72351 cat confdefs.h >>conftest.$ac_ext
72352 cat >>conftest.$ac_ext <<_ACEOF
72353 /* end confdefs.h. */
72354 #include <math.h>
72356 main ()
72358 _modfl(0, 0);
72360 return 0;
72362 _ACEOF
72363 rm -f conftest.$ac_objext
72364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72365 (eval $ac_compile) 2>conftest.er1
72366 ac_status=$?
72367 grep -v '^ *+' conftest.er1 >conftest.err
72368 rm -f conftest.er1
72369 cat conftest.err >&5
72370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72371 (exit $ac_status); } &&
72372 { ac_try='test -z "$ac_cxx_werror_flag"
72373 || test ! -s conftest.err'
72374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72375 (eval $ac_try) 2>&5
72376 ac_status=$?
72377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72378 (exit $ac_status); }; } &&
72379 { ac_try='test -s conftest.$ac_objext'
72380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72381 (eval $ac_try) 2>&5
72382 ac_status=$?
72383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72384 (exit $ac_status); }; }; then
72385 glibcxx_cv_func__modfl_use=yes
72386 else
72387 echo "$as_me: failed program was:" >&5
72388 sed 's/^/| /' conftest.$ac_ext >&5
72390 glibcxx_cv_func__modfl_use=no
72392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72393 ac_ext=c
72394 ac_cpp='$CPP $CPPFLAGS'
72395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
72404 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
72406 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72408 for ac_func in _modfl
72410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72411 echo "$as_me:$LINENO: checking for $ac_func" >&5
72412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72413 if eval "test \"\${$as_ac_var+set}\" = set"; then
72414 echo $ECHO_N "(cached) $ECHO_C" >&6
72415 else
72416 if test x$gcc_no_link = xyes; then
72417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72419 { (exit 1); exit 1; }; }
72421 cat >conftest.$ac_ext <<_ACEOF
72422 /* confdefs.h. */
72423 _ACEOF
72424 cat confdefs.h >>conftest.$ac_ext
72425 cat >>conftest.$ac_ext <<_ACEOF
72426 /* end confdefs.h. */
72427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72429 #define $ac_func innocuous_$ac_func
72431 /* System header to define __stub macros and hopefully few prototypes,
72432 which can conflict with char $ac_func (); below.
72433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72434 <limits.h> exists even on freestanding compilers. */
72436 #ifdef __STDC__
72437 # include <limits.h>
72438 #else
72439 # include <assert.h>
72440 #endif
72442 #undef $ac_func
72444 /* Override any gcc2 internal prototype to avoid an error. */
72445 #ifdef __cplusplus
72446 extern "C"
72448 #endif
72449 /* We use char because int might match the return type of a gcc2
72450 builtin and then its argument prototype would still apply. */
72451 char $ac_func ();
72452 /* The GNU C library defines this for functions which it implements
72453 to always fail with ENOSYS. Some functions are actually named
72454 something starting with __ and the normal name is an alias. */
72455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72456 choke me
72457 #else
72458 char (*f) () = $ac_func;
72459 #endif
72460 #ifdef __cplusplus
72462 #endif
72465 main ()
72467 return f != $ac_func;
72469 return 0;
72471 _ACEOF
72472 rm -f conftest.$ac_objext conftest$ac_exeext
72473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72474 (eval $ac_link) 2>conftest.er1
72475 ac_status=$?
72476 grep -v '^ *+' conftest.er1 >conftest.err
72477 rm -f conftest.er1
72478 cat conftest.err >&5
72479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72480 (exit $ac_status); } &&
72481 { ac_try='test -z "$ac_c_werror_flag"
72482 || test ! -s conftest.err'
72483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72484 (eval $ac_try) 2>&5
72485 ac_status=$?
72486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72487 (exit $ac_status); }; } &&
72488 { ac_try='test -s conftest$ac_exeext'
72489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72490 (eval $ac_try) 2>&5
72491 ac_status=$?
72492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493 (exit $ac_status); }; }; then
72494 eval "$as_ac_var=yes"
72495 else
72496 echo "$as_me: failed program was:" >&5
72497 sed 's/^/| /' conftest.$ac_ext >&5
72499 eval "$as_ac_var=no"
72501 rm -f conftest.err conftest.$ac_objext \
72502 conftest$ac_exeext conftest.$ac_ext
72504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72506 if test `eval echo '${'$as_ac_var'}'` = yes; then
72507 cat >>confdefs.h <<_ACEOF
72508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72509 _ACEOF
72512 done
72522 echo "$as_me:$LINENO: checking for powl declaration" >&5
72523 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
72524 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72525 if test "${glibcxx_cv_func_powl_use+set}" = set; then
72526 echo $ECHO_N "(cached) $ECHO_C" >&6
72527 else
72531 ac_ext=cc
72532 ac_cpp='$CXXCPP $CPPFLAGS'
72533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72537 cat >conftest.$ac_ext <<_ACEOF
72538 /* confdefs.h. */
72539 _ACEOF
72540 cat confdefs.h >>conftest.$ac_ext
72541 cat >>conftest.$ac_ext <<_ACEOF
72542 /* end confdefs.h. */
72543 #include <math.h>
72545 main ()
72547 powl(0, 0);
72549 return 0;
72551 _ACEOF
72552 rm -f conftest.$ac_objext
72553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72554 (eval $ac_compile) 2>conftest.er1
72555 ac_status=$?
72556 grep -v '^ *+' conftest.er1 >conftest.err
72557 rm -f conftest.er1
72558 cat conftest.err >&5
72559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72560 (exit $ac_status); } &&
72561 { ac_try='test -z "$ac_cxx_werror_flag"
72562 || test ! -s conftest.err'
72563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72564 (eval $ac_try) 2>&5
72565 ac_status=$?
72566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72567 (exit $ac_status); }; } &&
72568 { ac_try='test -s conftest.$ac_objext'
72569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72570 (eval $ac_try) 2>&5
72571 ac_status=$?
72572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72573 (exit $ac_status); }; }; then
72574 glibcxx_cv_func_powl_use=yes
72575 else
72576 echo "$as_me: failed program was:" >&5
72577 sed 's/^/| /' conftest.$ac_ext >&5
72579 glibcxx_cv_func_powl_use=no
72581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72582 ac_ext=c
72583 ac_cpp='$CPP $CPPFLAGS'
72584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
72593 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
72595 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72597 for ac_func in powl
72599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72600 echo "$as_me:$LINENO: checking for $ac_func" >&5
72601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72602 if eval "test \"\${$as_ac_var+set}\" = set"; then
72603 echo $ECHO_N "(cached) $ECHO_C" >&6
72604 else
72605 if test x$gcc_no_link = xyes; then
72606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72608 { (exit 1); exit 1; }; }
72610 cat >conftest.$ac_ext <<_ACEOF
72611 /* confdefs.h. */
72612 _ACEOF
72613 cat confdefs.h >>conftest.$ac_ext
72614 cat >>conftest.$ac_ext <<_ACEOF
72615 /* end confdefs.h. */
72616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72618 #define $ac_func innocuous_$ac_func
72620 /* System header to define __stub macros and hopefully few prototypes,
72621 which can conflict with char $ac_func (); below.
72622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72623 <limits.h> exists even on freestanding compilers. */
72625 #ifdef __STDC__
72626 # include <limits.h>
72627 #else
72628 # include <assert.h>
72629 #endif
72631 #undef $ac_func
72633 /* Override any gcc2 internal prototype to avoid an error. */
72634 #ifdef __cplusplus
72635 extern "C"
72637 #endif
72638 /* We use char because int might match the return type of a gcc2
72639 builtin and then its argument prototype would still apply. */
72640 char $ac_func ();
72641 /* The GNU C library defines this for functions which it implements
72642 to always fail with ENOSYS. Some functions are actually named
72643 something starting with __ and the normal name is an alias. */
72644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72645 choke me
72646 #else
72647 char (*f) () = $ac_func;
72648 #endif
72649 #ifdef __cplusplus
72651 #endif
72654 main ()
72656 return f != $ac_func;
72658 return 0;
72660 _ACEOF
72661 rm -f conftest.$ac_objext conftest$ac_exeext
72662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72663 (eval $ac_link) 2>conftest.er1
72664 ac_status=$?
72665 grep -v '^ *+' conftest.er1 >conftest.err
72666 rm -f conftest.er1
72667 cat conftest.err >&5
72668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72669 (exit $ac_status); } &&
72670 { ac_try='test -z "$ac_c_werror_flag"
72671 || test ! -s conftest.err'
72672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72673 (eval $ac_try) 2>&5
72674 ac_status=$?
72675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72676 (exit $ac_status); }; } &&
72677 { ac_try='test -s conftest$ac_exeext'
72678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72679 (eval $ac_try) 2>&5
72680 ac_status=$?
72681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72682 (exit $ac_status); }; }; then
72683 eval "$as_ac_var=yes"
72684 else
72685 echo "$as_me: failed program was:" >&5
72686 sed 's/^/| /' conftest.$ac_ext >&5
72688 eval "$as_ac_var=no"
72690 rm -f conftest.err conftest.$ac_objext \
72691 conftest$ac_exeext conftest.$ac_ext
72693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72695 if test `eval echo '${'$as_ac_var'}'` = yes; then
72696 cat >>confdefs.h <<_ACEOF
72697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72698 _ACEOF
72701 done
72703 else
72705 echo "$as_me:$LINENO: checking for _powl declaration" >&5
72706 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
72707 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72708 if test "${glibcxx_cv_func__powl_use+set}" = set; then
72709 echo $ECHO_N "(cached) $ECHO_C" >&6
72710 else
72714 ac_ext=cc
72715 ac_cpp='$CXXCPP $CPPFLAGS'
72716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72720 cat >conftest.$ac_ext <<_ACEOF
72721 /* confdefs.h. */
72722 _ACEOF
72723 cat confdefs.h >>conftest.$ac_ext
72724 cat >>conftest.$ac_ext <<_ACEOF
72725 /* end confdefs.h. */
72726 #include <math.h>
72728 main ()
72730 _powl(0, 0);
72732 return 0;
72734 _ACEOF
72735 rm -f conftest.$ac_objext
72736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72737 (eval $ac_compile) 2>conftest.er1
72738 ac_status=$?
72739 grep -v '^ *+' conftest.er1 >conftest.err
72740 rm -f conftest.er1
72741 cat conftest.err >&5
72742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72743 (exit $ac_status); } &&
72744 { ac_try='test -z "$ac_cxx_werror_flag"
72745 || test ! -s conftest.err'
72746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72747 (eval $ac_try) 2>&5
72748 ac_status=$?
72749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72750 (exit $ac_status); }; } &&
72751 { ac_try='test -s conftest.$ac_objext'
72752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72753 (eval $ac_try) 2>&5
72754 ac_status=$?
72755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72756 (exit $ac_status); }; }; then
72757 glibcxx_cv_func__powl_use=yes
72758 else
72759 echo "$as_me: failed program was:" >&5
72760 sed 's/^/| /' conftest.$ac_ext >&5
72762 glibcxx_cv_func__powl_use=no
72764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72765 ac_ext=c
72766 ac_cpp='$CPP $CPPFLAGS'
72767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
72776 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
72778 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72780 for ac_func in _powl
72782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72783 echo "$as_me:$LINENO: checking for $ac_func" >&5
72784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72785 if eval "test \"\${$as_ac_var+set}\" = set"; then
72786 echo $ECHO_N "(cached) $ECHO_C" >&6
72787 else
72788 if test x$gcc_no_link = xyes; then
72789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72791 { (exit 1); exit 1; }; }
72793 cat >conftest.$ac_ext <<_ACEOF
72794 /* confdefs.h. */
72795 _ACEOF
72796 cat confdefs.h >>conftest.$ac_ext
72797 cat >>conftest.$ac_ext <<_ACEOF
72798 /* end confdefs.h. */
72799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72801 #define $ac_func innocuous_$ac_func
72803 /* System header to define __stub macros and hopefully few prototypes,
72804 which can conflict with char $ac_func (); below.
72805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72806 <limits.h> exists even on freestanding compilers. */
72808 #ifdef __STDC__
72809 # include <limits.h>
72810 #else
72811 # include <assert.h>
72812 #endif
72814 #undef $ac_func
72816 /* Override any gcc2 internal prototype to avoid an error. */
72817 #ifdef __cplusplus
72818 extern "C"
72820 #endif
72821 /* We use char because int might match the return type of a gcc2
72822 builtin and then its argument prototype would still apply. */
72823 char $ac_func ();
72824 /* The GNU C library defines this for functions which it implements
72825 to always fail with ENOSYS. Some functions are actually named
72826 something starting with __ and the normal name is an alias. */
72827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72828 choke me
72829 #else
72830 char (*f) () = $ac_func;
72831 #endif
72832 #ifdef __cplusplus
72834 #endif
72837 main ()
72839 return f != $ac_func;
72841 return 0;
72843 _ACEOF
72844 rm -f conftest.$ac_objext conftest$ac_exeext
72845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72846 (eval $ac_link) 2>conftest.er1
72847 ac_status=$?
72848 grep -v '^ *+' conftest.er1 >conftest.err
72849 rm -f conftest.er1
72850 cat conftest.err >&5
72851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72852 (exit $ac_status); } &&
72853 { ac_try='test -z "$ac_c_werror_flag"
72854 || test ! -s conftest.err'
72855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72856 (eval $ac_try) 2>&5
72857 ac_status=$?
72858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72859 (exit $ac_status); }; } &&
72860 { ac_try='test -s conftest$ac_exeext'
72861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72862 (eval $ac_try) 2>&5
72863 ac_status=$?
72864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72865 (exit $ac_status); }; }; then
72866 eval "$as_ac_var=yes"
72867 else
72868 echo "$as_me: failed program was:" >&5
72869 sed 's/^/| /' conftest.$ac_ext >&5
72871 eval "$as_ac_var=no"
72873 rm -f conftest.err conftest.$ac_objext \
72874 conftest$ac_exeext conftest.$ac_ext
72876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72878 if test `eval echo '${'$as_ac_var'}'` = yes; then
72879 cat >>confdefs.h <<_ACEOF
72880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72881 _ACEOF
72884 done
72894 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
72895 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
72896 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72897 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
72898 echo $ECHO_N "(cached) $ECHO_C" >&6
72899 else
72903 ac_ext=cc
72904 ac_cpp='$CXXCPP $CPPFLAGS'
72905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72909 cat >conftest.$ac_ext <<_ACEOF
72910 /* confdefs.h. */
72911 _ACEOF
72912 cat confdefs.h >>conftest.$ac_ext
72913 cat >>conftest.$ac_ext <<_ACEOF
72914 /* end confdefs.h. */
72915 #include <math.h>
72916 #ifdef HAVE_IEEEFP_H
72917 #include <ieeefp.h>
72918 #endif
72921 main ()
72923 sqrtl(0);
72925 return 0;
72927 _ACEOF
72928 rm -f conftest.$ac_objext
72929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72930 (eval $ac_compile) 2>conftest.er1
72931 ac_status=$?
72932 grep -v '^ *+' conftest.er1 >conftest.err
72933 rm -f conftest.er1
72934 cat conftest.err >&5
72935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72936 (exit $ac_status); } &&
72937 { ac_try='test -z "$ac_cxx_werror_flag"
72938 || test ! -s conftest.err'
72939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72940 (eval $ac_try) 2>&5
72941 ac_status=$?
72942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72943 (exit $ac_status); }; } &&
72944 { ac_try='test -s conftest.$ac_objext'
72945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72946 (eval $ac_try) 2>&5
72947 ac_status=$?
72948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72949 (exit $ac_status); }; }; then
72950 glibcxx_cv_func_sqrtl_use=yes
72951 else
72952 echo "$as_me: failed program was:" >&5
72953 sed 's/^/| /' conftest.$ac_ext >&5
72955 glibcxx_cv_func_sqrtl_use=no
72957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72958 ac_ext=c
72959 ac_cpp='$CPP $CPPFLAGS'
72960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72968 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
72969 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
72971 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72973 for ac_func in sqrtl
72975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72976 echo "$as_me:$LINENO: checking for $ac_func" >&5
72977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72978 if eval "test \"\${$as_ac_var+set}\" = set"; then
72979 echo $ECHO_N "(cached) $ECHO_C" >&6
72980 else
72981 if test x$gcc_no_link = xyes; then
72982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72984 { (exit 1); exit 1; }; }
72986 cat >conftest.$ac_ext <<_ACEOF
72987 /* confdefs.h. */
72988 _ACEOF
72989 cat confdefs.h >>conftest.$ac_ext
72990 cat >>conftest.$ac_ext <<_ACEOF
72991 /* end confdefs.h. */
72992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72994 #define $ac_func innocuous_$ac_func
72996 /* System header to define __stub macros and hopefully few prototypes,
72997 which can conflict with char $ac_func (); below.
72998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72999 <limits.h> exists even on freestanding compilers. */
73001 #ifdef __STDC__
73002 # include <limits.h>
73003 #else
73004 # include <assert.h>
73005 #endif
73007 #undef $ac_func
73009 /* Override any gcc2 internal prototype to avoid an error. */
73010 #ifdef __cplusplus
73011 extern "C"
73013 #endif
73014 /* We use char because int might match the return type of a gcc2
73015 builtin and then its argument prototype would still apply. */
73016 char $ac_func ();
73017 /* The GNU C library defines this for functions which it implements
73018 to always fail with ENOSYS. Some functions are actually named
73019 something starting with __ and the normal name is an alias. */
73020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73021 choke me
73022 #else
73023 char (*f) () = $ac_func;
73024 #endif
73025 #ifdef __cplusplus
73027 #endif
73030 main ()
73032 return f != $ac_func;
73034 return 0;
73036 _ACEOF
73037 rm -f conftest.$ac_objext conftest$ac_exeext
73038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73039 (eval $ac_link) 2>conftest.er1
73040 ac_status=$?
73041 grep -v '^ *+' conftest.er1 >conftest.err
73042 rm -f conftest.er1
73043 cat conftest.err >&5
73044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73045 (exit $ac_status); } &&
73046 { ac_try='test -z "$ac_c_werror_flag"
73047 || test ! -s conftest.err'
73048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73049 (eval $ac_try) 2>&5
73050 ac_status=$?
73051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73052 (exit $ac_status); }; } &&
73053 { ac_try='test -s conftest$ac_exeext'
73054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73055 (eval $ac_try) 2>&5
73056 ac_status=$?
73057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73058 (exit $ac_status); }; }; then
73059 eval "$as_ac_var=yes"
73060 else
73061 echo "$as_me: failed program was:" >&5
73062 sed 's/^/| /' conftest.$ac_ext >&5
73064 eval "$as_ac_var=no"
73066 rm -f conftest.err conftest.$ac_objext \
73067 conftest$ac_exeext conftest.$ac_ext
73069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73071 if test `eval echo '${'$as_ac_var'}'` = yes; then
73072 cat >>confdefs.h <<_ACEOF
73073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73074 _ACEOF
73077 done
73079 else
73081 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
73082 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
73083 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
73084 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
73085 echo $ECHO_N "(cached) $ECHO_C" >&6
73086 else
73090 ac_ext=cc
73091 ac_cpp='$CXXCPP $CPPFLAGS'
73092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73096 cat >conftest.$ac_ext <<_ACEOF
73097 /* confdefs.h. */
73098 _ACEOF
73099 cat confdefs.h >>conftest.$ac_ext
73100 cat >>conftest.$ac_ext <<_ACEOF
73101 /* end confdefs.h. */
73102 #include <math.h>
73103 #ifdef HAVE_IEEEFP_H
73104 #include <ieeefp.h>
73105 #endif
73108 main ()
73110 _sqrtl(0);
73112 return 0;
73114 _ACEOF
73115 rm -f conftest.$ac_objext
73116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73117 (eval $ac_compile) 2>conftest.er1
73118 ac_status=$?
73119 grep -v '^ *+' conftest.er1 >conftest.err
73120 rm -f conftest.er1
73121 cat conftest.err >&5
73122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73123 (exit $ac_status); } &&
73124 { ac_try='test -z "$ac_cxx_werror_flag"
73125 || test ! -s conftest.err'
73126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73127 (eval $ac_try) 2>&5
73128 ac_status=$?
73129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73130 (exit $ac_status); }; } &&
73131 { ac_try='test -s conftest.$ac_objext'
73132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73133 (eval $ac_try) 2>&5
73134 ac_status=$?
73135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73136 (exit $ac_status); }; }; then
73137 glibcxx_cv_func__sqrtl_use=yes
73138 else
73139 echo "$as_me: failed program was:" >&5
73140 sed 's/^/| /' conftest.$ac_ext >&5
73142 glibcxx_cv_func__sqrtl_use=no
73144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73145 ac_ext=c
73146 ac_cpp='$CPP $CPPFLAGS'
73147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
73156 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
73158 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
73160 for ac_func in _sqrtl
73162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73163 echo "$as_me:$LINENO: checking for $ac_func" >&5
73164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73165 if eval "test \"\${$as_ac_var+set}\" = set"; then
73166 echo $ECHO_N "(cached) $ECHO_C" >&6
73167 else
73168 if test x$gcc_no_link = xyes; then
73169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73171 { (exit 1); exit 1; }; }
73173 cat >conftest.$ac_ext <<_ACEOF
73174 /* confdefs.h. */
73175 _ACEOF
73176 cat confdefs.h >>conftest.$ac_ext
73177 cat >>conftest.$ac_ext <<_ACEOF
73178 /* end confdefs.h. */
73179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73181 #define $ac_func innocuous_$ac_func
73183 /* System header to define __stub macros and hopefully few prototypes,
73184 which can conflict with char $ac_func (); below.
73185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73186 <limits.h> exists even on freestanding compilers. */
73188 #ifdef __STDC__
73189 # include <limits.h>
73190 #else
73191 # include <assert.h>
73192 #endif
73194 #undef $ac_func
73196 /* Override any gcc2 internal prototype to avoid an error. */
73197 #ifdef __cplusplus
73198 extern "C"
73200 #endif
73201 /* We use char because int might match the return type of a gcc2
73202 builtin and then its argument prototype would still apply. */
73203 char $ac_func ();
73204 /* The GNU C library defines this for functions which it implements
73205 to always fail with ENOSYS. Some functions are actually named
73206 something starting with __ and the normal name is an alias. */
73207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73208 choke me
73209 #else
73210 char (*f) () = $ac_func;
73211 #endif
73212 #ifdef __cplusplus
73214 #endif
73217 main ()
73219 return f != $ac_func;
73221 return 0;
73223 _ACEOF
73224 rm -f conftest.$ac_objext conftest$ac_exeext
73225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73226 (eval $ac_link) 2>conftest.er1
73227 ac_status=$?
73228 grep -v '^ *+' conftest.er1 >conftest.err
73229 rm -f conftest.er1
73230 cat conftest.err >&5
73231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73232 (exit $ac_status); } &&
73233 { ac_try='test -z "$ac_c_werror_flag"
73234 || test ! -s conftest.err'
73235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73236 (eval $ac_try) 2>&5
73237 ac_status=$?
73238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73239 (exit $ac_status); }; } &&
73240 { ac_try='test -s conftest$ac_exeext'
73241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73242 (eval $ac_try) 2>&5
73243 ac_status=$?
73244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73245 (exit $ac_status); }; }; then
73246 eval "$as_ac_var=yes"
73247 else
73248 echo "$as_me: failed program was:" >&5
73249 sed 's/^/| /' conftest.$ac_ext >&5
73251 eval "$as_ac_var=no"
73253 rm -f conftest.err conftest.$ac_objext \
73254 conftest$ac_exeext conftest.$ac_ext
73256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73258 if test `eval echo '${'$as_ac_var'}'` = yes; then
73259 cat >>confdefs.h <<_ACEOF
73260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73261 _ACEOF
73264 done
73274 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
73275 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
73276 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
73277 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
73278 echo $ECHO_N "(cached) $ECHO_C" >&6
73279 else
73283 ac_ext=cc
73284 ac_cpp='$CXXCPP $CPPFLAGS'
73285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73289 cat >conftest.$ac_ext <<_ACEOF
73290 /* confdefs.h. */
73291 _ACEOF
73292 cat confdefs.h >>conftest.$ac_ext
73293 cat >>conftest.$ac_ext <<_ACEOF
73294 /* end confdefs.h. */
73295 #include <math.h>
73297 main ()
73299 sincosl(0, 0, 0);
73301 return 0;
73303 _ACEOF
73304 rm -f conftest.$ac_objext
73305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73306 (eval $ac_compile) 2>conftest.er1
73307 ac_status=$?
73308 grep -v '^ *+' conftest.er1 >conftest.err
73309 rm -f conftest.er1
73310 cat conftest.err >&5
73311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73312 (exit $ac_status); } &&
73313 { ac_try='test -z "$ac_cxx_werror_flag"
73314 || test ! -s conftest.err'
73315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73316 (eval $ac_try) 2>&5
73317 ac_status=$?
73318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73319 (exit $ac_status); }; } &&
73320 { ac_try='test -s conftest.$ac_objext'
73321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73322 (eval $ac_try) 2>&5
73323 ac_status=$?
73324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73325 (exit $ac_status); }; }; then
73326 glibcxx_cv_func_sincosl_use=yes
73327 else
73328 echo "$as_me: failed program was:" >&5
73329 sed 's/^/| /' conftest.$ac_ext >&5
73331 glibcxx_cv_func_sincosl_use=no
73333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73334 ac_ext=c
73335 ac_cpp='$CPP $CPPFLAGS'
73336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
73345 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
73347 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
73349 for ac_func in sincosl
73351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73352 echo "$as_me:$LINENO: checking for $ac_func" >&5
73353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73354 if eval "test \"\${$as_ac_var+set}\" = set"; then
73355 echo $ECHO_N "(cached) $ECHO_C" >&6
73356 else
73357 if test x$gcc_no_link = xyes; then
73358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73360 { (exit 1); exit 1; }; }
73362 cat >conftest.$ac_ext <<_ACEOF
73363 /* confdefs.h. */
73364 _ACEOF
73365 cat confdefs.h >>conftest.$ac_ext
73366 cat >>conftest.$ac_ext <<_ACEOF
73367 /* end confdefs.h. */
73368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73370 #define $ac_func innocuous_$ac_func
73372 /* System header to define __stub macros and hopefully few prototypes,
73373 which can conflict with char $ac_func (); below.
73374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73375 <limits.h> exists even on freestanding compilers. */
73377 #ifdef __STDC__
73378 # include <limits.h>
73379 #else
73380 # include <assert.h>
73381 #endif
73383 #undef $ac_func
73385 /* Override any gcc2 internal prototype to avoid an error. */
73386 #ifdef __cplusplus
73387 extern "C"
73389 #endif
73390 /* We use char because int might match the return type of a gcc2
73391 builtin and then its argument prototype would still apply. */
73392 char $ac_func ();
73393 /* The GNU C library defines this for functions which it implements
73394 to always fail with ENOSYS. Some functions are actually named
73395 something starting with __ and the normal name is an alias. */
73396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73397 choke me
73398 #else
73399 char (*f) () = $ac_func;
73400 #endif
73401 #ifdef __cplusplus
73403 #endif
73406 main ()
73408 return f != $ac_func;
73410 return 0;
73412 _ACEOF
73413 rm -f conftest.$ac_objext conftest$ac_exeext
73414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73415 (eval $ac_link) 2>conftest.er1
73416 ac_status=$?
73417 grep -v '^ *+' conftest.er1 >conftest.err
73418 rm -f conftest.er1
73419 cat conftest.err >&5
73420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73421 (exit $ac_status); } &&
73422 { ac_try='test -z "$ac_c_werror_flag"
73423 || test ! -s conftest.err'
73424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73425 (eval $ac_try) 2>&5
73426 ac_status=$?
73427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73428 (exit $ac_status); }; } &&
73429 { ac_try='test -s conftest$ac_exeext'
73430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73431 (eval $ac_try) 2>&5
73432 ac_status=$?
73433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73434 (exit $ac_status); }; }; then
73435 eval "$as_ac_var=yes"
73436 else
73437 echo "$as_me: failed program was:" >&5
73438 sed 's/^/| /' conftest.$ac_ext >&5
73440 eval "$as_ac_var=no"
73442 rm -f conftest.err conftest.$ac_objext \
73443 conftest$ac_exeext conftest.$ac_ext
73445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73447 if test `eval echo '${'$as_ac_var'}'` = yes; then
73448 cat >>confdefs.h <<_ACEOF
73449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73450 _ACEOF
73453 done
73455 else
73457 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
73458 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
73459 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
73460 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
73461 echo $ECHO_N "(cached) $ECHO_C" >&6
73462 else
73466 ac_ext=cc
73467 ac_cpp='$CXXCPP $CPPFLAGS'
73468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73472 cat >conftest.$ac_ext <<_ACEOF
73473 /* confdefs.h. */
73474 _ACEOF
73475 cat confdefs.h >>conftest.$ac_ext
73476 cat >>conftest.$ac_ext <<_ACEOF
73477 /* end confdefs.h. */
73478 #include <math.h>
73480 main ()
73482 _sincosl(0, 0, 0);
73484 return 0;
73486 _ACEOF
73487 rm -f conftest.$ac_objext
73488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73489 (eval $ac_compile) 2>conftest.er1
73490 ac_status=$?
73491 grep -v '^ *+' conftest.er1 >conftest.err
73492 rm -f conftest.er1
73493 cat conftest.err >&5
73494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495 (exit $ac_status); } &&
73496 { ac_try='test -z "$ac_cxx_werror_flag"
73497 || test ! -s conftest.err'
73498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73499 (eval $ac_try) 2>&5
73500 ac_status=$?
73501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73502 (exit $ac_status); }; } &&
73503 { ac_try='test -s conftest.$ac_objext'
73504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73505 (eval $ac_try) 2>&5
73506 ac_status=$?
73507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73508 (exit $ac_status); }; }; then
73509 glibcxx_cv_func__sincosl_use=yes
73510 else
73511 echo "$as_me: failed program was:" >&5
73512 sed 's/^/| /' conftest.$ac_ext >&5
73514 glibcxx_cv_func__sincosl_use=no
73516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73517 ac_ext=c
73518 ac_cpp='$CPP $CPPFLAGS'
73519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
73528 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
73530 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
73532 for ac_func in _sincosl
73534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73535 echo "$as_me:$LINENO: checking for $ac_func" >&5
73536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73537 if eval "test \"\${$as_ac_var+set}\" = set"; then
73538 echo $ECHO_N "(cached) $ECHO_C" >&6
73539 else
73540 if test x$gcc_no_link = xyes; then
73541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73543 { (exit 1); exit 1; }; }
73545 cat >conftest.$ac_ext <<_ACEOF
73546 /* confdefs.h. */
73547 _ACEOF
73548 cat confdefs.h >>conftest.$ac_ext
73549 cat >>conftest.$ac_ext <<_ACEOF
73550 /* end confdefs.h. */
73551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73553 #define $ac_func innocuous_$ac_func
73555 /* System header to define __stub macros and hopefully few prototypes,
73556 which can conflict with char $ac_func (); below.
73557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73558 <limits.h> exists even on freestanding compilers. */
73560 #ifdef __STDC__
73561 # include <limits.h>
73562 #else
73563 # include <assert.h>
73564 #endif
73566 #undef $ac_func
73568 /* Override any gcc2 internal prototype to avoid an error. */
73569 #ifdef __cplusplus
73570 extern "C"
73572 #endif
73573 /* We use char because int might match the return type of a gcc2
73574 builtin and then its argument prototype would still apply. */
73575 char $ac_func ();
73576 /* The GNU C library defines this for functions which it implements
73577 to always fail with ENOSYS. Some functions are actually named
73578 something starting with __ and the normal name is an alias. */
73579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73580 choke me
73581 #else
73582 char (*f) () = $ac_func;
73583 #endif
73584 #ifdef __cplusplus
73586 #endif
73589 main ()
73591 return f != $ac_func;
73593 return 0;
73595 _ACEOF
73596 rm -f conftest.$ac_objext conftest$ac_exeext
73597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73598 (eval $ac_link) 2>conftest.er1
73599 ac_status=$?
73600 grep -v '^ *+' conftest.er1 >conftest.err
73601 rm -f conftest.er1
73602 cat conftest.err >&5
73603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73604 (exit $ac_status); } &&
73605 { ac_try='test -z "$ac_c_werror_flag"
73606 || test ! -s conftest.err'
73607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73608 (eval $ac_try) 2>&5
73609 ac_status=$?
73610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73611 (exit $ac_status); }; } &&
73612 { ac_try='test -s conftest$ac_exeext'
73613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73614 (eval $ac_try) 2>&5
73615 ac_status=$?
73616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73617 (exit $ac_status); }; }; then
73618 eval "$as_ac_var=yes"
73619 else
73620 echo "$as_me: failed program was:" >&5
73621 sed 's/^/| /' conftest.$ac_ext >&5
73623 eval "$as_ac_var=no"
73625 rm -f conftest.err conftest.$ac_objext \
73626 conftest$ac_exeext conftest.$ac_ext
73628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73630 if test `eval echo '${'$as_ac_var'}'` = yes; then
73631 cat >>confdefs.h <<_ACEOF
73632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73633 _ACEOF
73636 done
73646 echo "$as_me:$LINENO: checking for finitel declaration" >&5
73647 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
73648 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
73649 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
73650 echo $ECHO_N "(cached) $ECHO_C" >&6
73651 else
73655 ac_ext=cc
73656 ac_cpp='$CXXCPP $CPPFLAGS'
73657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73661 cat >conftest.$ac_ext <<_ACEOF
73662 /* confdefs.h. */
73663 _ACEOF
73664 cat confdefs.h >>conftest.$ac_ext
73665 cat >>conftest.$ac_ext <<_ACEOF
73666 /* end confdefs.h. */
73667 #include <math.h>
73668 #ifdef HAVE_IEEEFP_H
73669 #include <ieeefp.h>
73670 #endif
73673 main ()
73675 finitel(0);
73677 return 0;
73679 _ACEOF
73680 rm -f conftest.$ac_objext
73681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73682 (eval $ac_compile) 2>conftest.er1
73683 ac_status=$?
73684 grep -v '^ *+' conftest.er1 >conftest.err
73685 rm -f conftest.er1
73686 cat conftest.err >&5
73687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73688 (exit $ac_status); } &&
73689 { ac_try='test -z "$ac_cxx_werror_flag"
73690 || test ! -s conftest.err'
73691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73692 (eval $ac_try) 2>&5
73693 ac_status=$?
73694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695 (exit $ac_status); }; } &&
73696 { ac_try='test -s conftest.$ac_objext'
73697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73698 (eval $ac_try) 2>&5
73699 ac_status=$?
73700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73701 (exit $ac_status); }; }; then
73702 glibcxx_cv_func_finitel_use=yes
73703 else
73704 echo "$as_me: failed program was:" >&5
73705 sed 's/^/| /' conftest.$ac_ext >&5
73707 glibcxx_cv_func_finitel_use=no
73709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73710 ac_ext=c
73711 ac_cpp='$CPP $CPPFLAGS'
73712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
73721 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
73723 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
73725 for ac_func in finitel
73727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73728 echo "$as_me:$LINENO: checking for $ac_func" >&5
73729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73730 if eval "test \"\${$as_ac_var+set}\" = set"; then
73731 echo $ECHO_N "(cached) $ECHO_C" >&6
73732 else
73733 if test x$gcc_no_link = xyes; then
73734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73736 { (exit 1); exit 1; }; }
73738 cat >conftest.$ac_ext <<_ACEOF
73739 /* confdefs.h. */
73740 _ACEOF
73741 cat confdefs.h >>conftest.$ac_ext
73742 cat >>conftest.$ac_ext <<_ACEOF
73743 /* end confdefs.h. */
73744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73746 #define $ac_func innocuous_$ac_func
73748 /* System header to define __stub macros and hopefully few prototypes,
73749 which can conflict with char $ac_func (); below.
73750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73751 <limits.h> exists even on freestanding compilers. */
73753 #ifdef __STDC__
73754 # include <limits.h>
73755 #else
73756 # include <assert.h>
73757 #endif
73759 #undef $ac_func
73761 /* Override any gcc2 internal prototype to avoid an error. */
73762 #ifdef __cplusplus
73763 extern "C"
73765 #endif
73766 /* We use char because int might match the return type of a gcc2
73767 builtin and then its argument prototype would still apply. */
73768 char $ac_func ();
73769 /* The GNU C library defines this for functions which it implements
73770 to always fail with ENOSYS. Some functions are actually named
73771 something starting with __ and the normal name is an alias. */
73772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73773 choke me
73774 #else
73775 char (*f) () = $ac_func;
73776 #endif
73777 #ifdef __cplusplus
73779 #endif
73782 main ()
73784 return f != $ac_func;
73786 return 0;
73788 _ACEOF
73789 rm -f conftest.$ac_objext conftest$ac_exeext
73790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73791 (eval $ac_link) 2>conftest.er1
73792 ac_status=$?
73793 grep -v '^ *+' conftest.er1 >conftest.err
73794 rm -f conftest.er1
73795 cat conftest.err >&5
73796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73797 (exit $ac_status); } &&
73798 { ac_try='test -z "$ac_c_werror_flag"
73799 || test ! -s conftest.err'
73800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73801 (eval $ac_try) 2>&5
73802 ac_status=$?
73803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73804 (exit $ac_status); }; } &&
73805 { ac_try='test -s conftest$ac_exeext'
73806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73807 (eval $ac_try) 2>&5
73808 ac_status=$?
73809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73810 (exit $ac_status); }; }; then
73811 eval "$as_ac_var=yes"
73812 else
73813 echo "$as_me: failed program was:" >&5
73814 sed 's/^/| /' conftest.$ac_ext >&5
73816 eval "$as_ac_var=no"
73818 rm -f conftest.err conftest.$ac_objext \
73819 conftest$ac_exeext conftest.$ac_ext
73821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73823 if test `eval echo '${'$as_ac_var'}'` = yes; then
73824 cat >>confdefs.h <<_ACEOF
73825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73826 _ACEOF
73829 done
73831 else
73833 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
73834 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
73835 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
73836 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
73837 echo $ECHO_N "(cached) $ECHO_C" >&6
73838 else
73842 ac_ext=cc
73843 ac_cpp='$CXXCPP $CPPFLAGS'
73844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73848 cat >conftest.$ac_ext <<_ACEOF
73849 /* confdefs.h. */
73850 _ACEOF
73851 cat confdefs.h >>conftest.$ac_ext
73852 cat >>conftest.$ac_ext <<_ACEOF
73853 /* end confdefs.h. */
73854 #include <math.h>
73855 #ifdef HAVE_IEEEFP_H
73856 #include <ieeefp.h>
73857 #endif
73860 main ()
73862 _finitel(0);
73864 return 0;
73866 _ACEOF
73867 rm -f conftest.$ac_objext
73868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73869 (eval $ac_compile) 2>conftest.er1
73870 ac_status=$?
73871 grep -v '^ *+' conftest.er1 >conftest.err
73872 rm -f conftest.er1
73873 cat conftest.err >&5
73874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73875 (exit $ac_status); } &&
73876 { ac_try='test -z "$ac_cxx_werror_flag"
73877 || test ! -s conftest.err'
73878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73879 (eval $ac_try) 2>&5
73880 ac_status=$?
73881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73882 (exit $ac_status); }; } &&
73883 { ac_try='test -s conftest.$ac_objext'
73884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73885 (eval $ac_try) 2>&5
73886 ac_status=$?
73887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73888 (exit $ac_status); }; }; then
73889 glibcxx_cv_func__finitel_use=yes
73890 else
73891 echo "$as_me: failed program was:" >&5
73892 sed 's/^/| /' conftest.$ac_ext >&5
73894 glibcxx_cv_func__finitel_use=no
73896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73897 ac_ext=c
73898 ac_cpp='$CPP $CPPFLAGS'
73899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
73908 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
73910 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
73912 for ac_func in _finitel
73914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73915 echo "$as_me:$LINENO: checking for $ac_func" >&5
73916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73917 if eval "test \"\${$as_ac_var+set}\" = set"; then
73918 echo $ECHO_N "(cached) $ECHO_C" >&6
73919 else
73920 if test x$gcc_no_link = xyes; then
73921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73923 { (exit 1); exit 1; }; }
73925 cat >conftest.$ac_ext <<_ACEOF
73926 /* confdefs.h. */
73927 _ACEOF
73928 cat confdefs.h >>conftest.$ac_ext
73929 cat >>conftest.$ac_ext <<_ACEOF
73930 /* end confdefs.h. */
73931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73933 #define $ac_func innocuous_$ac_func
73935 /* System header to define __stub macros and hopefully few prototypes,
73936 which can conflict with char $ac_func (); below.
73937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73938 <limits.h> exists even on freestanding compilers. */
73940 #ifdef __STDC__
73941 # include <limits.h>
73942 #else
73943 # include <assert.h>
73944 #endif
73946 #undef $ac_func
73948 /* Override any gcc2 internal prototype to avoid an error. */
73949 #ifdef __cplusplus
73950 extern "C"
73952 #endif
73953 /* We use char because int might match the return type of a gcc2
73954 builtin and then its argument prototype would still apply. */
73955 char $ac_func ();
73956 /* The GNU C library defines this for functions which it implements
73957 to always fail with ENOSYS. Some functions are actually named
73958 something starting with __ and the normal name is an alias. */
73959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73960 choke me
73961 #else
73962 char (*f) () = $ac_func;
73963 #endif
73964 #ifdef __cplusplus
73966 #endif
73969 main ()
73971 return f != $ac_func;
73973 return 0;
73975 _ACEOF
73976 rm -f conftest.$ac_objext conftest$ac_exeext
73977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73978 (eval $ac_link) 2>conftest.er1
73979 ac_status=$?
73980 grep -v '^ *+' conftest.er1 >conftest.err
73981 rm -f conftest.er1
73982 cat conftest.err >&5
73983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73984 (exit $ac_status); } &&
73985 { ac_try='test -z "$ac_c_werror_flag"
73986 || test ! -s conftest.err'
73987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73988 (eval $ac_try) 2>&5
73989 ac_status=$?
73990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991 (exit $ac_status); }; } &&
73992 { ac_try='test -s conftest$ac_exeext'
73993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73994 (eval $ac_try) 2>&5
73995 ac_status=$?
73996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73997 (exit $ac_status); }; }; then
73998 eval "$as_ac_var=yes"
73999 else
74000 echo "$as_me: failed program was:" >&5
74001 sed 's/^/| /' conftest.$ac_ext >&5
74003 eval "$as_ac_var=no"
74005 rm -f conftest.err conftest.$ac_objext \
74006 conftest$ac_exeext conftest.$ac_ext
74008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74010 if test `eval echo '${'$as_ac_var'}'` = yes; then
74011 cat >>confdefs.h <<_ACEOF
74012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74013 _ACEOF
74016 done
74025 LIBS="$ac_save_LIBS"
74026 CXXFLAGS="$ac_save_CXXFLAGS"
74030 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
74031 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
74032 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
74033 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
74034 echo $ECHO_N "(cached) $ECHO_C" >&6
74035 else
74039 ac_ext=cc
74040 ac_cpp='$CXXCPP $CPPFLAGS'
74041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74045 cat >conftest.$ac_ext <<_ACEOF
74046 /* confdefs.h. */
74047 _ACEOF
74048 cat confdefs.h >>conftest.$ac_ext
74049 cat >>conftest.$ac_ext <<_ACEOF
74050 /* end confdefs.h. */
74051 #include <math.h>
74053 main ()
74055 __builtin_abs(0);
74057 return 0;
74059 _ACEOF
74060 rm -f conftest.$ac_objext
74061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74062 (eval $ac_compile) 2>conftest.er1
74063 ac_status=$?
74064 grep -v '^ *+' conftest.er1 >conftest.err
74065 rm -f conftest.er1
74066 cat conftest.err >&5
74067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74068 (exit $ac_status); } &&
74069 { ac_try='test -z "$ac_cxx_werror_flag"
74070 || test ! -s conftest.err'
74071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74072 (eval $ac_try) 2>&5
74073 ac_status=$?
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 (exit $ac_status); }; } &&
74076 { ac_try='test -s conftest.$ac_objext'
74077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74078 (eval $ac_try) 2>&5
74079 ac_status=$?
74080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74081 (exit $ac_status); }; }; then
74082 glibcxx_cv_func___builtin_abs_use=yes
74083 else
74084 echo "$as_me: failed program was:" >&5
74085 sed 's/^/| /' conftest.$ac_ext >&5
74087 glibcxx_cv_func___builtin_abs_use=no
74089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74090 ac_ext=c
74091 ac_cpp='$CPP $CPPFLAGS'
74092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
74101 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
74102 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
74103 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
74104 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
74105 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
74106 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
74107 echo $ECHO_N "(cached) $ECHO_C" >&6
74108 else
74110 if test x$gcc_no_link = xyes; then
74111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74113 { (exit 1); exit 1; }; }
74115 cat >conftest.$ac_ext <<_ACEOF
74116 /* confdefs.h. */
74117 _ACEOF
74118 cat confdefs.h >>conftest.$ac_ext
74119 cat >>conftest.$ac_ext <<_ACEOF
74120 /* end confdefs.h. */
74121 #include <math.h>
74123 main ()
74125 __builtin_abs(0);
74127 return 0;
74129 _ACEOF
74130 rm -f conftest.$ac_objext conftest$ac_exeext
74131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74132 (eval $ac_link) 2>conftest.er1
74133 ac_status=$?
74134 grep -v '^ *+' conftest.er1 >conftest.err
74135 rm -f conftest.er1
74136 cat conftest.err >&5
74137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74138 (exit $ac_status); } &&
74139 { ac_try='test -z "$ac_c_werror_flag"
74140 || test ! -s conftest.err'
74141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74142 (eval $ac_try) 2>&5
74143 ac_status=$?
74144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74145 (exit $ac_status); }; } &&
74146 { ac_try='test -s conftest$ac_exeext'
74147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74148 (eval $ac_try) 2>&5
74149 ac_status=$?
74150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74151 (exit $ac_status); }; }; then
74152 glibcxx_cv_func___builtin_abs_link=yes
74153 else
74154 echo "$as_me: failed program was:" >&5
74155 sed 's/^/| /' conftest.$ac_ext >&5
74157 glibcxx_cv_func___builtin_abs_link=no
74159 rm -f conftest.err conftest.$ac_objext \
74160 conftest$ac_exeext conftest.$ac_ext
74165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
74166 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
74168 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
74170 cat >>confdefs.h <<\_ACEOF
74171 #define HAVE___BUILTIN_ABS 1
74172 _ACEOF
74179 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
74180 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
74181 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
74182 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
74183 echo $ECHO_N "(cached) $ECHO_C" >&6
74184 else
74188 ac_ext=cc
74189 ac_cpp='$CXXCPP $CPPFLAGS'
74190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74194 cat >conftest.$ac_ext <<_ACEOF
74195 /* confdefs.h. */
74196 _ACEOF
74197 cat confdefs.h >>conftest.$ac_ext
74198 cat >>conftest.$ac_ext <<_ACEOF
74199 /* end confdefs.h. */
74200 #include <math.h>
74202 main ()
74204 __builtin_fabsf(0);
74206 return 0;
74208 _ACEOF
74209 rm -f conftest.$ac_objext
74210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74211 (eval $ac_compile) 2>conftest.er1
74212 ac_status=$?
74213 grep -v '^ *+' conftest.er1 >conftest.err
74214 rm -f conftest.er1
74215 cat conftest.err >&5
74216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74217 (exit $ac_status); } &&
74218 { ac_try='test -z "$ac_cxx_werror_flag"
74219 || test ! -s conftest.err'
74220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74221 (eval $ac_try) 2>&5
74222 ac_status=$?
74223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74224 (exit $ac_status); }; } &&
74225 { ac_try='test -s conftest.$ac_objext'
74226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74227 (eval $ac_try) 2>&5
74228 ac_status=$?
74229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74230 (exit $ac_status); }; }; then
74231 glibcxx_cv_func___builtin_fabsf_use=yes
74232 else
74233 echo "$as_me: failed program was:" >&5
74234 sed 's/^/| /' conftest.$ac_ext >&5
74236 glibcxx_cv_func___builtin_fabsf_use=no
74238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74239 ac_ext=c
74240 ac_cpp='$CPP $CPPFLAGS'
74241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74249 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
74250 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
74251 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
74252 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
74253 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
74254 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
74255 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
74256 echo $ECHO_N "(cached) $ECHO_C" >&6
74257 else
74259 if test x$gcc_no_link = xyes; then
74260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74262 { (exit 1); exit 1; }; }
74264 cat >conftest.$ac_ext <<_ACEOF
74265 /* confdefs.h. */
74266 _ACEOF
74267 cat confdefs.h >>conftest.$ac_ext
74268 cat >>conftest.$ac_ext <<_ACEOF
74269 /* end confdefs.h. */
74270 #include <math.h>
74272 main ()
74274 __builtin_fabsf(0);
74276 return 0;
74278 _ACEOF
74279 rm -f conftest.$ac_objext conftest$ac_exeext
74280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74281 (eval $ac_link) 2>conftest.er1
74282 ac_status=$?
74283 grep -v '^ *+' conftest.er1 >conftest.err
74284 rm -f conftest.er1
74285 cat conftest.err >&5
74286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74287 (exit $ac_status); } &&
74288 { ac_try='test -z "$ac_c_werror_flag"
74289 || test ! -s conftest.err'
74290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74291 (eval $ac_try) 2>&5
74292 ac_status=$?
74293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74294 (exit $ac_status); }; } &&
74295 { ac_try='test -s conftest$ac_exeext'
74296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74297 (eval $ac_try) 2>&5
74298 ac_status=$?
74299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74300 (exit $ac_status); }; }; then
74301 glibcxx_cv_func___builtin_fabsf_link=yes
74302 else
74303 echo "$as_me: failed program was:" >&5
74304 sed 's/^/| /' conftest.$ac_ext >&5
74306 glibcxx_cv_func___builtin_fabsf_link=no
74308 rm -f conftest.err conftest.$ac_objext \
74309 conftest$ac_exeext conftest.$ac_ext
74314 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
74315 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
74317 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
74319 cat >>confdefs.h <<\_ACEOF
74320 #define HAVE___BUILTIN_FABSF 1
74321 _ACEOF
74328 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
74329 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
74330 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
74331 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
74332 echo $ECHO_N "(cached) $ECHO_C" >&6
74333 else
74337 ac_ext=cc
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74343 cat >conftest.$ac_ext <<_ACEOF
74344 /* confdefs.h. */
74345 _ACEOF
74346 cat confdefs.h >>conftest.$ac_ext
74347 cat >>conftest.$ac_ext <<_ACEOF
74348 /* end confdefs.h. */
74349 #include <math.h>
74351 main ()
74353 __builtin_fabs(0);
74355 return 0;
74357 _ACEOF
74358 rm -f conftest.$ac_objext
74359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74360 (eval $ac_compile) 2>conftest.er1
74361 ac_status=$?
74362 grep -v '^ *+' conftest.er1 >conftest.err
74363 rm -f conftest.er1
74364 cat conftest.err >&5
74365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74366 (exit $ac_status); } &&
74367 { ac_try='test -z "$ac_cxx_werror_flag"
74368 || test ! -s conftest.err'
74369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74370 (eval $ac_try) 2>&5
74371 ac_status=$?
74372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74373 (exit $ac_status); }; } &&
74374 { ac_try='test -s conftest.$ac_objext'
74375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74376 (eval $ac_try) 2>&5
74377 ac_status=$?
74378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74379 (exit $ac_status); }; }; then
74380 glibcxx_cv_func___builtin_fabs_use=yes
74381 else
74382 echo "$as_me: failed program was:" >&5
74383 sed 's/^/| /' conftest.$ac_ext >&5
74385 glibcxx_cv_func___builtin_fabs_use=no
74387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74388 ac_ext=c
74389 ac_cpp='$CPP $CPPFLAGS'
74390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
74399 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
74400 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
74401 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
74402 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
74403 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
74404 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
74405 echo $ECHO_N "(cached) $ECHO_C" >&6
74406 else
74408 if test x$gcc_no_link = xyes; then
74409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74411 { (exit 1); exit 1; }; }
74413 cat >conftest.$ac_ext <<_ACEOF
74414 /* confdefs.h. */
74415 _ACEOF
74416 cat confdefs.h >>conftest.$ac_ext
74417 cat >>conftest.$ac_ext <<_ACEOF
74418 /* end confdefs.h. */
74419 #include <math.h>
74421 main ()
74423 __builtin_fabs(0);
74425 return 0;
74427 _ACEOF
74428 rm -f conftest.$ac_objext conftest$ac_exeext
74429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74430 (eval $ac_link) 2>conftest.er1
74431 ac_status=$?
74432 grep -v '^ *+' conftest.er1 >conftest.err
74433 rm -f conftest.er1
74434 cat conftest.err >&5
74435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74436 (exit $ac_status); } &&
74437 { ac_try='test -z "$ac_c_werror_flag"
74438 || test ! -s conftest.err'
74439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74440 (eval $ac_try) 2>&5
74441 ac_status=$?
74442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74443 (exit $ac_status); }; } &&
74444 { ac_try='test -s conftest$ac_exeext'
74445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74446 (eval $ac_try) 2>&5
74447 ac_status=$?
74448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74449 (exit $ac_status); }; }; then
74450 glibcxx_cv_func___builtin_fabs_link=yes
74451 else
74452 echo "$as_me: failed program was:" >&5
74453 sed 's/^/| /' conftest.$ac_ext >&5
74455 glibcxx_cv_func___builtin_fabs_link=no
74457 rm -f conftest.err conftest.$ac_objext \
74458 conftest$ac_exeext conftest.$ac_ext
74463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
74464 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
74466 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
74468 cat >>confdefs.h <<\_ACEOF
74469 #define HAVE___BUILTIN_FABS 1
74470 _ACEOF
74477 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
74478 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
74479 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
74480 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
74481 echo $ECHO_N "(cached) $ECHO_C" >&6
74482 else
74486 ac_ext=cc
74487 ac_cpp='$CXXCPP $CPPFLAGS'
74488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74492 cat >conftest.$ac_ext <<_ACEOF
74493 /* confdefs.h. */
74494 _ACEOF
74495 cat confdefs.h >>conftest.$ac_ext
74496 cat >>conftest.$ac_ext <<_ACEOF
74497 /* end confdefs.h. */
74498 #include <math.h>
74500 main ()
74502 __builtin_fabsl(0);
74504 return 0;
74506 _ACEOF
74507 rm -f conftest.$ac_objext
74508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74509 (eval $ac_compile) 2>conftest.er1
74510 ac_status=$?
74511 grep -v '^ *+' conftest.er1 >conftest.err
74512 rm -f conftest.er1
74513 cat conftest.err >&5
74514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74515 (exit $ac_status); } &&
74516 { ac_try='test -z "$ac_cxx_werror_flag"
74517 || test ! -s conftest.err'
74518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74519 (eval $ac_try) 2>&5
74520 ac_status=$?
74521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74522 (exit $ac_status); }; } &&
74523 { ac_try='test -s conftest.$ac_objext'
74524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74525 (eval $ac_try) 2>&5
74526 ac_status=$?
74527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74528 (exit $ac_status); }; }; then
74529 glibcxx_cv_func___builtin_fabsl_use=yes
74530 else
74531 echo "$as_me: failed program was:" >&5
74532 sed 's/^/| /' conftest.$ac_ext >&5
74534 glibcxx_cv_func___builtin_fabsl_use=no
74536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74537 ac_ext=c
74538 ac_cpp='$CPP $CPPFLAGS'
74539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
74548 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
74549 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
74550 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
74551 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
74552 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
74553 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
74554 echo $ECHO_N "(cached) $ECHO_C" >&6
74555 else
74557 if test x$gcc_no_link = xyes; then
74558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74560 { (exit 1); exit 1; }; }
74562 cat >conftest.$ac_ext <<_ACEOF
74563 /* confdefs.h. */
74564 _ACEOF
74565 cat confdefs.h >>conftest.$ac_ext
74566 cat >>conftest.$ac_ext <<_ACEOF
74567 /* end confdefs.h. */
74568 #include <math.h>
74570 main ()
74572 __builtin_fabsl(0);
74574 return 0;
74576 _ACEOF
74577 rm -f conftest.$ac_objext conftest$ac_exeext
74578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74579 (eval $ac_link) 2>conftest.er1
74580 ac_status=$?
74581 grep -v '^ *+' conftest.er1 >conftest.err
74582 rm -f conftest.er1
74583 cat conftest.err >&5
74584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74585 (exit $ac_status); } &&
74586 { ac_try='test -z "$ac_c_werror_flag"
74587 || test ! -s conftest.err'
74588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74589 (eval $ac_try) 2>&5
74590 ac_status=$?
74591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74592 (exit $ac_status); }; } &&
74593 { ac_try='test -s conftest$ac_exeext'
74594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74595 (eval $ac_try) 2>&5
74596 ac_status=$?
74597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74598 (exit $ac_status); }; }; then
74599 glibcxx_cv_func___builtin_fabsl_link=yes
74600 else
74601 echo "$as_me: failed program was:" >&5
74602 sed 's/^/| /' conftest.$ac_ext >&5
74604 glibcxx_cv_func___builtin_fabsl_link=no
74606 rm -f conftest.err conftest.$ac_objext \
74607 conftest$ac_exeext conftest.$ac_ext
74612 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
74613 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
74615 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
74617 cat >>confdefs.h <<\_ACEOF
74618 #define HAVE___BUILTIN_FABSL 1
74619 _ACEOF
74626 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
74627 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
74628 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
74629 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
74630 echo $ECHO_N "(cached) $ECHO_C" >&6
74631 else
74635 ac_ext=cc
74636 ac_cpp='$CXXCPP $CPPFLAGS'
74637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74641 cat >conftest.$ac_ext <<_ACEOF
74642 /* confdefs.h. */
74643 _ACEOF
74644 cat confdefs.h >>conftest.$ac_ext
74645 cat >>conftest.$ac_ext <<_ACEOF
74646 /* end confdefs.h. */
74647 #include <math.h>
74649 main ()
74651 __builtin_labs(0);
74653 return 0;
74655 _ACEOF
74656 rm -f conftest.$ac_objext
74657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74658 (eval $ac_compile) 2>conftest.er1
74659 ac_status=$?
74660 grep -v '^ *+' conftest.er1 >conftest.err
74661 rm -f conftest.er1
74662 cat conftest.err >&5
74663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74664 (exit $ac_status); } &&
74665 { ac_try='test -z "$ac_cxx_werror_flag"
74666 || test ! -s conftest.err'
74667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74668 (eval $ac_try) 2>&5
74669 ac_status=$?
74670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74671 (exit $ac_status); }; } &&
74672 { ac_try='test -s conftest.$ac_objext'
74673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74674 (eval $ac_try) 2>&5
74675 ac_status=$?
74676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74677 (exit $ac_status); }; }; then
74678 glibcxx_cv_func___builtin_labs_use=yes
74679 else
74680 echo "$as_me: failed program was:" >&5
74681 sed 's/^/| /' conftest.$ac_ext >&5
74683 glibcxx_cv_func___builtin_labs_use=no
74685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74686 ac_ext=c
74687 ac_cpp='$CPP $CPPFLAGS'
74688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74696 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
74697 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
74698 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
74699 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
74700 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
74701 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
74702 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
74703 echo $ECHO_N "(cached) $ECHO_C" >&6
74704 else
74706 if test x$gcc_no_link = xyes; then
74707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74709 { (exit 1); exit 1; }; }
74711 cat >conftest.$ac_ext <<_ACEOF
74712 /* confdefs.h. */
74713 _ACEOF
74714 cat confdefs.h >>conftest.$ac_ext
74715 cat >>conftest.$ac_ext <<_ACEOF
74716 /* end confdefs.h. */
74717 #include <math.h>
74719 main ()
74721 __builtin_labs(0);
74723 return 0;
74725 _ACEOF
74726 rm -f conftest.$ac_objext conftest$ac_exeext
74727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74728 (eval $ac_link) 2>conftest.er1
74729 ac_status=$?
74730 grep -v '^ *+' conftest.er1 >conftest.err
74731 rm -f conftest.er1
74732 cat conftest.err >&5
74733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74734 (exit $ac_status); } &&
74735 { ac_try='test -z "$ac_c_werror_flag"
74736 || test ! -s conftest.err'
74737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74738 (eval $ac_try) 2>&5
74739 ac_status=$?
74740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74741 (exit $ac_status); }; } &&
74742 { ac_try='test -s conftest$ac_exeext'
74743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74744 (eval $ac_try) 2>&5
74745 ac_status=$?
74746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74747 (exit $ac_status); }; }; then
74748 glibcxx_cv_func___builtin_labs_link=yes
74749 else
74750 echo "$as_me: failed program was:" >&5
74751 sed 's/^/| /' conftest.$ac_ext >&5
74753 glibcxx_cv_func___builtin_labs_link=no
74755 rm -f conftest.err conftest.$ac_objext \
74756 conftest$ac_exeext conftest.$ac_ext
74761 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
74762 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
74764 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
74766 cat >>confdefs.h <<\_ACEOF
74767 #define HAVE___BUILTIN_LABS 1
74768 _ACEOF
74776 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
74777 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
74778 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
74779 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
74780 echo $ECHO_N "(cached) $ECHO_C" >&6
74781 else
74785 ac_ext=cc
74786 ac_cpp='$CXXCPP $CPPFLAGS'
74787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74791 cat >conftest.$ac_ext <<_ACEOF
74792 /* confdefs.h. */
74793 _ACEOF
74794 cat confdefs.h >>conftest.$ac_ext
74795 cat >>conftest.$ac_ext <<_ACEOF
74796 /* end confdefs.h. */
74797 #include <math.h>
74799 main ()
74801 __builtin_sqrtf(0);
74803 return 0;
74805 _ACEOF
74806 rm -f conftest.$ac_objext
74807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74808 (eval $ac_compile) 2>conftest.er1
74809 ac_status=$?
74810 grep -v '^ *+' conftest.er1 >conftest.err
74811 rm -f conftest.er1
74812 cat conftest.err >&5
74813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74814 (exit $ac_status); } &&
74815 { ac_try='test -z "$ac_cxx_werror_flag"
74816 || test ! -s conftest.err'
74817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74818 (eval $ac_try) 2>&5
74819 ac_status=$?
74820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74821 (exit $ac_status); }; } &&
74822 { ac_try='test -s conftest.$ac_objext'
74823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74824 (eval $ac_try) 2>&5
74825 ac_status=$?
74826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74827 (exit $ac_status); }; }; then
74828 glibcxx_cv_func___builtin_sqrtf_use=yes
74829 else
74830 echo "$as_me: failed program was:" >&5
74831 sed 's/^/| /' conftest.$ac_ext >&5
74833 glibcxx_cv_func___builtin_sqrtf_use=no
74835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74836 ac_ext=c
74837 ac_cpp='$CPP $CPPFLAGS'
74838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
74847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
74848 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
74849 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
74850 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
74851 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
74852 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
74853 echo $ECHO_N "(cached) $ECHO_C" >&6
74854 else
74856 if test x$gcc_no_link = xyes; then
74857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74859 { (exit 1); exit 1; }; }
74861 cat >conftest.$ac_ext <<_ACEOF
74862 /* confdefs.h. */
74863 _ACEOF
74864 cat confdefs.h >>conftest.$ac_ext
74865 cat >>conftest.$ac_ext <<_ACEOF
74866 /* end confdefs.h. */
74867 #include <math.h>
74869 main ()
74871 __builtin_sqrtf(0);
74873 return 0;
74875 _ACEOF
74876 rm -f conftest.$ac_objext conftest$ac_exeext
74877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74878 (eval $ac_link) 2>conftest.er1
74879 ac_status=$?
74880 grep -v '^ *+' conftest.er1 >conftest.err
74881 rm -f conftest.er1
74882 cat conftest.err >&5
74883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74884 (exit $ac_status); } &&
74885 { ac_try='test -z "$ac_c_werror_flag"
74886 || test ! -s conftest.err'
74887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74888 (eval $ac_try) 2>&5
74889 ac_status=$?
74890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74891 (exit $ac_status); }; } &&
74892 { ac_try='test -s conftest$ac_exeext'
74893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74894 (eval $ac_try) 2>&5
74895 ac_status=$?
74896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74897 (exit $ac_status); }; }; then
74898 glibcxx_cv_func___builtin_sqrtf_link=yes
74899 else
74900 echo "$as_me: failed program was:" >&5
74901 sed 's/^/| /' conftest.$ac_ext >&5
74903 glibcxx_cv_func___builtin_sqrtf_link=no
74905 rm -f conftest.err conftest.$ac_objext \
74906 conftest$ac_exeext conftest.$ac_ext
74911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
74912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
74914 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
74916 cat >>confdefs.h <<\_ACEOF
74917 #define HAVE___BUILTIN_SQRTF 1
74918 _ACEOF
74925 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
74926 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
74927 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
74928 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
74929 echo $ECHO_N "(cached) $ECHO_C" >&6
74930 else
74934 ac_ext=cc
74935 ac_cpp='$CXXCPP $CPPFLAGS'
74936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74940 cat >conftest.$ac_ext <<_ACEOF
74941 /* confdefs.h. */
74942 _ACEOF
74943 cat confdefs.h >>conftest.$ac_ext
74944 cat >>conftest.$ac_ext <<_ACEOF
74945 /* end confdefs.h. */
74946 #include <math.h>
74948 main ()
74950 __builtin_sqrt(0);
74952 return 0;
74954 _ACEOF
74955 rm -f conftest.$ac_objext
74956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74957 (eval $ac_compile) 2>conftest.er1
74958 ac_status=$?
74959 grep -v '^ *+' conftest.er1 >conftest.err
74960 rm -f conftest.er1
74961 cat conftest.err >&5
74962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74963 (exit $ac_status); } &&
74964 { ac_try='test -z "$ac_cxx_werror_flag"
74965 || test ! -s conftest.err'
74966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74967 (eval $ac_try) 2>&5
74968 ac_status=$?
74969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74970 (exit $ac_status); }; } &&
74971 { ac_try='test -s conftest.$ac_objext'
74972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74973 (eval $ac_try) 2>&5
74974 ac_status=$?
74975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74976 (exit $ac_status); }; }; then
74977 glibcxx_cv_func___builtin_sqrt_use=yes
74978 else
74979 echo "$as_me: failed program was:" >&5
74980 sed 's/^/| /' conftest.$ac_ext >&5
74982 glibcxx_cv_func___builtin_sqrt_use=no
74984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74985 ac_ext=c
74986 ac_cpp='$CPP $CPPFLAGS'
74987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
74996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
74997 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
74998 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
74999 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
75000 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
75001 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
75002 echo $ECHO_N "(cached) $ECHO_C" >&6
75003 else
75005 if test x$gcc_no_link = xyes; then
75006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75008 { (exit 1); exit 1; }; }
75010 cat >conftest.$ac_ext <<_ACEOF
75011 /* confdefs.h. */
75012 _ACEOF
75013 cat confdefs.h >>conftest.$ac_ext
75014 cat >>conftest.$ac_ext <<_ACEOF
75015 /* end confdefs.h. */
75016 #include <math.h>
75018 main ()
75020 __builtin_sqrt(0);
75022 return 0;
75024 _ACEOF
75025 rm -f conftest.$ac_objext conftest$ac_exeext
75026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75027 (eval $ac_link) 2>conftest.er1
75028 ac_status=$?
75029 grep -v '^ *+' conftest.er1 >conftest.err
75030 rm -f conftest.er1
75031 cat conftest.err >&5
75032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75033 (exit $ac_status); } &&
75034 { ac_try='test -z "$ac_c_werror_flag"
75035 || test ! -s conftest.err'
75036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75037 (eval $ac_try) 2>&5
75038 ac_status=$?
75039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75040 (exit $ac_status); }; } &&
75041 { ac_try='test -s conftest$ac_exeext'
75042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75043 (eval $ac_try) 2>&5
75044 ac_status=$?
75045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75046 (exit $ac_status); }; }; then
75047 glibcxx_cv_func___builtin_sqrt_link=yes
75048 else
75049 echo "$as_me: failed program was:" >&5
75050 sed 's/^/| /' conftest.$ac_ext >&5
75052 glibcxx_cv_func___builtin_sqrt_link=no
75054 rm -f conftest.err conftest.$ac_objext \
75055 conftest$ac_exeext conftest.$ac_ext
75060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
75061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
75063 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
75065 cat >>confdefs.h <<\_ACEOF
75066 #define HAVE___BUILTIN_SQRT 1
75067 _ACEOF
75074 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
75075 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
75076 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
75077 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
75078 echo $ECHO_N "(cached) $ECHO_C" >&6
75079 else
75083 ac_ext=cc
75084 ac_cpp='$CXXCPP $CPPFLAGS'
75085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75089 cat >conftest.$ac_ext <<_ACEOF
75090 /* confdefs.h. */
75091 _ACEOF
75092 cat confdefs.h >>conftest.$ac_ext
75093 cat >>conftest.$ac_ext <<_ACEOF
75094 /* end confdefs.h. */
75095 #include <math.h>
75097 main ()
75099 __builtin_sqrtl(0);
75101 return 0;
75103 _ACEOF
75104 rm -f conftest.$ac_objext
75105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75106 (eval $ac_compile) 2>conftest.er1
75107 ac_status=$?
75108 grep -v '^ *+' conftest.er1 >conftest.err
75109 rm -f conftest.er1
75110 cat conftest.err >&5
75111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75112 (exit $ac_status); } &&
75113 { ac_try='test -z "$ac_cxx_werror_flag"
75114 || test ! -s conftest.err'
75115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75116 (eval $ac_try) 2>&5
75117 ac_status=$?
75118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75119 (exit $ac_status); }; } &&
75120 { ac_try='test -s conftest.$ac_objext'
75121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75122 (eval $ac_try) 2>&5
75123 ac_status=$?
75124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75125 (exit $ac_status); }; }; then
75126 glibcxx_cv_func___builtin_sqrtl_use=yes
75127 else
75128 echo "$as_me: failed program was:" >&5
75129 sed 's/^/| /' conftest.$ac_ext >&5
75131 glibcxx_cv_func___builtin_sqrtl_use=no
75133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75134 ac_ext=c
75135 ac_cpp='$CPP $CPPFLAGS'
75136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
75145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
75146 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
75147 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
75148 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
75149 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
75150 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
75151 echo $ECHO_N "(cached) $ECHO_C" >&6
75152 else
75154 if test x$gcc_no_link = xyes; then
75155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75157 { (exit 1); exit 1; }; }
75159 cat >conftest.$ac_ext <<_ACEOF
75160 /* confdefs.h. */
75161 _ACEOF
75162 cat confdefs.h >>conftest.$ac_ext
75163 cat >>conftest.$ac_ext <<_ACEOF
75164 /* end confdefs.h. */
75165 #include <math.h>
75167 main ()
75169 __builtin_sqrtl(0);
75171 return 0;
75173 _ACEOF
75174 rm -f conftest.$ac_objext conftest$ac_exeext
75175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75176 (eval $ac_link) 2>conftest.er1
75177 ac_status=$?
75178 grep -v '^ *+' conftest.er1 >conftest.err
75179 rm -f conftest.er1
75180 cat conftest.err >&5
75181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75182 (exit $ac_status); } &&
75183 { ac_try='test -z "$ac_c_werror_flag"
75184 || test ! -s conftest.err'
75185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75186 (eval $ac_try) 2>&5
75187 ac_status=$?
75188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75189 (exit $ac_status); }; } &&
75190 { ac_try='test -s conftest$ac_exeext'
75191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75192 (eval $ac_try) 2>&5
75193 ac_status=$?
75194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75195 (exit $ac_status); }; }; then
75196 glibcxx_cv_func___builtin_sqrtl_link=yes
75197 else
75198 echo "$as_me: failed program was:" >&5
75199 sed 's/^/| /' conftest.$ac_ext >&5
75201 glibcxx_cv_func___builtin_sqrtl_link=no
75203 rm -f conftest.err conftest.$ac_objext \
75204 conftest$ac_exeext conftest.$ac_ext
75209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
75210 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
75212 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
75214 cat >>confdefs.h <<\_ACEOF
75215 #define HAVE___BUILTIN_SQRTL 1
75216 _ACEOF
75224 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
75225 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
75226 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
75227 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
75228 echo $ECHO_N "(cached) $ECHO_C" >&6
75229 else
75233 ac_ext=cc
75234 ac_cpp='$CXXCPP $CPPFLAGS'
75235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75239 cat >conftest.$ac_ext <<_ACEOF
75240 /* confdefs.h. */
75241 _ACEOF
75242 cat confdefs.h >>conftest.$ac_ext
75243 cat >>conftest.$ac_ext <<_ACEOF
75244 /* end confdefs.h. */
75245 #include <math.h>
75247 main ()
75249 __builtin_sinf(0);
75251 return 0;
75253 _ACEOF
75254 rm -f conftest.$ac_objext
75255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75256 (eval $ac_compile) 2>conftest.er1
75257 ac_status=$?
75258 grep -v '^ *+' conftest.er1 >conftest.err
75259 rm -f conftest.er1
75260 cat conftest.err >&5
75261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75262 (exit $ac_status); } &&
75263 { ac_try='test -z "$ac_cxx_werror_flag"
75264 || test ! -s conftest.err'
75265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75266 (eval $ac_try) 2>&5
75267 ac_status=$?
75268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75269 (exit $ac_status); }; } &&
75270 { ac_try='test -s conftest.$ac_objext'
75271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75272 (eval $ac_try) 2>&5
75273 ac_status=$?
75274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75275 (exit $ac_status); }; }; then
75276 glibcxx_cv_func___builtin_sinf_use=yes
75277 else
75278 echo "$as_me: failed program was:" >&5
75279 sed 's/^/| /' conftest.$ac_ext >&5
75281 glibcxx_cv_func___builtin_sinf_use=no
75283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75284 ac_ext=c
75285 ac_cpp='$CPP $CPPFLAGS'
75286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
75295 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
75296 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
75297 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
75298 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
75299 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
75300 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
75301 echo $ECHO_N "(cached) $ECHO_C" >&6
75302 else
75304 if test x$gcc_no_link = xyes; then
75305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75307 { (exit 1); exit 1; }; }
75309 cat >conftest.$ac_ext <<_ACEOF
75310 /* confdefs.h. */
75311 _ACEOF
75312 cat confdefs.h >>conftest.$ac_ext
75313 cat >>conftest.$ac_ext <<_ACEOF
75314 /* end confdefs.h. */
75315 #include <math.h>
75317 main ()
75319 __builtin_sinf(0);
75321 return 0;
75323 _ACEOF
75324 rm -f conftest.$ac_objext conftest$ac_exeext
75325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75326 (eval $ac_link) 2>conftest.er1
75327 ac_status=$?
75328 grep -v '^ *+' conftest.er1 >conftest.err
75329 rm -f conftest.er1
75330 cat conftest.err >&5
75331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75332 (exit $ac_status); } &&
75333 { ac_try='test -z "$ac_c_werror_flag"
75334 || test ! -s conftest.err'
75335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75336 (eval $ac_try) 2>&5
75337 ac_status=$?
75338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75339 (exit $ac_status); }; } &&
75340 { ac_try='test -s conftest$ac_exeext'
75341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75342 (eval $ac_try) 2>&5
75343 ac_status=$?
75344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75345 (exit $ac_status); }; }; then
75346 glibcxx_cv_func___builtin_sinf_link=yes
75347 else
75348 echo "$as_me: failed program was:" >&5
75349 sed 's/^/| /' conftest.$ac_ext >&5
75351 glibcxx_cv_func___builtin_sinf_link=no
75353 rm -f conftest.err conftest.$ac_objext \
75354 conftest$ac_exeext conftest.$ac_ext
75359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
75360 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
75362 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
75364 cat >>confdefs.h <<\_ACEOF
75365 #define HAVE___BUILTIN_SINF 1
75366 _ACEOF
75373 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
75374 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
75375 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
75376 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
75377 echo $ECHO_N "(cached) $ECHO_C" >&6
75378 else
75382 ac_ext=cc
75383 ac_cpp='$CXXCPP $CPPFLAGS'
75384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75388 cat >conftest.$ac_ext <<_ACEOF
75389 /* confdefs.h. */
75390 _ACEOF
75391 cat confdefs.h >>conftest.$ac_ext
75392 cat >>conftest.$ac_ext <<_ACEOF
75393 /* end confdefs.h. */
75394 #include <math.h>
75396 main ()
75398 __builtin_sin(0);
75400 return 0;
75402 _ACEOF
75403 rm -f conftest.$ac_objext
75404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75405 (eval $ac_compile) 2>conftest.er1
75406 ac_status=$?
75407 grep -v '^ *+' conftest.er1 >conftest.err
75408 rm -f conftest.er1
75409 cat conftest.err >&5
75410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75411 (exit $ac_status); } &&
75412 { ac_try='test -z "$ac_cxx_werror_flag"
75413 || test ! -s conftest.err'
75414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75415 (eval $ac_try) 2>&5
75416 ac_status=$?
75417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75418 (exit $ac_status); }; } &&
75419 { ac_try='test -s conftest.$ac_objext'
75420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75421 (eval $ac_try) 2>&5
75422 ac_status=$?
75423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75424 (exit $ac_status); }; }; then
75425 glibcxx_cv_func___builtin_sin_use=yes
75426 else
75427 echo "$as_me: failed program was:" >&5
75428 sed 's/^/| /' conftest.$ac_ext >&5
75430 glibcxx_cv_func___builtin_sin_use=no
75432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75433 ac_ext=c
75434 ac_cpp='$CPP $CPPFLAGS'
75435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
75444 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
75445 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
75446 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
75447 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
75448 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
75449 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
75450 echo $ECHO_N "(cached) $ECHO_C" >&6
75451 else
75453 if test x$gcc_no_link = xyes; then
75454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75456 { (exit 1); exit 1; }; }
75458 cat >conftest.$ac_ext <<_ACEOF
75459 /* confdefs.h. */
75460 _ACEOF
75461 cat confdefs.h >>conftest.$ac_ext
75462 cat >>conftest.$ac_ext <<_ACEOF
75463 /* end confdefs.h. */
75464 #include <math.h>
75466 main ()
75468 __builtin_sin(0);
75470 return 0;
75472 _ACEOF
75473 rm -f conftest.$ac_objext conftest$ac_exeext
75474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75475 (eval $ac_link) 2>conftest.er1
75476 ac_status=$?
75477 grep -v '^ *+' conftest.er1 >conftest.err
75478 rm -f conftest.er1
75479 cat conftest.err >&5
75480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75481 (exit $ac_status); } &&
75482 { ac_try='test -z "$ac_c_werror_flag"
75483 || test ! -s conftest.err'
75484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75485 (eval $ac_try) 2>&5
75486 ac_status=$?
75487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75488 (exit $ac_status); }; } &&
75489 { ac_try='test -s conftest$ac_exeext'
75490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75491 (eval $ac_try) 2>&5
75492 ac_status=$?
75493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75494 (exit $ac_status); }; }; then
75495 glibcxx_cv_func___builtin_sin_link=yes
75496 else
75497 echo "$as_me: failed program was:" >&5
75498 sed 's/^/| /' conftest.$ac_ext >&5
75500 glibcxx_cv_func___builtin_sin_link=no
75502 rm -f conftest.err conftest.$ac_objext \
75503 conftest$ac_exeext conftest.$ac_ext
75508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
75509 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
75511 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
75513 cat >>confdefs.h <<\_ACEOF
75514 #define HAVE___BUILTIN_SIN 1
75515 _ACEOF
75522 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
75523 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
75524 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
75525 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
75526 echo $ECHO_N "(cached) $ECHO_C" >&6
75527 else
75531 ac_ext=cc
75532 ac_cpp='$CXXCPP $CPPFLAGS'
75533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75537 cat >conftest.$ac_ext <<_ACEOF
75538 /* confdefs.h. */
75539 _ACEOF
75540 cat confdefs.h >>conftest.$ac_ext
75541 cat >>conftest.$ac_ext <<_ACEOF
75542 /* end confdefs.h. */
75543 #include <math.h>
75545 main ()
75547 __builtin_sinl(0);
75549 return 0;
75551 _ACEOF
75552 rm -f conftest.$ac_objext
75553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75554 (eval $ac_compile) 2>conftest.er1
75555 ac_status=$?
75556 grep -v '^ *+' conftest.er1 >conftest.err
75557 rm -f conftest.er1
75558 cat conftest.err >&5
75559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75560 (exit $ac_status); } &&
75561 { ac_try='test -z "$ac_cxx_werror_flag"
75562 || test ! -s conftest.err'
75563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75564 (eval $ac_try) 2>&5
75565 ac_status=$?
75566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75567 (exit $ac_status); }; } &&
75568 { ac_try='test -s conftest.$ac_objext'
75569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75570 (eval $ac_try) 2>&5
75571 ac_status=$?
75572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75573 (exit $ac_status); }; }; then
75574 glibcxx_cv_func___builtin_sinl_use=yes
75575 else
75576 echo "$as_me: failed program was:" >&5
75577 sed 's/^/| /' conftest.$ac_ext >&5
75579 glibcxx_cv_func___builtin_sinl_use=no
75581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75582 ac_ext=c
75583 ac_cpp='$CPP $CPPFLAGS'
75584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
75593 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
75594 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
75595 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
75596 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
75597 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
75598 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
75599 echo $ECHO_N "(cached) $ECHO_C" >&6
75600 else
75602 if test x$gcc_no_link = xyes; then
75603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75605 { (exit 1); exit 1; }; }
75607 cat >conftest.$ac_ext <<_ACEOF
75608 /* confdefs.h. */
75609 _ACEOF
75610 cat confdefs.h >>conftest.$ac_ext
75611 cat >>conftest.$ac_ext <<_ACEOF
75612 /* end confdefs.h. */
75613 #include <math.h>
75615 main ()
75617 __builtin_sinl(0);
75619 return 0;
75621 _ACEOF
75622 rm -f conftest.$ac_objext conftest$ac_exeext
75623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75624 (eval $ac_link) 2>conftest.er1
75625 ac_status=$?
75626 grep -v '^ *+' conftest.er1 >conftest.err
75627 rm -f conftest.er1
75628 cat conftest.err >&5
75629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75630 (exit $ac_status); } &&
75631 { ac_try='test -z "$ac_c_werror_flag"
75632 || test ! -s conftest.err'
75633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75634 (eval $ac_try) 2>&5
75635 ac_status=$?
75636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75637 (exit $ac_status); }; } &&
75638 { ac_try='test -s conftest$ac_exeext'
75639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75640 (eval $ac_try) 2>&5
75641 ac_status=$?
75642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75643 (exit $ac_status); }; }; then
75644 glibcxx_cv_func___builtin_sinl_link=yes
75645 else
75646 echo "$as_me: failed program was:" >&5
75647 sed 's/^/| /' conftest.$ac_ext >&5
75649 glibcxx_cv_func___builtin_sinl_link=no
75651 rm -f conftest.err conftest.$ac_objext \
75652 conftest$ac_exeext conftest.$ac_ext
75657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
75658 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
75660 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
75662 cat >>confdefs.h <<\_ACEOF
75663 #define HAVE___BUILTIN_SINL 1
75664 _ACEOF
75672 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
75673 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
75674 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
75675 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
75676 echo $ECHO_N "(cached) $ECHO_C" >&6
75677 else
75681 ac_ext=cc
75682 ac_cpp='$CXXCPP $CPPFLAGS'
75683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75687 cat >conftest.$ac_ext <<_ACEOF
75688 /* confdefs.h. */
75689 _ACEOF
75690 cat confdefs.h >>conftest.$ac_ext
75691 cat >>conftest.$ac_ext <<_ACEOF
75692 /* end confdefs.h. */
75693 #include <math.h>
75695 main ()
75697 __builtin_cosf(0);
75699 return 0;
75701 _ACEOF
75702 rm -f conftest.$ac_objext
75703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75704 (eval $ac_compile) 2>conftest.er1
75705 ac_status=$?
75706 grep -v '^ *+' conftest.er1 >conftest.err
75707 rm -f conftest.er1
75708 cat conftest.err >&5
75709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75710 (exit $ac_status); } &&
75711 { ac_try='test -z "$ac_cxx_werror_flag"
75712 || test ! -s conftest.err'
75713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75714 (eval $ac_try) 2>&5
75715 ac_status=$?
75716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75717 (exit $ac_status); }; } &&
75718 { ac_try='test -s conftest.$ac_objext'
75719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75720 (eval $ac_try) 2>&5
75721 ac_status=$?
75722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75723 (exit $ac_status); }; }; then
75724 glibcxx_cv_func___builtin_cosf_use=yes
75725 else
75726 echo "$as_me: failed program was:" >&5
75727 sed 's/^/| /' conftest.$ac_ext >&5
75729 glibcxx_cv_func___builtin_cosf_use=no
75731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75732 ac_ext=c
75733 ac_cpp='$CPP $CPPFLAGS'
75734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75742 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
75743 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
75744 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
75745 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
75746 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
75747 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
75748 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
75749 echo $ECHO_N "(cached) $ECHO_C" >&6
75750 else
75752 if test x$gcc_no_link = xyes; then
75753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75755 { (exit 1); exit 1; }; }
75757 cat >conftest.$ac_ext <<_ACEOF
75758 /* confdefs.h. */
75759 _ACEOF
75760 cat confdefs.h >>conftest.$ac_ext
75761 cat >>conftest.$ac_ext <<_ACEOF
75762 /* end confdefs.h. */
75763 #include <math.h>
75765 main ()
75767 __builtin_cosf(0);
75769 return 0;
75771 _ACEOF
75772 rm -f conftest.$ac_objext conftest$ac_exeext
75773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75774 (eval $ac_link) 2>conftest.er1
75775 ac_status=$?
75776 grep -v '^ *+' conftest.er1 >conftest.err
75777 rm -f conftest.er1
75778 cat conftest.err >&5
75779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75780 (exit $ac_status); } &&
75781 { ac_try='test -z "$ac_c_werror_flag"
75782 || test ! -s conftest.err'
75783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75784 (eval $ac_try) 2>&5
75785 ac_status=$?
75786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75787 (exit $ac_status); }; } &&
75788 { ac_try='test -s conftest$ac_exeext'
75789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75790 (eval $ac_try) 2>&5
75791 ac_status=$?
75792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75793 (exit $ac_status); }; }; then
75794 glibcxx_cv_func___builtin_cosf_link=yes
75795 else
75796 echo "$as_me: failed program was:" >&5
75797 sed 's/^/| /' conftest.$ac_ext >&5
75799 glibcxx_cv_func___builtin_cosf_link=no
75801 rm -f conftest.err conftest.$ac_objext \
75802 conftest$ac_exeext conftest.$ac_ext
75807 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
75808 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
75810 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
75812 cat >>confdefs.h <<\_ACEOF
75813 #define HAVE___BUILTIN_COSF 1
75814 _ACEOF
75821 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
75822 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
75823 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
75824 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
75825 echo $ECHO_N "(cached) $ECHO_C" >&6
75826 else
75830 ac_ext=cc
75831 ac_cpp='$CXXCPP $CPPFLAGS'
75832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75836 cat >conftest.$ac_ext <<_ACEOF
75837 /* confdefs.h. */
75838 _ACEOF
75839 cat confdefs.h >>conftest.$ac_ext
75840 cat >>conftest.$ac_ext <<_ACEOF
75841 /* end confdefs.h. */
75842 #include <math.h>
75844 main ()
75846 __builtin_cos(0);
75848 return 0;
75850 _ACEOF
75851 rm -f conftest.$ac_objext
75852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75853 (eval $ac_compile) 2>conftest.er1
75854 ac_status=$?
75855 grep -v '^ *+' conftest.er1 >conftest.err
75856 rm -f conftest.er1
75857 cat conftest.err >&5
75858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75859 (exit $ac_status); } &&
75860 { ac_try='test -z "$ac_cxx_werror_flag"
75861 || test ! -s conftest.err'
75862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75863 (eval $ac_try) 2>&5
75864 ac_status=$?
75865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75866 (exit $ac_status); }; } &&
75867 { ac_try='test -s conftest.$ac_objext'
75868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75869 (eval $ac_try) 2>&5
75870 ac_status=$?
75871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75872 (exit $ac_status); }; }; then
75873 glibcxx_cv_func___builtin_cos_use=yes
75874 else
75875 echo "$as_me: failed program was:" >&5
75876 sed 's/^/| /' conftest.$ac_ext >&5
75878 glibcxx_cv_func___builtin_cos_use=no
75880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75881 ac_ext=c
75882 ac_cpp='$CPP $CPPFLAGS'
75883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75891 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
75892 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
75893 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
75894 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
75895 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
75896 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
75897 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
75898 echo $ECHO_N "(cached) $ECHO_C" >&6
75899 else
75901 if test x$gcc_no_link = xyes; then
75902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75904 { (exit 1); exit 1; }; }
75906 cat >conftest.$ac_ext <<_ACEOF
75907 /* confdefs.h. */
75908 _ACEOF
75909 cat confdefs.h >>conftest.$ac_ext
75910 cat >>conftest.$ac_ext <<_ACEOF
75911 /* end confdefs.h. */
75912 #include <math.h>
75914 main ()
75916 __builtin_cos(0);
75918 return 0;
75920 _ACEOF
75921 rm -f conftest.$ac_objext conftest$ac_exeext
75922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75923 (eval $ac_link) 2>conftest.er1
75924 ac_status=$?
75925 grep -v '^ *+' conftest.er1 >conftest.err
75926 rm -f conftest.er1
75927 cat conftest.err >&5
75928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75929 (exit $ac_status); } &&
75930 { ac_try='test -z "$ac_c_werror_flag"
75931 || test ! -s conftest.err'
75932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75933 (eval $ac_try) 2>&5
75934 ac_status=$?
75935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75936 (exit $ac_status); }; } &&
75937 { ac_try='test -s conftest$ac_exeext'
75938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75939 (eval $ac_try) 2>&5
75940 ac_status=$?
75941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75942 (exit $ac_status); }; }; then
75943 glibcxx_cv_func___builtin_cos_link=yes
75944 else
75945 echo "$as_me: failed program was:" >&5
75946 sed 's/^/| /' conftest.$ac_ext >&5
75948 glibcxx_cv_func___builtin_cos_link=no
75950 rm -f conftest.err conftest.$ac_objext \
75951 conftest$ac_exeext conftest.$ac_ext
75956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
75957 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
75959 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
75961 cat >>confdefs.h <<\_ACEOF
75962 #define HAVE___BUILTIN_COS 1
75963 _ACEOF
75970 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
75971 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
75972 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
75973 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
75974 echo $ECHO_N "(cached) $ECHO_C" >&6
75975 else
75979 ac_ext=cc
75980 ac_cpp='$CXXCPP $CPPFLAGS'
75981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75985 cat >conftest.$ac_ext <<_ACEOF
75986 /* confdefs.h. */
75987 _ACEOF
75988 cat confdefs.h >>conftest.$ac_ext
75989 cat >>conftest.$ac_ext <<_ACEOF
75990 /* end confdefs.h. */
75991 #include <math.h>
75993 main ()
75995 __builtin_cosl(0);
75997 return 0;
75999 _ACEOF
76000 rm -f conftest.$ac_objext
76001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76002 (eval $ac_compile) 2>conftest.er1
76003 ac_status=$?
76004 grep -v '^ *+' conftest.er1 >conftest.err
76005 rm -f conftest.er1
76006 cat conftest.err >&5
76007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76008 (exit $ac_status); } &&
76009 { ac_try='test -z "$ac_cxx_werror_flag"
76010 || test ! -s conftest.err'
76011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76012 (eval $ac_try) 2>&5
76013 ac_status=$?
76014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76015 (exit $ac_status); }; } &&
76016 { ac_try='test -s conftest.$ac_objext'
76017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76018 (eval $ac_try) 2>&5
76019 ac_status=$?
76020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76021 (exit $ac_status); }; }; then
76022 glibcxx_cv_func___builtin_cosl_use=yes
76023 else
76024 echo "$as_me: failed program was:" >&5
76025 sed 's/^/| /' conftest.$ac_ext >&5
76027 glibcxx_cv_func___builtin_cosl_use=no
76029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76030 ac_ext=c
76031 ac_cpp='$CPP $CPPFLAGS'
76032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
76041 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
76042 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
76043 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
76044 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
76045 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
76046 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
76047 echo $ECHO_N "(cached) $ECHO_C" >&6
76048 else
76050 if test x$gcc_no_link = xyes; then
76051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76053 { (exit 1); exit 1; }; }
76055 cat >conftest.$ac_ext <<_ACEOF
76056 /* confdefs.h. */
76057 _ACEOF
76058 cat confdefs.h >>conftest.$ac_ext
76059 cat >>conftest.$ac_ext <<_ACEOF
76060 /* end confdefs.h. */
76061 #include <math.h>
76063 main ()
76065 __builtin_cosl(0);
76067 return 0;
76069 _ACEOF
76070 rm -f conftest.$ac_objext conftest$ac_exeext
76071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76072 (eval $ac_link) 2>conftest.er1
76073 ac_status=$?
76074 grep -v '^ *+' conftest.er1 >conftest.err
76075 rm -f conftest.er1
76076 cat conftest.err >&5
76077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76078 (exit $ac_status); } &&
76079 { ac_try='test -z "$ac_c_werror_flag"
76080 || test ! -s conftest.err'
76081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76082 (eval $ac_try) 2>&5
76083 ac_status=$?
76084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76085 (exit $ac_status); }; } &&
76086 { ac_try='test -s conftest$ac_exeext'
76087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76088 (eval $ac_try) 2>&5
76089 ac_status=$?
76090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76091 (exit $ac_status); }; }; then
76092 glibcxx_cv_func___builtin_cosl_link=yes
76093 else
76094 echo "$as_me: failed program was:" >&5
76095 sed 's/^/| /' conftest.$ac_ext >&5
76097 glibcxx_cv_func___builtin_cosl_link=no
76099 rm -f conftest.err conftest.$ac_objext \
76100 conftest$ac_exeext conftest.$ac_ext
76105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
76106 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
76108 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
76110 cat >>confdefs.h <<\_ACEOF
76111 #define HAVE___BUILTIN_COSL 1
76112 _ACEOF
76121 echo "$as_me:$LINENO: checking for main in -lm" >&5
76122 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76123 if test "${ac_cv_lib_m_main+set}" = set; then
76124 echo $ECHO_N "(cached) $ECHO_C" >&6
76125 else
76126 ac_check_lib_save_LIBS=$LIBS
76127 LIBS="-lm $LIBS"
76128 if test x$gcc_no_link = xyes; then
76129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76131 { (exit 1); exit 1; }; }
76133 cat >conftest.$ac_ext <<_ACEOF
76134 /* confdefs.h. */
76135 _ACEOF
76136 cat confdefs.h >>conftest.$ac_ext
76137 cat >>conftest.$ac_ext <<_ACEOF
76138 /* end confdefs.h. */
76142 main ()
76144 main ();
76146 return 0;
76148 _ACEOF
76149 rm -f conftest.$ac_objext conftest$ac_exeext
76150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76151 (eval $ac_link) 2>conftest.er1
76152 ac_status=$?
76153 grep -v '^ *+' conftest.er1 >conftest.err
76154 rm -f conftest.er1
76155 cat conftest.err >&5
76156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76157 (exit $ac_status); } &&
76158 { ac_try='test -z "$ac_c_werror_flag"
76159 || test ! -s conftest.err'
76160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76161 (eval $ac_try) 2>&5
76162 ac_status=$?
76163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76164 (exit $ac_status); }; } &&
76165 { ac_try='test -s conftest$ac_exeext'
76166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76167 (eval $ac_try) 2>&5
76168 ac_status=$?
76169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76170 (exit $ac_status); }; }; then
76171 ac_cv_lib_m_main=yes
76172 else
76173 echo "$as_me: failed program was:" >&5
76174 sed 's/^/| /' conftest.$ac_ext >&5
76176 ac_cv_lib_m_main=no
76178 rm -f conftest.err conftest.$ac_objext \
76179 conftest$ac_exeext conftest.$ac_ext
76180 LIBS=$ac_check_lib_save_LIBS
76182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76183 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76184 if test $ac_cv_lib_m_main = yes; then
76185 cat >>confdefs.h <<_ACEOF
76186 #define HAVE_LIBM 1
76187 _ACEOF
76189 LIBS="-lm $LIBS"
76194 for ac_func in copysignf
76196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76197 echo "$as_me:$LINENO: checking for $ac_func" >&5
76198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76199 if eval "test \"\${$as_ac_var+set}\" = set"; then
76200 echo $ECHO_N "(cached) $ECHO_C" >&6
76201 else
76202 if test x$gcc_no_link = xyes; then
76203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76205 { (exit 1); exit 1; }; }
76207 cat >conftest.$ac_ext <<_ACEOF
76208 /* confdefs.h. */
76209 _ACEOF
76210 cat confdefs.h >>conftest.$ac_ext
76211 cat >>conftest.$ac_ext <<_ACEOF
76212 /* end confdefs.h. */
76213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76215 #define $ac_func innocuous_$ac_func
76217 /* System header to define __stub macros and hopefully few prototypes,
76218 which can conflict with char $ac_func (); below.
76219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76220 <limits.h> exists even on freestanding compilers. */
76222 #ifdef __STDC__
76223 # include <limits.h>
76224 #else
76225 # include <assert.h>
76226 #endif
76228 #undef $ac_func
76230 /* Override any gcc2 internal prototype to avoid an error. */
76231 #ifdef __cplusplus
76232 extern "C"
76234 #endif
76235 /* We use char because int might match the return type of a gcc2
76236 builtin and then its argument prototype would still apply. */
76237 char $ac_func ();
76238 /* The GNU C library defines this for functions which it implements
76239 to always fail with ENOSYS. Some functions are actually named
76240 something starting with __ and the normal name is an alias. */
76241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76242 choke me
76243 #else
76244 char (*f) () = $ac_func;
76245 #endif
76246 #ifdef __cplusplus
76248 #endif
76251 main ()
76253 return f != $ac_func;
76255 return 0;
76257 _ACEOF
76258 rm -f conftest.$ac_objext conftest$ac_exeext
76259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76260 (eval $ac_link) 2>conftest.er1
76261 ac_status=$?
76262 grep -v '^ *+' conftest.er1 >conftest.err
76263 rm -f conftest.er1
76264 cat conftest.err >&5
76265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76266 (exit $ac_status); } &&
76267 { ac_try='test -z "$ac_c_werror_flag"
76268 || test ! -s conftest.err'
76269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76270 (eval $ac_try) 2>&5
76271 ac_status=$?
76272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76273 (exit $ac_status); }; } &&
76274 { ac_try='test -s conftest$ac_exeext'
76275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76276 (eval $ac_try) 2>&5
76277 ac_status=$?
76278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76279 (exit $ac_status); }; }; then
76280 eval "$as_ac_var=yes"
76281 else
76282 echo "$as_me: failed program was:" >&5
76283 sed 's/^/| /' conftest.$ac_ext >&5
76285 eval "$as_ac_var=no"
76287 rm -f conftest.err conftest.$ac_objext \
76288 conftest$ac_exeext conftest.$ac_ext
76290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76292 if test `eval echo '${'$as_ac_var'}'` = yes; then
76293 cat >>confdefs.h <<_ACEOF
76294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76295 _ACEOF
76297 else
76298 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76300 done
76304 for ac_func in __signbit
76306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76307 echo "$as_me:$LINENO: checking for $ac_func" >&5
76308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76309 if eval "test \"\${$as_ac_var+set}\" = set"; then
76310 echo $ECHO_N "(cached) $ECHO_C" >&6
76311 else
76312 if test x$gcc_no_link = xyes; then
76313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76315 { (exit 1); exit 1; }; }
76317 cat >conftest.$ac_ext <<_ACEOF
76318 /* confdefs.h. */
76319 _ACEOF
76320 cat confdefs.h >>conftest.$ac_ext
76321 cat >>conftest.$ac_ext <<_ACEOF
76322 /* end confdefs.h. */
76323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76325 #define $ac_func innocuous_$ac_func
76327 /* System header to define __stub macros and hopefully few prototypes,
76328 which can conflict with char $ac_func (); below.
76329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76330 <limits.h> exists even on freestanding compilers. */
76332 #ifdef __STDC__
76333 # include <limits.h>
76334 #else
76335 # include <assert.h>
76336 #endif
76338 #undef $ac_func
76340 /* Override any gcc2 internal prototype to avoid an error. */
76341 #ifdef __cplusplus
76342 extern "C"
76344 #endif
76345 /* We use char because int might match the return type of a gcc2
76346 builtin and then its argument prototype would still apply. */
76347 char $ac_func ();
76348 /* The GNU C library defines this for functions which it implements
76349 to always fail with ENOSYS. Some functions are actually named
76350 something starting with __ and the normal name is an alias. */
76351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76352 choke me
76353 #else
76354 char (*f) () = $ac_func;
76355 #endif
76356 #ifdef __cplusplus
76358 #endif
76361 main ()
76363 return f != $ac_func;
76365 return 0;
76367 _ACEOF
76368 rm -f conftest.$ac_objext conftest$ac_exeext
76369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76370 (eval $ac_link) 2>conftest.er1
76371 ac_status=$?
76372 grep -v '^ *+' conftest.er1 >conftest.err
76373 rm -f conftest.er1
76374 cat conftest.err >&5
76375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76376 (exit $ac_status); } &&
76377 { ac_try='test -z "$ac_c_werror_flag"
76378 || test ! -s conftest.err'
76379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76380 (eval $ac_try) 2>&5
76381 ac_status=$?
76382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76383 (exit $ac_status); }; } &&
76384 { ac_try='test -s conftest$ac_exeext'
76385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76386 (eval $ac_try) 2>&5
76387 ac_status=$?
76388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76389 (exit $ac_status); }; }; then
76390 eval "$as_ac_var=yes"
76391 else
76392 echo "$as_me: failed program was:" >&5
76393 sed 's/^/| /' conftest.$ac_ext >&5
76395 eval "$as_ac_var=no"
76397 rm -f conftest.err conftest.$ac_objext \
76398 conftest$ac_exeext conftest.$ac_ext
76400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76402 if test `eval echo '${'$as_ac_var'}'` = yes; then
76403 cat >>confdefs.h <<_ACEOF
76404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76405 _ACEOF
76407 else
76408 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76410 done
76414 for ac_func in __signbitf
76416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76417 echo "$as_me:$LINENO: checking for $ac_func" >&5
76418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76419 if eval "test \"\${$as_ac_var+set}\" = set"; then
76420 echo $ECHO_N "(cached) $ECHO_C" >&6
76421 else
76422 if test x$gcc_no_link = xyes; then
76423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76425 { (exit 1); exit 1; }; }
76427 cat >conftest.$ac_ext <<_ACEOF
76428 /* confdefs.h. */
76429 _ACEOF
76430 cat confdefs.h >>conftest.$ac_ext
76431 cat >>conftest.$ac_ext <<_ACEOF
76432 /* end confdefs.h. */
76433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76435 #define $ac_func innocuous_$ac_func
76437 /* System header to define __stub macros and hopefully few prototypes,
76438 which can conflict with char $ac_func (); below.
76439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76440 <limits.h> exists even on freestanding compilers. */
76442 #ifdef __STDC__
76443 # include <limits.h>
76444 #else
76445 # include <assert.h>
76446 #endif
76448 #undef $ac_func
76450 /* Override any gcc2 internal prototype to avoid an error. */
76451 #ifdef __cplusplus
76452 extern "C"
76454 #endif
76455 /* We use char because int might match the return type of a gcc2
76456 builtin and then its argument prototype would still apply. */
76457 char $ac_func ();
76458 /* The GNU C library defines this for functions which it implements
76459 to always fail with ENOSYS. Some functions are actually named
76460 something starting with __ and the normal name is an alias. */
76461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76462 choke me
76463 #else
76464 char (*f) () = $ac_func;
76465 #endif
76466 #ifdef __cplusplus
76468 #endif
76471 main ()
76473 return f != $ac_func;
76475 return 0;
76477 _ACEOF
76478 rm -f conftest.$ac_objext conftest$ac_exeext
76479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76480 (eval $ac_link) 2>conftest.er1
76481 ac_status=$?
76482 grep -v '^ *+' conftest.er1 >conftest.err
76483 rm -f conftest.er1
76484 cat conftest.err >&5
76485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76486 (exit $ac_status); } &&
76487 { ac_try='test -z "$ac_c_werror_flag"
76488 || test ! -s conftest.err'
76489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76490 (eval $ac_try) 2>&5
76491 ac_status=$?
76492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76493 (exit $ac_status); }; } &&
76494 { ac_try='test -s conftest$ac_exeext'
76495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76496 (eval $ac_try) 2>&5
76497 ac_status=$?
76498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76499 (exit $ac_status); }; }; then
76500 eval "$as_ac_var=yes"
76501 else
76502 echo "$as_me: failed program was:" >&5
76503 sed 's/^/| /' conftest.$ac_ext >&5
76505 eval "$as_ac_var=no"
76507 rm -f conftest.err conftest.$ac_objext \
76508 conftest$ac_exeext conftest.$ac_ext
76510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76512 if test `eval echo '${'$as_ac_var'}'` = yes; then
76513 cat >>confdefs.h <<_ACEOF
76514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76515 _ACEOF
76517 else
76518 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76520 done
76523 if test x$ac_cv_func_copysignl = x"yes"; then
76525 for ac_func in __signbitl
76527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76528 echo "$as_me:$LINENO: checking for $ac_func" >&5
76529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76530 if eval "test \"\${$as_ac_var+set}\" = set"; then
76531 echo $ECHO_N "(cached) $ECHO_C" >&6
76532 else
76533 if test x$gcc_no_link = xyes; then
76534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76536 { (exit 1); exit 1; }; }
76538 cat >conftest.$ac_ext <<_ACEOF
76539 /* confdefs.h. */
76540 _ACEOF
76541 cat confdefs.h >>conftest.$ac_ext
76542 cat >>conftest.$ac_ext <<_ACEOF
76543 /* end confdefs.h. */
76544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76546 #define $ac_func innocuous_$ac_func
76548 /* System header to define __stub macros and hopefully few prototypes,
76549 which can conflict with char $ac_func (); below.
76550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76551 <limits.h> exists even on freestanding compilers. */
76553 #ifdef __STDC__
76554 # include <limits.h>
76555 #else
76556 # include <assert.h>
76557 #endif
76559 #undef $ac_func
76561 /* Override any gcc2 internal prototype to avoid an error. */
76562 #ifdef __cplusplus
76563 extern "C"
76565 #endif
76566 /* We use char because int might match the return type of a gcc2
76567 builtin and then its argument prototype would still apply. */
76568 char $ac_func ();
76569 /* The GNU C library defines this for functions which it implements
76570 to always fail with ENOSYS. Some functions are actually named
76571 something starting with __ and the normal name is an alias. */
76572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76573 choke me
76574 #else
76575 char (*f) () = $ac_func;
76576 #endif
76577 #ifdef __cplusplus
76579 #endif
76582 main ()
76584 return f != $ac_func;
76586 return 0;
76588 _ACEOF
76589 rm -f conftest.$ac_objext conftest$ac_exeext
76590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76591 (eval $ac_link) 2>conftest.er1
76592 ac_status=$?
76593 grep -v '^ *+' conftest.er1 >conftest.err
76594 rm -f conftest.er1
76595 cat conftest.err >&5
76596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76597 (exit $ac_status); } &&
76598 { ac_try='test -z "$ac_c_werror_flag"
76599 || test ! -s conftest.err'
76600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76601 (eval $ac_try) 2>&5
76602 ac_status=$?
76603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76604 (exit $ac_status); }; } &&
76605 { ac_try='test -s conftest$ac_exeext'
76606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76607 (eval $ac_try) 2>&5
76608 ac_status=$?
76609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76610 (exit $ac_status); }; }; then
76611 eval "$as_ac_var=yes"
76612 else
76613 echo "$as_me: failed program was:" >&5
76614 sed 's/^/| /' conftest.$ac_ext >&5
76616 eval "$as_ac_var=no"
76618 rm -f conftest.err conftest.$ac_objext \
76619 conftest$ac_exeext conftest.$ac_ext
76621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76623 if test `eval echo '${'$as_ac_var'}'` = yes; then
76624 cat >>confdefs.h <<_ACEOF
76625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76626 _ACEOF
76628 else
76629 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76631 done
76635 # Used in libmath/Makefile.am.
76636 if test -n "$LIBMATHOBJS"; then
76637 need_libmath=yes
76642 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76643 ac_save_CXXFLAGS="$CXXFLAGS"
76644 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76647 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76648 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76649 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76650 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76651 echo $ECHO_N "(cached) $ECHO_C" >&6
76652 else
76656 ac_ext=cc
76657 ac_cpp='$CXXCPP $CPPFLAGS'
76658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76662 cat >conftest.$ac_ext <<_ACEOF
76663 /* confdefs.h. */
76664 _ACEOF
76665 cat confdefs.h >>conftest.$ac_ext
76666 cat >>conftest.$ac_ext <<_ACEOF
76667 /* end confdefs.h. */
76668 #include <stdlib.h>
76670 main ()
76672 strtold(0, 0);
76674 return 0;
76676 _ACEOF
76677 rm -f conftest.$ac_objext
76678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76679 (eval $ac_compile) 2>conftest.er1
76680 ac_status=$?
76681 grep -v '^ *+' conftest.er1 >conftest.err
76682 rm -f conftest.er1
76683 cat conftest.err >&5
76684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76685 (exit $ac_status); } &&
76686 { ac_try='test -z "$ac_cxx_werror_flag"
76687 || test ! -s conftest.err'
76688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76689 (eval $ac_try) 2>&5
76690 ac_status=$?
76691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76692 (exit $ac_status); }; } &&
76693 { ac_try='test -s conftest.$ac_objext'
76694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76695 (eval $ac_try) 2>&5
76696 ac_status=$?
76697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76698 (exit $ac_status); }; }; then
76699 glibcxx_cv_func_strtold_use=yes
76700 else
76701 echo "$as_me: failed program was:" >&5
76702 sed 's/^/| /' conftest.$ac_ext >&5
76704 glibcxx_cv_func_strtold_use=no
76706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76707 ac_ext=c
76708 ac_cpp='$CPP $CPPFLAGS'
76709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76718 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76719 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76721 for ac_func in strtold
76723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76724 echo "$as_me:$LINENO: checking for $ac_func" >&5
76725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76726 if eval "test \"\${$as_ac_var+set}\" = set"; then
76727 echo $ECHO_N "(cached) $ECHO_C" >&6
76728 else
76729 if test x$gcc_no_link = xyes; then
76730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76732 { (exit 1); exit 1; }; }
76734 cat >conftest.$ac_ext <<_ACEOF
76735 /* confdefs.h. */
76736 _ACEOF
76737 cat confdefs.h >>conftest.$ac_ext
76738 cat >>conftest.$ac_ext <<_ACEOF
76739 /* end confdefs.h. */
76740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76742 #define $ac_func innocuous_$ac_func
76744 /* System header to define __stub macros and hopefully few prototypes,
76745 which can conflict with char $ac_func (); below.
76746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76747 <limits.h> exists even on freestanding compilers. */
76749 #ifdef __STDC__
76750 # include <limits.h>
76751 #else
76752 # include <assert.h>
76753 #endif
76755 #undef $ac_func
76757 /* Override any gcc2 internal prototype to avoid an error. */
76758 #ifdef __cplusplus
76759 extern "C"
76761 #endif
76762 /* We use char because int might match the return type of a gcc2
76763 builtin and then its argument prototype would still apply. */
76764 char $ac_func ();
76765 /* The GNU C library defines this for functions which it implements
76766 to always fail with ENOSYS. Some functions are actually named
76767 something starting with __ and the normal name is an alias. */
76768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76769 choke me
76770 #else
76771 char (*f) () = $ac_func;
76772 #endif
76773 #ifdef __cplusplus
76775 #endif
76778 main ()
76780 return f != $ac_func;
76782 return 0;
76784 _ACEOF
76785 rm -f conftest.$ac_objext conftest$ac_exeext
76786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76787 (eval $ac_link) 2>conftest.er1
76788 ac_status=$?
76789 grep -v '^ *+' conftest.er1 >conftest.err
76790 rm -f conftest.er1
76791 cat conftest.err >&5
76792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76793 (exit $ac_status); } &&
76794 { ac_try='test -z "$ac_c_werror_flag"
76795 || test ! -s conftest.err'
76796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76797 (eval $ac_try) 2>&5
76798 ac_status=$?
76799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76800 (exit $ac_status); }; } &&
76801 { ac_try='test -s conftest$ac_exeext'
76802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76803 (eval $ac_try) 2>&5
76804 ac_status=$?
76805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76806 (exit $ac_status); }; }; then
76807 eval "$as_ac_var=yes"
76808 else
76809 echo "$as_me: failed program was:" >&5
76810 sed 's/^/| /' conftest.$ac_ext >&5
76812 eval "$as_ac_var=no"
76814 rm -f conftest.err conftest.$ac_objext \
76815 conftest$ac_exeext conftest.$ac_ext
76817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76819 if test `eval echo '${'$as_ac_var'}'` = yes; then
76820 cat >>confdefs.h <<_ACEOF
76821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76822 _ACEOF
76825 done
76833 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76834 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76835 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76836 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76837 echo $ECHO_N "(cached) $ECHO_C" >&6
76838 else
76842 ac_ext=cc
76843 ac_cpp='$CXXCPP $CPPFLAGS'
76844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76848 cat >conftest.$ac_ext <<_ACEOF
76849 /* confdefs.h. */
76850 _ACEOF
76851 cat confdefs.h >>conftest.$ac_ext
76852 cat >>conftest.$ac_ext <<_ACEOF
76853 /* end confdefs.h. */
76854 #include <stdlib.h>
76856 main ()
76858 strtof(0, 0);
76860 return 0;
76862 _ACEOF
76863 rm -f conftest.$ac_objext
76864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76865 (eval $ac_compile) 2>conftest.er1
76866 ac_status=$?
76867 grep -v '^ *+' conftest.er1 >conftest.err
76868 rm -f conftest.er1
76869 cat conftest.err >&5
76870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76871 (exit $ac_status); } &&
76872 { ac_try='test -z "$ac_cxx_werror_flag"
76873 || test ! -s conftest.err'
76874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76875 (eval $ac_try) 2>&5
76876 ac_status=$?
76877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76878 (exit $ac_status); }; } &&
76879 { ac_try='test -s conftest.$ac_objext'
76880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76881 (eval $ac_try) 2>&5
76882 ac_status=$?
76883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76884 (exit $ac_status); }; }; then
76885 glibcxx_cv_func_strtof_use=yes
76886 else
76887 echo "$as_me: failed program was:" >&5
76888 sed 's/^/| /' conftest.$ac_ext >&5
76890 glibcxx_cv_func_strtof_use=no
76892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76893 ac_ext=c
76894 ac_cpp='$CPP $CPPFLAGS'
76895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76904 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76905 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76907 for ac_func in strtof
76909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76910 echo "$as_me:$LINENO: checking for $ac_func" >&5
76911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76912 if eval "test \"\${$as_ac_var+set}\" = set"; then
76913 echo $ECHO_N "(cached) $ECHO_C" >&6
76914 else
76915 if test x$gcc_no_link = xyes; then
76916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76918 { (exit 1); exit 1; }; }
76920 cat >conftest.$ac_ext <<_ACEOF
76921 /* confdefs.h. */
76922 _ACEOF
76923 cat confdefs.h >>conftest.$ac_ext
76924 cat >>conftest.$ac_ext <<_ACEOF
76925 /* end confdefs.h. */
76926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76928 #define $ac_func innocuous_$ac_func
76930 /* System header to define __stub macros and hopefully few prototypes,
76931 which can conflict with char $ac_func (); below.
76932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76933 <limits.h> exists even on freestanding compilers. */
76935 #ifdef __STDC__
76936 # include <limits.h>
76937 #else
76938 # include <assert.h>
76939 #endif
76941 #undef $ac_func
76943 /* Override any gcc2 internal prototype to avoid an error. */
76944 #ifdef __cplusplus
76945 extern "C"
76947 #endif
76948 /* We use char because int might match the return type of a gcc2
76949 builtin and then its argument prototype would still apply. */
76950 char $ac_func ();
76951 /* The GNU C library defines this for functions which it implements
76952 to always fail with ENOSYS. Some functions are actually named
76953 something starting with __ and the normal name is an alias. */
76954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76955 choke me
76956 #else
76957 char (*f) () = $ac_func;
76958 #endif
76959 #ifdef __cplusplus
76961 #endif
76964 main ()
76966 return f != $ac_func;
76968 return 0;
76970 _ACEOF
76971 rm -f conftest.$ac_objext conftest$ac_exeext
76972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76973 (eval $ac_link) 2>conftest.er1
76974 ac_status=$?
76975 grep -v '^ *+' conftest.er1 >conftest.err
76976 rm -f conftest.er1
76977 cat conftest.err >&5
76978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76979 (exit $ac_status); } &&
76980 { ac_try='test -z "$ac_c_werror_flag"
76981 || test ! -s conftest.err'
76982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76983 (eval $ac_try) 2>&5
76984 ac_status=$?
76985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76986 (exit $ac_status); }; } &&
76987 { ac_try='test -s conftest$ac_exeext'
76988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76989 (eval $ac_try) 2>&5
76990 ac_status=$?
76991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76992 (exit $ac_status); }; }; then
76993 eval "$as_ac_var=yes"
76994 else
76995 echo "$as_me: failed program was:" >&5
76996 sed 's/^/| /' conftest.$ac_ext >&5
76998 eval "$as_ac_var=no"
77000 rm -f conftest.err conftest.$ac_objext \
77001 conftest$ac_exeext conftest.$ac_ext
77003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77005 if test `eval echo '${'$as_ac_var'}'` = yes; then
77006 cat >>confdefs.h <<_ACEOF
77007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77008 _ACEOF
77011 done
77019 CXXFLAGS="$ac_save_CXXFLAGS"
77022 # For LFS.
77023 cat >>confdefs.h <<\_ACEOF
77024 #define HAVE_INT64_T 1
77025 _ACEOF
77030 ac_ext=cc
77031 ac_cpp='$CXXCPP $CPPFLAGS'
77032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77036 ac_save_CXXFLAGS="$CXXFLAGS"
77037 CXXFLAGS="$CXXFLAGS -fno-exceptions"
77038 echo "$as_me:$LINENO: checking for LFS support" >&5
77039 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
77040 if test "${glibcxx_cv_LFS+set}" = set; then
77041 echo $ECHO_N "(cached) $ECHO_C" >&6
77042 else
77044 if test x$gcc_no_link = xyes; then
77045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77047 { (exit 1); exit 1; }; }
77049 cat >conftest.$ac_ext <<_ACEOF
77050 /* confdefs.h. */
77051 _ACEOF
77052 cat confdefs.h >>conftest.$ac_ext
77053 cat >>conftest.$ac_ext <<_ACEOF
77054 /* end confdefs.h. */
77055 #include <unistd.h>
77056 #include <stdio.h>
77057 #include <sys/stat.h>
77060 main ()
77062 FILE* fp;
77063 fopen64("t", "w");
77064 fseeko64(fp, 0, SEEK_CUR);
77065 ftello64(fp);
77066 lseek64(1, 0, SEEK_CUR);
77067 struct stat64 buf;
77068 fstat64(1, &buf);
77070 return 0;
77072 _ACEOF
77073 rm -f conftest.$ac_objext conftest$ac_exeext
77074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77075 (eval $ac_link) 2>conftest.er1
77076 ac_status=$?
77077 grep -v '^ *+' conftest.er1 >conftest.err
77078 rm -f conftest.er1
77079 cat conftest.err >&5
77080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081 (exit $ac_status); } &&
77082 { ac_try='test -z "$ac_cxx_werror_flag"
77083 || test ! -s conftest.err'
77084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77085 (eval $ac_try) 2>&5
77086 ac_status=$?
77087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77088 (exit $ac_status); }; } &&
77089 { ac_try='test -s conftest$ac_exeext'
77090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77091 (eval $ac_try) 2>&5
77092 ac_status=$?
77093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77094 (exit $ac_status); }; }; then
77095 glibcxx_cv_LFS=yes
77096 else
77097 echo "$as_me: failed program was:" >&5
77098 sed 's/^/| /' conftest.$ac_ext >&5
77100 glibcxx_cv_LFS=no
77102 rm -f conftest.err conftest.$ac_objext \
77103 conftest$ac_exeext conftest.$ac_ext
77107 if test $glibcxx_cv_LFS = yes; then
77109 cat >>confdefs.h <<\_ACEOF
77110 #define _GLIBCXX_USE_LFS 1
77111 _ACEOF
77114 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
77115 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
77116 CXXFLAGS="$ac_save_CXXFLAGS"
77117 ac_ext=c
77118 ac_cpp='$CPP $CPPFLAGS'
77119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77125 # For showmanyc_helper().
77128 for ac_header in sys/ioctl.h sys/filio.h
77130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77132 echo "$as_me:$LINENO: checking for $ac_header" >&5
77133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77135 echo $ECHO_N "(cached) $ECHO_C" >&6
77137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77139 else
77140 # Is the header compilable?
77141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77143 cat >conftest.$ac_ext <<_ACEOF
77144 /* confdefs.h. */
77145 _ACEOF
77146 cat confdefs.h >>conftest.$ac_ext
77147 cat >>conftest.$ac_ext <<_ACEOF
77148 /* end confdefs.h. */
77149 $ac_includes_default
77150 #include <$ac_header>
77151 _ACEOF
77152 rm -f conftest.$ac_objext
77153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77154 (eval $ac_compile) 2>conftest.er1
77155 ac_status=$?
77156 grep -v '^ *+' conftest.er1 >conftest.err
77157 rm -f conftest.er1
77158 cat conftest.err >&5
77159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77160 (exit $ac_status); } &&
77161 { ac_try='test -z "$ac_c_werror_flag"
77162 || test ! -s conftest.err'
77163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77164 (eval $ac_try) 2>&5
77165 ac_status=$?
77166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77167 (exit $ac_status); }; } &&
77168 { ac_try='test -s conftest.$ac_objext'
77169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77170 (eval $ac_try) 2>&5
77171 ac_status=$?
77172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77173 (exit $ac_status); }; }; then
77174 ac_header_compiler=yes
77175 else
77176 echo "$as_me: failed program was:" >&5
77177 sed 's/^/| /' conftest.$ac_ext >&5
77179 ac_header_compiler=no
77181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77183 echo "${ECHO_T}$ac_header_compiler" >&6
77185 # Is the header present?
77186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77188 cat >conftest.$ac_ext <<_ACEOF
77189 /* confdefs.h. */
77190 _ACEOF
77191 cat confdefs.h >>conftest.$ac_ext
77192 cat >>conftest.$ac_ext <<_ACEOF
77193 /* end confdefs.h. */
77194 #include <$ac_header>
77195 _ACEOF
77196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77198 ac_status=$?
77199 grep -v '^ *+' conftest.er1 >conftest.err
77200 rm -f conftest.er1
77201 cat conftest.err >&5
77202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77203 (exit $ac_status); } >/dev/null; then
77204 if test -s conftest.err; then
77205 ac_cpp_err=$ac_c_preproc_warn_flag
77206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77207 else
77208 ac_cpp_err=
77210 else
77211 ac_cpp_err=yes
77213 if test -z "$ac_cpp_err"; then
77214 ac_header_preproc=yes
77215 else
77216 echo "$as_me: failed program was:" >&5
77217 sed 's/^/| /' conftest.$ac_ext >&5
77219 ac_header_preproc=no
77221 rm -f conftest.err conftest.$ac_ext
77222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77223 echo "${ECHO_T}$ac_header_preproc" >&6
77225 # So? What about this header?
77226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77227 yes:no: )
77228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77232 ac_header_preproc=yes
77234 no:yes:* )
77235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77248 cat <<\_ASBOX
77249 ## ----------------------------------------- ##
77250 ## Report this to the package-unused lists. ##
77251 ## ----------------------------------------- ##
77252 _ASBOX
77254 sed "s/^/$as_me: WARNING: /" >&2
77256 esac
77257 echo "$as_me:$LINENO: checking for $ac_header" >&5
77258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77260 echo $ECHO_N "(cached) $ECHO_C" >&6
77261 else
77262 eval "$as_ac_Header=\$ac_header_preproc"
77264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77269 cat >>confdefs.h <<_ACEOF
77270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77271 _ACEOF
77275 done
77278 echo "$as_me:$LINENO: checking for poll" >&5
77279 echo $ECHO_N "checking for poll... $ECHO_C" >&6
77280 if test "${glibcxx_cv_POLL+set}" = set; then
77281 echo $ECHO_N "(cached) $ECHO_C" >&6
77282 else
77284 if test x$gcc_no_link = xyes; then
77285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77287 { (exit 1); exit 1; }; }
77289 cat >conftest.$ac_ext <<_ACEOF
77290 /* confdefs.h. */
77291 _ACEOF
77292 cat confdefs.h >>conftest.$ac_ext
77293 cat >>conftest.$ac_ext <<_ACEOF
77294 /* end confdefs.h. */
77295 #include <poll.h>
77297 main ()
77299 struct pollfd pfd[1];
77300 pfd[0].events = POLLIN;
77301 poll(pfd, 1, 0);
77303 return 0;
77305 _ACEOF
77306 rm -f conftest.$ac_objext conftest$ac_exeext
77307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77308 (eval $ac_link) 2>conftest.er1
77309 ac_status=$?
77310 grep -v '^ *+' conftest.er1 >conftest.err
77311 rm -f conftest.er1
77312 cat conftest.err >&5
77313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77314 (exit $ac_status); } &&
77315 { ac_try='test -z "$ac_c_werror_flag"
77316 || test ! -s conftest.err'
77317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77318 (eval $ac_try) 2>&5
77319 ac_status=$?
77320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77321 (exit $ac_status); }; } &&
77322 { ac_try='test -s conftest$ac_exeext'
77323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77324 (eval $ac_try) 2>&5
77325 ac_status=$?
77326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77327 (exit $ac_status); }; }; then
77328 glibcxx_cv_POLL=yes
77329 else
77330 echo "$as_me: failed program was:" >&5
77331 sed 's/^/| /' conftest.$ac_ext >&5
77333 glibcxx_cv_POLL=no
77335 rm -f conftest.err conftest.$ac_objext \
77336 conftest$ac_exeext conftest.$ac_ext
77340 if test $glibcxx_cv_POLL = yes; then
77342 cat >>confdefs.h <<\_ACEOF
77343 #define HAVE_POLL 1
77344 _ACEOF
77347 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
77348 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
77351 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
77352 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
77353 if test "${glibcxx_cv_S_ISREG+set}" = set; then
77354 echo $ECHO_N "(cached) $ECHO_C" >&6
77355 else
77357 if test x$gcc_no_link = xyes; then
77358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77360 { (exit 1); exit 1; }; }
77362 cat >conftest.$ac_ext <<_ACEOF
77363 /* confdefs.h. */
77364 _ACEOF
77365 cat confdefs.h >>conftest.$ac_ext
77366 cat >>conftest.$ac_ext <<_ACEOF
77367 /* end confdefs.h. */
77368 #include <sys/stat.h>
77370 main ()
77372 struct stat buffer;
77373 fstat(0, &buffer);
77374 S_ISREG(buffer.st_mode);
77376 return 0;
77378 _ACEOF
77379 rm -f conftest.$ac_objext conftest$ac_exeext
77380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77381 (eval $ac_link) 2>conftest.er1
77382 ac_status=$?
77383 grep -v '^ *+' conftest.er1 >conftest.err
77384 rm -f conftest.er1
77385 cat conftest.err >&5
77386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77387 (exit $ac_status); } &&
77388 { ac_try='test -z "$ac_c_werror_flag"
77389 || test ! -s conftest.err'
77390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77391 (eval $ac_try) 2>&5
77392 ac_status=$?
77393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77394 (exit $ac_status); }; } &&
77395 { ac_try='test -s conftest$ac_exeext'
77396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77397 (eval $ac_try) 2>&5
77398 ac_status=$?
77399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77400 (exit $ac_status); }; }; then
77401 glibcxx_cv_S_ISREG=yes
77402 else
77403 echo "$as_me: failed program was:" >&5
77404 sed 's/^/| /' conftest.$ac_ext >&5
77406 glibcxx_cv_S_ISREG=no
77408 rm -f conftest.err conftest.$ac_objext \
77409 conftest$ac_exeext conftest.$ac_ext
77413 if test "${glibcxx_cv_S_IFREG+set}" = set; then
77414 echo $ECHO_N "(cached) $ECHO_C" >&6
77415 else
77417 if test x$gcc_no_link = xyes; then
77418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77420 { (exit 1); exit 1; }; }
77422 cat >conftest.$ac_ext <<_ACEOF
77423 /* confdefs.h. */
77424 _ACEOF
77425 cat confdefs.h >>conftest.$ac_ext
77426 cat >>conftest.$ac_ext <<_ACEOF
77427 /* end confdefs.h. */
77428 #include <sys/stat.h>
77430 main ()
77432 struct stat buffer;
77433 fstat(0, &buffer);
77434 S_IFREG & buffer.st_mode;
77436 return 0;
77438 _ACEOF
77439 rm -f conftest.$ac_objext conftest$ac_exeext
77440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77441 (eval $ac_link) 2>conftest.er1
77442 ac_status=$?
77443 grep -v '^ *+' conftest.er1 >conftest.err
77444 rm -f conftest.er1
77445 cat conftest.err >&5
77446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77447 (exit $ac_status); } &&
77448 { ac_try='test -z "$ac_c_werror_flag"
77449 || test ! -s conftest.err'
77450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77451 (eval $ac_try) 2>&5
77452 ac_status=$?
77453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454 (exit $ac_status); }; } &&
77455 { ac_try='test -s conftest$ac_exeext'
77456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77457 (eval $ac_try) 2>&5
77458 ac_status=$?
77459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77460 (exit $ac_status); }; }; then
77461 glibcxx_cv_S_IFREG=yes
77462 else
77463 echo "$as_me: failed program was:" >&5
77464 sed 's/^/| /' conftest.$ac_ext >&5
77466 glibcxx_cv_S_IFREG=no
77468 rm -f conftest.err conftest.$ac_objext \
77469 conftest$ac_exeext conftest.$ac_ext
77473 res=no
77474 if test $glibcxx_cv_S_ISREG = yes; then
77476 cat >>confdefs.h <<\_ACEOF
77477 #define HAVE_S_ISREG 1
77478 _ACEOF
77480 res=S_ISREG
77481 elif test $glibcxx_cv_S_IFREG = yes; then
77483 cat >>confdefs.h <<\_ACEOF
77484 #define HAVE_S_IFREG 1
77485 _ACEOF
77487 res=S_IFREG
77489 echo "$as_me:$LINENO: result: $res" >&5
77490 echo "${ECHO_T}$res" >&6
77493 # For xsputn_2().
77495 for ac_header in sys/uio.h
77497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77499 echo "$as_me:$LINENO: checking for $ac_header" >&5
77500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77502 echo $ECHO_N "(cached) $ECHO_C" >&6
77504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77506 else
77507 # Is the header compilable?
77508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77510 cat >conftest.$ac_ext <<_ACEOF
77511 /* confdefs.h. */
77512 _ACEOF
77513 cat confdefs.h >>conftest.$ac_ext
77514 cat >>conftest.$ac_ext <<_ACEOF
77515 /* end confdefs.h. */
77516 $ac_includes_default
77517 #include <$ac_header>
77518 _ACEOF
77519 rm -f conftest.$ac_objext
77520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77521 (eval $ac_compile) 2>conftest.er1
77522 ac_status=$?
77523 grep -v '^ *+' conftest.er1 >conftest.err
77524 rm -f conftest.er1
77525 cat conftest.err >&5
77526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77527 (exit $ac_status); } &&
77528 { ac_try='test -z "$ac_c_werror_flag"
77529 || test ! -s conftest.err'
77530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77531 (eval $ac_try) 2>&5
77532 ac_status=$?
77533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77534 (exit $ac_status); }; } &&
77535 { ac_try='test -s conftest.$ac_objext'
77536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77537 (eval $ac_try) 2>&5
77538 ac_status=$?
77539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77540 (exit $ac_status); }; }; then
77541 ac_header_compiler=yes
77542 else
77543 echo "$as_me: failed program was:" >&5
77544 sed 's/^/| /' conftest.$ac_ext >&5
77546 ac_header_compiler=no
77548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77550 echo "${ECHO_T}$ac_header_compiler" >&6
77552 # Is the header present?
77553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77555 cat >conftest.$ac_ext <<_ACEOF
77556 /* confdefs.h. */
77557 _ACEOF
77558 cat confdefs.h >>conftest.$ac_ext
77559 cat >>conftest.$ac_ext <<_ACEOF
77560 /* end confdefs.h. */
77561 #include <$ac_header>
77562 _ACEOF
77563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77565 ac_status=$?
77566 grep -v '^ *+' conftest.er1 >conftest.err
77567 rm -f conftest.er1
77568 cat conftest.err >&5
77569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77570 (exit $ac_status); } >/dev/null; then
77571 if test -s conftest.err; then
77572 ac_cpp_err=$ac_c_preproc_warn_flag
77573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77574 else
77575 ac_cpp_err=
77577 else
77578 ac_cpp_err=yes
77580 if test -z "$ac_cpp_err"; then
77581 ac_header_preproc=yes
77582 else
77583 echo "$as_me: failed program was:" >&5
77584 sed 's/^/| /' conftest.$ac_ext >&5
77586 ac_header_preproc=no
77588 rm -f conftest.err conftest.$ac_ext
77589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77590 echo "${ECHO_T}$ac_header_preproc" >&6
77592 # So? What about this header?
77593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77594 yes:no: )
77595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77599 ac_header_preproc=yes
77601 no:yes:* )
77602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77615 cat <<\_ASBOX
77616 ## ----------------------------------------- ##
77617 ## Report this to the package-unused lists. ##
77618 ## ----------------------------------------- ##
77619 _ASBOX
77621 sed "s/^/$as_me: WARNING: /" >&2
77623 esac
77624 echo "$as_me:$LINENO: checking for $ac_header" >&5
77625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77627 echo $ECHO_N "(cached) $ECHO_C" >&6
77628 else
77629 eval "$as_ac_Header=\$ac_header_preproc"
77631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77636 cat >>confdefs.h <<_ACEOF
77637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77638 _ACEOF
77642 done
77645 echo "$as_me:$LINENO: checking for writev" >&5
77646 echo $ECHO_N "checking for writev... $ECHO_C" >&6
77647 if test "${glibcxx_cv_WRITEV+set}" = set; then
77648 echo $ECHO_N "(cached) $ECHO_C" >&6
77649 else
77651 if test x$gcc_no_link = xyes; then
77652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77654 { (exit 1); exit 1; }; }
77656 cat >conftest.$ac_ext <<_ACEOF
77657 /* confdefs.h. */
77658 _ACEOF
77659 cat confdefs.h >>conftest.$ac_ext
77660 cat >>conftest.$ac_ext <<_ACEOF
77661 /* end confdefs.h. */
77662 #include <sys/uio.h>
77664 main ()
77666 struct iovec iov[2];
77667 writev(0, iov, 0);
77669 return 0;
77671 _ACEOF
77672 rm -f conftest.$ac_objext conftest$ac_exeext
77673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77674 (eval $ac_link) 2>conftest.er1
77675 ac_status=$?
77676 grep -v '^ *+' conftest.er1 >conftest.err
77677 rm -f conftest.er1
77678 cat conftest.err >&5
77679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77680 (exit $ac_status); } &&
77681 { ac_try='test -z "$ac_c_werror_flag"
77682 || test ! -s conftest.err'
77683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77684 (eval $ac_try) 2>&5
77685 ac_status=$?
77686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77687 (exit $ac_status); }; } &&
77688 { ac_try='test -s conftest$ac_exeext'
77689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77690 (eval $ac_try) 2>&5
77691 ac_status=$?
77692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77693 (exit $ac_status); }; }; then
77694 glibcxx_cv_WRITEV=yes
77695 else
77696 echo "$as_me: failed program was:" >&5
77697 sed 's/^/| /' conftest.$ac_ext >&5
77699 glibcxx_cv_WRITEV=no
77701 rm -f conftest.err conftest.$ac_objext \
77702 conftest$ac_exeext conftest.$ac_ext
77706 if test $glibcxx_cv_WRITEV = yes; then
77708 cat >>confdefs.h <<\_ACEOF
77709 #define HAVE_WRITEV 1
77710 _ACEOF
77713 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
77714 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
77717 *-mingw32*)
77721 for ac_header in sys/types.h locale.h float.h
77723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77725 echo "$as_me:$LINENO: checking for $ac_header" >&5
77726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77728 echo $ECHO_N "(cached) $ECHO_C" >&6
77730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77732 else
77733 # Is the header compilable?
77734 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77736 cat >conftest.$ac_ext <<_ACEOF
77737 /* confdefs.h. */
77738 _ACEOF
77739 cat confdefs.h >>conftest.$ac_ext
77740 cat >>conftest.$ac_ext <<_ACEOF
77741 /* end confdefs.h. */
77742 $ac_includes_default
77743 #include <$ac_header>
77744 _ACEOF
77745 rm -f conftest.$ac_objext
77746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77747 (eval $ac_compile) 2>conftest.er1
77748 ac_status=$?
77749 grep -v '^ *+' conftest.er1 >conftest.err
77750 rm -f conftest.er1
77751 cat conftest.err >&5
77752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77753 (exit $ac_status); } &&
77754 { ac_try='test -z "$ac_c_werror_flag"
77755 || test ! -s conftest.err'
77756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77757 (eval $ac_try) 2>&5
77758 ac_status=$?
77759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77760 (exit $ac_status); }; } &&
77761 { ac_try='test -s conftest.$ac_objext'
77762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77763 (eval $ac_try) 2>&5
77764 ac_status=$?
77765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77766 (exit $ac_status); }; }; then
77767 ac_header_compiler=yes
77768 else
77769 echo "$as_me: failed program was:" >&5
77770 sed 's/^/| /' conftest.$ac_ext >&5
77772 ac_header_compiler=no
77774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77776 echo "${ECHO_T}$ac_header_compiler" >&6
77778 # Is the header present?
77779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77781 cat >conftest.$ac_ext <<_ACEOF
77782 /* confdefs.h. */
77783 _ACEOF
77784 cat confdefs.h >>conftest.$ac_ext
77785 cat >>conftest.$ac_ext <<_ACEOF
77786 /* end confdefs.h. */
77787 #include <$ac_header>
77788 _ACEOF
77789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77791 ac_status=$?
77792 grep -v '^ *+' conftest.er1 >conftest.err
77793 rm -f conftest.er1
77794 cat conftest.err >&5
77795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77796 (exit $ac_status); } >/dev/null; then
77797 if test -s conftest.err; then
77798 ac_cpp_err=$ac_c_preproc_warn_flag
77799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77800 else
77801 ac_cpp_err=
77803 else
77804 ac_cpp_err=yes
77806 if test -z "$ac_cpp_err"; then
77807 ac_header_preproc=yes
77808 else
77809 echo "$as_me: failed program was:" >&5
77810 sed 's/^/| /' conftest.$ac_ext >&5
77812 ac_header_preproc=no
77814 rm -f conftest.err conftest.$ac_ext
77815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77816 echo "${ECHO_T}$ac_header_preproc" >&6
77818 # So? What about this header?
77819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77820 yes:no: )
77821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77825 ac_header_preproc=yes
77827 no:yes:* )
77828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77841 cat <<\_ASBOX
77842 ## ----------------------------------------- ##
77843 ## Report this to the package-unused lists. ##
77844 ## ----------------------------------------- ##
77845 _ASBOX
77847 sed "s/^/$as_me: WARNING: /" >&2
77849 esac
77850 echo "$as_me:$LINENO: checking for $ac_header" >&5
77851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77853 echo $ECHO_N "(cached) $ECHO_C" >&6
77854 else
77855 eval "$as_ac_Header=\$ac_header_preproc"
77857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77862 cat >>confdefs.h <<_ACEOF
77863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77864 _ACEOF
77868 done
77871 # If we're not using GNU ld, then there's no point in even trying these
77872 # tests. Check for that first. We should have already tested for gld
77873 # by now (in libtool), but require it now just to be safe...
77874 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77875 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77879 # The name set by libtool depends on the version of libtool. Shame on us
77880 # for depending on an impl detail, but c'est la vie. Older versions used
77881 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77882 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77883 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77884 # set (hence we're using an older libtool), then set it.
77885 if test x${with_gnu_ld+set} != xset; then
77886 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77887 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77888 with_gnu_ld=no
77889 else
77890 with_gnu_ld=$ac_cv_prog_gnu_ld
77894 # Start by getting the version number. I think the libtool test already
77895 # does some of this, but throws away the result.
77896 if test x"$with_gnu_ld" = x"yes"; then
77897 echo "$as_me:$LINENO: checking for ld version" >&5
77898 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77900 ldver=`$LD --version 2>/dev/null | head -1 | \
77901 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
77903 glibcxx_gnu_ld_version=`echo $ldver | \
77904 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77905 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77906 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77909 # Set --gc-sections.
77910 glibcxx_gcsections_min_ld=21602
77911 if test x"$with_gnu_ld" = x"yes" &&
77912 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77914 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77915 # NB: This flag only works reliably after 2.16.1. Configure tests
77916 # for this are difficult, so hard wire a value that should work.
77918 # All these tests are for C++, but run with the "C" compiler driver.
77919 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77920 ac_test_CFLAGS="${CFLAGS+set}"
77921 ac_save_CFLAGS="$CFLAGS"
77922 CFLAGS='-x c++ -Wl,--gc-sections'
77924 # Check for -Wl,--gc-sections
77925 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77926 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77927 if test x$gcc_no_link = xyes; then
77928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77930 { (exit 1); exit 1; }; }
77932 cat >conftest.$ac_ext <<_ACEOF
77933 /* confdefs.h. */
77934 _ACEOF
77935 cat confdefs.h >>conftest.$ac_ext
77936 cat >>conftest.$ac_ext <<_ACEOF
77937 /* end confdefs.h. */
77938 int one(void) { return 1; }
77939 int two(void) { return 2; }
77942 main ()
77944 two();
77946 return 0;
77948 _ACEOF
77949 rm -f conftest.$ac_objext conftest$ac_exeext
77950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77951 (eval $ac_link) 2>conftest.er1
77952 ac_status=$?
77953 grep -v '^ *+' conftest.er1 >conftest.err
77954 rm -f conftest.er1
77955 cat conftest.err >&5
77956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77957 (exit $ac_status); } &&
77958 { ac_try='test -z "$ac_c_werror_flag"
77959 || test ! -s conftest.err'
77960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77961 (eval $ac_try) 2>&5
77962 ac_status=$?
77963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77964 (exit $ac_status); }; } &&
77965 { ac_try='test -s conftest$ac_exeext'
77966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77967 (eval $ac_try) 2>&5
77968 ac_status=$?
77969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970 (exit $ac_status); }; }; then
77971 ac_gcsections=yes
77972 else
77973 echo "$as_me: failed program was:" >&5
77974 sed 's/^/| /' conftest.$ac_ext >&5
77976 ac_gcsections=no
77978 rm -f conftest.err conftest.$ac_objext \
77979 conftest$ac_exeext conftest.$ac_ext
77980 if test "$ac_gcsections" = "yes"; then
77981 rm -f conftest.c
77982 touch conftest.c
77983 if $CC -c conftest.c; then
77984 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77985 grep "Warning: gc-sections option ignored" > /dev/null; then
77986 ac_gcsections=no
77989 rm -f conftest.c conftest.o conftest
77991 if test "$ac_gcsections" = "yes"; then
77992 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77994 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77995 echo "${ECHO_T}$ac_gcsections" >&6
77997 if test "$ac_test_CFLAGS" = set; then
77998 CFLAGS="$ac_save_CFLAGS"
77999 else
78000 # this is the suspicious part
78001 CFLAGS=''
78005 # Set -z,relro.
78006 # Note this is only for shared objects.
78007 ac_ld_relro=no
78008 if test x"$with_gnu_ld" = x"yes"; then
78009 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78010 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78011 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78012 if test -n "$cxx_z_relo"; then
78013 OPT_LDFLAGS="-Wl,-z,relro"
78014 ac_ld_relro=yes
78016 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78017 echo "${ECHO_T}$ac_ld_relro" >&6
78020 # Set linker optimization flags.
78021 if test x"$with_gnu_ld" = x"yes"; then
78022 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78030 echo "$as_me:$LINENO: checking for main in -lm" >&5
78031 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78032 if test "${ac_cv_lib_m_main+set}" = set; then
78033 echo $ECHO_N "(cached) $ECHO_C" >&6
78034 else
78035 ac_check_lib_save_LIBS=$LIBS
78036 LIBS="-lm $LIBS"
78037 if test x$gcc_no_link = xyes; then
78038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78040 { (exit 1); exit 1; }; }
78042 cat >conftest.$ac_ext <<_ACEOF
78043 /* confdefs.h. */
78044 _ACEOF
78045 cat confdefs.h >>conftest.$ac_ext
78046 cat >>conftest.$ac_ext <<_ACEOF
78047 /* end confdefs.h. */
78051 main ()
78053 main ();
78055 return 0;
78057 _ACEOF
78058 rm -f conftest.$ac_objext conftest$ac_exeext
78059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78060 (eval $ac_link) 2>conftest.er1
78061 ac_status=$?
78062 grep -v '^ *+' conftest.er1 >conftest.err
78063 rm -f conftest.er1
78064 cat conftest.err >&5
78065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78066 (exit $ac_status); } &&
78067 { ac_try='test -z "$ac_c_werror_flag"
78068 || test ! -s conftest.err'
78069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78070 (eval $ac_try) 2>&5
78071 ac_status=$?
78072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78073 (exit $ac_status); }; } &&
78074 { ac_try='test -s conftest$ac_exeext'
78075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78076 (eval $ac_try) 2>&5
78077 ac_status=$?
78078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78079 (exit $ac_status); }; }; then
78080 ac_cv_lib_m_main=yes
78081 else
78082 echo "$as_me: failed program was:" >&5
78083 sed 's/^/| /' conftest.$ac_ext >&5
78085 ac_cv_lib_m_main=no
78087 rm -f conftest.err conftest.$ac_objext \
78088 conftest$ac_exeext conftest.$ac_ext
78089 LIBS=$ac_check_lib_save_LIBS
78091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78092 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78093 if test $ac_cv_lib_m_main = yes; then
78094 cat >>confdefs.h <<_ACEOF
78095 #define HAVE_LIBM 1
78096 _ACEOF
78098 LIBS="-lm $LIBS"
78103 for ac_func in copysignf
78105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78106 echo "$as_me:$LINENO: checking for $ac_func" >&5
78107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78108 if eval "test \"\${$as_ac_var+set}\" = set"; then
78109 echo $ECHO_N "(cached) $ECHO_C" >&6
78110 else
78111 if test x$gcc_no_link = xyes; then
78112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78114 { (exit 1); exit 1; }; }
78116 cat >conftest.$ac_ext <<_ACEOF
78117 /* confdefs.h. */
78118 _ACEOF
78119 cat confdefs.h >>conftest.$ac_ext
78120 cat >>conftest.$ac_ext <<_ACEOF
78121 /* end confdefs.h. */
78122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78124 #define $ac_func innocuous_$ac_func
78126 /* System header to define __stub macros and hopefully few prototypes,
78127 which can conflict with char $ac_func (); below.
78128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78129 <limits.h> exists even on freestanding compilers. */
78131 #ifdef __STDC__
78132 # include <limits.h>
78133 #else
78134 # include <assert.h>
78135 #endif
78137 #undef $ac_func
78139 /* Override any gcc2 internal prototype to avoid an error. */
78140 #ifdef __cplusplus
78141 extern "C"
78143 #endif
78144 /* We use char because int might match the return type of a gcc2
78145 builtin and then its argument prototype would still apply. */
78146 char $ac_func ();
78147 /* The GNU C library defines this for functions which it implements
78148 to always fail with ENOSYS. Some functions are actually named
78149 something starting with __ and the normal name is an alias. */
78150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78151 choke me
78152 #else
78153 char (*f) () = $ac_func;
78154 #endif
78155 #ifdef __cplusplus
78157 #endif
78160 main ()
78162 return f != $ac_func;
78164 return 0;
78166 _ACEOF
78167 rm -f conftest.$ac_objext conftest$ac_exeext
78168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78169 (eval $ac_link) 2>conftest.er1
78170 ac_status=$?
78171 grep -v '^ *+' conftest.er1 >conftest.err
78172 rm -f conftest.er1
78173 cat conftest.err >&5
78174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78175 (exit $ac_status); } &&
78176 { ac_try='test -z "$ac_c_werror_flag"
78177 || test ! -s conftest.err'
78178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78179 (eval $ac_try) 2>&5
78180 ac_status=$?
78181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78182 (exit $ac_status); }; } &&
78183 { ac_try='test -s conftest$ac_exeext'
78184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78185 (eval $ac_try) 2>&5
78186 ac_status=$?
78187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78188 (exit $ac_status); }; }; then
78189 eval "$as_ac_var=yes"
78190 else
78191 echo "$as_me: failed program was:" >&5
78192 sed 's/^/| /' conftest.$ac_ext >&5
78194 eval "$as_ac_var=no"
78196 rm -f conftest.err conftest.$ac_objext \
78197 conftest$ac_exeext conftest.$ac_ext
78199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78201 if test `eval echo '${'$as_ac_var'}'` = yes; then
78202 cat >>confdefs.h <<_ACEOF
78203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78204 _ACEOF
78206 else
78207 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78209 done
78213 for ac_func in __signbit
78215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78216 echo "$as_me:$LINENO: checking for $ac_func" >&5
78217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78218 if eval "test \"\${$as_ac_var+set}\" = set"; then
78219 echo $ECHO_N "(cached) $ECHO_C" >&6
78220 else
78221 if test x$gcc_no_link = xyes; then
78222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78224 { (exit 1); exit 1; }; }
78226 cat >conftest.$ac_ext <<_ACEOF
78227 /* confdefs.h. */
78228 _ACEOF
78229 cat confdefs.h >>conftest.$ac_ext
78230 cat >>conftest.$ac_ext <<_ACEOF
78231 /* end confdefs.h. */
78232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78234 #define $ac_func innocuous_$ac_func
78236 /* System header to define __stub macros and hopefully few prototypes,
78237 which can conflict with char $ac_func (); below.
78238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78239 <limits.h> exists even on freestanding compilers. */
78241 #ifdef __STDC__
78242 # include <limits.h>
78243 #else
78244 # include <assert.h>
78245 #endif
78247 #undef $ac_func
78249 /* Override any gcc2 internal prototype to avoid an error. */
78250 #ifdef __cplusplus
78251 extern "C"
78253 #endif
78254 /* We use char because int might match the return type of a gcc2
78255 builtin and then its argument prototype would still apply. */
78256 char $ac_func ();
78257 /* The GNU C library defines this for functions which it implements
78258 to always fail with ENOSYS. Some functions are actually named
78259 something starting with __ and the normal name is an alias. */
78260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78261 choke me
78262 #else
78263 char (*f) () = $ac_func;
78264 #endif
78265 #ifdef __cplusplus
78267 #endif
78270 main ()
78272 return f != $ac_func;
78274 return 0;
78276 _ACEOF
78277 rm -f conftest.$ac_objext conftest$ac_exeext
78278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78279 (eval $ac_link) 2>conftest.er1
78280 ac_status=$?
78281 grep -v '^ *+' conftest.er1 >conftest.err
78282 rm -f conftest.er1
78283 cat conftest.err >&5
78284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78285 (exit $ac_status); } &&
78286 { ac_try='test -z "$ac_c_werror_flag"
78287 || test ! -s conftest.err'
78288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78289 (eval $ac_try) 2>&5
78290 ac_status=$?
78291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78292 (exit $ac_status); }; } &&
78293 { ac_try='test -s conftest$ac_exeext'
78294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78295 (eval $ac_try) 2>&5
78296 ac_status=$?
78297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78298 (exit $ac_status); }; }; then
78299 eval "$as_ac_var=yes"
78300 else
78301 echo "$as_me: failed program was:" >&5
78302 sed 's/^/| /' conftest.$ac_ext >&5
78304 eval "$as_ac_var=no"
78306 rm -f conftest.err conftest.$ac_objext \
78307 conftest$ac_exeext conftest.$ac_ext
78309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78311 if test `eval echo '${'$as_ac_var'}'` = yes; then
78312 cat >>confdefs.h <<_ACEOF
78313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78314 _ACEOF
78316 else
78317 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78319 done
78323 for ac_func in __signbitf
78325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78326 echo "$as_me:$LINENO: checking for $ac_func" >&5
78327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78328 if eval "test \"\${$as_ac_var+set}\" = set"; then
78329 echo $ECHO_N "(cached) $ECHO_C" >&6
78330 else
78331 if test x$gcc_no_link = xyes; then
78332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78334 { (exit 1); exit 1; }; }
78336 cat >conftest.$ac_ext <<_ACEOF
78337 /* confdefs.h. */
78338 _ACEOF
78339 cat confdefs.h >>conftest.$ac_ext
78340 cat >>conftest.$ac_ext <<_ACEOF
78341 /* end confdefs.h. */
78342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78344 #define $ac_func innocuous_$ac_func
78346 /* System header to define __stub macros and hopefully few prototypes,
78347 which can conflict with char $ac_func (); below.
78348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78349 <limits.h> exists even on freestanding compilers. */
78351 #ifdef __STDC__
78352 # include <limits.h>
78353 #else
78354 # include <assert.h>
78355 #endif
78357 #undef $ac_func
78359 /* Override any gcc2 internal prototype to avoid an error. */
78360 #ifdef __cplusplus
78361 extern "C"
78363 #endif
78364 /* We use char because int might match the return type of a gcc2
78365 builtin and then its argument prototype would still apply. */
78366 char $ac_func ();
78367 /* The GNU C library defines this for functions which it implements
78368 to always fail with ENOSYS. Some functions are actually named
78369 something starting with __ and the normal name is an alias. */
78370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78371 choke me
78372 #else
78373 char (*f) () = $ac_func;
78374 #endif
78375 #ifdef __cplusplus
78377 #endif
78380 main ()
78382 return f != $ac_func;
78384 return 0;
78386 _ACEOF
78387 rm -f conftest.$ac_objext conftest$ac_exeext
78388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78389 (eval $ac_link) 2>conftest.er1
78390 ac_status=$?
78391 grep -v '^ *+' conftest.er1 >conftest.err
78392 rm -f conftest.er1
78393 cat conftest.err >&5
78394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78395 (exit $ac_status); } &&
78396 { ac_try='test -z "$ac_c_werror_flag"
78397 || test ! -s conftest.err'
78398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78399 (eval $ac_try) 2>&5
78400 ac_status=$?
78401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78402 (exit $ac_status); }; } &&
78403 { ac_try='test -s conftest$ac_exeext'
78404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78405 (eval $ac_try) 2>&5
78406 ac_status=$?
78407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78408 (exit $ac_status); }; }; then
78409 eval "$as_ac_var=yes"
78410 else
78411 echo "$as_me: failed program was:" >&5
78412 sed 's/^/| /' conftest.$ac_ext >&5
78414 eval "$as_ac_var=no"
78416 rm -f conftest.err conftest.$ac_objext \
78417 conftest$ac_exeext conftest.$ac_ext
78419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78421 if test `eval echo '${'$as_ac_var'}'` = yes; then
78422 cat >>confdefs.h <<_ACEOF
78423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78424 _ACEOF
78426 else
78427 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78429 done
78432 if test x$ac_cv_func_copysignl = x"yes"; then
78434 for ac_func in __signbitl
78436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78437 echo "$as_me:$LINENO: checking for $ac_func" >&5
78438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78439 if eval "test \"\${$as_ac_var+set}\" = set"; then
78440 echo $ECHO_N "(cached) $ECHO_C" >&6
78441 else
78442 if test x$gcc_no_link = xyes; then
78443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78445 { (exit 1); exit 1; }; }
78447 cat >conftest.$ac_ext <<_ACEOF
78448 /* confdefs.h. */
78449 _ACEOF
78450 cat confdefs.h >>conftest.$ac_ext
78451 cat >>conftest.$ac_ext <<_ACEOF
78452 /* end confdefs.h. */
78453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78455 #define $ac_func innocuous_$ac_func
78457 /* System header to define __stub macros and hopefully few prototypes,
78458 which can conflict with char $ac_func (); below.
78459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78460 <limits.h> exists even on freestanding compilers. */
78462 #ifdef __STDC__
78463 # include <limits.h>
78464 #else
78465 # include <assert.h>
78466 #endif
78468 #undef $ac_func
78470 /* Override any gcc2 internal prototype to avoid an error. */
78471 #ifdef __cplusplus
78472 extern "C"
78474 #endif
78475 /* We use char because int might match the return type of a gcc2
78476 builtin and then its argument prototype would still apply. */
78477 char $ac_func ();
78478 /* The GNU C library defines this for functions which it implements
78479 to always fail with ENOSYS. Some functions are actually named
78480 something starting with __ and the normal name is an alias. */
78481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78482 choke me
78483 #else
78484 char (*f) () = $ac_func;
78485 #endif
78486 #ifdef __cplusplus
78488 #endif
78491 main ()
78493 return f != $ac_func;
78495 return 0;
78497 _ACEOF
78498 rm -f conftest.$ac_objext conftest$ac_exeext
78499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78500 (eval $ac_link) 2>conftest.er1
78501 ac_status=$?
78502 grep -v '^ *+' conftest.er1 >conftest.err
78503 rm -f conftest.er1
78504 cat conftest.err >&5
78505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78506 (exit $ac_status); } &&
78507 { ac_try='test -z "$ac_c_werror_flag"
78508 || test ! -s conftest.err'
78509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78510 (eval $ac_try) 2>&5
78511 ac_status=$?
78512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78513 (exit $ac_status); }; } &&
78514 { ac_try='test -s conftest$ac_exeext'
78515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78516 (eval $ac_try) 2>&5
78517 ac_status=$?
78518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78519 (exit $ac_status); }; }; then
78520 eval "$as_ac_var=yes"
78521 else
78522 echo "$as_me: failed program was:" >&5
78523 sed 's/^/| /' conftest.$ac_ext >&5
78525 eval "$as_ac_var=no"
78527 rm -f conftest.err conftest.$ac_objext \
78528 conftest$ac_exeext conftest.$ac_ext
78530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78532 if test `eval echo '${'$as_ac_var'}'` = yes; then
78533 cat >>confdefs.h <<_ACEOF
78534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78535 _ACEOF
78537 else
78538 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78540 done
78544 # Used in libmath/Makefile.am.
78545 if test -n "$LIBMATHOBJS"; then
78546 need_libmath=yes
78551 *-netbsd*)
78564 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78565 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78566 fp.h locale.h float.h inttypes.h
78568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78570 echo "$as_me:$LINENO: checking for $ac_header" >&5
78571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78573 echo $ECHO_N "(cached) $ECHO_C" >&6
78575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78577 else
78578 # Is the header compilable?
78579 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78580 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78581 cat >conftest.$ac_ext <<_ACEOF
78582 /* confdefs.h. */
78583 _ACEOF
78584 cat confdefs.h >>conftest.$ac_ext
78585 cat >>conftest.$ac_ext <<_ACEOF
78586 /* end confdefs.h. */
78587 $ac_includes_default
78588 #include <$ac_header>
78589 _ACEOF
78590 rm -f conftest.$ac_objext
78591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78592 (eval $ac_compile) 2>conftest.er1
78593 ac_status=$?
78594 grep -v '^ *+' conftest.er1 >conftest.err
78595 rm -f conftest.er1
78596 cat conftest.err >&5
78597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78598 (exit $ac_status); } &&
78599 { ac_try='test -z "$ac_c_werror_flag"
78600 || test ! -s conftest.err'
78601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78602 (eval $ac_try) 2>&5
78603 ac_status=$?
78604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78605 (exit $ac_status); }; } &&
78606 { ac_try='test -s conftest.$ac_objext'
78607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78608 (eval $ac_try) 2>&5
78609 ac_status=$?
78610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78611 (exit $ac_status); }; }; then
78612 ac_header_compiler=yes
78613 else
78614 echo "$as_me: failed program was:" >&5
78615 sed 's/^/| /' conftest.$ac_ext >&5
78617 ac_header_compiler=no
78619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78621 echo "${ECHO_T}$ac_header_compiler" >&6
78623 # Is the header present?
78624 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78626 cat >conftest.$ac_ext <<_ACEOF
78627 /* confdefs.h. */
78628 _ACEOF
78629 cat confdefs.h >>conftest.$ac_ext
78630 cat >>conftest.$ac_ext <<_ACEOF
78631 /* end confdefs.h. */
78632 #include <$ac_header>
78633 _ACEOF
78634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78636 ac_status=$?
78637 grep -v '^ *+' conftest.er1 >conftest.err
78638 rm -f conftest.er1
78639 cat conftest.err >&5
78640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78641 (exit $ac_status); } >/dev/null; then
78642 if test -s conftest.err; then
78643 ac_cpp_err=$ac_c_preproc_warn_flag
78644 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78645 else
78646 ac_cpp_err=
78648 else
78649 ac_cpp_err=yes
78651 if test -z "$ac_cpp_err"; then
78652 ac_header_preproc=yes
78653 else
78654 echo "$as_me: failed program was:" >&5
78655 sed 's/^/| /' conftest.$ac_ext >&5
78657 ac_header_preproc=no
78659 rm -f conftest.err conftest.$ac_ext
78660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78661 echo "${ECHO_T}$ac_header_preproc" >&6
78663 # So? What about this header?
78664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78665 yes:no: )
78666 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78667 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78669 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78670 ac_header_preproc=yes
78672 no:yes:* )
78673 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78674 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78675 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78676 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78677 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78678 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78679 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78680 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78683 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78684 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78686 cat <<\_ASBOX
78687 ## ----------------------------------------- ##
78688 ## Report this to the package-unused lists. ##
78689 ## ----------------------------------------- ##
78690 _ASBOX
78692 sed "s/^/$as_me: WARNING: /" >&2
78694 esac
78695 echo "$as_me:$LINENO: checking for $ac_header" >&5
78696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78698 echo $ECHO_N "(cached) $ECHO_C" >&6
78699 else
78700 eval "$as_ac_Header=\$ac_header_preproc"
78702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78707 cat >>confdefs.h <<_ACEOF
78708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78709 _ACEOF
78713 done
78715 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78718 # If we're not using GNU ld, then there's no point in even trying these
78719 # tests. Check for that first. We should have already tested for gld
78720 # by now (in libtool), but require it now just to be safe...
78721 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78722 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78726 # The name set by libtool depends on the version of libtool. Shame on us
78727 # for depending on an impl detail, but c'est la vie. Older versions used
78728 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78729 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78730 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78731 # set (hence we're using an older libtool), then set it.
78732 if test x${with_gnu_ld+set} != xset; then
78733 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78734 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78735 with_gnu_ld=no
78736 else
78737 with_gnu_ld=$ac_cv_prog_gnu_ld
78741 # Start by getting the version number. I think the libtool test already
78742 # does some of this, but throws away the result.
78743 if test x"$with_gnu_ld" = x"yes"; then
78744 echo "$as_me:$LINENO: checking for ld version" >&5
78745 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78747 ldver=`$LD --version 2>/dev/null | head -1 | \
78748 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78750 glibcxx_gnu_ld_version=`echo $ldver | \
78751 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78752 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78753 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78756 # Set --gc-sections.
78757 glibcxx_gcsections_min_ld=21602
78758 if test x"$with_gnu_ld" = x"yes" &&
78759 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78761 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78762 # NB: This flag only works reliably after 2.16.1. Configure tests
78763 # for this are difficult, so hard wire a value that should work.
78765 # All these tests are for C++, but run with the "C" compiler driver.
78766 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78767 ac_test_CFLAGS="${CFLAGS+set}"
78768 ac_save_CFLAGS="$CFLAGS"
78769 CFLAGS='-x c++ -Wl,--gc-sections'
78771 # Check for -Wl,--gc-sections
78772 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78773 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78774 if test x$gcc_no_link = xyes; then
78775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78777 { (exit 1); exit 1; }; }
78779 cat >conftest.$ac_ext <<_ACEOF
78780 /* confdefs.h. */
78781 _ACEOF
78782 cat confdefs.h >>conftest.$ac_ext
78783 cat >>conftest.$ac_ext <<_ACEOF
78784 /* end confdefs.h. */
78785 int one(void) { return 1; }
78786 int two(void) { return 2; }
78789 main ()
78791 two();
78793 return 0;
78795 _ACEOF
78796 rm -f conftest.$ac_objext conftest$ac_exeext
78797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78798 (eval $ac_link) 2>conftest.er1
78799 ac_status=$?
78800 grep -v '^ *+' conftest.er1 >conftest.err
78801 rm -f conftest.er1
78802 cat conftest.err >&5
78803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78804 (exit $ac_status); } &&
78805 { ac_try='test -z "$ac_c_werror_flag"
78806 || test ! -s conftest.err'
78807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78808 (eval $ac_try) 2>&5
78809 ac_status=$?
78810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78811 (exit $ac_status); }; } &&
78812 { ac_try='test -s conftest$ac_exeext'
78813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78814 (eval $ac_try) 2>&5
78815 ac_status=$?
78816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78817 (exit $ac_status); }; }; then
78818 ac_gcsections=yes
78819 else
78820 echo "$as_me: failed program was:" >&5
78821 sed 's/^/| /' conftest.$ac_ext >&5
78823 ac_gcsections=no
78825 rm -f conftest.err conftest.$ac_objext \
78826 conftest$ac_exeext conftest.$ac_ext
78827 if test "$ac_gcsections" = "yes"; then
78828 rm -f conftest.c
78829 touch conftest.c
78830 if $CC -c conftest.c; then
78831 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78832 grep "Warning: gc-sections option ignored" > /dev/null; then
78833 ac_gcsections=no
78836 rm -f conftest.c conftest.o conftest
78838 if test "$ac_gcsections" = "yes"; then
78839 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78841 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78842 echo "${ECHO_T}$ac_gcsections" >&6
78844 if test "$ac_test_CFLAGS" = set; then
78845 CFLAGS="$ac_save_CFLAGS"
78846 else
78847 # this is the suspicious part
78848 CFLAGS=''
78852 # Set -z,relro.
78853 # Note this is only for shared objects.
78854 ac_ld_relro=no
78855 if test x"$with_gnu_ld" = x"yes"; then
78856 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78857 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78858 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78859 if test -n "$cxx_z_relo"; then
78860 OPT_LDFLAGS="-Wl,-z,relro"
78861 ac_ld_relro=yes
78863 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78864 echo "${ECHO_T}$ac_ld_relro" >&6
78867 # Set linker optimization flags.
78868 if test x"$with_gnu_ld" = x"yes"; then
78869 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78877 echo "$as_me:$LINENO: checking for main in -lm" >&5
78878 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78879 if test "${ac_cv_lib_m_main+set}" = set; then
78880 echo $ECHO_N "(cached) $ECHO_C" >&6
78881 else
78882 ac_check_lib_save_LIBS=$LIBS
78883 LIBS="-lm $LIBS"
78884 if test x$gcc_no_link = xyes; then
78885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78887 { (exit 1); exit 1; }; }
78889 cat >conftest.$ac_ext <<_ACEOF
78890 /* confdefs.h. */
78891 _ACEOF
78892 cat confdefs.h >>conftest.$ac_ext
78893 cat >>conftest.$ac_ext <<_ACEOF
78894 /* end confdefs.h. */
78898 main ()
78900 main ();
78902 return 0;
78904 _ACEOF
78905 rm -f conftest.$ac_objext conftest$ac_exeext
78906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78907 (eval $ac_link) 2>conftest.er1
78908 ac_status=$?
78909 grep -v '^ *+' conftest.er1 >conftest.err
78910 rm -f conftest.er1
78911 cat conftest.err >&5
78912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78913 (exit $ac_status); } &&
78914 { ac_try='test -z "$ac_c_werror_flag"
78915 || test ! -s conftest.err'
78916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78917 (eval $ac_try) 2>&5
78918 ac_status=$?
78919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78920 (exit $ac_status); }; } &&
78921 { ac_try='test -s conftest$ac_exeext'
78922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78923 (eval $ac_try) 2>&5
78924 ac_status=$?
78925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78926 (exit $ac_status); }; }; then
78927 ac_cv_lib_m_main=yes
78928 else
78929 echo "$as_me: failed program was:" >&5
78930 sed 's/^/| /' conftest.$ac_ext >&5
78932 ac_cv_lib_m_main=no
78934 rm -f conftest.err conftest.$ac_objext \
78935 conftest$ac_exeext conftest.$ac_ext
78936 LIBS=$ac_check_lib_save_LIBS
78938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78939 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78940 if test $ac_cv_lib_m_main = yes; then
78941 cat >>confdefs.h <<_ACEOF
78942 #define HAVE_LIBM 1
78943 _ACEOF
78945 LIBS="-lm $LIBS"
78950 for ac_func in copysignf
78952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78953 echo "$as_me:$LINENO: checking for $ac_func" >&5
78954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78955 if eval "test \"\${$as_ac_var+set}\" = set"; then
78956 echo $ECHO_N "(cached) $ECHO_C" >&6
78957 else
78958 if test x$gcc_no_link = xyes; then
78959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78961 { (exit 1); exit 1; }; }
78963 cat >conftest.$ac_ext <<_ACEOF
78964 /* confdefs.h. */
78965 _ACEOF
78966 cat confdefs.h >>conftest.$ac_ext
78967 cat >>conftest.$ac_ext <<_ACEOF
78968 /* end confdefs.h. */
78969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78971 #define $ac_func innocuous_$ac_func
78973 /* System header to define __stub macros and hopefully few prototypes,
78974 which can conflict with char $ac_func (); below.
78975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78976 <limits.h> exists even on freestanding compilers. */
78978 #ifdef __STDC__
78979 # include <limits.h>
78980 #else
78981 # include <assert.h>
78982 #endif
78984 #undef $ac_func
78986 /* Override any gcc2 internal prototype to avoid an error. */
78987 #ifdef __cplusplus
78988 extern "C"
78990 #endif
78991 /* We use char because int might match the return type of a gcc2
78992 builtin and then its argument prototype would still apply. */
78993 char $ac_func ();
78994 /* The GNU C library defines this for functions which it implements
78995 to always fail with ENOSYS. Some functions are actually named
78996 something starting with __ and the normal name is an alias. */
78997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78998 choke me
78999 #else
79000 char (*f) () = $ac_func;
79001 #endif
79002 #ifdef __cplusplus
79004 #endif
79007 main ()
79009 return f != $ac_func;
79011 return 0;
79013 _ACEOF
79014 rm -f conftest.$ac_objext conftest$ac_exeext
79015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79016 (eval $ac_link) 2>conftest.er1
79017 ac_status=$?
79018 grep -v '^ *+' conftest.er1 >conftest.err
79019 rm -f conftest.er1
79020 cat conftest.err >&5
79021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79022 (exit $ac_status); } &&
79023 { ac_try='test -z "$ac_c_werror_flag"
79024 || test ! -s conftest.err'
79025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79026 (eval $ac_try) 2>&5
79027 ac_status=$?
79028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79029 (exit $ac_status); }; } &&
79030 { ac_try='test -s conftest$ac_exeext'
79031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79032 (eval $ac_try) 2>&5
79033 ac_status=$?
79034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79035 (exit $ac_status); }; }; then
79036 eval "$as_ac_var=yes"
79037 else
79038 echo "$as_me: failed program was:" >&5
79039 sed 's/^/| /' conftest.$ac_ext >&5
79041 eval "$as_ac_var=no"
79043 rm -f conftest.err conftest.$ac_objext \
79044 conftest$ac_exeext conftest.$ac_ext
79046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79048 if test `eval echo '${'$as_ac_var'}'` = yes; then
79049 cat >>confdefs.h <<_ACEOF
79050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79051 _ACEOF
79053 else
79054 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79056 done
79060 for ac_func in __signbit
79062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79063 echo "$as_me:$LINENO: checking for $ac_func" >&5
79064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79065 if eval "test \"\${$as_ac_var+set}\" = set"; then
79066 echo $ECHO_N "(cached) $ECHO_C" >&6
79067 else
79068 if test x$gcc_no_link = xyes; then
79069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79071 { (exit 1); exit 1; }; }
79073 cat >conftest.$ac_ext <<_ACEOF
79074 /* confdefs.h. */
79075 _ACEOF
79076 cat confdefs.h >>conftest.$ac_ext
79077 cat >>conftest.$ac_ext <<_ACEOF
79078 /* end confdefs.h. */
79079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79081 #define $ac_func innocuous_$ac_func
79083 /* System header to define __stub macros and hopefully few prototypes,
79084 which can conflict with char $ac_func (); below.
79085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79086 <limits.h> exists even on freestanding compilers. */
79088 #ifdef __STDC__
79089 # include <limits.h>
79090 #else
79091 # include <assert.h>
79092 #endif
79094 #undef $ac_func
79096 /* Override any gcc2 internal prototype to avoid an error. */
79097 #ifdef __cplusplus
79098 extern "C"
79100 #endif
79101 /* We use char because int might match the return type of a gcc2
79102 builtin and then its argument prototype would still apply. */
79103 char $ac_func ();
79104 /* The GNU C library defines this for functions which it implements
79105 to always fail with ENOSYS. Some functions are actually named
79106 something starting with __ and the normal name is an alias. */
79107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79108 choke me
79109 #else
79110 char (*f) () = $ac_func;
79111 #endif
79112 #ifdef __cplusplus
79114 #endif
79117 main ()
79119 return f != $ac_func;
79121 return 0;
79123 _ACEOF
79124 rm -f conftest.$ac_objext conftest$ac_exeext
79125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79126 (eval $ac_link) 2>conftest.er1
79127 ac_status=$?
79128 grep -v '^ *+' conftest.er1 >conftest.err
79129 rm -f conftest.er1
79130 cat conftest.err >&5
79131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79132 (exit $ac_status); } &&
79133 { ac_try='test -z "$ac_c_werror_flag"
79134 || test ! -s conftest.err'
79135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79136 (eval $ac_try) 2>&5
79137 ac_status=$?
79138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79139 (exit $ac_status); }; } &&
79140 { ac_try='test -s conftest$ac_exeext'
79141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79142 (eval $ac_try) 2>&5
79143 ac_status=$?
79144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79145 (exit $ac_status); }; }; then
79146 eval "$as_ac_var=yes"
79147 else
79148 echo "$as_me: failed program was:" >&5
79149 sed 's/^/| /' conftest.$ac_ext >&5
79151 eval "$as_ac_var=no"
79153 rm -f conftest.err conftest.$ac_objext \
79154 conftest$ac_exeext conftest.$ac_ext
79156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79158 if test `eval echo '${'$as_ac_var'}'` = yes; then
79159 cat >>confdefs.h <<_ACEOF
79160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79161 _ACEOF
79163 else
79164 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79166 done
79170 for ac_func in __signbitf
79172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79173 echo "$as_me:$LINENO: checking for $ac_func" >&5
79174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79175 if eval "test \"\${$as_ac_var+set}\" = set"; then
79176 echo $ECHO_N "(cached) $ECHO_C" >&6
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79181 { (exit 1); exit 1; }; }
79183 cat >conftest.$ac_ext <<_ACEOF
79184 /* confdefs.h. */
79185 _ACEOF
79186 cat confdefs.h >>conftest.$ac_ext
79187 cat >>conftest.$ac_ext <<_ACEOF
79188 /* end confdefs.h. */
79189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79191 #define $ac_func innocuous_$ac_func
79193 /* System header to define __stub macros and hopefully few prototypes,
79194 which can conflict with char $ac_func (); below.
79195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79196 <limits.h> exists even on freestanding compilers. */
79198 #ifdef __STDC__
79199 # include <limits.h>
79200 #else
79201 # include <assert.h>
79202 #endif
79204 #undef $ac_func
79206 /* Override any gcc2 internal prototype to avoid an error. */
79207 #ifdef __cplusplus
79208 extern "C"
79210 #endif
79211 /* We use char because int might match the return type of a gcc2
79212 builtin and then its argument prototype would still apply. */
79213 char $ac_func ();
79214 /* The GNU C library defines this for functions which it implements
79215 to always fail with ENOSYS. Some functions are actually named
79216 something starting with __ and the normal name is an alias. */
79217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79218 choke me
79219 #else
79220 char (*f) () = $ac_func;
79221 #endif
79222 #ifdef __cplusplus
79224 #endif
79227 main ()
79229 return f != $ac_func;
79231 return 0;
79233 _ACEOF
79234 rm -f conftest.$ac_objext conftest$ac_exeext
79235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79236 (eval $ac_link) 2>conftest.er1
79237 ac_status=$?
79238 grep -v '^ *+' conftest.er1 >conftest.err
79239 rm -f conftest.er1
79240 cat conftest.err >&5
79241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79242 (exit $ac_status); } &&
79243 { ac_try='test -z "$ac_c_werror_flag"
79244 || test ! -s conftest.err'
79245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79246 (eval $ac_try) 2>&5
79247 ac_status=$?
79248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79249 (exit $ac_status); }; } &&
79250 { ac_try='test -s conftest$ac_exeext'
79251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79252 (eval $ac_try) 2>&5
79253 ac_status=$?
79254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79255 (exit $ac_status); }; }; then
79256 eval "$as_ac_var=yes"
79257 else
79258 echo "$as_me: failed program was:" >&5
79259 sed 's/^/| /' conftest.$ac_ext >&5
79261 eval "$as_ac_var=no"
79263 rm -f conftest.err conftest.$ac_objext \
79264 conftest$ac_exeext conftest.$ac_ext
79266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79268 if test `eval echo '${'$as_ac_var'}'` = yes; then
79269 cat >>confdefs.h <<_ACEOF
79270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79271 _ACEOF
79273 else
79274 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79276 done
79279 if test x$ac_cv_func_copysignl = x"yes"; then
79281 for ac_func in __signbitl
79283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79284 echo "$as_me:$LINENO: checking for $ac_func" >&5
79285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79286 if eval "test \"\${$as_ac_var+set}\" = set"; then
79287 echo $ECHO_N "(cached) $ECHO_C" >&6
79288 else
79289 if test x$gcc_no_link = xyes; then
79290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79292 { (exit 1); exit 1; }; }
79294 cat >conftest.$ac_ext <<_ACEOF
79295 /* confdefs.h. */
79296 _ACEOF
79297 cat confdefs.h >>conftest.$ac_ext
79298 cat >>conftest.$ac_ext <<_ACEOF
79299 /* end confdefs.h. */
79300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79302 #define $ac_func innocuous_$ac_func
79304 /* System header to define __stub macros and hopefully few prototypes,
79305 which can conflict with char $ac_func (); below.
79306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79307 <limits.h> exists even on freestanding compilers. */
79309 #ifdef __STDC__
79310 # include <limits.h>
79311 #else
79312 # include <assert.h>
79313 #endif
79315 #undef $ac_func
79317 /* Override any gcc2 internal prototype to avoid an error. */
79318 #ifdef __cplusplus
79319 extern "C"
79321 #endif
79322 /* We use char because int might match the return type of a gcc2
79323 builtin and then its argument prototype would still apply. */
79324 char $ac_func ();
79325 /* The GNU C library defines this for functions which it implements
79326 to always fail with ENOSYS. Some functions are actually named
79327 something starting with __ and the normal name is an alias. */
79328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79329 choke me
79330 #else
79331 char (*f) () = $ac_func;
79332 #endif
79333 #ifdef __cplusplus
79335 #endif
79338 main ()
79340 return f != $ac_func;
79342 return 0;
79344 _ACEOF
79345 rm -f conftest.$ac_objext conftest$ac_exeext
79346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79347 (eval $ac_link) 2>conftest.er1
79348 ac_status=$?
79349 grep -v '^ *+' conftest.er1 >conftest.err
79350 rm -f conftest.er1
79351 cat conftest.err >&5
79352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79353 (exit $ac_status); } &&
79354 { ac_try='test -z "$ac_c_werror_flag"
79355 || test ! -s conftest.err'
79356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79357 (eval $ac_try) 2>&5
79358 ac_status=$?
79359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79360 (exit $ac_status); }; } &&
79361 { ac_try='test -s conftest$ac_exeext'
79362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79363 (eval $ac_try) 2>&5
79364 ac_status=$?
79365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79366 (exit $ac_status); }; }; then
79367 eval "$as_ac_var=yes"
79368 else
79369 echo "$as_me: failed program was:" >&5
79370 sed 's/^/| /' conftest.$ac_ext >&5
79372 eval "$as_ac_var=no"
79374 rm -f conftest.err conftest.$ac_objext \
79375 conftest$ac_exeext conftest.$ac_ext
79377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79379 if test `eval echo '${'$as_ac_var'}'` = yes; then
79380 cat >>confdefs.h <<_ACEOF
79381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79382 _ACEOF
79384 else
79385 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79387 done
79391 # Used in libmath/Makefile.am.
79392 if test -n "$LIBMATHOBJS"; then
79393 need_libmath=yes
79397 cat >>confdefs.h <<\_ACEOF
79398 #define HAVE_COPYSIGN 1
79399 _ACEOF
79401 cat >>confdefs.h <<\_ACEOF
79402 #define HAVE_COPYSIGNF 1
79403 _ACEOF
79405 cat >>confdefs.h <<\_ACEOF
79406 #define HAVE_FINITEF 1
79407 _ACEOF
79409 cat >>confdefs.h <<\_ACEOF
79410 #define HAVE_FINITE 1
79411 _ACEOF
79413 cat >>confdefs.h <<\_ACEOF
79414 #define HAVE_FREXPF 1
79415 _ACEOF
79417 cat >>confdefs.h <<\_ACEOF
79418 #define HAVE_HYPOTF 1
79419 _ACEOF
79421 cat >>confdefs.h <<\_ACEOF
79422 #define HAVE_ISINF 1
79423 _ACEOF
79425 cat >>confdefs.h <<\_ACEOF
79426 #define HAVE_ISINFF 1
79427 _ACEOF
79429 cat >>confdefs.h <<\_ACEOF
79430 #define HAVE_ISNAN 1
79431 _ACEOF
79433 cat >>confdefs.h <<\_ACEOF
79434 #define HAVE_ISNANF 1
79435 _ACEOF
79437 if test x"long_double_math_on_this_cpu" = x"yes"; then
79438 cat >>confdefs.h <<\_ACEOF
79439 #define HAVE_FINITEL 1
79440 _ACEOF
79442 cat >>confdefs.h <<\_ACEOF
79443 #define HAVE_ISINFL 1
79444 _ACEOF
79446 cat >>confdefs.h <<\_ACEOF
79447 #define HAVE_ISNANL 1
79448 _ACEOF
79452 *-netware)
79461 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
79462 sys/types.h locale.h float.h inttypes.h
79464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79466 echo "$as_me:$LINENO: checking for $ac_header" >&5
79467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79469 echo $ECHO_N "(cached) $ECHO_C" >&6
79471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79473 else
79474 # Is the header compilable?
79475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79477 cat >conftest.$ac_ext <<_ACEOF
79478 /* confdefs.h. */
79479 _ACEOF
79480 cat confdefs.h >>conftest.$ac_ext
79481 cat >>conftest.$ac_ext <<_ACEOF
79482 /* end confdefs.h. */
79483 $ac_includes_default
79484 #include <$ac_header>
79485 _ACEOF
79486 rm -f conftest.$ac_objext
79487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79488 (eval $ac_compile) 2>conftest.er1
79489 ac_status=$?
79490 grep -v '^ *+' conftest.er1 >conftest.err
79491 rm -f conftest.er1
79492 cat conftest.err >&5
79493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79494 (exit $ac_status); } &&
79495 { ac_try='test -z "$ac_c_werror_flag"
79496 || test ! -s conftest.err'
79497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79498 (eval $ac_try) 2>&5
79499 ac_status=$?
79500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79501 (exit $ac_status); }; } &&
79502 { ac_try='test -s conftest.$ac_objext'
79503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79504 (eval $ac_try) 2>&5
79505 ac_status=$?
79506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79507 (exit $ac_status); }; }; then
79508 ac_header_compiler=yes
79509 else
79510 echo "$as_me: failed program was:" >&5
79511 sed 's/^/| /' conftest.$ac_ext >&5
79513 ac_header_compiler=no
79515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79517 echo "${ECHO_T}$ac_header_compiler" >&6
79519 # Is the header present?
79520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79522 cat >conftest.$ac_ext <<_ACEOF
79523 /* confdefs.h. */
79524 _ACEOF
79525 cat confdefs.h >>conftest.$ac_ext
79526 cat >>conftest.$ac_ext <<_ACEOF
79527 /* end confdefs.h. */
79528 #include <$ac_header>
79529 _ACEOF
79530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79532 ac_status=$?
79533 grep -v '^ *+' conftest.er1 >conftest.err
79534 rm -f conftest.er1
79535 cat conftest.err >&5
79536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79537 (exit $ac_status); } >/dev/null; then
79538 if test -s conftest.err; then
79539 ac_cpp_err=$ac_c_preproc_warn_flag
79540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79541 else
79542 ac_cpp_err=
79544 else
79545 ac_cpp_err=yes
79547 if test -z "$ac_cpp_err"; then
79548 ac_header_preproc=yes
79549 else
79550 echo "$as_me: failed program was:" >&5
79551 sed 's/^/| /' conftest.$ac_ext >&5
79553 ac_header_preproc=no
79555 rm -f conftest.err conftest.$ac_ext
79556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79557 echo "${ECHO_T}$ac_header_preproc" >&6
79559 # So? What about this header?
79560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79561 yes:no: )
79562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79566 ac_header_preproc=yes
79568 no:yes:* )
79569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79582 cat <<\_ASBOX
79583 ## ----------------------------------------- ##
79584 ## Report this to the package-unused lists. ##
79585 ## ----------------------------------------- ##
79586 _ASBOX
79588 sed "s/^/$as_me: WARNING: /" >&2
79590 esac
79591 echo "$as_me:$LINENO: checking for $ac_header" >&5
79592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79594 echo $ECHO_N "(cached) $ECHO_C" >&6
79595 else
79596 eval "$as_ac_Header=\$ac_header_preproc"
79598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79603 cat >>confdefs.h <<_ACEOF
79604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79605 _ACEOF
79609 done
79611 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79614 # If we're not using GNU ld, then there's no point in even trying these
79615 # tests. Check for that first. We should have already tested for gld
79616 # by now (in libtool), but require it now just to be safe...
79617 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79618 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79622 # The name set by libtool depends on the version of libtool. Shame on us
79623 # for depending on an impl detail, but c'est la vie. Older versions used
79624 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79625 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79626 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79627 # set (hence we're using an older libtool), then set it.
79628 if test x${with_gnu_ld+set} != xset; then
79629 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79630 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79631 with_gnu_ld=no
79632 else
79633 with_gnu_ld=$ac_cv_prog_gnu_ld
79637 # Start by getting the version number. I think the libtool test already
79638 # does some of this, but throws away the result.
79639 if test x"$with_gnu_ld" = x"yes"; then
79640 echo "$as_me:$LINENO: checking for ld version" >&5
79641 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79643 ldver=`$LD --version 2>/dev/null | head -1 | \
79644 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
79646 glibcxx_gnu_ld_version=`echo $ldver | \
79647 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79648 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79649 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79652 # Set --gc-sections.
79653 glibcxx_gcsections_min_ld=21602
79654 if test x"$with_gnu_ld" = x"yes" &&
79655 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79657 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
79658 # NB: This flag only works reliably after 2.16.1. Configure tests
79659 # for this are difficult, so hard wire a value that should work.
79661 # All these tests are for C++, but run with the "C" compiler driver.
79662 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
79663 ac_test_CFLAGS="${CFLAGS+set}"
79664 ac_save_CFLAGS="$CFLAGS"
79665 CFLAGS='-x c++ -Wl,--gc-sections'
79667 # Check for -Wl,--gc-sections
79668 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79669 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79670 if test x$gcc_no_link = xyes; then
79671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79673 { (exit 1); exit 1; }; }
79675 cat >conftest.$ac_ext <<_ACEOF
79676 /* confdefs.h. */
79677 _ACEOF
79678 cat confdefs.h >>conftest.$ac_ext
79679 cat >>conftest.$ac_ext <<_ACEOF
79680 /* end confdefs.h. */
79681 int one(void) { return 1; }
79682 int two(void) { return 2; }
79685 main ()
79687 two();
79689 return 0;
79691 _ACEOF
79692 rm -f conftest.$ac_objext conftest$ac_exeext
79693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79694 (eval $ac_link) 2>conftest.er1
79695 ac_status=$?
79696 grep -v '^ *+' conftest.er1 >conftest.err
79697 rm -f conftest.er1
79698 cat conftest.err >&5
79699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79700 (exit $ac_status); } &&
79701 { ac_try='test -z "$ac_c_werror_flag"
79702 || test ! -s conftest.err'
79703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79704 (eval $ac_try) 2>&5
79705 ac_status=$?
79706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79707 (exit $ac_status); }; } &&
79708 { ac_try='test -s conftest$ac_exeext'
79709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79710 (eval $ac_try) 2>&5
79711 ac_status=$?
79712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79713 (exit $ac_status); }; }; then
79714 ac_gcsections=yes
79715 else
79716 echo "$as_me: failed program was:" >&5
79717 sed 's/^/| /' conftest.$ac_ext >&5
79719 ac_gcsections=no
79721 rm -f conftest.err conftest.$ac_objext \
79722 conftest$ac_exeext conftest.$ac_ext
79723 if test "$ac_gcsections" = "yes"; then
79724 rm -f conftest.c
79725 touch conftest.c
79726 if $CC -c conftest.c; then
79727 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79728 grep "Warning: gc-sections option ignored" > /dev/null; then
79729 ac_gcsections=no
79732 rm -f conftest.c conftest.o conftest
79734 if test "$ac_gcsections" = "yes"; then
79735 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79737 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
79738 echo "${ECHO_T}$ac_gcsections" >&6
79740 if test "$ac_test_CFLAGS" = set; then
79741 CFLAGS="$ac_save_CFLAGS"
79742 else
79743 # this is the suspicious part
79744 CFLAGS=''
79748 # Set -z,relro.
79749 # Note this is only for shared objects.
79750 ac_ld_relro=no
79751 if test x"$with_gnu_ld" = x"yes"; then
79752 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79753 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79754 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79755 if test -n "$cxx_z_relo"; then
79756 OPT_LDFLAGS="-Wl,-z,relro"
79757 ac_ld_relro=yes
79759 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79760 echo "${ECHO_T}$ac_ld_relro" >&6
79763 # Set linker optimization flags.
79764 if test x"$with_gnu_ld" = x"yes"; then
79765 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79773 echo "$as_me:$LINENO: checking for main in -lm" >&5
79774 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79775 if test "${ac_cv_lib_m_main+set}" = set; then
79776 echo $ECHO_N "(cached) $ECHO_C" >&6
79777 else
79778 ac_check_lib_save_LIBS=$LIBS
79779 LIBS="-lm $LIBS"
79780 if test x$gcc_no_link = xyes; then
79781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79783 { (exit 1); exit 1; }; }
79785 cat >conftest.$ac_ext <<_ACEOF
79786 /* confdefs.h. */
79787 _ACEOF
79788 cat confdefs.h >>conftest.$ac_ext
79789 cat >>conftest.$ac_ext <<_ACEOF
79790 /* end confdefs.h. */
79794 main ()
79796 main ();
79798 return 0;
79800 _ACEOF
79801 rm -f conftest.$ac_objext conftest$ac_exeext
79802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79803 (eval $ac_link) 2>conftest.er1
79804 ac_status=$?
79805 grep -v '^ *+' conftest.er1 >conftest.err
79806 rm -f conftest.er1
79807 cat conftest.err >&5
79808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79809 (exit $ac_status); } &&
79810 { ac_try='test -z "$ac_c_werror_flag"
79811 || test ! -s conftest.err'
79812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79813 (eval $ac_try) 2>&5
79814 ac_status=$?
79815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79816 (exit $ac_status); }; } &&
79817 { ac_try='test -s conftest$ac_exeext'
79818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79819 (eval $ac_try) 2>&5
79820 ac_status=$?
79821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79822 (exit $ac_status); }; }; then
79823 ac_cv_lib_m_main=yes
79824 else
79825 echo "$as_me: failed program was:" >&5
79826 sed 's/^/| /' conftest.$ac_ext >&5
79828 ac_cv_lib_m_main=no
79830 rm -f conftest.err conftest.$ac_objext \
79831 conftest$ac_exeext conftest.$ac_ext
79832 LIBS=$ac_check_lib_save_LIBS
79834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79835 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79836 if test $ac_cv_lib_m_main = yes; then
79837 cat >>confdefs.h <<_ACEOF
79838 #define HAVE_LIBM 1
79839 _ACEOF
79841 LIBS="-lm $LIBS"
79846 for ac_func in copysignf
79848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79849 echo "$as_me:$LINENO: checking for $ac_func" >&5
79850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79851 if eval "test \"\${$as_ac_var+set}\" = set"; then
79852 echo $ECHO_N "(cached) $ECHO_C" >&6
79853 else
79854 if test x$gcc_no_link = xyes; then
79855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79857 { (exit 1); exit 1; }; }
79859 cat >conftest.$ac_ext <<_ACEOF
79860 /* confdefs.h. */
79861 _ACEOF
79862 cat confdefs.h >>conftest.$ac_ext
79863 cat >>conftest.$ac_ext <<_ACEOF
79864 /* end confdefs.h. */
79865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79867 #define $ac_func innocuous_$ac_func
79869 /* System header to define __stub macros and hopefully few prototypes,
79870 which can conflict with char $ac_func (); below.
79871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79872 <limits.h> exists even on freestanding compilers. */
79874 #ifdef __STDC__
79875 # include <limits.h>
79876 #else
79877 # include <assert.h>
79878 #endif
79880 #undef $ac_func
79882 /* Override any gcc2 internal prototype to avoid an error. */
79883 #ifdef __cplusplus
79884 extern "C"
79886 #endif
79887 /* We use char because int might match the return type of a gcc2
79888 builtin and then its argument prototype would still apply. */
79889 char $ac_func ();
79890 /* The GNU C library defines this for functions which it implements
79891 to always fail with ENOSYS. Some functions are actually named
79892 something starting with __ and the normal name is an alias. */
79893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79894 choke me
79895 #else
79896 char (*f) () = $ac_func;
79897 #endif
79898 #ifdef __cplusplus
79900 #endif
79903 main ()
79905 return f != $ac_func;
79907 return 0;
79909 _ACEOF
79910 rm -f conftest.$ac_objext conftest$ac_exeext
79911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79912 (eval $ac_link) 2>conftest.er1
79913 ac_status=$?
79914 grep -v '^ *+' conftest.er1 >conftest.err
79915 rm -f conftest.er1
79916 cat conftest.err >&5
79917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79918 (exit $ac_status); } &&
79919 { ac_try='test -z "$ac_c_werror_flag"
79920 || test ! -s conftest.err'
79921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79922 (eval $ac_try) 2>&5
79923 ac_status=$?
79924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79925 (exit $ac_status); }; } &&
79926 { ac_try='test -s conftest$ac_exeext'
79927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79928 (eval $ac_try) 2>&5
79929 ac_status=$?
79930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79931 (exit $ac_status); }; }; then
79932 eval "$as_ac_var=yes"
79933 else
79934 echo "$as_me: failed program was:" >&5
79935 sed 's/^/| /' conftest.$ac_ext >&5
79937 eval "$as_ac_var=no"
79939 rm -f conftest.err conftest.$ac_objext \
79940 conftest$ac_exeext conftest.$ac_ext
79942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79944 if test `eval echo '${'$as_ac_var'}'` = yes; then
79945 cat >>confdefs.h <<_ACEOF
79946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79947 _ACEOF
79949 else
79950 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79952 done
79956 for ac_func in __signbit
79958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79959 echo "$as_me:$LINENO: checking for $ac_func" >&5
79960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79961 if eval "test \"\${$as_ac_var+set}\" = set"; then
79962 echo $ECHO_N "(cached) $ECHO_C" >&6
79963 else
79964 if test x$gcc_no_link = xyes; then
79965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79967 { (exit 1); exit 1; }; }
79969 cat >conftest.$ac_ext <<_ACEOF
79970 /* confdefs.h. */
79971 _ACEOF
79972 cat confdefs.h >>conftest.$ac_ext
79973 cat >>conftest.$ac_ext <<_ACEOF
79974 /* end confdefs.h. */
79975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79977 #define $ac_func innocuous_$ac_func
79979 /* System header to define __stub macros and hopefully few prototypes,
79980 which can conflict with char $ac_func (); below.
79981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79982 <limits.h> exists even on freestanding compilers. */
79984 #ifdef __STDC__
79985 # include <limits.h>
79986 #else
79987 # include <assert.h>
79988 #endif
79990 #undef $ac_func
79992 /* Override any gcc2 internal prototype to avoid an error. */
79993 #ifdef __cplusplus
79994 extern "C"
79996 #endif
79997 /* We use char because int might match the return type of a gcc2
79998 builtin and then its argument prototype would still apply. */
79999 char $ac_func ();
80000 /* The GNU C library defines this for functions which it implements
80001 to always fail with ENOSYS. Some functions are actually named
80002 something starting with __ and the normal name is an alias. */
80003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80004 choke me
80005 #else
80006 char (*f) () = $ac_func;
80007 #endif
80008 #ifdef __cplusplus
80010 #endif
80013 main ()
80015 return f != $ac_func;
80017 return 0;
80019 _ACEOF
80020 rm -f conftest.$ac_objext conftest$ac_exeext
80021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80022 (eval $ac_link) 2>conftest.er1
80023 ac_status=$?
80024 grep -v '^ *+' conftest.er1 >conftest.err
80025 rm -f conftest.er1
80026 cat conftest.err >&5
80027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80028 (exit $ac_status); } &&
80029 { ac_try='test -z "$ac_c_werror_flag"
80030 || test ! -s conftest.err'
80031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80032 (eval $ac_try) 2>&5
80033 ac_status=$?
80034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80035 (exit $ac_status); }; } &&
80036 { ac_try='test -s conftest$ac_exeext'
80037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80038 (eval $ac_try) 2>&5
80039 ac_status=$?
80040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80041 (exit $ac_status); }; }; then
80042 eval "$as_ac_var=yes"
80043 else
80044 echo "$as_me: failed program was:" >&5
80045 sed 's/^/| /' conftest.$ac_ext >&5
80047 eval "$as_ac_var=no"
80049 rm -f conftest.err conftest.$ac_objext \
80050 conftest$ac_exeext conftest.$ac_ext
80052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80054 if test `eval echo '${'$as_ac_var'}'` = yes; then
80055 cat >>confdefs.h <<_ACEOF
80056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80057 _ACEOF
80059 else
80060 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80062 done
80066 for ac_func in __signbitf
80068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80069 echo "$as_me:$LINENO: checking for $ac_func" >&5
80070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80071 if eval "test \"\${$as_ac_var+set}\" = set"; then
80072 echo $ECHO_N "(cached) $ECHO_C" >&6
80073 else
80074 if test x$gcc_no_link = xyes; then
80075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80077 { (exit 1); exit 1; }; }
80079 cat >conftest.$ac_ext <<_ACEOF
80080 /* confdefs.h. */
80081 _ACEOF
80082 cat confdefs.h >>conftest.$ac_ext
80083 cat >>conftest.$ac_ext <<_ACEOF
80084 /* end confdefs.h. */
80085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80087 #define $ac_func innocuous_$ac_func
80089 /* System header to define __stub macros and hopefully few prototypes,
80090 which can conflict with char $ac_func (); below.
80091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80092 <limits.h> exists even on freestanding compilers. */
80094 #ifdef __STDC__
80095 # include <limits.h>
80096 #else
80097 # include <assert.h>
80098 #endif
80100 #undef $ac_func
80102 /* Override any gcc2 internal prototype to avoid an error. */
80103 #ifdef __cplusplus
80104 extern "C"
80106 #endif
80107 /* We use char because int might match the return type of a gcc2
80108 builtin and then its argument prototype would still apply. */
80109 char $ac_func ();
80110 /* The GNU C library defines this for functions which it implements
80111 to always fail with ENOSYS. Some functions are actually named
80112 something starting with __ and the normal name is an alias. */
80113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80114 choke me
80115 #else
80116 char (*f) () = $ac_func;
80117 #endif
80118 #ifdef __cplusplus
80120 #endif
80123 main ()
80125 return f != $ac_func;
80127 return 0;
80129 _ACEOF
80130 rm -f conftest.$ac_objext conftest$ac_exeext
80131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80132 (eval $ac_link) 2>conftest.er1
80133 ac_status=$?
80134 grep -v '^ *+' conftest.er1 >conftest.err
80135 rm -f conftest.er1
80136 cat conftest.err >&5
80137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80138 (exit $ac_status); } &&
80139 { ac_try='test -z "$ac_c_werror_flag"
80140 || test ! -s conftest.err'
80141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80142 (eval $ac_try) 2>&5
80143 ac_status=$?
80144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80145 (exit $ac_status); }; } &&
80146 { ac_try='test -s conftest$ac_exeext'
80147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80148 (eval $ac_try) 2>&5
80149 ac_status=$?
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); }; }; then
80152 eval "$as_ac_var=yes"
80153 else
80154 echo "$as_me: failed program was:" >&5
80155 sed 's/^/| /' conftest.$ac_ext >&5
80157 eval "$as_ac_var=no"
80159 rm -f conftest.err conftest.$ac_objext \
80160 conftest$ac_exeext conftest.$ac_ext
80162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80164 if test `eval echo '${'$as_ac_var'}'` = yes; then
80165 cat >>confdefs.h <<_ACEOF
80166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80167 _ACEOF
80169 else
80170 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80172 done
80175 if test x$ac_cv_func_copysignl = x"yes"; then
80177 for ac_func in __signbitl
80179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80180 echo "$as_me:$LINENO: checking for $ac_func" >&5
80181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80182 if eval "test \"\${$as_ac_var+set}\" = set"; then
80183 echo $ECHO_N "(cached) $ECHO_C" >&6
80184 else
80185 if test x$gcc_no_link = xyes; then
80186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80188 { (exit 1); exit 1; }; }
80190 cat >conftest.$ac_ext <<_ACEOF
80191 /* confdefs.h. */
80192 _ACEOF
80193 cat confdefs.h >>conftest.$ac_ext
80194 cat >>conftest.$ac_ext <<_ACEOF
80195 /* end confdefs.h. */
80196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80198 #define $ac_func innocuous_$ac_func
80200 /* System header to define __stub macros and hopefully few prototypes,
80201 which can conflict with char $ac_func (); below.
80202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80203 <limits.h> exists even on freestanding compilers. */
80205 #ifdef __STDC__
80206 # include <limits.h>
80207 #else
80208 # include <assert.h>
80209 #endif
80211 #undef $ac_func
80213 /* Override any gcc2 internal prototype to avoid an error. */
80214 #ifdef __cplusplus
80215 extern "C"
80217 #endif
80218 /* We use char because int might match the return type of a gcc2
80219 builtin and then its argument prototype would still apply. */
80220 char $ac_func ();
80221 /* The GNU C library defines this for functions which it implements
80222 to always fail with ENOSYS. Some functions are actually named
80223 something starting with __ and the normal name is an alias. */
80224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80225 choke me
80226 #else
80227 char (*f) () = $ac_func;
80228 #endif
80229 #ifdef __cplusplus
80231 #endif
80234 main ()
80236 return f != $ac_func;
80238 return 0;
80240 _ACEOF
80241 rm -f conftest.$ac_objext conftest$ac_exeext
80242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80243 (eval $ac_link) 2>conftest.er1
80244 ac_status=$?
80245 grep -v '^ *+' conftest.er1 >conftest.err
80246 rm -f conftest.er1
80247 cat conftest.err >&5
80248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80249 (exit $ac_status); } &&
80250 { ac_try='test -z "$ac_c_werror_flag"
80251 || test ! -s conftest.err'
80252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80253 (eval $ac_try) 2>&5
80254 ac_status=$?
80255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80256 (exit $ac_status); }; } &&
80257 { ac_try='test -s conftest$ac_exeext'
80258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80259 (eval $ac_try) 2>&5
80260 ac_status=$?
80261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80262 (exit $ac_status); }; }; then
80263 eval "$as_ac_var=yes"
80264 else
80265 echo "$as_me: failed program was:" >&5
80266 sed 's/^/| /' conftest.$ac_ext >&5
80268 eval "$as_ac_var=no"
80270 rm -f conftest.err conftest.$ac_objext \
80271 conftest$ac_exeext conftest.$ac_ext
80273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80275 if test `eval echo '${'$as_ac_var'}'` = yes; then
80276 cat >>confdefs.h <<_ACEOF
80277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80278 _ACEOF
80280 else
80281 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80283 done
80287 # Used in libmath/Makefile.am.
80288 if test -n "$LIBMATHOBJS"; then
80289 need_libmath=yes
80293 cat >>confdefs.h <<\_ACEOF
80294 #define HAVE_HYPOT 1
80295 _ACEOF
80297 cat >>confdefs.h <<\_ACEOF
80298 #define HAVE_ISINF 1
80299 _ACEOF
80301 cat >>confdefs.h <<\_ACEOF
80302 #define HAVE_ISNAN 1
80303 _ACEOF
80306 # For showmanyc_helper().
80309 for ac_header in sys/ioctl.h sys/filio.h
80311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80313 echo "$as_me:$LINENO: checking for $ac_header" >&5
80314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80316 echo $ECHO_N "(cached) $ECHO_C" >&6
80318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80320 else
80321 # Is the header compilable?
80322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80324 cat >conftest.$ac_ext <<_ACEOF
80325 /* confdefs.h. */
80326 _ACEOF
80327 cat confdefs.h >>conftest.$ac_ext
80328 cat >>conftest.$ac_ext <<_ACEOF
80329 /* end confdefs.h. */
80330 $ac_includes_default
80331 #include <$ac_header>
80332 _ACEOF
80333 rm -f conftest.$ac_objext
80334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80335 (eval $ac_compile) 2>conftest.er1
80336 ac_status=$?
80337 grep -v '^ *+' conftest.er1 >conftest.err
80338 rm -f conftest.er1
80339 cat conftest.err >&5
80340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80341 (exit $ac_status); } &&
80342 { ac_try='test -z "$ac_c_werror_flag"
80343 || test ! -s conftest.err'
80344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80345 (eval $ac_try) 2>&5
80346 ac_status=$?
80347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80348 (exit $ac_status); }; } &&
80349 { ac_try='test -s conftest.$ac_objext'
80350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80351 (eval $ac_try) 2>&5
80352 ac_status=$?
80353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80354 (exit $ac_status); }; }; then
80355 ac_header_compiler=yes
80356 else
80357 echo "$as_me: failed program was:" >&5
80358 sed 's/^/| /' conftest.$ac_ext >&5
80360 ac_header_compiler=no
80362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80364 echo "${ECHO_T}$ac_header_compiler" >&6
80366 # Is the header present?
80367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80369 cat >conftest.$ac_ext <<_ACEOF
80370 /* confdefs.h. */
80371 _ACEOF
80372 cat confdefs.h >>conftest.$ac_ext
80373 cat >>conftest.$ac_ext <<_ACEOF
80374 /* end confdefs.h. */
80375 #include <$ac_header>
80376 _ACEOF
80377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80379 ac_status=$?
80380 grep -v '^ *+' conftest.er1 >conftest.err
80381 rm -f conftest.er1
80382 cat conftest.err >&5
80383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80384 (exit $ac_status); } >/dev/null; then
80385 if test -s conftest.err; then
80386 ac_cpp_err=$ac_c_preproc_warn_flag
80387 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80388 else
80389 ac_cpp_err=
80391 else
80392 ac_cpp_err=yes
80394 if test -z "$ac_cpp_err"; then
80395 ac_header_preproc=yes
80396 else
80397 echo "$as_me: failed program was:" >&5
80398 sed 's/^/| /' conftest.$ac_ext >&5
80400 ac_header_preproc=no
80402 rm -f conftest.err conftest.$ac_ext
80403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80404 echo "${ECHO_T}$ac_header_preproc" >&6
80406 # So? What about this header?
80407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80408 yes:no: )
80409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80413 ac_header_preproc=yes
80415 no:yes:* )
80416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80429 cat <<\_ASBOX
80430 ## ----------------------------------------- ##
80431 ## Report this to the package-unused lists. ##
80432 ## ----------------------------------------- ##
80433 _ASBOX
80435 sed "s/^/$as_me: WARNING: /" >&2
80437 esac
80438 echo "$as_me:$LINENO: checking for $ac_header" >&5
80439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80441 echo $ECHO_N "(cached) $ECHO_C" >&6
80442 else
80443 eval "$as_ac_Header=\$ac_header_preproc"
80445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80450 cat >>confdefs.h <<_ACEOF
80451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80452 _ACEOF
80456 done
80459 echo "$as_me:$LINENO: checking for poll" >&5
80460 echo $ECHO_N "checking for poll... $ECHO_C" >&6
80461 if test "${glibcxx_cv_POLL+set}" = set; then
80462 echo $ECHO_N "(cached) $ECHO_C" >&6
80463 else
80465 if test x$gcc_no_link = xyes; then
80466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80468 { (exit 1); exit 1; }; }
80470 cat >conftest.$ac_ext <<_ACEOF
80471 /* confdefs.h. */
80472 _ACEOF
80473 cat confdefs.h >>conftest.$ac_ext
80474 cat >>conftest.$ac_ext <<_ACEOF
80475 /* end confdefs.h. */
80476 #include <poll.h>
80478 main ()
80480 struct pollfd pfd[1];
80481 pfd[0].events = POLLIN;
80482 poll(pfd, 1, 0);
80484 return 0;
80486 _ACEOF
80487 rm -f conftest.$ac_objext conftest$ac_exeext
80488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80489 (eval $ac_link) 2>conftest.er1
80490 ac_status=$?
80491 grep -v '^ *+' conftest.er1 >conftest.err
80492 rm -f conftest.er1
80493 cat conftest.err >&5
80494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80495 (exit $ac_status); } &&
80496 { ac_try='test -z "$ac_c_werror_flag"
80497 || test ! -s conftest.err'
80498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80499 (eval $ac_try) 2>&5
80500 ac_status=$?
80501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80502 (exit $ac_status); }; } &&
80503 { ac_try='test -s conftest$ac_exeext'
80504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80505 (eval $ac_try) 2>&5
80506 ac_status=$?
80507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80508 (exit $ac_status); }; }; then
80509 glibcxx_cv_POLL=yes
80510 else
80511 echo "$as_me: failed program was:" >&5
80512 sed 's/^/| /' conftest.$ac_ext >&5
80514 glibcxx_cv_POLL=no
80516 rm -f conftest.err conftest.$ac_objext \
80517 conftest$ac_exeext conftest.$ac_ext
80521 if test $glibcxx_cv_POLL = yes; then
80523 cat >>confdefs.h <<\_ACEOF
80524 #define HAVE_POLL 1
80525 _ACEOF
80528 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
80529 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
80532 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
80533 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
80534 if test "${glibcxx_cv_S_ISREG+set}" = set; then
80535 echo $ECHO_N "(cached) $ECHO_C" >&6
80536 else
80538 if test x$gcc_no_link = xyes; then
80539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80541 { (exit 1); exit 1; }; }
80543 cat >conftest.$ac_ext <<_ACEOF
80544 /* confdefs.h. */
80545 _ACEOF
80546 cat confdefs.h >>conftest.$ac_ext
80547 cat >>conftest.$ac_ext <<_ACEOF
80548 /* end confdefs.h. */
80549 #include <sys/stat.h>
80551 main ()
80553 struct stat buffer;
80554 fstat(0, &buffer);
80555 S_ISREG(buffer.st_mode);
80557 return 0;
80559 _ACEOF
80560 rm -f conftest.$ac_objext conftest$ac_exeext
80561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80562 (eval $ac_link) 2>conftest.er1
80563 ac_status=$?
80564 grep -v '^ *+' conftest.er1 >conftest.err
80565 rm -f conftest.er1
80566 cat conftest.err >&5
80567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80568 (exit $ac_status); } &&
80569 { ac_try='test -z "$ac_c_werror_flag"
80570 || test ! -s conftest.err'
80571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80572 (eval $ac_try) 2>&5
80573 ac_status=$?
80574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80575 (exit $ac_status); }; } &&
80576 { ac_try='test -s conftest$ac_exeext'
80577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80578 (eval $ac_try) 2>&5
80579 ac_status=$?
80580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80581 (exit $ac_status); }; }; then
80582 glibcxx_cv_S_ISREG=yes
80583 else
80584 echo "$as_me: failed program was:" >&5
80585 sed 's/^/| /' conftest.$ac_ext >&5
80587 glibcxx_cv_S_ISREG=no
80589 rm -f conftest.err conftest.$ac_objext \
80590 conftest$ac_exeext conftest.$ac_ext
80594 if test "${glibcxx_cv_S_IFREG+set}" = set; then
80595 echo $ECHO_N "(cached) $ECHO_C" >&6
80596 else
80598 if test x$gcc_no_link = xyes; then
80599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80601 { (exit 1); exit 1; }; }
80603 cat >conftest.$ac_ext <<_ACEOF
80604 /* confdefs.h. */
80605 _ACEOF
80606 cat confdefs.h >>conftest.$ac_ext
80607 cat >>conftest.$ac_ext <<_ACEOF
80608 /* end confdefs.h. */
80609 #include <sys/stat.h>
80611 main ()
80613 struct stat buffer;
80614 fstat(0, &buffer);
80615 S_IFREG & buffer.st_mode;
80617 return 0;
80619 _ACEOF
80620 rm -f conftest.$ac_objext conftest$ac_exeext
80621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80622 (eval $ac_link) 2>conftest.er1
80623 ac_status=$?
80624 grep -v '^ *+' conftest.er1 >conftest.err
80625 rm -f conftest.er1
80626 cat conftest.err >&5
80627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80628 (exit $ac_status); } &&
80629 { ac_try='test -z "$ac_c_werror_flag"
80630 || test ! -s conftest.err'
80631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80632 (eval $ac_try) 2>&5
80633 ac_status=$?
80634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80635 (exit $ac_status); }; } &&
80636 { ac_try='test -s conftest$ac_exeext'
80637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80638 (eval $ac_try) 2>&5
80639 ac_status=$?
80640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80641 (exit $ac_status); }; }; then
80642 glibcxx_cv_S_IFREG=yes
80643 else
80644 echo "$as_me: failed program was:" >&5
80645 sed 's/^/| /' conftest.$ac_ext >&5
80647 glibcxx_cv_S_IFREG=no
80649 rm -f conftest.err conftest.$ac_objext \
80650 conftest$ac_exeext conftest.$ac_ext
80654 res=no
80655 if test $glibcxx_cv_S_ISREG = yes; then
80657 cat >>confdefs.h <<\_ACEOF
80658 #define HAVE_S_ISREG 1
80659 _ACEOF
80661 res=S_ISREG
80662 elif test $glibcxx_cv_S_IFREG = yes; then
80664 cat >>confdefs.h <<\_ACEOF
80665 #define HAVE_S_IFREG 1
80666 _ACEOF
80668 res=S_IFREG
80670 echo "$as_me:$LINENO: result: $res" >&5
80671 echo "${ECHO_T}$res" >&6
80674 # For xsputn_2().
80676 for ac_header in sys/uio.h
80678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80680 echo "$as_me:$LINENO: checking for $ac_header" >&5
80681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80683 echo $ECHO_N "(cached) $ECHO_C" >&6
80685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80687 else
80688 # Is the header compilable?
80689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80691 cat >conftest.$ac_ext <<_ACEOF
80692 /* confdefs.h. */
80693 _ACEOF
80694 cat confdefs.h >>conftest.$ac_ext
80695 cat >>conftest.$ac_ext <<_ACEOF
80696 /* end confdefs.h. */
80697 $ac_includes_default
80698 #include <$ac_header>
80699 _ACEOF
80700 rm -f conftest.$ac_objext
80701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80702 (eval $ac_compile) 2>conftest.er1
80703 ac_status=$?
80704 grep -v '^ *+' conftest.er1 >conftest.err
80705 rm -f conftest.er1
80706 cat conftest.err >&5
80707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80708 (exit $ac_status); } &&
80709 { ac_try='test -z "$ac_c_werror_flag"
80710 || test ! -s conftest.err'
80711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80712 (eval $ac_try) 2>&5
80713 ac_status=$?
80714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80715 (exit $ac_status); }; } &&
80716 { ac_try='test -s conftest.$ac_objext'
80717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80718 (eval $ac_try) 2>&5
80719 ac_status=$?
80720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80721 (exit $ac_status); }; }; then
80722 ac_header_compiler=yes
80723 else
80724 echo "$as_me: failed program was:" >&5
80725 sed 's/^/| /' conftest.$ac_ext >&5
80727 ac_header_compiler=no
80729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80731 echo "${ECHO_T}$ac_header_compiler" >&6
80733 # Is the header present?
80734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80736 cat >conftest.$ac_ext <<_ACEOF
80737 /* confdefs.h. */
80738 _ACEOF
80739 cat confdefs.h >>conftest.$ac_ext
80740 cat >>conftest.$ac_ext <<_ACEOF
80741 /* end confdefs.h. */
80742 #include <$ac_header>
80743 _ACEOF
80744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80746 ac_status=$?
80747 grep -v '^ *+' conftest.er1 >conftest.err
80748 rm -f conftest.er1
80749 cat conftest.err >&5
80750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80751 (exit $ac_status); } >/dev/null; then
80752 if test -s conftest.err; then
80753 ac_cpp_err=$ac_c_preproc_warn_flag
80754 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80755 else
80756 ac_cpp_err=
80758 else
80759 ac_cpp_err=yes
80761 if test -z "$ac_cpp_err"; then
80762 ac_header_preproc=yes
80763 else
80764 echo "$as_me: failed program was:" >&5
80765 sed 's/^/| /' conftest.$ac_ext >&5
80767 ac_header_preproc=no
80769 rm -f conftest.err conftest.$ac_ext
80770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80771 echo "${ECHO_T}$ac_header_preproc" >&6
80773 # So? What about this header?
80774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80775 yes:no: )
80776 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80777 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80779 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80780 ac_header_preproc=yes
80782 no:yes:* )
80783 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80784 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80785 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80786 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80787 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80788 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80789 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80790 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80792 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80793 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80794 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80796 cat <<\_ASBOX
80797 ## ----------------------------------------- ##
80798 ## Report this to the package-unused lists. ##
80799 ## ----------------------------------------- ##
80800 _ASBOX
80802 sed "s/^/$as_me: WARNING: /" >&2
80804 esac
80805 echo "$as_me:$LINENO: checking for $ac_header" >&5
80806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80808 echo $ECHO_N "(cached) $ECHO_C" >&6
80809 else
80810 eval "$as_ac_Header=\$ac_header_preproc"
80812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80817 cat >>confdefs.h <<_ACEOF
80818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80819 _ACEOF
80823 done
80826 echo "$as_me:$LINENO: checking for writev" >&5
80827 echo $ECHO_N "checking for writev... $ECHO_C" >&6
80828 if test "${glibcxx_cv_WRITEV+set}" = set; then
80829 echo $ECHO_N "(cached) $ECHO_C" >&6
80830 else
80832 if test x$gcc_no_link = xyes; then
80833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80835 { (exit 1); exit 1; }; }
80837 cat >conftest.$ac_ext <<_ACEOF
80838 /* confdefs.h. */
80839 _ACEOF
80840 cat confdefs.h >>conftest.$ac_ext
80841 cat >>conftest.$ac_ext <<_ACEOF
80842 /* end confdefs.h. */
80843 #include <sys/uio.h>
80845 main ()
80847 struct iovec iov[2];
80848 writev(0, iov, 0);
80850 return 0;
80852 _ACEOF
80853 rm -f conftest.$ac_objext conftest$ac_exeext
80854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80855 (eval $ac_link) 2>conftest.er1
80856 ac_status=$?
80857 grep -v '^ *+' conftest.er1 >conftest.err
80858 rm -f conftest.er1
80859 cat conftest.err >&5
80860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80861 (exit $ac_status); } &&
80862 { ac_try='test -z "$ac_c_werror_flag"
80863 || test ! -s conftest.err'
80864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80865 (eval $ac_try) 2>&5
80866 ac_status=$?
80867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80868 (exit $ac_status); }; } &&
80869 { ac_try='test -s conftest$ac_exeext'
80870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80871 (eval $ac_try) 2>&5
80872 ac_status=$?
80873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80874 (exit $ac_status); }; }; then
80875 glibcxx_cv_WRITEV=yes
80876 else
80877 echo "$as_me: failed program was:" >&5
80878 sed 's/^/| /' conftest.$ac_ext >&5
80880 glibcxx_cv_WRITEV=no
80882 rm -f conftest.err conftest.$ac_objext \
80883 conftest$ac_exeext conftest.$ac_ext
80887 if test $glibcxx_cv_WRITEV = yes; then
80889 cat >>confdefs.h <<\_ACEOF
80890 #define HAVE_WRITEV 1
80891 _ACEOF
80894 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
80895 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
80898 *-qnx6.1* | *-qnx6.2*)
80899 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80902 # If we're not using GNU ld, then there's no point in even trying these
80903 # tests. Check for that first. We should have already tested for gld
80904 # by now (in libtool), but require it now just to be safe...
80905 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80906 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80910 # The name set by libtool depends on the version of libtool. Shame on us
80911 # for depending on an impl detail, but c'est la vie. Older versions used
80912 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80913 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80914 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80915 # set (hence we're using an older libtool), then set it.
80916 if test x${with_gnu_ld+set} != xset; then
80917 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80918 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80919 with_gnu_ld=no
80920 else
80921 with_gnu_ld=$ac_cv_prog_gnu_ld
80925 # Start by getting the version number. I think the libtool test already
80926 # does some of this, but throws away the result.
80927 if test x"$with_gnu_ld" = x"yes"; then
80928 echo "$as_me:$LINENO: checking for ld version" >&5
80929 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80931 ldver=`$LD --version 2>/dev/null | head -1 | \
80932 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
80934 glibcxx_gnu_ld_version=`echo $ldver | \
80935 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80936 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80937 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80940 # Set --gc-sections.
80941 glibcxx_gcsections_min_ld=21602
80942 if test x"$with_gnu_ld" = x"yes" &&
80943 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80945 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
80946 # NB: This flag only works reliably after 2.16.1. Configure tests
80947 # for this are difficult, so hard wire a value that should work.
80949 # All these tests are for C++, but run with the "C" compiler driver.
80950 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
80951 ac_test_CFLAGS="${CFLAGS+set}"
80952 ac_save_CFLAGS="$CFLAGS"
80953 CFLAGS='-x c++ -Wl,--gc-sections'
80955 # Check for -Wl,--gc-sections
80956 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80957 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80958 if test x$gcc_no_link = xyes; then
80959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80961 { (exit 1); exit 1; }; }
80963 cat >conftest.$ac_ext <<_ACEOF
80964 /* confdefs.h. */
80965 _ACEOF
80966 cat confdefs.h >>conftest.$ac_ext
80967 cat >>conftest.$ac_ext <<_ACEOF
80968 /* end confdefs.h. */
80969 int one(void) { return 1; }
80970 int two(void) { return 2; }
80973 main ()
80975 two();
80977 return 0;
80979 _ACEOF
80980 rm -f conftest.$ac_objext conftest$ac_exeext
80981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80982 (eval $ac_link) 2>conftest.er1
80983 ac_status=$?
80984 grep -v '^ *+' conftest.er1 >conftest.err
80985 rm -f conftest.er1
80986 cat conftest.err >&5
80987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80988 (exit $ac_status); } &&
80989 { ac_try='test -z "$ac_c_werror_flag"
80990 || test ! -s conftest.err'
80991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80992 (eval $ac_try) 2>&5
80993 ac_status=$?
80994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80995 (exit $ac_status); }; } &&
80996 { ac_try='test -s conftest$ac_exeext'
80997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80998 (eval $ac_try) 2>&5
80999 ac_status=$?
81000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81001 (exit $ac_status); }; }; then
81002 ac_gcsections=yes
81003 else
81004 echo "$as_me: failed program was:" >&5
81005 sed 's/^/| /' conftest.$ac_ext >&5
81007 ac_gcsections=no
81009 rm -f conftest.err conftest.$ac_objext \
81010 conftest$ac_exeext conftest.$ac_ext
81011 if test "$ac_gcsections" = "yes"; then
81012 rm -f conftest.c
81013 touch conftest.c
81014 if $CC -c conftest.c; then
81015 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81016 grep "Warning: gc-sections option ignored" > /dev/null; then
81017 ac_gcsections=no
81020 rm -f conftest.c conftest.o conftest
81022 if test "$ac_gcsections" = "yes"; then
81023 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81025 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81026 echo "${ECHO_T}$ac_gcsections" >&6
81028 if test "$ac_test_CFLAGS" = set; then
81029 CFLAGS="$ac_save_CFLAGS"
81030 else
81031 # this is the suspicious part
81032 CFLAGS=''
81036 # Set -z,relro.
81037 # Note this is only for shared objects.
81038 ac_ld_relro=no
81039 if test x"$with_gnu_ld" = x"yes"; then
81040 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81041 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81042 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81043 if test -n "$cxx_z_relo"; then
81044 OPT_LDFLAGS="-Wl,-z,relro"
81045 ac_ld_relro=yes
81047 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81048 echo "${ECHO_T}$ac_ld_relro" >&6
81051 # Set linker optimization flags.
81052 if test x"$with_gnu_ld" = x"yes"; then
81053 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81061 echo "$as_me:$LINENO: checking for main in -lm" >&5
81062 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81063 if test "${ac_cv_lib_m_main+set}" = set; then
81064 echo $ECHO_N "(cached) $ECHO_C" >&6
81065 else
81066 ac_check_lib_save_LIBS=$LIBS
81067 LIBS="-lm $LIBS"
81068 if test x$gcc_no_link = xyes; then
81069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81071 { (exit 1); exit 1; }; }
81073 cat >conftest.$ac_ext <<_ACEOF
81074 /* confdefs.h. */
81075 _ACEOF
81076 cat confdefs.h >>conftest.$ac_ext
81077 cat >>conftest.$ac_ext <<_ACEOF
81078 /* end confdefs.h. */
81082 main ()
81084 main ();
81086 return 0;
81088 _ACEOF
81089 rm -f conftest.$ac_objext conftest$ac_exeext
81090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81091 (eval $ac_link) 2>conftest.er1
81092 ac_status=$?
81093 grep -v '^ *+' conftest.er1 >conftest.err
81094 rm -f conftest.er1
81095 cat conftest.err >&5
81096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81097 (exit $ac_status); } &&
81098 { ac_try='test -z "$ac_c_werror_flag"
81099 || test ! -s conftest.err'
81100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81101 (eval $ac_try) 2>&5
81102 ac_status=$?
81103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81104 (exit $ac_status); }; } &&
81105 { ac_try='test -s conftest$ac_exeext'
81106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81107 (eval $ac_try) 2>&5
81108 ac_status=$?
81109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81110 (exit $ac_status); }; }; then
81111 ac_cv_lib_m_main=yes
81112 else
81113 echo "$as_me: failed program was:" >&5
81114 sed 's/^/| /' conftest.$ac_ext >&5
81116 ac_cv_lib_m_main=no
81118 rm -f conftest.err conftest.$ac_objext \
81119 conftest$ac_exeext conftest.$ac_ext
81120 LIBS=$ac_check_lib_save_LIBS
81122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81123 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81124 if test $ac_cv_lib_m_main = yes; then
81125 cat >>confdefs.h <<_ACEOF
81126 #define HAVE_LIBM 1
81127 _ACEOF
81129 LIBS="-lm $LIBS"
81134 for ac_func in copysignf
81136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81137 echo "$as_me:$LINENO: checking for $ac_func" >&5
81138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81139 if eval "test \"\${$as_ac_var+set}\" = set"; then
81140 echo $ECHO_N "(cached) $ECHO_C" >&6
81141 else
81142 if test x$gcc_no_link = xyes; then
81143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81145 { (exit 1); exit 1; }; }
81147 cat >conftest.$ac_ext <<_ACEOF
81148 /* confdefs.h. */
81149 _ACEOF
81150 cat confdefs.h >>conftest.$ac_ext
81151 cat >>conftest.$ac_ext <<_ACEOF
81152 /* end confdefs.h. */
81153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81155 #define $ac_func innocuous_$ac_func
81157 /* System header to define __stub macros and hopefully few prototypes,
81158 which can conflict with char $ac_func (); below.
81159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81160 <limits.h> exists even on freestanding compilers. */
81162 #ifdef __STDC__
81163 # include <limits.h>
81164 #else
81165 # include <assert.h>
81166 #endif
81168 #undef $ac_func
81170 /* Override any gcc2 internal prototype to avoid an error. */
81171 #ifdef __cplusplus
81172 extern "C"
81174 #endif
81175 /* We use char because int might match the return type of a gcc2
81176 builtin and then its argument prototype would still apply. */
81177 char $ac_func ();
81178 /* The GNU C library defines this for functions which it implements
81179 to always fail with ENOSYS. Some functions are actually named
81180 something starting with __ and the normal name is an alias. */
81181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81182 choke me
81183 #else
81184 char (*f) () = $ac_func;
81185 #endif
81186 #ifdef __cplusplus
81188 #endif
81191 main ()
81193 return f != $ac_func;
81195 return 0;
81197 _ACEOF
81198 rm -f conftest.$ac_objext conftest$ac_exeext
81199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81200 (eval $ac_link) 2>conftest.er1
81201 ac_status=$?
81202 grep -v '^ *+' conftest.er1 >conftest.err
81203 rm -f conftest.er1
81204 cat conftest.err >&5
81205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81206 (exit $ac_status); } &&
81207 { ac_try='test -z "$ac_c_werror_flag"
81208 || test ! -s conftest.err'
81209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81210 (eval $ac_try) 2>&5
81211 ac_status=$?
81212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81213 (exit $ac_status); }; } &&
81214 { ac_try='test -s conftest$ac_exeext'
81215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81216 (eval $ac_try) 2>&5
81217 ac_status=$?
81218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81219 (exit $ac_status); }; }; then
81220 eval "$as_ac_var=yes"
81221 else
81222 echo "$as_me: failed program was:" >&5
81223 sed 's/^/| /' conftest.$ac_ext >&5
81225 eval "$as_ac_var=no"
81227 rm -f conftest.err conftest.$ac_objext \
81228 conftest$ac_exeext conftest.$ac_ext
81230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81232 if test `eval echo '${'$as_ac_var'}'` = yes; then
81233 cat >>confdefs.h <<_ACEOF
81234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81235 _ACEOF
81237 else
81238 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81240 done
81244 for ac_func in __signbit
81246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81247 echo "$as_me:$LINENO: checking for $ac_func" >&5
81248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81249 if eval "test \"\${$as_ac_var+set}\" = set"; then
81250 echo $ECHO_N "(cached) $ECHO_C" >&6
81251 else
81252 if test x$gcc_no_link = xyes; then
81253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81255 { (exit 1); exit 1; }; }
81257 cat >conftest.$ac_ext <<_ACEOF
81258 /* confdefs.h. */
81259 _ACEOF
81260 cat confdefs.h >>conftest.$ac_ext
81261 cat >>conftest.$ac_ext <<_ACEOF
81262 /* end confdefs.h. */
81263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81265 #define $ac_func innocuous_$ac_func
81267 /* System header to define __stub macros and hopefully few prototypes,
81268 which can conflict with char $ac_func (); below.
81269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81270 <limits.h> exists even on freestanding compilers. */
81272 #ifdef __STDC__
81273 # include <limits.h>
81274 #else
81275 # include <assert.h>
81276 #endif
81278 #undef $ac_func
81280 /* Override any gcc2 internal prototype to avoid an error. */
81281 #ifdef __cplusplus
81282 extern "C"
81284 #endif
81285 /* We use char because int might match the return type of a gcc2
81286 builtin and then its argument prototype would still apply. */
81287 char $ac_func ();
81288 /* The GNU C library defines this for functions which it implements
81289 to always fail with ENOSYS. Some functions are actually named
81290 something starting with __ and the normal name is an alias. */
81291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81292 choke me
81293 #else
81294 char (*f) () = $ac_func;
81295 #endif
81296 #ifdef __cplusplus
81298 #endif
81301 main ()
81303 return f != $ac_func;
81305 return 0;
81307 _ACEOF
81308 rm -f conftest.$ac_objext conftest$ac_exeext
81309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81310 (eval $ac_link) 2>conftest.er1
81311 ac_status=$?
81312 grep -v '^ *+' conftest.er1 >conftest.err
81313 rm -f conftest.er1
81314 cat conftest.err >&5
81315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81316 (exit $ac_status); } &&
81317 { ac_try='test -z "$ac_c_werror_flag"
81318 || test ! -s conftest.err'
81319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81320 (eval $ac_try) 2>&5
81321 ac_status=$?
81322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81323 (exit $ac_status); }; } &&
81324 { ac_try='test -s conftest$ac_exeext'
81325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81326 (eval $ac_try) 2>&5
81327 ac_status=$?
81328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81329 (exit $ac_status); }; }; then
81330 eval "$as_ac_var=yes"
81331 else
81332 echo "$as_me: failed program was:" >&5
81333 sed 's/^/| /' conftest.$ac_ext >&5
81335 eval "$as_ac_var=no"
81337 rm -f conftest.err conftest.$ac_objext \
81338 conftest$ac_exeext conftest.$ac_ext
81340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81342 if test `eval echo '${'$as_ac_var'}'` = yes; then
81343 cat >>confdefs.h <<_ACEOF
81344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81345 _ACEOF
81347 else
81348 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81350 done
81354 for ac_func in __signbitf
81356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81357 echo "$as_me:$LINENO: checking for $ac_func" >&5
81358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81359 if eval "test \"\${$as_ac_var+set}\" = set"; then
81360 echo $ECHO_N "(cached) $ECHO_C" >&6
81361 else
81362 if test x$gcc_no_link = xyes; then
81363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81365 { (exit 1); exit 1; }; }
81367 cat >conftest.$ac_ext <<_ACEOF
81368 /* confdefs.h. */
81369 _ACEOF
81370 cat confdefs.h >>conftest.$ac_ext
81371 cat >>conftest.$ac_ext <<_ACEOF
81372 /* end confdefs.h. */
81373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81375 #define $ac_func innocuous_$ac_func
81377 /* System header to define __stub macros and hopefully few prototypes,
81378 which can conflict with char $ac_func (); below.
81379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81380 <limits.h> exists even on freestanding compilers. */
81382 #ifdef __STDC__
81383 # include <limits.h>
81384 #else
81385 # include <assert.h>
81386 #endif
81388 #undef $ac_func
81390 /* Override any gcc2 internal prototype to avoid an error. */
81391 #ifdef __cplusplus
81392 extern "C"
81394 #endif
81395 /* We use char because int might match the return type of a gcc2
81396 builtin and then its argument prototype would still apply. */
81397 char $ac_func ();
81398 /* The GNU C library defines this for functions which it implements
81399 to always fail with ENOSYS. Some functions are actually named
81400 something starting with __ and the normal name is an alias. */
81401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81402 choke me
81403 #else
81404 char (*f) () = $ac_func;
81405 #endif
81406 #ifdef __cplusplus
81408 #endif
81411 main ()
81413 return f != $ac_func;
81415 return 0;
81417 _ACEOF
81418 rm -f conftest.$ac_objext conftest$ac_exeext
81419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81420 (eval $ac_link) 2>conftest.er1
81421 ac_status=$?
81422 grep -v '^ *+' conftest.er1 >conftest.err
81423 rm -f conftest.er1
81424 cat conftest.err >&5
81425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81426 (exit $ac_status); } &&
81427 { ac_try='test -z "$ac_c_werror_flag"
81428 || test ! -s conftest.err'
81429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81430 (eval $ac_try) 2>&5
81431 ac_status=$?
81432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433 (exit $ac_status); }; } &&
81434 { ac_try='test -s conftest$ac_exeext'
81435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81436 (eval $ac_try) 2>&5
81437 ac_status=$?
81438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439 (exit $ac_status); }; }; then
81440 eval "$as_ac_var=yes"
81441 else
81442 echo "$as_me: failed program was:" >&5
81443 sed 's/^/| /' conftest.$ac_ext >&5
81445 eval "$as_ac_var=no"
81447 rm -f conftest.err conftest.$ac_objext \
81448 conftest$ac_exeext conftest.$ac_ext
81450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81452 if test `eval echo '${'$as_ac_var'}'` = yes; then
81453 cat >>confdefs.h <<_ACEOF
81454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81455 _ACEOF
81457 else
81458 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81460 done
81463 if test x$ac_cv_func_copysignl = x"yes"; then
81465 for ac_func in __signbitl
81467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81468 echo "$as_me:$LINENO: checking for $ac_func" >&5
81469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81470 if eval "test \"\${$as_ac_var+set}\" = set"; then
81471 echo $ECHO_N "(cached) $ECHO_C" >&6
81472 else
81473 if test x$gcc_no_link = xyes; then
81474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81476 { (exit 1); exit 1; }; }
81478 cat >conftest.$ac_ext <<_ACEOF
81479 /* confdefs.h. */
81480 _ACEOF
81481 cat confdefs.h >>conftest.$ac_ext
81482 cat >>conftest.$ac_ext <<_ACEOF
81483 /* end confdefs.h. */
81484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81486 #define $ac_func innocuous_$ac_func
81488 /* System header to define __stub macros and hopefully few prototypes,
81489 which can conflict with char $ac_func (); below.
81490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81491 <limits.h> exists even on freestanding compilers. */
81493 #ifdef __STDC__
81494 # include <limits.h>
81495 #else
81496 # include <assert.h>
81497 #endif
81499 #undef $ac_func
81501 /* Override any gcc2 internal prototype to avoid an error. */
81502 #ifdef __cplusplus
81503 extern "C"
81505 #endif
81506 /* We use char because int might match the return type of a gcc2
81507 builtin and then its argument prototype would still apply. */
81508 char $ac_func ();
81509 /* The GNU C library defines this for functions which it implements
81510 to always fail with ENOSYS. Some functions are actually named
81511 something starting with __ and the normal name is an alias. */
81512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81513 choke me
81514 #else
81515 char (*f) () = $ac_func;
81516 #endif
81517 #ifdef __cplusplus
81519 #endif
81522 main ()
81524 return f != $ac_func;
81526 return 0;
81528 _ACEOF
81529 rm -f conftest.$ac_objext conftest$ac_exeext
81530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81531 (eval $ac_link) 2>conftest.er1
81532 ac_status=$?
81533 grep -v '^ *+' conftest.er1 >conftest.err
81534 rm -f conftest.er1
81535 cat conftest.err >&5
81536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537 (exit $ac_status); } &&
81538 { ac_try='test -z "$ac_c_werror_flag"
81539 || test ! -s conftest.err'
81540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81541 (eval $ac_try) 2>&5
81542 ac_status=$?
81543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81544 (exit $ac_status); }; } &&
81545 { ac_try='test -s conftest$ac_exeext'
81546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81547 (eval $ac_try) 2>&5
81548 ac_status=$?
81549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81550 (exit $ac_status); }; }; then
81551 eval "$as_ac_var=yes"
81552 else
81553 echo "$as_me: failed program was:" >&5
81554 sed 's/^/| /' conftest.$ac_ext >&5
81556 eval "$as_ac_var=no"
81558 rm -f conftest.err conftest.$ac_objext \
81559 conftest$ac_exeext conftest.$ac_ext
81561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81563 if test `eval echo '${'$as_ac_var'}'` = yes; then
81564 cat >>confdefs.h <<_ACEOF
81565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81566 _ACEOF
81568 else
81569 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81571 done
81575 # Used in libmath/Makefile.am.
81576 if test -n "$LIBMATHOBJS"; then
81577 need_libmath=yes
81581 cat >>confdefs.h <<\_ACEOF
81582 #define HAVE_COSF 1
81583 _ACEOF
81585 cat >>confdefs.h <<\_ACEOF
81586 #define HAVE_COSL 1
81587 _ACEOF
81589 cat >>confdefs.h <<\_ACEOF
81590 #define HAVE_COSHF 1
81591 _ACEOF
81593 cat >>confdefs.h <<\_ACEOF
81594 #define HAVE_COSHL 1
81595 _ACEOF
81597 cat >>confdefs.h <<\_ACEOF
81598 #define HAVE_LOGF 1
81599 _ACEOF
81601 cat >>confdefs.h <<\_ACEOF
81602 #define HAVE_LOGL 1
81603 _ACEOF
81605 cat >>confdefs.h <<\_ACEOF
81606 #define HAVE_LOG10F 1
81607 _ACEOF
81609 cat >>confdefs.h <<\_ACEOF
81610 #define HAVE_LOG10L 1
81611 _ACEOF
81613 cat >>confdefs.h <<\_ACEOF
81614 #define HAVE_SINF 1
81615 _ACEOF
81617 cat >>confdefs.h <<\_ACEOF
81618 #define HAVE_SINL 1
81619 _ACEOF
81621 cat >>confdefs.h <<\_ACEOF
81622 #define HAVE_SINHF 1
81623 _ACEOF
81625 cat >>confdefs.h <<\_ACEOF
81626 #define HAVE_SINHL 1
81627 _ACEOF
81630 *-solaris*)
81631 case "$target" in
81632 # *-solaris2.5)
81633 # os_include_dir="os/solaris/solaris2.5"
81634 # ;;
81635 # *-solaris2.6)
81636 # os_include_dir="os/solaris/solaris2.6"
81637 # ;;
81638 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
81640 # If we're not using GNU ld, then there's no point in even trying these
81641 # tests. Check for that first. We should have already tested for gld
81642 # by now (in libtool), but require it now just to be safe...
81643 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81644 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81648 # The name set by libtool depends on the version of libtool. Shame on us
81649 # for depending on an impl detail, but c'est la vie. Older versions used
81650 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81651 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81652 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81653 # set (hence we're using an older libtool), then set it.
81654 if test x${with_gnu_ld+set} != xset; then
81655 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81656 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81657 with_gnu_ld=no
81658 else
81659 with_gnu_ld=$ac_cv_prog_gnu_ld
81663 # Start by getting the version number. I think the libtool test already
81664 # does some of this, but throws away the result.
81665 if test x"$with_gnu_ld" = x"yes"; then
81666 echo "$as_me:$LINENO: checking for ld version" >&5
81667 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81669 ldver=`$LD --version 2>/dev/null | head -1 | \
81670 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
81672 glibcxx_gnu_ld_version=`echo $ldver | \
81673 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81674 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81675 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81678 # Set --gc-sections.
81679 glibcxx_gcsections_min_ld=21602
81680 if test x"$with_gnu_ld" = x"yes" &&
81681 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81683 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81684 # NB: This flag only works reliably after 2.16.1. Configure tests
81685 # for this are difficult, so hard wire a value that should work.
81687 # All these tests are for C++, but run with the "C" compiler driver.
81688 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
81689 ac_test_CFLAGS="${CFLAGS+set}"
81690 ac_save_CFLAGS="$CFLAGS"
81691 CFLAGS='-x c++ -Wl,--gc-sections'
81693 # Check for -Wl,--gc-sections
81694 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81695 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81696 if test x$gcc_no_link = xyes; then
81697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81699 { (exit 1); exit 1; }; }
81701 cat >conftest.$ac_ext <<_ACEOF
81702 /* confdefs.h. */
81703 _ACEOF
81704 cat confdefs.h >>conftest.$ac_ext
81705 cat >>conftest.$ac_ext <<_ACEOF
81706 /* end confdefs.h. */
81707 int one(void) { return 1; }
81708 int two(void) { return 2; }
81711 main ()
81713 two();
81715 return 0;
81717 _ACEOF
81718 rm -f conftest.$ac_objext conftest$ac_exeext
81719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81720 (eval $ac_link) 2>conftest.er1
81721 ac_status=$?
81722 grep -v '^ *+' conftest.er1 >conftest.err
81723 rm -f conftest.er1
81724 cat conftest.err >&5
81725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81726 (exit $ac_status); } &&
81727 { ac_try='test -z "$ac_c_werror_flag"
81728 || test ! -s conftest.err'
81729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81730 (eval $ac_try) 2>&5
81731 ac_status=$?
81732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81733 (exit $ac_status); }; } &&
81734 { ac_try='test -s conftest$ac_exeext'
81735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81736 (eval $ac_try) 2>&5
81737 ac_status=$?
81738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81739 (exit $ac_status); }; }; then
81740 ac_gcsections=yes
81741 else
81742 echo "$as_me: failed program was:" >&5
81743 sed 's/^/| /' conftest.$ac_ext >&5
81745 ac_gcsections=no
81747 rm -f conftest.err conftest.$ac_objext \
81748 conftest$ac_exeext conftest.$ac_ext
81749 if test "$ac_gcsections" = "yes"; then
81750 rm -f conftest.c
81751 touch conftest.c
81752 if $CC -c conftest.c; then
81753 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81754 grep "Warning: gc-sections option ignored" > /dev/null; then
81755 ac_gcsections=no
81758 rm -f conftest.c conftest.o conftest
81760 if test "$ac_gcsections" = "yes"; then
81761 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81763 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81764 echo "${ECHO_T}$ac_gcsections" >&6
81766 if test "$ac_test_CFLAGS" = set; then
81767 CFLAGS="$ac_save_CFLAGS"
81768 else
81769 # this is the suspicious part
81770 CFLAGS=''
81774 # Set -z,relro.
81775 # Note this is only for shared objects.
81776 ac_ld_relro=no
81777 if test x"$with_gnu_ld" = x"yes"; then
81778 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81779 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81780 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81781 if test -n "$cxx_z_relo"; then
81782 OPT_LDFLAGS="-Wl,-z,relro"
81783 ac_ld_relro=yes
81785 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81786 echo "${ECHO_T}$ac_ld_relro" >&6
81789 # Set linker optimization flags.
81790 if test x"$with_gnu_ld" = x"yes"; then
81791 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81797 cat >>confdefs.h <<\_ACEOF
81798 #define HAVE_GETPAGESIZE 1
81799 _ACEOF
81801 cat >>confdefs.h <<\_ACEOF
81802 #define HAVE_SIGSETJMP 1
81803 _ACEOF
81805 cat >>confdefs.h <<\_ACEOF
81806 #define HAVE_MBSTATE_T 1
81807 _ACEOF
81809 cat >>confdefs.h <<\_ACEOF
81810 #define HAVE_POLL 1
81811 _ACEOF
81813 cat >>confdefs.h <<\_ACEOF
81814 #define HAVE_S_ISREG 1
81815 _ACEOF
81817 cat >>confdefs.h <<\_ACEOF
81818 #define HAVE_LC_MESSAGES 1
81819 _ACEOF
81821 cat >>confdefs.h <<\_ACEOF
81822 #define HAVE_FINITE 1
81823 _ACEOF
81825 cat >>confdefs.h <<\_ACEOF
81826 #define HAVE_FPCLASS 1
81827 _ACEOF
81829 cat >>confdefs.h <<\_ACEOF
81830 #define HAVE_GETPAGESIZE 1
81831 _ACEOF
81833 # All of the dependencies for wide character support are here, so
81834 # turn it on.
81835 cat >>confdefs.h <<\_ACEOF
81836 #define _GLIBCXX_USE_WCHAR_T 1
81837 _ACEOF
81839 # Are these tested for even when cross?
81840 cat >>confdefs.h <<\_ACEOF
81841 #define HAVE_FLOAT_H 1
81842 _ACEOF
81844 cat >>confdefs.h <<\_ACEOF
81845 #define HAVE_IEEEFP_H 1
81846 _ACEOF
81848 cat >>confdefs.h <<\_ACEOF
81849 #define HAVE_INTTYPES_H 1
81850 _ACEOF
81852 cat >>confdefs.h <<\_ACEOF
81853 #define HAVE_LOCALE_H 1
81854 _ACEOF
81856 cat >>confdefs.h <<\_ACEOF
81857 #define HAVE_NAN_H 1
81858 _ACEOF
81860 cat >>confdefs.h <<\_ACEOF
81861 #define HAVE_SYS_FILIO_H 1
81862 _ACEOF
81864 cat >>confdefs.h <<\_ACEOF
81865 #define HAVE_SYS_IOCTL_H 1
81866 _ACEOF
81868 cat >>confdefs.h <<\_ACEOF
81869 #define HAVE_SYS_ISA_DEFS_H 1
81870 _ACEOF
81872 cat >>confdefs.h <<\_ACEOF
81873 #define HAVE_SYS_RESOURCE_H 1
81874 _ACEOF
81876 cat >>confdefs.h <<\_ACEOF
81877 #define HAVE_SYS_TIME_H 1
81878 _ACEOF
81880 cat >>confdefs.h <<\_ACEOF
81881 #define HAVE_SYS_TYPES_H 1
81882 _ACEOF
81884 cat >>confdefs.h <<\_ACEOF
81885 #define HAVE_UNISTD_H 1
81886 _ACEOF
81888 cat >>confdefs.h <<\_ACEOF
81889 #define HAVE_WCHAR_H 1
81890 _ACEOF
81892 cat >>confdefs.h <<\_ACEOF
81893 #define HAVE_WCTYPE_H 1
81894 _ACEOF
81896 cat >>confdefs.h <<\_ACEOF
81897 #define HAVE_LIBM 1
81898 _ACEOF
81901 esac
81902 case "$target" in
81903 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
81904 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
81905 cat >>confdefs.h <<\_ACEOF
81906 #define HAVE___BUILTIN_ABS 1
81907 _ACEOF
81909 cat >>confdefs.h <<\_ACEOF
81910 #define HAVE___BUILTIN_LABS 1
81911 _ACEOF
81913 cat >>confdefs.h <<\_ACEOF
81914 #define HAVE___BUILTIN_FABS 1
81915 _ACEOF
81917 cat >>confdefs.h <<\_ACEOF
81918 #define HAVE___BUILTIN_FABSF 1
81919 _ACEOF
81921 cat >>confdefs.h <<\_ACEOF
81922 #define HAVE___BUILTIN_FABSL 1
81923 _ACEOF
81925 cat >>confdefs.h <<\_ACEOF
81926 #define HAVE___BUILTIN_COS 1
81927 _ACEOF
81929 cat >>confdefs.h <<\_ACEOF
81930 #define HAVE___BUILTIN_COSF 1
81931 _ACEOF
81933 cat >>confdefs.h <<\_ACEOF
81934 #define HAVE___BUILTIN_SIN 1
81935 _ACEOF
81937 cat >>confdefs.h <<\_ACEOF
81938 #define HAVE___BUILTIN_SINF 1
81939 _ACEOF
81942 esac
81943 case "$target" in
81944 *-*-solaris2.10)
81945 # These two C99 functions are present only in Solaris >= 10
81946 cat >>confdefs.h <<\_ACEOF
81947 #define HAVE_STRTOF 1
81948 _ACEOF
81950 cat >>confdefs.h <<\_ACEOF
81951 #define HAVE_STRTOLD 1
81952 _ACEOF
81955 esac
81956 cat >>confdefs.h <<\_ACEOF
81957 #define HAVE_MMAP 1
81958 _ACEOF
81960 cat >>confdefs.h <<\_ACEOF
81961 #define HAVE_COPYSIGN 1
81962 _ACEOF
81964 cat >>confdefs.h <<\_ACEOF
81965 #define HAVE_ISNAN 1
81966 _ACEOF
81968 cat >>confdefs.h <<\_ACEOF
81969 #define HAVE_ISNANF 1
81970 _ACEOF
81972 cat >>confdefs.h <<\_ACEOF
81973 #define HAVE_MODFF 1
81974 _ACEOF
81976 cat >>confdefs.h <<\_ACEOF
81977 #define HAVE_HYPOT 1
81978 _ACEOF
81981 *-tpf)
81990 for ac_header in nan.h endian.h machine/endian.h \
81991 sys/param.h sys/types.h locale.h float.h inttypes.h
81993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81995 echo "$as_me:$LINENO: checking for $ac_header" >&5
81996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81998 echo $ECHO_N "(cached) $ECHO_C" >&6
82000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82002 else
82003 # Is the header compilable?
82004 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82005 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82006 cat >conftest.$ac_ext <<_ACEOF
82007 /* confdefs.h. */
82008 _ACEOF
82009 cat confdefs.h >>conftest.$ac_ext
82010 cat >>conftest.$ac_ext <<_ACEOF
82011 /* end confdefs.h. */
82012 $ac_includes_default
82013 #include <$ac_header>
82014 _ACEOF
82015 rm -f conftest.$ac_objext
82016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82017 (eval $ac_compile) 2>conftest.er1
82018 ac_status=$?
82019 grep -v '^ *+' conftest.er1 >conftest.err
82020 rm -f conftest.er1
82021 cat conftest.err >&5
82022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82023 (exit $ac_status); } &&
82024 { ac_try='test -z "$ac_c_werror_flag"
82025 || test ! -s conftest.err'
82026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82027 (eval $ac_try) 2>&5
82028 ac_status=$?
82029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82030 (exit $ac_status); }; } &&
82031 { ac_try='test -s conftest.$ac_objext'
82032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82033 (eval $ac_try) 2>&5
82034 ac_status=$?
82035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82036 (exit $ac_status); }; }; then
82037 ac_header_compiler=yes
82038 else
82039 echo "$as_me: failed program was:" >&5
82040 sed 's/^/| /' conftest.$ac_ext >&5
82042 ac_header_compiler=no
82044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82046 echo "${ECHO_T}$ac_header_compiler" >&6
82048 # Is the header present?
82049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82051 cat >conftest.$ac_ext <<_ACEOF
82052 /* confdefs.h. */
82053 _ACEOF
82054 cat confdefs.h >>conftest.$ac_ext
82055 cat >>conftest.$ac_ext <<_ACEOF
82056 /* end confdefs.h. */
82057 #include <$ac_header>
82058 _ACEOF
82059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82061 ac_status=$?
82062 grep -v '^ *+' conftest.er1 >conftest.err
82063 rm -f conftest.er1
82064 cat conftest.err >&5
82065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82066 (exit $ac_status); } >/dev/null; then
82067 if test -s conftest.err; then
82068 ac_cpp_err=$ac_c_preproc_warn_flag
82069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82070 else
82071 ac_cpp_err=
82073 else
82074 ac_cpp_err=yes
82076 if test -z "$ac_cpp_err"; then
82077 ac_header_preproc=yes
82078 else
82079 echo "$as_me: failed program was:" >&5
82080 sed 's/^/| /' conftest.$ac_ext >&5
82082 ac_header_preproc=no
82084 rm -f conftest.err conftest.$ac_ext
82085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82086 echo "${ECHO_T}$ac_header_preproc" >&6
82088 # So? What about this header?
82089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82090 yes:no: )
82091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82095 ac_header_preproc=yes
82097 no:yes:* )
82098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82111 cat <<\_ASBOX
82112 ## ----------------------------------------- ##
82113 ## Report this to the package-unused lists. ##
82114 ## ----------------------------------------- ##
82115 _ASBOX
82117 sed "s/^/$as_me: WARNING: /" >&2
82119 esac
82120 echo "$as_me:$LINENO: checking for $ac_header" >&5
82121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82123 echo $ECHO_N "(cached) $ECHO_C" >&6
82124 else
82125 eval "$as_ac_Header=\$ac_header_preproc"
82127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82132 cat >>confdefs.h <<_ACEOF
82133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82134 _ACEOF
82138 done
82140 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82143 # If we're not using GNU ld, then there's no point in even trying these
82144 # tests. Check for that first. We should have already tested for gld
82145 # by now (in libtool), but require it now just to be safe...
82146 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82147 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82151 # The name set by libtool depends on the version of libtool. Shame on us
82152 # for depending on an impl detail, but c'est la vie. Older versions used
82153 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82154 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82155 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82156 # set (hence we're using an older libtool), then set it.
82157 if test x${with_gnu_ld+set} != xset; then
82158 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82159 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82160 with_gnu_ld=no
82161 else
82162 with_gnu_ld=$ac_cv_prog_gnu_ld
82166 # Start by getting the version number. I think the libtool test already
82167 # does some of this, but throws away the result.
82168 if test x"$with_gnu_ld" = x"yes"; then
82169 echo "$as_me:$LINENO: checking for ld version" >&5
82170 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
82172 ldver=`$LD --version 2>/dev/null | head -1 | \
82173 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
82175 glibcxx_gnu_ld_version=`echo $ldver | \
82176 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82177 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
82178 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
82181 # Set --gc-sections.
82182 glibcxx_gcsections_min_ld=21602
82183 if test x"$with_gnu_ld" = x"yes" &&
82184 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
82186 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
82187 # NB: This flag only works reliably after 2.16.1. Configure tests
82188 # for this are difficult, so hard wire a value that should work.
82190 # All these tests are for C++, but run with the "C" compiler driver.
82191 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
82192 ac_test_CFLAGS="${CFLAGS+set}"
82193 ac_save_CFLAGS="$CFLAGS"
82194 CFLAGS='-x c++ -Wl,--gc-sections'
82196 # Check for -Wl,--gc-sections
82197 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82198 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82199 if test x$gcc_no_link = xyes; then
82200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82202 { (exit 1); exit 1; }; }
82204 cat >conftest.$ac_ext <<_ACEOF
82205 /* confdefs.h. */
82206 _ACEOF
82207 cat confdefs.h >>conftest.$ac_ext
82208 cat >>conftest.$ac_ext <<_ACEOF
82209 /* end confdefs.h. */
82210 int one(void) { return 1; }
82211 int two(void) { return 2; }
82214 main ()
82216 two();
82218 return 0;
82220 _ACEOF
82221 rm -f conftest.$ac_objext conftest$ac_exeext
82222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82223 (eval $ac_link) 2>conftest.er1
82224 ac_status=$?
82225 grep -v '^ *+' conftest.er1 >conftest.err
82226 rm -f conftest.er1
82227 cat conftest.err >&5
82228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82229 (exit $ac_status); } &&
82230 { ac_try='test -z "$ac_c_werror_flag"
82231 || test ! -s conftest.err'
82232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82233 (eval $ac_try) 2>&5
82234 ac_status=$?
82235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82236 (exit $ac_status); }; } &&
82237 { ac_try='test -s conftest$ac_exeext'
82238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82239 (eval $ac_try) 2>&5
82240 ac_status=$?
82241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82242 (exit $ac_status); }; }; then
82243 ac_gcsections=yes
82244 else
82245 echo "$as_me: failed program was:" >&5
82246 sed 's/^/| /' conftest.$ac_ext >&5
82248 ac_gcsections=no
82250 rm -f conftest.err conftest.$ac_objext \
82251 conftest$ac_exeext conftest.$ac_ext
82252 if test "$ac_gcsections" = "yes"; then
82253 rm -f conftest.c
82254 touch conftest.c
82255 if $CC -c conftest.c; then
82256 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
82257 grep "Warning: gc-sections option ignored" > /dev/null; then
82258 ac_gcsections=no
82261 rm -f conftest.c conftest.o conftest
82263 if test "$ac_gcsections" = "yes"; then
82264 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82266 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
82267 echo "${ECHO_T}$ac_gcsections" >&6
82269 if test "$ac_test_CFLAGS" = set; then
82270 CFLAGS="$ac_save_CFLAGS"
82271 else
82272 # this is the suspicious part
82273 CFLAGS=''
82277 # Set -z,relro.
82278 # Note this is only for shared objects.
82279 ac_ld_relro=no
82280 if test x"$with_gnu_ld" = x"yes"; then
82281 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82282 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82283 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82284 if test -n "$cxx_z_relo"; then
82285 OPT_LDFLAGS="-Wl,-z,relro"
82286 ac_ld_relro=yes
82288 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82289 echo "${ECHO_T}$ac_ld_relro" >&6
82292 # Set linker optimization flags.
82293 if test x"$with_gnu_ld" = x"yes"; then
82294 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82302 echo "$as_me:$LINENO: checking for main in -lm" >&5
82303 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82304 if test "${ac_cv_lib_m_main+set}" = set; then
82305 echo $ECHO_N "(cached) $ECHO_C" >&6
82306 else
82307 ac_check_lib_save_LIBS=$LIBS
82308 LIBS="-lm $LIBS"
82309 if test x$gcc_no_link = xyes; then
82310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82312 { (exit 1); exit 1; }; }
82314 cat >conftest.$ac_ext <<_ACEOF
82315 /* confdefs.h. */
82316 _ACEOF
82317 cat confdefs.h >>conftest.$ac_ext
82318 cat >>conftest.$ac_ext <<_ACEOF
82319 /* end confdefs.h. */
82323 main ()
82325 main ();
82327 return 0;
82329 _ACEOF
82330 rm -f conftest.$ac_objext conftest$ac_exeext
82331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82332 (eval $ac_link) 2>conftest.er1
82333 ac_status=$?
82334 grep -v '^ *+' conftest.er1 >conftest.err
82335 rm -f conftest.er1
82336 cat conftest.err >&5
82337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82338 (exit $ac_status); } &&
82339 { ac_try='test -z "$ac_c_werror_flag"
82340 || test ! -s conftest.err'
82341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82342 (eval $ac_try) 2>&5
82343 ac_status=$?
82344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82345 (exit $ac_status); }; } &&
82346 { ac_try='test -s conftest$ac_exeext'
82347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82348 (eval $ac_try) 2>&5
82349 ac_status=$?
82350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82351 (exit $ac_status); }; }; then
82352 ac_cv_lib_m_main=yes
82353 else
82354 echo "$as_me: failed program was:" >&5
82355 sed 's/^/| /' conftest.$ac_ext >&5
82357 ac_cv_lib_m_main=no
82359 rm -f conftest.err conftest.$ac_objext \
82360 conftest$ac_exeext conftest.$ac_ext
82361 LIBS=$ac_check_lib_save_LIBS
82363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82364 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82365 if test $ac_cv_lib_m_main = yes; then
82366 cat >>confdefs.h <<_ACEOF
82367 #define HAVE_LIBM 1
82368 _ACEOF
82370 LIBS="-lm $LIBS"
82375 for ac_func in copysignf
82377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82378 echo "$as_me:$LINENO: checking for $ac_func" >&5
82379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82380 if eval "test \"\${$as_ac_var+set}\" = set"; then
82381 echo $ECHO_N "(cached) $ECHO_C" >&6
82382 else
82383 if test x$gcc_no_link = xyes; then
82384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82386 { (exit 1); exit 1; }; }
82388 cat >conftest.$ac_ext <<_ACEOF
82389 /* confdefs.h. */
82390 _ACEOF
82391 cat confdefs.h >>conftest.$ac_ext
82392 cat >>conftest.$ac_ext <<_ACEOF
82393 /* end confdefs.h. */
82394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82396 #define $ac_func innocuous_$ac_func
82398 /* System header to define __stub macros and hopefully few prototypes,
82399 which can conflict with char $ac_func (); below.
82400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82401 <limits.h> exists even on freestanding compilers. */
82403 #ifdef __STDC__
82404 # include <limits.h>
82405 #else
82406 # include <assert.h>
82407 #endif
82409 #undef $ac_func
82411 /* Override any gcc2 internal prototype to avoid an error. */
82412 #ifdef __cplusplus
82413 extern "C"
82415 #endif
82416 /* We use char because int might match the return type of a gcc2
82417 builtin and then its argument prototype would still apply. */
82418 char $ac_func ();
82419 /* The GNU C library defines this for functions which it implements
82420 to always fail with ENOSYS. Some functions are actually named
82421 something starting with __ and the normal name is an alias. */
82422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82423 choke me
82424 #else
82425 char (*f) () = $ac_func;
82426 #endif
82427 #ifdef __cplusplus
82429 #endif
82432 main ()
82434 return f != $ac_func;
82436 return 0;
82438 _ACEOF
82439 rm -f conftest.$ac_objext conftest$ac_exeext
82440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82441 (eval $ac_link) 2>conftest.er1
82442 ac_status=$?
82443 grep -v '^ *+' conftest.er1 >conftest.err
82444 rm -f conftest.er1
82445 cat conftest.err >&5
82446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82447 (exit $ac_status); } &&
82448 { ac_try='test -z "$ac_c_werror_flag"
82449 || test ! -s conftest.err'
82450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82451 (eval $ac_try) 2>&5
82452 ac_status=$?
82453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454 (exit $ac_status); }; } &&
82455 { ac_try='test -s conftest$ac_exeext'
82456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82457 (eval $ac_try) 2>&5
82458 ac_status=$?
82459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82460 (exit $ac_status); }; }; then
82461 eval "$as_ac_var=yes"
82462 else
82463 echo "$as_me: failed program was:" >&5
82464 sed 's/^/| /' conftest.$ac_ext >&5
82466 eval "$as_ac_var=no"
82468 rm -f conftest.err conftest.$ac_objext \
82469 conftest$ac_exeext conftest.$ac_ext
82471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82473 if test `eval echo '${'$as_ac_var'}'` = yes; then
82474 cat >>confdefs.h <<_ACEOF
82475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82476 _ACEOF
82478 else
82479 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82481 done
82485 for ac_func in __signbit
82487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82488 echo "$as_me:$LINENO: checking for $ac_func" >&5
82489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82490 if eval "test \"\${$as_ac_var+set}\" = set"; then
82491 echo $ECHO_N "(cached) $ECHO_C" >&6
82492 else
82493 if test x$gcc_no_link = xyes; then
82494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82496 { (exit 1); exit 1; }; }
82498 cat >conftest.$ac_ext <<_ACEOF
82499 /* confdefs.h. */
82500 _ACEOF
82501 cat confdefs.h >>conftest.$ac_ext
82502 cat >>conftest.$ac_ext <<_ACEOF
82503 /* end confdefs.h. */
82504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82506 #define $ac_func innocuous_$ac_func
82508 /* System header to define __stub macros and hopefully few prototypes,
82509 which can conflict with char $ac_func (); below.
82510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82511 <limits.h> exists even on freestanding compilers. */
82513 #ifdef __STDC__
82514 # include <limits.h>
82515 #else
82516 # include <assert.h>
82517 #endif
82519 #undef $ac_func
82521 /* Override any gcc2 internal prototype to avoid an error. */
82522 #ifdef __cplusplus
82523 extern "C"
82525 #endif
82526 /* We use char because int might match the return type of a gcc2
82527 builtin and then its argument prototype would still apply. */
82528 char $ac_func ();
82529 /* The GNU C library defines this for functions which it implements
82530 to always fail with ENOSYS. Some functions are actually named
82531 something starting with __ and the normal name is an alias. */
82532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82533 choke me
82534 #else
82535 char (*f) () = $ac_func;
82536 #endif
82537 #ifdef __cplusplus
82539 #endif
82542 main ()
82544 return f != $ac_func;
82546 return 0;
82548 _ACEOF
82549 rm -f conftest.$ac_objext conftest$ac_exeext
82550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82551 (eval $ac_link) 2>conftest.er1
82552 ac_status=$?
82553 grep -v '^ *+' conftest.er1 >conftest.err
82554 rm -f conftest.er1
82555 cat conftest.err >&5
82556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82557 (exit $ac_status); } &&
82558 { ac_try='test -z "$ac_c_werror_flag"
82559 || test ! -s conftest.err'
82560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82561 (eval $ac_try) 2>&5
82562 ac_status=$?
82563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82564 (exit $ac_status); }; } &&
82565 { ac_try='test -s conftest$ac_exeext'
82566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82567 (eval $ac_try) 2>&5
82568 ac_status=$?
82569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82570 (exit $ac_status); }; }; then
82571 eval "$as_ac_var=yes"
82572 else
82573 echo "$as_me: failed program was:" >&5
82574 sed 's/^/| /' conftest.$ac_ext >&5
82576 eval "$as_ac_var=no"
82578 rm -f conftest.err conftest.$ac_objext \
82579 conftest$ac_exeext conftest.$ac_ext
82581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82583 if test `eval echo '${'$as_ac_var'}'` = yes; then
82584 cat >>confdefs.h <<_ACEOF
82585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82586 _ACEOF
82588 else
82589 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82591 done
82595 for ac_func in __signbitf
82597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82598 echo "$as_me:$LINENO: checking for $ac_func" >&5
82599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82600 if eval "test \"\${$as_ac_var+set}\" = set"; then
82601 echo $ECHO_N "(cached) $ECHO_C" >&6
82602 else
82603 if test x$gcc_no_link = xyes; then
82604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82606 { (exit 1); exit 1; }; }
82608 cat >conftest.$ac_ext <<_ACEOF
82609 /* confdefs.h. */
82610 _ACEOF
82611 cat confdefs.h >>conftest.$ac_ext
82612 cat >>conftest.$ac_ext <<_ACEOF
82613 /* end confdefs.h. */
82614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82616 #define $ac_func innocuous_$ac_func
82618 /* System header to define __stub macros and hopefully few prototypes,
82619 which can conflict with char $ac_func (); below.
82620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82621 <limits.h> exists even on freestanding compilers. */
82623 #ifdef __STDC__
82624 # include <limits.h>
82625 #else
82626 # include <assert.h>
82627 #endif
82629 #undef $ac_func
82631 /* Override any gcc2 internal prototype to avoid an error. */
82632 #ifdef __cplusplus
82633 extern "C"
82635 #endif
82636 /* We use char because int might match the return type of a gcc2
82637 builtin and then its argument prototype would still apply. */
82638 char $ac_func ();
82639 /* The GNU C library defines this for functions which it implements
82640 to always fail with ENOSYS. Some functions are actually named
82641 something starting with __ and the normal name is an alias. */
82642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82643 choke me
82644 #else
82645 char (*f) () = $ac_func;
82646 #endif
82647 #ifdef __cplusplus
82649 #endif
82652 main ()
82654 return f != $ac_func;
82656 return 0;
82658 _ACEOF
82659 rm -f conftest.$ac_objext conftest$ac_exeext
82660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82661 (eval $ac_link) 2>conftest.er1
82662 ac_status=$?
82663 grep -v '^ *+' conftest.er1 >conftest.err
82664 rm -f conftest.er1
82665 cat conftest.err >&5
82666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82667 (exit $ac_status); } &&
82668 { ac_try='test -z "$ac_c_werror_flag"
82669 || test ! -s conftest.err'
82670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82671 (eval $ac_try) 2>&5
82672 ac_status=$?
82673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82674 (exit $ac_status); }; } &&
82675 { ac_try='test -s conftest$ac_exeext'
82676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82677 (eval $ac_try) 2>&5
82678 ac_status=$?
82679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82680 (exit $ac_status); }; }; then
82681 eval "$as_ac_var=yes"
82682 else
82683 echo "$as_me: failed program was:" >&5
82684 sed 's/^/| /' conftest.$ac_ext >&5
82686 eval "$as_ac_var=no"
82688 rm -f conftest.err conftest.$ac_objext \
82689 conftest$ac_exeext conftest.$ac_ext
82691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82693 if test `eval echo '${'$as_ac_var'}'` = yes; then
82694 cat >>confdefs.h <<_ACEOF
82695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82696 _ACEOF
82698 else
82699 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82701 done
82704 if test x$ac_cv_func_copysignl = x"yes"; then
82706 for ac_func in __signbitl
82708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82709 echo "$as_me:$LINENO: checking for $ac_func" >&5
82710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82711 if eval "test \"\${$as_ac_var+set}\" = set"; then
82712 echo $ECHO_N "(cached) $ECHO_C" >&6
82713 else
82714 if test x$gcc_no_link = xyes; then
82715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82717 { (exit 1); exit 1; }; }
82719 cat >conftest.$ac_ext <<_ACEOF
82720 /* confdefs.h. */
82721 _ACEOF
82722 cat confdefs.h >>conftest.$ac_ext
82723 cat >>conftest.$ac_ext <<_ACEOF
82724 /* end confdefs.h. */
82725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82727 #define $ac_func innocuous_$ac_func
82729 /* System header to define __stub macros and hopefully few prototypes,
82730 which can conflict with char $ac_func (); below.
82731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82732 <limits.h> exists even on freestanding compilers. */
82734 #ifdef __STDC__
82735 # include <limits.h>
82736 #else
82737 # include <assert.h>
82738 #endif
82740 #undef $ac_func
82742 /* Override any gcc2 internal prototype to avoid an error. */
82743 #ifdef __cplusplus
82744 extern "C"
82746 #endif
82747 /* We use char because int might match the return type of a gcc2
82748 builtin and then its argument prototype would still apply. */
82749 char $ac_func ();
82750 /* The GNU C library defines this for functions which it implements
82751 to always fail with ENOSYS. Some functions are actually named
82752 something starting with __ and the normal name is an alias. */
82753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82754 choke me
82755 #else
82756 char (*f) () = $ac_func;
82757 #endif
82758 #ifdef __cplusplus
82760 #endif
82763 main ()
82765 return f != $ac_func;
82767 return 0;
82769 _ACEOF
82770 rm -f conftest.$ac_objext conftest$ac_exeext
82771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82772 (eval $ac_link) 2>conftest.er1
82773 ac_status=$?
82774 grep -v '^ *+' conftest.er1 >conftest.err
82775 rm -f conftest.er1
82776 cat conftest.err >&5
82777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82778 (exit $ac_status); } &&
82779 { ac_try='test -z "$ac_c_werror_flag"
82780 || test ! -s conftest.err'
82781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82782 (eval $ac_try) 2>&5
82783 ac_status=$?
82784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82785 (exit $ac_status); }; } &&
82786 { ac_try='test -s conftest$ac_exeext'
82787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82788 (eval $ac_try) 2>&5
82789 ac_status=$?
82790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791 (exit $ac_status); }; }; then
82792 eval "$as_ac_var=yes"
82793 else
82794 echo "$as_me: failed program was:" >&5
82795 sed 's/^/| /' conftest.$ac_ext >&5
82797 eval "$as_ac_var=no"
82799 rm -f conftest.err conftest.$ac_objext \
82800 conftest$ac_exeext conftest.$ac_ext
82802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82804 if test `eval echo '${'$as_ac_var'}'` = yes; then
82805 cat >>confdefs.h <<_ACEOF
82806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82807 _ACEOF
82809 else
82810 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82812 done
82816 # Used in libmath/Makefile.am.
82817 if test -n "$LIBMATHOBJS"; then
82818 need_libmath=yes
82822 cat >>confdefs.h <<\_ACEOF
82823 #define HAVE_COPYSIGN 1
82824 _ACEOF
82826 cat >>confdefs.h <<\_ACEOF
82827 #define HAVE_COPYSIGNF 1
82828 _ACEOF
82830 cat >>confdefs.h <<\_ACEOF
82831 #define HAVE_FINITE 1
82832 _ACEOF
82834 cat >>confdefs.h <<\_ACEOF
82835 #define HAVE_FINITEF 1
82836 _ACEOF
82838 cat >>confdefs.h <<\_ACEOF
82839 #define HAVE_FREXPF 1
82840 _ACEOF
82842 cat >>confdefs.h <<\_ACEOF
82843 #define HAVE_HYPOTF 1
82844 _ACEOF
82846 cat >>confdefs.h <<\_ACEOF
82847 #define HAVE_ISINF 1
82848 _ACEOF
82850 cat >>confdefs.h <<\_ACEOF
82851 #define HAVE_ISINFF 1
82852 _ACEOF
82854 cat >>confdefs.h <<\_ACEOF
82855 #define HAVE_ISNAN 1
82856 _ACEOF
82858 cat >>confdefs.h <<\_ACEOF
82859 #define HAVE_ISNANF 1
82860 _ACEOF
82862 cat >>confdefs.h <<\_ACEOF
82863 #define HAVE_SINCOS 1
82864 _ACEOF
82866 cat >>confdefs.h <<\_ACEOF
82867 #define HAVE_SINCOSF 1
82868 _ACEOF
82870 if test x"long_double_math_on_this_cpu" = x"yes"; then
82871 cat >>confdefs.h <<\_ACEOF
82872 #define HAVE_FINITEL 1
82873 _ACEOF
82875 cat >>confdefs.h <<\_ACEOF
82876 #define HAVE_HYPOTL 1
82877 _ACEOF
82879 cat >>confdefs.h <<\_ACEOF
82880 #define HAVE_ISINFL 1
82881 _ACEOF
82883 cat >>confdefs.h <<\_ACEOF
82884 #define HAVE_ISNANL 1
82885 _ACEOF
82889 *-vxworks)
82890 cat >>confdefs.h <<\_ACEOF
82891 #define HAVE_MMAP 1
82892 _ACEOF
82894 cat >>confdefs.h <<\_ACEOF
82895 #define HAVE_ACOSF 1
82896 _ACEOF
82898 cat >>confdefs.h <<\_ACEOF
82899 #define HAVE_ASINF 1
82900 _ACEOF
82902 cat >>confdefs.h <<\_ACEOF
82903 #define HAVE_ATAN2F 1
82904 _ACEOF
82906 cat >>confdefs.h <<\_ACEOF
82907 #define HAVE_ATANF 1
82908 _ACEOF
82910 cat >>confdefs.h <<\_ACEOF
82911 #define HAVE_CEILF 1
82912 _ACEOF
82914 cat >>confdefs.h <<\_ACEOF
82915 #define HAVE_COSF 1
82916 _ACEOF
82918 cat >>confdefs.h <<\_ACEOF
82919 #define HAVE_COSHF 1
82920 _ACEOF
82922 cat >>confdefs.h <<\_ACEOF
82923 #define HAVE_EXPF 1
82924 _ACEOF
82926 cat >>confdefs.h <<\_ACEOF
82927 #define HAVE_FABSF 1
82928 _ACEOF
82930 cat >>confdefs.h <<\_ACEOF
82931 #define HAVE_FLOORF 1
82932 _ACEOF
82934 cat >>confdefs.h <<\_ACEOF
82935 #define HAVE_FMODF 1
82936 _ACEOF
82938 cat >>confdefs.h <<\_ACEOF
82939 #define HAVE_HYPOT 1
82940 _ACEOF
82942 cat >>confdefs.h <<\_ACEOF
82943 #define HAVE_LOG10F 1
82944 _ACEOF
82946 cat >>confdefs.h <<\_ACEOF
82947 #define HAVE_LOGF 1
82948 _ACEOF
82950 cat >>confdefs.h <<\_ACEOF
82951 #define HAVE_POWF 1
82952 _ACEOF
82954 cat >>confdefs.h <<\_ACEOF
82955 #define HAVE_SINF 1
82956 _ACEOF
82958 cat >>confdefs.h <<\_ACEOF
82959 #define HAVE_SINHF 1
82960 _ACEOF
82962 cat >>confdefs.h <<\_ACEOF
82963 #define HAVE_SQRTF 1
82964 _ACEOF
82966 cat >>confdefs.h <<\_ACEOF
82967 #define HAVE_TANF 1
82968 _ACEOF
82970 cat >>confdefs.h <<\_ACEOF
82971 #define HAVE_TANHF 1
82972 _ACEOF
82975 *-windiss*)
82976 cat >>confdefs.h <<\_ACEOF
82977 #define HAVE_ACOSF 1
82978 _ACEOF
82980 cat >>confdefs.h <<\_ACEOF
82981 #define HAVE_ACOSL 1
82982 _ACEOF
82984 cat >>confdefs.h <<\_ACEOF
82985 #define HAVE_ASINF 1
82986 _ACEOF
82988 cat >>confdefs.h <<\_ACEOF
82989 #define HAVE_ASINL 1
82990 _ACEOF
82992 cat >>confdefs.h <<\_ACEOF
82993 #define HAVE_ATAN2F 1
82994 _ACEOF
82996 cat >>confdefs.h <<\_ACEOF
82997 #define HAVE_ATAN2L 1
82998 _ACEOF
83000 cat >>confdefs.h <<\_ACEOF
83001 #define HAVE_ATANF 1
83002 _ACEOF
83004 cat >>confdefs.h <<\_ACEOF
83005 #define HAVE_ATANL 1
83006 _ACEOF
83008 cat >>confdefs.h <<\_ACEOF
83009 #define HAVE_CEILF 1
83010 _ACEOF
83012 cat >>confdefs.h <<\_ACEOF
83013 #define HAVE_CEILL 1
83014 _ACEOF
83016 cat >>confdefs.h <<\_ACEOF
83017 #define HAVE_COPYSIGN 1
83018 _ACEOF
83020 cat >>confdefs.h <<\_ACEOF
83021 #define HAVE_COPYSIGNF 1
83022 _ACEOF
83024 cat >>confdefs.h <<\_ACEOF
83025 #define HAVE_COSF 1
83026 _ACEOF
83028 cat >>confdefs.h <<\_ACEOF
83029 #define HAVE_COSL 1
83030 _ACEOF
83032 cat >>confdefs.h <<\_ACEOF
83033 #define HAVE_COSHF 1
83034 _ACEOF
83036 cat >>confdefs.h <<\_ACEOF
83037 #define HAVE_COSHL 1
83038 _ACEOF
83040 cat >>confdefs.h <<\_ACEOF
83041 #define HAVE_EXPF 1
83042 _ACEOF
83044 cat >>confdefs.h <<\_ACEOF
83045 #define HAVE_EXPL 1
83046 _ACEOF
83048 cat >>confdefs.h <<\_ACEOF
83049 #define HAVE_FABSF 1
83050 _ACEOF
83052 cat >>confdefs.h <<\_ACEOF
83053 #define HAVE_FABSL 1
83054 _ACEOF
83056 cat >>confdefs.h <<\_ACEOF
83057 #define HAVE_FLOORF 1
83058 _ACEOF
83060 cat >>confdefs.h <<\_ACEOF
83061 #define HAVE_FLOORL 1
83062 _ACEOF
83064 cat >>confdefs.h <<\_ACEOF
83065 #define HAVE_FMODF 1
83066 _ACEOF
83068 cat >>confdefs.h <<\_ACEOF
83069 #define HAVE_FMODL 1
83070 _ACEOF
83072 cat >>confdefs.h <<\_ACEOF
83073 #define HAVE_FREXPF 1
83074 _ACEOF
83076 cat >>confdefs.h <<\_ACEOF
83077 #define HAVE_FREXPL 1
83078 _ACEOF
83080 cat >>confdefs.h <<\_ACEOF
83081 #define HAVE_LDEXPF 1
83082 _ACEOF
83084 cat >>confdefs.h <<\_ACEOF
83085 #define HAVE_LDEXPL 1
83086 _ACEOF
83088 cat >>confdefs.h <<\_ACEOF
83089 #define HAVE_LOG10F 1
83090 _ACEOF
83092 cat >>confdefs.h <<\_ACEOF
83093 #define HAVE_LOG10L 1
83094 _ACEOF
83096 cat >>confdefs.h <<\_ACEOF
83097 #define HAVE_LOGF 1
83098 _ACEOF
83100 cat >>confdefs.h <<\_ACEOF
83101 #define HAVE_MODFF 1
83102 _ACEOF
83104 cat >>confdefs.h <<\_ACEOF
83105 #define HAVE_MODFL 1
83106 _ACEOF
83108 cat >>confdefs.h <<\_ACEOF
83109 #define HAVE_POWF 1
83110 _ACEOF
83112 cat >>confdefs.h <<\_ACEOF
83113 #define HAVE_POWL 1
83114 _ACEOF
83116 cat >>confdefs.h <<\_ACEOF
83117 #define HAVE_SINF 1
83118 _ACEOF
83120 cat >>confdefs.h <<\_ACEOF
83121 #define HAVE_SINL 1
83122 _ACEOF
83124 cat >>confdefs.h <<\_ACEOF
83125 #define HAVE_SINHF 1
83126 _ACEOF
83128 cat >>confdefs.h <<\_ACEOF
83129 #define HAVE_SINHL 1
83130 _ACEOF
83132 cat >>confdefs.h <<\_ACEOF
83133 #define HAVE_SQRTF 1
83134 _ACEOF
83136 cat >>confdefs.h <<\_ACEOF
83137 #define HAVE_SQRTL 1
83138 _ACEOF
83140 cat >>confdefs.h <<\_ACEOF
83141 #define HAVE_TANF 1
83142 _ACEOF
83144 cat >>confdefs.h <<\_ACEOF
83145 #define HAVE_TANL 1
83146 _ACEOF
83148 cat >>confdefs.h <<\_ACEOF
83149 #define HAVE_TANHF 1
83150 _ACEOF
83152 cat >>confdefs.h <<\_ACEOF
83153 #define HAVE_TANHL 1
83154 _ACEOF
83158 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
83159 echo "$as_me: error: No support for this host/target combination." >&2;}
83160 { (exit 1); exit 1; }; }
83162 esac
83166 # At some point, we should differentiate between architectures
83167 # like x86, which have long double versions, and alpha/powerpc/etc.,
83168 # which don't. For the time being, punt.
83169 if test x"long_double_math_on_this_cpu" = x"yes"; then
83170 cat >>confdefs.h <<\_ACEOF
83171 #define HAVE_ACOSL 1
83172 _ACEOF
83174 cat >>confdefs.h <<\_ACEOF
83175 #define HAVE_ASINL 1
83176 _ACEOF
83178 cat >>confdefs.h <<\_ACEOF
83179 #define HAVE_ATAN2L 1
83180 _ACEOF
83182 cat >>confdefs.h <<\_ACEOF
83183 #define HAVE_ATANL 1
83184 _ACEOF
83186 cat >>confdefs.h <<\_ACEOF
83187 #define HAVE_CEILL 1
83188 _ACEOF
83190 cat >>confdefs.h <<\_ACEOF
83191 #define HAVE_COPYSIGNL 1
83192 _ACEOF
83194 cat >>confdefs.h <<\_ACEOF
83195 #define HAVE_COSL 1
83196 _ACEOF
83198 cat >>confdefs.h <<\_ACEOF
83199 #define HAVE_COSHL 1
83200 _ACEOF
83202 cat >>confdefs.h <<\_ACEOF
83203 #define HAVE_EXPL 1
83204 _ACEOF
83206 cat >>confdefs.h <<\_ACEOF
83207 #define HAVE_FABSL 1
83208 _ACEOF
83210 cat >>confdefs.h <<\_ACEOF
83211 #define HAVE_FLOORL 1
83212 _ACEOF
83214 cat >>confdefs.h <<\_ACEOF
83215 #define HAVE_FMODL 1
83216 _ACEOF
83218 cat >>confdefs.h <<\_ACEOF
83219 #define HAVE_FREXPL 1
83220 _ACEOF
83222 cat >>confdefs.h <<\_ACEOF
83223 #define HAVE_LDEXPL 1
83224 _ACEOF
83226 cat >>confdefs.h <<\_ACEOF
83227 #define HAVE_LOG10L 1
83228 _ACEOF
83230 cat >>confdefs.h <<\_ACEOF
83231 #define HAVE_LOGL 1
83232 _ACEOF
83234 cat >>confdefs.h <<\_ACEOF
83235 #define HAVE_MODFL 1
83236 _ACEOF
83238 cat >>confdefs.h <<\_ACEOF
83239 #define HAVE_POWL 1
83240 _ACEOF
83242 cat >>confdefs.h <<\_ACEOF
83243 #define HAVE_SINCOSL 1
83244 _ACEOF
83246 cat >>confdefs.h <<\_ACEOF
83247 #define HAVE_SINL 1
83248 _ACEOF
83250 cat >>confdefs.h <<\_ACEOF
83251 #define HAVE_SINHL 1
83252 _ACEOF
83254 cat >>confdefs.h <<\_ACEOF
83255 #define HAVE_SQRTL 1
83256 _ACEOF
83258 cat >>confdefs.h <<\_ACEOF
83259 #define HAVE_TANL 1
83260 _ACEOF
83262 cat >>confdefs.h <<\_ACEOF
83263 #define HAVE_TANHL 1
83264 _ACEOF
83268 # Assume we have _Unwind_GetIPInfo for cross-compiles.
83269 cat >>confdefs.h <<\_ACEOF
83270 #define HAVE_GETIPINFO 1
83271 _ACEOF
83276 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
83279 # Check whether --enable-symvers or --disable-symvers was given.
83280 if test "${enable_symvers+set}" = set; then
83281 enableval="$enable_symvers"
83283 case "$enableval" in
83284 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
83285 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
83286 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
83287 { (exit 1); exit 1; }; } ;;
83288 esac
83290 else
83291 enable_symvers=yes
83295 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
83296 # don't know enough about $LD to do tricks...
83299 # Turn a 'yes' into a suitable default.
83300 if test x$enable_symvers = xyes ; then
83301 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
83302 enable_symvers=no
83303 else
83304 if test $with_gnu_ld = yes ; then
83305 enable_symvers=gnu
83306 else
83307 case ${target_os} in
83308 darwin*)
83309 enable_symvers=darwin ;;
83311 enable_symvers=no ;;
83312 esac
83317 # Check to see if 'darwin' or 'darwin-export' can win.
83318 if test x$enable_symvers = xdarwin-export ; then
83319 enable_symvers=darwin
83322 # Check to see if 'gnu' can win.
83323 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
83324 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
83325 echo "$as_me:$LINENO: checking for shared libgcc" >&5
83326 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
83327 ac_save_CFLAGS="$CFLAGS"
83328 CFLAGS=' -lgcc_s'
83329 if test x$gcc_no_link = xyes; then
83330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83332 { (exit 1); exit 1; }; }
83334 cat >conftest.$ac_ext <<_ACEOF
83335 /* confdefs.h. */
83336 _ACEOF
83337 cat confdefs.h >>conftest.$ac_ext
83338 cat >>conftest.$ac_ext <<_ACEOF
83339 /* end confdefs.h. */
83342 main ()
83344 return 0;
83346 return 0;
83348 _ACEOF
83349 rm -f conftest.$ac_objext conftest$ac_exeext
83350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83351 (eval $ac_link) 2>conftest.er1
83352 ac_status=$?
83353 grep -v '^ *+' conftest.er1 >conftest.err
83354 rm -f conftest.er1
83355 cat conftest.err >&5
83356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83357 (exit $ac_status); } &&
83358 { ac_try='test -z "$ac_c_werror_flag"
83359 || test ! -s conftest.err'
83360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83361 (eval $ac_try) 2>&5
83362 ac_status=$?
83363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83364 (exit $ac_status); }; } &&
83365 { ac_try='test -s conftest$ac_exeext'
83366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83367 (eval $ac_try) 2>&5
83368 ac_status=$?
83369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83370 (exit $ac_status); }; }; then
83371 glibcxx_shared_libgcc=yes
83372 else
83373 echo "$as_me: failed program was:" >&5
83374 sed 's/^/| /' conftest.$ac_ext >&5
83376 glibcxx_shared_libgcc=no
83378 rm -f conftest.err conftest.$ac_objext \
83379 conftest$ac_exeext conftest.$ac_ext
83380 CFLAGS="$ac_save_CFLAGS"
83381 if test $glibcxx_shared_libgcc = no; then
83382 cat > conftest.c <<EOF
83383 int main (void) { return 0; }
83385 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
83386 -shared -shared-libgcc -o conftest.so \
83387 conftest.c -v 2>&1 >/dev/null \
83388 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
83389 rm -f conftest.c conftest.so
83390 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
83391 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
83392 if test x$gcc_no_link = xyes; then
83393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83395 { (exit 1); exit 1; }; }
83397 cat >conftest.$ac_ext <<_ACEOF
83398 /* confdefs.h. */
83399 _ACEOF
83400 cat confdefs.h >>conftest.$ac_ext
83401 cat >>conftest.$ac_ext <<_ACEOF
83402 /* end confdefs.h. */
83405 main ()
83407 return 0;
83409 return 0;
83411 _ACEOF
83412 rm -f conftest.$ac_objext conftest$ac_exeext
83413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83414 (eval $ac_link) 2>conftest.er1
83415 ac_status=$?
83416 grep -v '^ *+' conftest.er1 >conftest.err
83417 rm -f conftest.er1
83418 cat conftest.err >&5
83419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83420 (exit $ac_status); } &&
83421 { ac_try='test -z "$ac_c_werror_flag"
83422 || test ! -s conftest.err'
83423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83424 (eval $ac_try) 2>&5
83425 ac_status=$?
83426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83427 (exit $ac_status); }; } &&
83428 { ac_try='test -s conftest$ac_exeext'
83429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83430 (eval $ac_try) 2>&5
83431 ac_status=$?
83432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83433 (exit $ac_status); }; }; then
83434 glibcxx_shared_libgcc=yes
83435 else
83436 echo "$as_me: failed program was:" >&5
83437 sed 's/^/| /' conftest.$ac_ext >&5
83440 rm -f conftest.err conftest.$ac_objext \
83441 conftest$ac_exeext conftest.$ac_ext
83442 CFLAGS="$ac_save_CFLAGS"
83445 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
83446 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
83448 # For GNU ld, we need at least this version. The format is described in
83449 # GLIBCXX_CHECK_LINKER_FEATURES above.
83450 glibcxx_min_gnu_ld_version=21400
83452 # If no shared libgcc, can't win.
83453 if test $glibcxx_shared_libgcc != yes; then
83454 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
83455 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
83456 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
83457 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
83458 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83459 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83460 enable_symvers=no
83461 elif test $with_gnu_ld != yes ; then
83462 # just fail for now
83463 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
83464 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
83465 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
83466 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
83467 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83468 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83469 enable_symvers=no
83470 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
83471 # The right tools, the right setup, but too old. Fallbacks?
83472 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
83473 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
83474 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
83475 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
83476 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
83477 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
83478 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
83479 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
83480 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83481 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83482 enable_symvers=no
83486 # Everything parsed; figure out what file to use.
83487 case $enable_symvers in
83489 SYMVER_FILE=config/abi/pre/none.ver
83491 gnu)
83492 SYMVER_FILE=config/abi/pre/gnu.ver
83494 cat >>confdefs.h <<\_ACEOF
83495 #define _GLIBCXX_SYMVER_GNU 1
83496 _ACEOF
83499 gnu-versioned-namespace)
83500 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
83502 cat >>confdefs.h <<\_ACEOF
83503 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
83504 _ACEOF
83507 darwin)
83508 SYMVER_FILE=config/abi/pre/gnu.ver
83510 cat >>confdefs.h <<\_ACEOF
83511 #define _GLIBCXX_SYMVER_DARWIN 1
83512 _ACEOF
83515 esac
83517 if test x$enable_symvers != xno ; then
83519 cat >>confdefs.h <<\_ACEOF
83520 #define _GLIBCXX_SYMVER 1
83521 _ACEOF
83531 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
83532 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
83534 # Now, set up compatibility support, if any.
83535 # In addition, need this to deal with std::size_t mangling in
83536 # src/compatibility.cc. In a perfect world, could use
83537 # typeid(std::size_t).name()[0] to do direct substitution.
83538 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
83539 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
83540 ac_save_CFLAGS="$CFLAGS"
83541 CFLAGS="-Werror"
83542 cat >conftest.$ac_ext <<_ACEOF
83543 /* confdefs.h. */
83544 _ACEOF
83545 cat confdefs.h >>conftest.$ac_ext
83546 cat >>conftest.$ac_ext <<_ACEOF
83547 /* end confdefs.h. */
83550 main ()
83552 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
83554 return 0;
83556 _ACEOF
83557 rm -f conftest.$ac_objext
83558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83559 (eval $ac_compile) 2>conftest.er1
83560 ac_status=$?
83561 grep -v '^ *+' conftest.er1 >conftest.err
83562 rm -f conftest.er1
83563 cat conftest.err >&5
83564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83565 (exit $ac_status); } &&
83566 { ac_try='test -z "$ac_c_werror_flag"
83567 || test ! -s conftest.err'
83568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83569 (eval $ac_try) 2>&5
83570 ac_status=$?
83571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572 (exit $ac_status); }; } &&
83573 { ac_try='test -s conftest.$ac_objext'
83574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83575 (eval $ac_try) 2>&5
83576 ac_status=$?
83577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83578 (exit $ac_status); }; }; then
83579 glibcxx_size_t_is_i=yes
83580 else
83581 echo "$as_me: failed program was:" >&5
83582 sed 's/^/| /' conftest.$ac_ext >&5
83584 glibcxx_size_t_is_i=no
83586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83587 CFLAGS=$ac_save_CFLAGS
83588 if test "$glibcxx_size_t_is_i" = yes; then
83590 cat >>confdefs.h <<\_ACEOF
83591 #define _GLIBCXX_SIZE_T_IS_UINT 1
83592 _ACEOF
83595 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
83596 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
83598 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
83599 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
83600 ac_save_CFLAGS="$CFLAGS"
83601 CFLAGS="-Werror"
83602 cat >conftest.$ac_ext <<_ACEOF
83603 /* confdefs.h. */
83604 _ACEOF
83605 cat confdefs.h >>conftest.$ac_ext
83606 cat >>conftest.$ac_ext <<_ACEOF
83607 /* end confdefs.h. */
83610 main ()
83612 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
83614 return 0;
83616 _ACEOF
83617 rm -f conftest.$ac_objext
83618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83619 (eval $ac_compile) 2>conftest.er1
83620 ac_status=$?
83621 grep -v '^ *+' conftest.er1 >conftest.err
83622 rm -f conftest.er1
83623 cat conftest.err >&5
83624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83625 (exit $ac_status); } &&
83626 { ac_try='test -z "$ac_c_werror_flag"
83627 || test ! -s conftest.err'
83628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83629 (eval $ac_try) 2>&5
83630 ac_status=$?
83631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83632 (exit $ac_status); }; } &&
83633 { ac_try='test -s conftest.$ac_objext'
83634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83635 (eval $ac_try) 2>&5
83636 ac_status=$?
83637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83638 (exit $ac_status); }; }; then
83639 glibcxx_ptrdiff_t_is_i=yes
83640 else
83641 echo "$as_me: failed program was:" >&5
83642 sed 's/^/| /' conftest.$ac_ext >&5
83644 glibcxx_ptrdiff_t_is_i=no
83646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83647 CFLAGS=$ac_save_CFLAGS
83648 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
83650 cat >>confdefs.h <<\_ACEOF
83651 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
83652 _ACEOF
83655 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
83656 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
83659 # Check whether --enable-visibility or --disable-visibility was given.
83660 if test "${enable_visibility+set}" = set; then
83661 enableval="$enable_visibility"
83663 case "$enableval" in
83664 yes|no) ;;
83665 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
83666 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
83667 { (exit 1); exit 1; }; } ;;
83668 esac
83670 else
83671 enable_visibility=yes
83675 if test x$enable_visibility = xyes ; then
83676 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
83677 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
83678 if test "${have_attribute_visibility+set}" = set; then
83679 echo $ECHO_N "(cached) $ECHO_C" >&6
83680 else
83682 save_CFLAGS="$CFLAGS"
83683 CFLAGS="$CFLAGS -Werror"
83684 cat >conftest.$ac_ext <<_ACEOF
83685 /* confdefs.h. */
83686 _ACEOF
83687 cat confdefs.h >>conftest.$ac_ext
83688 cat >>conftest.$ac_ext <<_ACEOF
83689 /* end confdefs.h. */
83690 void __attribute__((visibility("hidden"))) foo(void) { }
83692 main ()
83696 return 0;
83698 _ACEOF
83699 rm -f conftest.$ac_objext
83700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83701 (eval $ac_compile) 2>conftest.er1
83702 ac_status=$?
83703 grep -v '^ *+' conftest.er1 >conftest.err
83704 rm -f conftest.er1
83705 cat conftest.err >&5
83706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83707 (exit $ac_status); } &&
83708 { ac_try='test -z "$ac_c_werror_flag"
83709 || test ! -s conftest.err'
83710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83711 (eval $ac_try) 2>&5
83712 ac_status=$?
83713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83714 (exit $ac_status); }; } &&
83715 { ac_try='test -s conftest.$ac_objext'
83716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83717 (eval $ac_try) 2>&5
83718 ac_status=$?
83719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83720 (exit $ac_status); }; }; then
83721 have_attribute_visibility=yes
83722 else
83723 echo "$as_me: failed program was:" >&5
83724 sed 's/^/| /' conftest.$ac_ext >&5
83726 have_attribute_visibility=no
83728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83729 CFLAGS="$save_CFLAGS"
83731 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
83732 echo "${ECHO_T}$have_attribute_visibility" >&6
83733 if test $have_attribute_visibility = no; then
83734 enable_visibility=no
83739 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
83740 echo "$as_me: visibility supported: $enable_visibility" >&6;}
83743 ac_ldbl_compat=no
83744 case "$target" in
83745 powerpc*-*-*gnu* | \
83746 sparc*-*-linux* | \
83747 s390*-*-linux* | \
83748 alpha*-*-linux*)
83749 cat >conftest.$ac_ext <<_ACEOF
83750 /* confdefs.h. */
83751 _ACEOF
83752 cat confdefs.h >>conftest.$ac_ext
83753 cat >>conftest.$ac_ext <<_ACEOF
83754 /* end confdefs.h. */
83757 main ()
83760 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
83761 #error no need for long double compatibility
83762 #endif
83765 return 0;
83767 _ACEOF
83768 rm -f conftest.$ac_objext
83769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83770 (eval $ac_compile) 2>conftest.er1
83771 ac_status=$?
83772 grep -v '^ *+' conftest.er1 >conftest.err
83773 rm -f conftest.er1
83774 cat conftest.err >&5
83775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83776 (exit $ac_status); } &&
83777 { ac_try='test -z "$ac_c_werror_flag"
83778 || test ! -s conftest.err'
83779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83780 (eval $ac_try) 2>&5
83781 ac_status=$?
83782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83783 (exit $ac_status); }; } &&
83784 { ac_try='test -s conftest.$ac_objext'
83785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83786 (eval $ac_try) 2>&5
83787 ac_status=$?
83788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83789 (exit $ac_status); }; }; then
83790 ac_ldbl_compat=yes
83791 else
83792 echo "$as_me: failed program was:" >&5
83793 sed 's/^/| /' conftest.$ac_ext >&5
83795 ac_ldbl_compat=no
83797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83798 if test "$ac_ldbl_compat" = yes; then
83800 cat >>confdefs.h <<\_ACEOF
83801 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
83802 _ACEOF
83804 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
83806 esac
83809 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
83811 if $GLIBCXX_IS_NATIVE ; then
83812 # Do checks for resource limit functions.
83814 setrlimit_have_headers=yes
83818 for ac_header in unistd.h sys/time.h sys/resource.h
83820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83822 echo "$as_me:$LINENO: checking for $ac_header" >&5
83823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83825 echo $ECHO_N "(cached) $ECHO_C" >&6
83827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83829 else
83830 # Is the header compilable?
83831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83833 cat >conftest.$ac_ext <<_ACEOF
83834 /* confdefs.h. */
83835 _ACEOF
83836 cat confdefs.h >>conftest.$ac_ext
83837 cat >>conftest.$ac_ext <<_ACEOF
83838 /* end confdefs.h. */
83839 $ac_includes_default
83840 #include <$ac_header>
83841 _ACEOF
83842 rm -f conftest.$ac_objext
83843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83844 (eval $ac_compile) 2>conftest.er1
83845 ac_status=$?
83846 grep -v '^ *+' conftest.er1 >conftest.err
83847 rm -f conftest.er1
83848 cat conftest.err >&5
83849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83850 (exit $ac_status); } &&
83851 { ac_try='test -z "$ac_c_werror_flag"
83852 || test ! -s conftest.err'
83853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83854 (eval $ac_try) 2>&5
83855 ac_status=$?
83856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83857 (exit $ac_status); }; } &&
83858 { ac_try='test -s conftest.$ac_objext'
83859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83860 (eval $ac_try) 2>&5
83861 ac_status=$?
83862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83863 (exit $ac_status); }; }; then
83864 ac_header_compiler=yes
83865 else
83866 echo "$as_me: failed program was:" >&5
83867 sed 's/^/| /' conftest.$ac_ext >&5
83869 ac_header_compiler=no
83871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83873 echo "${ECHO_T}$ac_header_compiler" >&6
83875 # Is the header present?
83876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83878 cat >conftest.$ac_ext <<_ACEOF
83879 /* confdefs.h. */
83880 _ACEOF
83881 cat confdefs.h >>conftest.$ac_ext
83882 cat >>conftest.$ac_ext <<_ACEOF
83883 /* end confdefs.h. */
83884 #include <$ac_header>
83885 _ACEOF
83886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83888 ac_status=$?
83889 grep -v '^ *+' conftest.er1 >conftest.err
83890 rm -f conftest.er1
83891 cat conftest.err >&5
83892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83893 (exit $ac_status); } >/dev/null; then
83894 if test -s conftest.err; then
83895 ac_cpp_err=$ac_c_preproc_warn_flag
83896 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83897 else
83898 ac_cpp_err=
83900 else
83901 ac_cpp_err=yes
83903 if test -z "$ac_cpp_err"; then
83904 ac_header_preproc=yes
83905 else
83906 echo "$as_me: failed program was:" >&5
83907 sed 's/^/| /' conftest.$ac_ext >&5
83909 ac_header_preproc=no
83911 rm -f conftest.err conftest.$ac_ext
83912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83913 echo "${ECHO_T}$ac_header_preproc" >&6
83915 # So? What about this header?
83916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83917 yes:no: )
83918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83922 ac_header_preproc=yes
83924 no:yes:* )
83925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83938 cat <<\_ASBOX
83939 ## ----------------------------------------- ##
83940 ## Report this to the package-unused lists. ##
83941 ## ----------------------------------------- ##
83942 _ASBOX
83944 sed "s/^/$as_me: WARNING: /" >&2
83946 esac
83947 echo "$as_me:$LINENO: checking for $ac_header" >&5
83948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83950 echo $ECHO_N "(cached) $ECHO_C" >&6
83951 else
83952 eval "$as_ac_Header=\$ac_header_preproc"
83954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83959 cat >>confdefs.h <<_ACEOF
83960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83961 _ACEOF
83963 else
83964 setrlimit_have_headers=no
83967 done
83969 # If don't have the headers, then we can't run the tests now, and we
83970 # won't be seeing any of these during testsuite compilation.
83971 if test $setrlimit_have_headers = yes; then
83972 # Can't do these in a loop, else the resulting syntax is wrong.
83974 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
83975 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
83976 cat >conftest.$ac_ext <<_ACEOF
83977 /* confdefs.h. */
83978 _ACEOF
83979 cat confdefs.h >>conftest.$ac_ext
83980 cat >>conftest.$ac_ext <<_ACEOF
83981 /* end confdefs.h. */
83982 #include <unistd.h>
83983 #include <sys/time.h>
83984 #include <sys/resource.h>
83987 main ()
83989 int f = RLIMIT_DATA ;
83991 return 0;
83993 _ACEOF
83994 rm -f conftest.$ac_objext
83995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83996 (eval $ac_compile) 2>conftest.er1
83997 ac_status=$?
83998 grep -v '^ *+' conftest.er1 >conftest.err
83999 rm -f conftest.er1
84000 cat conftest.err >&5
84001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84002 (exit $ac_status); } &&
84003 { ac_try='test -z "$ac_c_werror_flag"
84004 || test ! -s conftest.err'
84005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84006 (eval $ac_try) 2>&5
84007 ac_status=$?
84008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84009 (exit $ac_status); }; } &&
84010 { ac_try='test -s conftest.$ac_objext'
84011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84012 (eval $ac_try) 2>&5
84013 ac_status=$?
84014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84015 (exit $ac_status); }; }; then
84016 glibcxx_mresult=1
84017 else
84018 echo "$as_me: failed program was:" >&5
84019 sed 's/^/| /' conftest.$ac_ext >&5
84021 glibcxx_mresult=0
84023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84025 cat >>confdefs.h <<_ACEOF
84026 #define HAVE_LIMIT_DATA $glibcxx_mresult
84027 _ACEOF
84029 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84030 echo "$as_me:$LINENO: result: $res" >&5
84031 echo "${ECHO_T}$res" >&6
84034 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
84035 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
84036 cat >conftest.$ac_ext <<_ACEOF
84037 /* confdefs.h. */
84038 _ACEOF
84039 cat confdefs.h >>conftest.$ac_ext
84040 cat >>conftest.$ac_ext <<_ACEOF
84041 /* end confdefs.h. */
84042 #include <unistd.h>
84043 #include <sys/time.h>
84044 #include <sys/resource.h>
84047 main ()
84049 int f = RLIMIT_RSS ;
84051 return 0;
84053 _ACEOF
84054 rm -f conftest.$ac_objext
84055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84056 (eval $ac_compile) 2>conftest.er1
84057 ac_status=$?
84058 grep -v '^ *+' conftest.er1 >conftest.err
84059 rm -f conftest.er1
84060 cat conftest.err >&5
84061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84062 (exit $ac_status); } &&
84063 { ac_try='test -z "$ac_c_werror_flag"
84064 || test ! -s conftest.err'
84065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84066 (eval $ac_try) 2>&5
84067 ac_status=$?
84068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84069 (exit $ac_status); }; } &&
84070 { ac_try='test -s conftest.$ac_objext'
84071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84072 (eval $ac_try) 2>&5
84073 ac_status=$?
84074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84075 (exit $ac_status); }; }; then
84076 glibcxx_mresult=1
84077 else
84078 echo "$as_me: failed program was:" >&5
84079 sed 's/^/| /' conftest.$ac_ext >&5
84081 glibcxx_mresult=0
84083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84085 cat >>confdefs.h <<_ACEOF
84086 #define HAVE_LIMIT_RSS $glibcxx_mresult
84087 _ACEOF
84089 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84090 echo "$as_me:$LINENO: result: $res" >&5
84091 echo "${ECHO_T}$res" >&6
84094 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
84095 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
84096 cat >conftest.$ac_ext <<_ACEOF
84097 /* confdefs.h. */
84098 _ACEOF
84099 cat confdefs.h >>conftest.$ac_ext
84100 cat >>conftest.$ac_ext <<_ACEOF
84101 /* end confdefs.h. */
84102 #include <unistd.h>
84103 #include <sys/time.h>
84104 #include <sys/resource.h>
84107 main ()
84109 int f = RLIMIT_VMEM ;
84111 return 0;
84113 _ACEOF
84114 rm -f conftest.$ac_objext
84115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84116 (eval $ac_compile) 2>conftest.er1
84117 ac_status=$?
84118 grep -v '^ *+' conftest.er1 >conftest.err
84119 rm -f conftest.er1
84120 cat conftest.err >&5
84121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84122 (exit $ac_status); } &&
84123 { ac_try='test -z "$ac_c_werror_flag"
84124 || test ! -s conftest.err'
84125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84126 (eval $ac_try) 2>&5
84127 ac_status=$?
84128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84129 (exit $ac_status); }; } &&
84130 { ac_try='test -s conftest.$ac_objext'
84131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84132 (eval $ac_try) 2>&5
84133 ac_status=$?
84134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84135 (exit $ac_status); }; }; then
84136 glibcxx_mresult=1
84137 else
84138 echo "$as_me: failed program was:" >&5
84139 sed 's/^/| /' conftest.$ac_ext >&5
84141 glibcxx_mresult=0
84143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84145 cat >>confdefs.h <<_ACEOF
84146 #define HAVE_LIMIT_VMEM $glibcxx_mresult
84147 _ACEOF
84149 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84150 echo "$as_me:$LINENO: result: $res" >&5
84151 echo "${ECHO_T}$res" >&6
84154 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
84155 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
84156 cat >conftest.$ac_ext <<_ACEOF
84157 /* confdefs.h. */
84158 _ACEOF
84159 cat confdefs.h >>conftest.$ac_ext
84160 cat >>conftest.$ac_ext <<_ACEOF
84161 /* end confdefs.h. */
84162 #include <unistd.h>
84163 #include <sys/time.h>
84164 #include <sys/resource.h>
84167 main ()
84169 int f = RLIMIT_AS ;
84171 return 0;
84173 _ACEOF
84174 rm -f conftest.$ac_objext
84175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84176 (eval $ac_compile) 2>conftest.er1
84177 ac_status=$?
84178 grep -v '^ *+' conftest.er1 >conftest.err
84179 rm -f conftest.er1
84180 cat conftest.err >&5
84181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84182 (exit $ac_status); } &&
84183 { ac_try='test -z "$ac_c_werror_flag"
84184 || test ! -s conftest.err'
84185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84186 (eval $ac_try) 2>&5
84187 ac_status=$?
84188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84189 (exit $ac_status); }; } &&
84190 { ac_try='test -s conftest.$ac_objext'
84191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84192 (eval $ac_try) 2>&5
84193 ac_status=$?
84194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84195 (exit $ac_status); }; }; then
84196 glibcxx_mresult=1
84197 else
84198 echo "$as_me: failed program was:" >&5
84199 sed 's/^/| /' conftest.$ac_ext >&5
84201 glibcxx_mresult=0
84203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84205 cat >>confdefs.h <<_ACEOF
84206 #define HAVE_LIMIT_AS $glibcxx_mresult
84207 _ACEOF
84209 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84210 echo "$as_me:$LINENO: result: $res" >&5
84211 echo "${ECHO_T}$res" >&6
84214 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
84215 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
84216 cat >conftest.$ac_ext <<_ACEOF
84217 /* confdefs.h. */
84218 _ACEOF
84219 cat confdefs.h >>conftest.$ac_ext
84220 cat >>conftest.$ac_ext <<_ACEOF
84221 /* end confdefs.h. */
84222 #include <unistd.h>
84223 #include <sys/time.h>
84224 #include <sys/resource.h>
84227 main ()
84229 int f = RLIMIT_FSIZE ;
84231 return 0;
84233 _ACEOF
84234 rm -f conftest.$ac_objext
84235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84236 (eval $ac_compile) 2>conftest.er1
84237 ac_status=$?
84238 grep -v '^ *+' conftest.er1 >conftest.err
84239 rm -f conftest.er1
84240 cat conftest.err >&5
84241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84242 (exit $ac_status); } &&
84243 { ac_try='test -z "$ac_c_werror_flag"
84244 || test ! -s conftest.err'
84245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84246 (eval $ac_try) 2>&5
84247 ac_status=$?
84248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84249 (exit $ac_status); }; } &&
84250 { ac_try='test -s conftest.$ac_objext'
84251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84252 (eval $ac_try) 2>&5
84253 ac_status=$?
84254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84255 (exit $ac_status); }; }; then
84256 glibcxx_mresult=1
84257 else
84258 echo "$as_me: failed program was:" >&5
84259 sed 's/^/| /' conftest.$ac_ext >&5
84261 glibcxx_mresult=0
84263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84265 cat >>confdefs.h <<_ACEOF
84266 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
84267 _ACEOF
84269 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84270 echo "$as_me:$LINENO: result: $res" >&5
84271 echo "${ECHO_T}$res" >&6
84274 # Check for rlimit, setrlimit.
84275 if test "${ac_setrlimit+set}" = set; then
84276 echo $ECHO_N "(cached) $ECHO_C" >&6
84277 else
84279 cat >conftest.$ac_ext <<_ACEOF
84280 /* confdefs.h. */
84281 _ACEOF
84282 cat confdefs.h >>conftest.$ac_ext
84283 cat >>conftest.$ac_ext <<_ACEOF
84284 /* end confdefs.h. */
84285 #include <unistd.h>
84286 #include <sys/time.h>
84287 #include <sys/resource.h>
84290 main ()
84292 struct rlimit r;
84293 setrlimit(0, &r);
84295 return 0;
84297 _ACEOF
84298 rm -f conftest.$ac_objext
84299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84300 (eval $ac_compile) 2>conftest.er1
84301 ac_status=$?
84302 grep -v '^ *+' conftest.er1 >conftest.err
84303 rm -f conftest.er1
84304 cat conftest.err >&5
84305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84306 (exit $ac_status); } &&
84307 { ac_try='test -z "$ac_c_werror_flag"
84308 || test ! -s conftest.err'
84309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84310 (eval $ac_try) 2>&5
84311 ac_status=$?
84312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84313 (exit $ac_status); }; } &&
84314 { ac_try='test -s conftest.$ac_objext'
84315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84316 (eval $ac_try) 2>&5
84317 ac_status=$?
84318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84319 (exit $ac_status); }; }; then
84320 ac_setrlimit=yes
84321 else
84322 echo "$as_me: failed program was:" >&5
84323 sed 's/^/| /' conftest.$ac_ext >&5
84325 ac_setrlimit=no
84327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84333 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
84334 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
84335 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
84336 ac_res_limits=yes
84338 cat >>confdefs.h <<\_ACEOF
84339 #define _GLIBCXX_RES_LIMITS 1
84340 _ACEOF
84342 else
84343 ac_res_limits=no
84345 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
84346 echo "${ECHO_T}$ac_res_limits" >&6
84349 # Look for setenv, so that extended locale tests can be performed.
84351 echo "$as_me:$LINENO: checking for setenv declaration" >&5
84352 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
84353 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
84354 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
84355 echo $ECHO_N "(cached) $ECHO_C" >&6
84356 else
84360 ac_ext=cc
84361 ac_cpp='$CXXCPP $CPPFLAGS'
84362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84366 cat >conftest.$ac_ext <<_ACEOF
84367 /* confdefs.h. */
84368 _ACEOF
84369 cat confdefs.h >>conftest.$ac_ext
84370 cat >>conftest.$ac_ext <<_ACEOF
84371 /* end confdefs.h. */
84372 #include <stdlib.h>
84374 main ()
84376 setenv(0, 0, 0);
84378 return 0;
84380 _ACEOF
84381 rm -f conftest.$ac_objext
84382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84383 (eval $ac_compile) 2>conftest.er1
84384 ac_status=$?
84385 grep -v '^ *+' conftest.er1 >conftest.err
84386 rm -f conftest.er1
84387 cat conftest.err >&5
84388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84389 (exit $ac_status); } &&
84390 { ac_try='test -z "$ac_cxx_werror_flag"
84391 || test ! -s conftest.err'
84392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84393 (eval $ac_try) 2>&5
84394 ac_status=$?
84395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84396 (exit $ac_status); }; } &&
84397 { ac_try='test -s conftest.$ac_objext'
84398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84399 (eval $ac_try) 2>&5
84400 ac_status=$?
84401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84402 (exit $ac_status); }; }; then
84403 glibcxx_cv_func_setenv_use=yes
84404 else
84405 echo "$as_me: failed program was:" >&5
84406 sed 's/^/| /' conftest.$ac_ext >&5
84408 glibcxx_cv_func_setenv_use=no
84410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84411 ac_ext=c
84412 ac_cpp='$CPP $CPPFLAGS'
84413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
84422 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
84423 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
84425 for ac_func in setenv
84427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84428 echo "$as_me:$LINENO: checking for $ac_func" >&5
84429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84430 if eval "test \"\${$as_ac_var+set}\" = set"; then
84431 echo $ECHO_N "(cached) $ECHO_C" >&6
84432 else
84433 if test x$gcc_no_link = xyes; then
84434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84436 { (exit 1); exit 1; }; }
84438 cat >conftest.$ac_ext <<_ACEOF
84439 /* confdefs.h. */
84440 _ACEOF
84441 cat confdefs.h >>conftest.$ac_ext
84442 cat >>conftest.$ac_ext <<_ACEOF
84443 /* end confdefs.h. */
84444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84446 #define $ac_func innocuous_$ac_func
84448 /* System header to define __stub macros and hopefully few prototypes,
84449 which can conflict with char $ac_func (); below.
84450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84451 <limits.h> exists even on freestanding compilers. */
84453 #ifdef __STDC__
84454 # include <limits.h>
84455 #else
84456 # include <assert.h>
84457 #endif
84459 #undef $ac_func
84461 /* Override any gcc2 internal prototype to avoid an error. */
84462 #ifdef __cplusplus
84463 extern "C"
84465 #endif
84466 /* We use char because int might match the return type of a gcc2
84467 builtin and then its argument prototype would still apply. */
84468 char $ac_func ();
84469 /* The GNU C library defines this for functions which it implements
84470 to always fail with ENOSYS. Some functions are actually named
84471 something starting with __ and the normal name is an alias. */
84472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84473 choke me
84474 #else
84475 char (*f) () = $ac_func;
84476 #endif
84477 #ifdef __cplusplus
84479 #endif
84482 main ()
84484 return f != $ac_func;
84486 return 0;
84488 _ACEOF
84489 rm -f conftest.$ac_objext conftest$ac_exeext
84490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84491 (eval $ac_link) 2>conftest.er1
84492 ac_status=$?
84493 grep -v '^ *+' conftest.er1 >conftest.err
84494 rm -f conftest.er1
84495 cat conftest.err >&5
84496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84497 (exit $ac_status); } &&
84498 { ac_try='test -z "$ac_c_werror_flag"
84499 || test ! -s conftest.err'
84500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84501 (eval $ac_try) 2>&5
84502 ac_status=$?
84503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84504 (exit $ac_status); }; } &&
84505 { ac_try='test -s conftest$ac_exeext'
84506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84507 (eval $ac_try) 2>&5
84508 ac_status=$?
84509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84510 (exit $ac_status); }; }; then
84511 eval "$as_ac_var=yes"
84512 else
84513 echo "$as_me: failed program was:" >&5
84514 sed 's/^/| /' conftest.$ac_ext >&5
84516 eval "$as_ac_var=no"
84518 rm -f conftest.err conftest.$ac_objext \
84519 conftest$ac_exeext conftest.$ac_ext
84521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84523 if test `eval echo '${'$as_ac_var'}'` = yes; then
84524 cat >>confdefs.h <<_ACEOF
84525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84526 _ACEOF
84529 done
84535 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
84536 test $enable_symvers != no; then
84537 case "$host" in
84538 *-*-cygwin*)
84539 enable_abi_check=no ;;
84541 enable_abi_check=yes ;;
84542 esac
84543 else
84544 # Only build this as native, since automake does not understand
84545 # CXX_FOR_BUILD.
84546 enable_abi_check=no
84549 # Export file names for ABI checking.
84550 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
84554 # Propagate the target-specific source directories through the build chain.
84555 ATOMICITY_SRCDIR=config/${atomicity_dir}
84556 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
84557 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
84558 OS_INC_SRCDIR=config/${os_include_dir}
84559 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
84567 # Determine cross-compile flags and AM_CONDITIONALs.
84568 #AC_SUBST(GLIBCXX_IS_NATIVE)
84569 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
84570 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
84571 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
84574 if test $is_hosted = yes; then
84575 GLIBCXX_HOSTED_TRUE=
84576 GLIBCXX_HOSTED_FALSE='#'
84577 else
84578 GLIBCXX_HOSTED_TRUE='#'
84579 GLIBCXX_HOSTED_FALSE=
84585 if test $enable_libstdcxx_pch = yes; then
84586 GLIBCXX_BUILD_PCH_TRUE=
84587 GLIBCXX_BUILD_PCH_FALSE='#'
84588 else
84589 GLIBCXX_BUILD_PCH_TRUE='#'
84590 GLIBCXX_BUILD_PCH_FALSE=
84596 if test $enable_cheaders = c; then
84597 GLIBCXX_C_HEADERS_C_TRUE=
84598 GLIBCXX_C_HEADERS_C_FALSE='#'
84599 else
84600 GLIBCXX_C_HEADERS_C_TRUE='#'
84601 GLIBCXX_C_HEADERS_C_FALSE=
84607 if test $enable_cheaders = c_std; then
84608 GLIBCXX_C_HEADERS_C_STD_TRUE=
84609 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
84610 else
84611 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
84612 GLIBCXX_C_HEADERS_C_STD_FALSE=
84618 if test $enable_cheaders = c_global; then
84619 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
84620 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
84621 else
84622 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
84623 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
84629 if test $c_compatibility = yes; then
84630 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
84631 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
84632 else
84633 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
84634 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
84640 if test $c_extra = yes; then
84641 GLIBCXX_C_HEADERS_EXTRA_TRUE=
84642 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
84643 else
84644 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
84645 GLIBCXX_C_HEADERS_EXTRA_FALSE=
84651 if test $enable_libstdcxx_debug = yes; then
84652 GLIBCXX_BUILD_DEBUG_TRUE=
84653 GLIBCXX_BUILD_DEBUG_FALSE='#'
84654 else
84655 GLIBCXX_BUILD_DEBUG_TRUE='#'
84656 GLIBCXX_BUILD_DEBUG_FALSE=
84662 if test $enable_symvers != no; then
84663 ENABLE_SYMVERS_TRUE=
84664 ENABLE_SYMVERS_FALSE='#'
84665 else
84666 ENABLE_SYMVERS_TRUE='#'
84667 ENABLE_SYMVERS_FALSE=
84673 if test $enable_symvers = gnu; then
84674 ENABLE_SYMVERS_GNU_TRUE=
84675 ENABLE_SYMVERS_GNU_FALSE='#'
84676 else
84677 ENABLE_SYMVERS_GNU_TRUE='#'
84678 ENABLE_SYMVERS_GNU_FALSE=
84684 if test $enable_symvers = gnu-versioned-namespace; then
84685 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
84686 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
84687 else
84688 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
84689 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
84695 if test $enable_symvers = darwin; then
84696 ENABLE_SYMVERS_DARWIN_TRUE=
84697 ENABLE_SYMVERS_DARWIN_FALSE='#'
84698 else
84699 ENABLE_SYMVERS_DARWIN_TRUE='#'
84700 ENABLE_SYMVERS_DARWIN_FALSE=
84706 if test $enable_visibility = yes; then
84707 ENABLE_VISIBILITY_TRUE=
84708 ENABLE_VISIBILITY_FALSE='#'
84709 else
84710 ENABLE_VISIBILITY_TRUE='#'
84711 ENABLE_VISIBILITY_FALSE=
84717 if test $ac_ldbl_compat = yes; then
84718 GLIBCXX_LDBL_COMPAT_TRUE=
84719 GLIBCXX_LDBL_COMPAT_FALSE='#'
84720 else
84721 GLIBCXX_LDBL_COMPAT_TRUE='#'
84722 GLIBCXX_LDBL_COMPAT_FALSE=
84728 cat >confcache <<\_ACEOF
84729 # This file is a shell script that caches the results of configure
84730 # tests run on this system so they can be shared between configure
84731 # scripts and configure runs, see configure's option --config-cache.
84732 # It is not useful on other systems. If it contains results you don't
84733 # want to keep, you may remove or edit it.
84735 # config.status only pays attention to the cache file if you give it
84736 # the --recheck option to rerun configure.
84738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
84739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
84740 # following values.
84742 _ACEOF
84744 # The following way of writing the cache mishandles newlines in values,
84745 # but we know of no workaround that is simple, portable, and efficient.
84746 # So, don't put newlines in cache variables' values.
84747 # Ultrix sh set writes to stderr and can't be redirected directly,
84748 # and sets the high bit in the cache file unless we assign to the vars.
84750 (set) 2>&1 |
84751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
84752 *ac_space=\ *)
84753 # `set' does not quote correctly, so add quotes (double-quote
84754 # substitution turns \\\\ into \\, and sed turns \\ into \).
84755 sed -n \
84756 "s/'/'\\\\''/g;
84757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
84760 # `set' quotes correctly as required by POSIX, so do not add quotes.
84761 sed -n \
84762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
84764 esac;
84766 sed '
84767 t clear
84768 : clear
84769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
84770 t end
84771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
84772 : end' >>confcache
84773 if diff $cache_file confcache >/dev/null 2>&1; then :; else
84774 if test -w $cache_file; then
84775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
84776 cat confcache >$cache_file
84777 else
84778 echo "not updating unwritable cache $cache_file"
84781 rm -f confcache
84783 if test ${multilib} = yes; then
84784 multilib_arg="--enable-multilib"
84785 else
84786 multilib_arg=
84789 # Export all the install information.
84791 glibcxx_toolexecdir=no
84792 glibcxx_toolexeclibdir=no
84793 glibcxx_prefixdir=$prefix
84795 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
84796 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
84798 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
84799 if test "${with_gxx_include_dir+set}" = set; then
84800 withval="$with_gxx_include_dir"
84801 case "$withval" in
84802 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
84803 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
84804 { (exit 1); exit 1; }; } ;;
84805 no) gxx_include_dir=no ;;
84806 *) gxx_include_dir=$withval ;;
84807 esac
84808 else
84809 gxx_include_dir=no
84811 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
84812 echo "${ECHO_T}$gxx_include_dir" >&6
84814 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
84815 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
84816 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
84817 if test "${enable_version_specific_runtime_libs+set}" = set; then
84818 enableval="$enable_version_specific_runtime_libs"
84819 case "$enableval" in
84820 yes) version_specific_libs=yes ;;
84821 no) version_specific_libs=no ;;
84822 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
84823 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
84824 { (exit 1); exit 1; }; };;
84825 esac
84826 else
84827 version_specific_libs=no
84829 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
84830 echo "${ECHO_T}$version_specific_libs" >&6
84832 # Default case for install directory for include files.
84833 if test $version_specific_libs = no && test $gxx_include_dir = no; then
84834 gxx_include_dir='include/c++/${gcc_version}'
84835 if test -n "$with_cross_host" &&
84836 test x"$with_cross_host" != x"no"; then
84837 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
84838 else
84839 gxx_include_dir='${prefix}/'"$gxx_include_dir"
84843 # Version-specific runtime libs processing.
84844 if test $version_specific_libs = yes; then
84845 # Need the gcc compiler version to know where to install libraries
84846 # and header files if --enable-version-specific-runtime-libs option
84847 # is selected. FIXME: these variables are misnamed, there are
84848 # no executables installed in _toolexecdir or _toolexeclibdir.
84849 if test x"$gxx_include_dir" = x"no"; then
84850 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
84852 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
84853 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
84856 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
84857 # Install a library built with a cross compiler in tooldir, not libdir.
84858 if test x"$glibcxx_toolexecdir" = x"no"; then
84859 if test -n "$with_cross_host" &&
84860 test x"$with_cross_host" != x"no"; then
84861 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
84862 glibcxx_toolexeclibdir='${toolexecdir}/lib'
84863 else
84864 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
84865 glibcxx_toolexeclibdir='${libdir}'
84867 multi_os_directory=`$CXX -print-multi-os-directory`
84868 case $multi_os_directory in
84869 .) ;; # Avoid trailing /.
84870 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
84871 esac
84874 echo "$as_me:$LINENO: checking for install location" >&5
84875 echo $ECHO_N "checking for install location... $ECHO_C" >&6
84876 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
84877 echo "${ECHO_T}$gxx_include_dir" >&6
84885 # Export all the include and flag information to Makefiles.
84887 # Used for every C++ compile we perform.
84888 GLIBCXX_INCLUDES="\
84889 -I$glibcxx_builddir/include/$host_alias \
84890 -I$glibcxx_builddir/include \
84891 -I$glibcxx_srcdir/libsupc++"
84893 # For Canadian crosses, pick this up too.
84894 if test $CANADIAN = yes; then
84895 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
84898 # Stuff in the actual top level. Currently only used by libsupc++ to
84899 # get unwind* headers from the gcc dir.
84900 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
84901 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
84903 # Now, export this to all the little Makefiles....
84908 # Optimization flags that are probably a good idea for thrill-seekers. Just
84909 # uncomment the lines below and make, everything else is ready to go...
84910 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
84911 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
84914 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
84918 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
84919 grep "enable shared" > /dev/null;
84920 then
84921 LIBSUPCXX_PICFLAGS=-prefer-pic
84922 else
84923 LIBSUPCXX_PICFLAGS=
84927 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
84929 ac_config_files="$ac_config_files scripts/testsuite_flags"
84932 ac_config_commands="$ac_config_commands default"
84935 cat >confcache <<\_ACEOF
84936 # This file is a shell script that caches the results of configure
84937 # tests run on this system so they can be shared between configure
84938 # scripts and configure runs, see configure's option --config-cache.
84939 # It is not useful on other systems. If it contains results you don't
84940 # want to keep, you may remove or edit it.
84942 # config.status only pays attention to the cache file if you give it
84943 # the --recheck option to rerun configure.
84945 # `ac_cv_env_foo' variables (set or unset) will be overridden when
84946 # loading this file, other *unset* `ac_cv_foo' will be assigned the
84947 # following values.
84949 _ACEOF
84951 # The following way of writing the cache mishandles newlines in values,
84952 # but we know of no workaround that is simple, portable, and efficient.
84953 # So, don't put newlines in cache variables' values.
84954 # Ultrix sh set writes to stderr and can't be redirected directly,
84955 # and sets the high bit in the cache file unless we assign to the vars.
84957 (set) 2>&1 |
84958 case `(ac_space=' '; set | grep ac_space) 2>&1` in
84959 *ac_space=\ *)
84960 # `set' does not quote correctly, so add quotes (double-quote
84961 # substitution turns \\\\ into \\, and sed turns \\ into \).
84962 sed -n \
84963 "s/'/'\\\\''/g;
84964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
84967 # `set' quotes correctly as required by POSIX, so do not add quotes.
84968 sed -n \
84969 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
84971 esac;
84973 sed '
84974 t clear
84975 : clear
84976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
84977 t end
84978 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
84979 : end' >>confcache
84980 if diff $cache_file confcache >/dev/null 2>&1; then :; else
84981 if test -w $cache_file; then
84982 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
84983 cat confcache >$cache_file
84984 else
84985 echo "not updating unwritable cache $cache_file"
84988 rm -f confcache
84990 test "x$prefix" = xNONE && prefix=$ac_default_prefix
84991 # Let make expand exec_prefix.
84992 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
84994 # VPATH may cause trouble with some makes, so we remove $(srcdir),
84995 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
84996 # trailing colons and then remove the whole line if VPATH becomes empty
84997 # (actually we leave an empty line to preserve line numbers).
84998 if test "x$srcdir" = x.; then
84999 ac_vpsub='/^[ ]*VPATH[ ]*=/{
85000 s/:*\$(srcdir):*/:/;
85001 s/:*\${srcdir}:*/:/;
85002 s/:*@srcdir@:*/:/;
85003 s/^\([^=]*=[ ]*\):*/\1/;
85004 s/:*$//;
85005 s/^[^=]*=[ ]*$//;
85009 DEFS=-DHAVE_CONFIG_H
85011 ac_libobjs=
85012 ac_ltlibobjs=
85013 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
85014 # 1. Remove the extension, and $U if already installed.
85015 ac_i=`echo "$ac_i" |
85016 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
85017 # 2. Add them.
85018 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
85019 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
85020 done
85021 LIBOBJS=$ac_libobjs
85023 LTLIBOBJS=$ac_ltlibobjs
85026 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
85027 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
85028 Usually this means the macro was only invoked conditionally." >&5
85029 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
85030 Usually this means the macro was only invoked conditionally." >&2;}
85031 { (exit 1); exit 1; }; }
85033 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
85034 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
85035 Usually this means the macro was only invoked conditionally." >&5
85036 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
85037 Usually this means the macro was only invoked conditionally." >&2;}
85038 { (exit 1); exit 1; }; }
85040 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
85041 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
85042 Usually this means the macro was only invoked conditionally." >&5
85043 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
85044 Usually this means the macro was only invoked conditionally." >&2;}
85045 { (exit 1); exit 1; }; }
85047 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
85048 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
85049 Usually this means the macro was only invoked conditionally." >&5
85050 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
85051 Usually this means the macro was only invoked conditionally." >&2;}
85052 { (exit 1); exit 1; }; }
85054 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
85055 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
85056 Usually this means the macro was only invoked conditionally." >&5
85057 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
85058 Usually this means the macro was only invoked conditionally." >&2;}
85059 { (exit 1); exit 1; }; }
85061 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
85062 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
85063 Usually this means the macro was only invoked conditionally." >&5
85064 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
85065 Usually this means the macro was only invoked conditionally." >&2;}
85066 { (exit 1); exit 1; }; }
85068 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
85069 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
85070 Usually this means the macro was only invoked conditionally." >&5
85071 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
85072 Usually this means the macro was only invoked conditionally." >&2;}
85073 { (exit 1); exit 1; }; }
85075 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
85076 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
85077 Usually this means the macro was only invoked conditionally." >&5
85078 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
85079 Usually this means the macro was only invoked conditionally." >&2;}
85080 { (exit 1); exit 1; }; }
85082 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
85083 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
85084 Usually this means the macro was only invoked conditionally." >&5
85085 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
85086 Usually this means the macro was only invoked conditionally." >&2;}
85087 { (exit 1); exit 1; }; }
85089 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
85090 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
85091 Usually this means the macro was only invoked conditionally." >&5
85092 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
85093 Usually this means the macro was only invoked conditionally." >&2;}
85094 { (exit 1); exit 1; }; }
85096 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
85097 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
85098 Usually this means the macro was only invoked conditionally." >&5
85099 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
85100 Usually this means the macro was only invoked conditionally." >&2;}
85101 { (exit 1); exit 1; }; }
85103 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
85104 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
85105 Usually this means the macro was only invoked conditionally." >&5
85106 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
85107 Usually this means the macro was only invoked conditionally." >&2;}
85108 { (exit 1); exit 1; }; }
85110 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
85111 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
85112 Usually this means the macro was only invoked conditionally." >&5
85113 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
85114 Usually this means the macro was only invoked conditionally." >&2;}
85115 { (exit 1); exit 1; }; }
85117 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
85118 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
85119 Usually this means the macro was only invoked conditionally." >&5
85120 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
85121 Usually this means the macro was only invoked conditionally." >&2;}
85122 { (exit 1); exit 1; }; }
85124 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
85125 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
85126 Usually this means the macro was only invoked conditionally." >&5
85127 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
85128 Usually this means the macro was only invoked conditionally." >&2;}
85129 { (exit 1); exit 1; }; }
85132 : ${CONFIG_STATUS=./config.status}
85133 ac_clean_files_save=$ac_clean_files
85134 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
85135 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
85136 echo "$as_me: creating $CONFIG_STATUS" >&6;}
85137 cat >$CONFIG_STATUS <<_ACEOF
85138 #! $SHELL
85139 # Generated by $as_me.
85140 # Run this file to recreate the current configuration.
85141 # Compiler output produced by configure, useful for debugging
85142 # configure, is in config.log if it exists.
85144 debug=false
85145 ac_cs_recheck=false
85146 ac_cs_silent=false
85147 SHELL=\${CONFIG_SHELL-$SHELL}
85148 _ACEOF
85150 cat >>$CONFIG_STATUS <<\_ACEOF
85151 ## --------------------- ##
85152 ## M4sh Initialization. ##
85153 ## --------------------- ##
85155 # Be Bourne compatible
85156 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
85157 emulate sh
85158 NULLCMD=:
85159 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
85160 # is contrary to our usage. Disable this feature.
85161 alias -g '${1+"$@"}'='"$@"'
85162 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
85163 set -o posix
85165 DUALCASE=1; export DUALCASE # for MKS sh
85167 # Support unset when possible.
85168 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85169 as_unset=unset
85170 else
85171 as_unset=false
85175 # Work around bugs in pre-3.0 UWIN ksh.
85176 $as_unset ENV MAIL MAILPATH
85177 PS1='$ '
85178 PS2='> '
85179 PS4='+ '
85181 # NLS nuisances.
85182 for as_var in \
85183 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
85184 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
85185 LC_TELEPHONE LC_TIME
85187 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
85188 eval $as_var=C; export $as_var
85189 else
85190 $as_unset $as_var
85192 done
85194 # Required to use basename.
85195 if expr a : '\(a\)' >/dev/null 2>&1; then
85196 as_expr=expr
85197 else
85198 as_expr=false
85201 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
85202 as_basename=basename
85203 else
85204 as_basename=false
85208 # Name of the executable.
85209 as_me=`$as_basename "$0" ||
85210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
85211 X"$0" : 'X\(//\)$' \| \
85212 X"$0" : 'X\(/\)$' \| \
85213 . : '\(.\)' 2>/dev/null ||
85214 echo X/"$0" |
85215 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
85216 /^X\/\(\/\/\)$/{ s//\1/; q; }
85217 /^X\/\(\/\).*/{ s//\1/; q; }
85218 s/.*/./; q'`
85221 # PATH needs CR, and LINENO needs CR and PATH.
85222 # Avoid depending upon Character Ranges.
85223 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
85224 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85225 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85226 as_cr_digits='0123456789'
85227 as_cr_alnum=$as_cr_Letters$as_cr_digits
85229 # The user is always right.
85230 if test "${PATH_SEPARATOR+set}" != set; then
85231 echo "#! /bin/sh" >conf$$.sh
85232 echo "exit 0" >>conf$$.sh
85233 chmod +x conf$$.sh
85234 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
85235 PATH_SEPARATOR=';'
85236 else
85237 PATH_SEPARATOR=:
85239 rm -f conf$$.sh
85243 as_lineno_1=$LINENO
85244 as_lineno_2=$LINENO
85245 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
85246 test "x$as_lineno_1" != "x$as_lineno_2" &&
85247 test "x$as_lineno_3" = "x$as_lineno_2" || {
85248 # Find who we are. Look in the path if we contain no path at all
85249 # relative or not.
85250 case $0 in
85251 *[\\/]* ) as_myself=$0 ;;
85252 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85253 for as_dir in $PATH
85255 IFS=$as_save_IFS
85256 test -z "$as_dir" && as_dir=.
85257 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
85258 done
85261 esac
85262 # We did not find ourselves, most probably we were run as `sh COMMAND'
85263 # in which case we are not to be found in the path.
85264 if test "x$as_myself" = x; then
85265 as_myself=$0
85267 if test ! -f "$as_myself"; then
85268 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
85269 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
85270 { (exit 1); exit 1; }; }
85272 case $CONFIG_SHELL in
85274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85275 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
85277 IFS=$as_save_IFS
85278 test -z "$as_dir" && as_dir=.
85279 for as_base in sh bash ksh sh5; do
85280 case $as_dir in
85282 if ("$as_dir/$as_base" -c '
85283 as_lineno_1=$LINENO
85284 as_lineno_2=$LINENO
85285 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
85286 test "x$as_lineno_1" != "x$as_lineno_2" &&
85287 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
85288 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
85289 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
85290 CONFIG_SHELL=$as_dir/$as_base
85291 export CONFIG_SHELL
85292 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
85293 fi;;
85294 esac
85295 done
85296 done
85298 esac
85300 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
85301 # uniformly replaced by the line number. The first 'sed' inserts a
85302 # line-number line before each line; the second 'sed' does the real
85303 # work. The second script uses 'N' to pair each line-number line
85304 # with the numbered line, and appends trailing '-' during
85305 # substitution so that $LINENO is not a special case at line end.
85306 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
85307 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
85308 sed '=' <$as_myself |
85309 sed '
85311 s,$,-,
85312 : loop
85313 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
85314 t loop
85315 s,-$,,
85316 s,^['$as_cr_digits']*\n,,
85317 ' >$as_me.lineno &&
85318 chmod +x $as_me.lineno ||
85319 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
85320 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
85321 { (exit 1); exit 1; }; }
85323 # Don't try to exec as it changes $[0], causing all sort of problems
85324 # (the dirname of $[0] is not the place where we might find the
85325 # original and so on. Autoconf is especially sensible to this).
85326 . ./$as_me.lineno
85327 # Exit status is that of the last command.
85328 exit
85332 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
85333 *c*,-n*) ECHO_N= ECHO_C='
85334 ' ECHO_T=' ' ;;
85335 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
85336 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
85337 esac
85339 if expr a : '\(a\)' >/dev/null 2>&1; then
85340 as_expr=expr
85341 else
85342 as_expr=false
85345 rm -f conf$$ conf$$.exe conf$$.file
85346 echo >conf$$.file
85347 if ln -s conf$$.file conf$$ 2>/dev/null; then
85348 # We could just check for DJGPP; but this test a) works b) is more generic
85349 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
85350 if test -f conf$$.exe; then
85351 # Don't use ln at all; we don't have any links
85352 as_ln_s='cp -p'
85353 else
85354 as_ln_s='ln -s'
85356 elif ln conf$$.file conf$$ 2>/dev/null; then
85357 as_ln_s=ln
85358 else
85359 as_ln_s='cp -p'
85361 rm -f conf$$ conf$$.exe conf$$.file
85363 if mkdir -p . 2>/dev/null; then
85364 as_mkdir_p=:
85365 else
85366 test -d ./-p && rmdir ./-p
85367 as_mkdir_p=false
85370 as_executable_p="test -f"
85372 # Sed expression to map a string onto a valid CPP name.
85373 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
85375 # Sed expression to map a string onto a valid variable name.
85376 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
85379 # IFS
85380 # We need space, tab and new line, in precisely that order.
85381 as_nl='
85383 IFS=" $as_nl"
85385 # CDPATH.
85386 $as_unset CDPATH
85388 exec 6>&1
85390 # Open the log real soon, to keep \$[0] and so on meaningful, and to
85391 # report actual input values of CONFIG_FILES etc. instead of their
85392 # values after options handling. Logging --version etc. is OK.
85393 exec 5>>config.log
85395 echo
85396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
85397 ## Running $as_me. ##
85398 _ASBOX
85399 } >&5
85400 cat >&5 <<_CSEOF
85402 This file was extended by package-unused $as_me version-unused, which was
85403 generated by GNU Autoconf 2.59. Invocation command line was
85405 CONFIG_FILES = $CONFIG_FILES
85406 CONFIG_HEADERS = $CONFIG_HEADERS
85407 CONFIG_LINKS = $CONFIG_LINKS
85408 CONFIG_COMMANDS = $CONFIG_COMMANDS
85409 $ $0 $@
85411 _CSEOF
85412 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
85413 echo >&5
85414 _ACEOF
85416 # Files that config.status was made for.
85417 if test -n "$ac_config_files"; then
85418 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
85421 if test -n "$ac_config_headers"; then
85422 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
85425 if test -n "$ac_config_links"; then
85426 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
85429 if test -n "$ac_config_commands"; then
85430 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
85433 cat >>$CONFIG_STATUS <<\_ACEOF
85435 ac_cs_usage="\
85436 \`$as_me' instantiates files from templates according to the
85437 current configuration.
85439 Usage: $0 [OPTIONS] [FILE]...
85441 -h, --help print this help, then exit
85442 -V, --version print version number, then exit
85443 -q, --quiet do not print progress messages
85444 -d, --debug don't remove temporary files
85445 --recheck update $as_me by reconfiguring in the same conditions
85446 --file=FILE[:TEMPLATE]
85447 instantiate the configuration file FILE
85448 --header=FILE[:TEMPLATE]
85449 instantiate the configuration header FILE
85451 Configuration files:
85452 $config_files
85454 Configuration headers:
85455 $config_headers
85457 Configuration commands:
85458 $config_commands
85460 Report bugs to <bug-autoconf@gnu.org>."
85461 _ACEOF
85463 cat >>$CONFIG_STATUS <<_ACEOF
85464 ac_cs_version="\\
85465 package-unused config.status version-unused
85466 configured by $0, generated by GNU Autoconf 2.59,
85467 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
85469 Copyright (C) 2003 Free Software Foundation, Inc.
85470 This config.status script is free software; the Free Software Foundation
85471 gives unlimited permission to copy, distribute and modify it."
85472 srcdir=$srcdir
85473 INSTALL="$INSTALL"
85474 _ACEOF
85476 cat >>$CONFIG_STATUS <<\_ACEOF
85477 # If no file are specified by the user, then we need to provide default
85478 # value. By we need to know if files were specified by the user.
85479 ac_need_defaults=:
85480 while test $# != 0
85482 case $1 in
85483 --*=*)
85484 ac_option=`expr "x$1" : 'x\([^=]*\)='`
85485 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
85486 ac_shift=:
85489 ac_option=$1
85490 ac_optarg=$2
85491 ac_shift=shift
85493 *) # This is not an option, so the user has probably given explicit
85494 # arguments.
85495 ac_option=$1
85496 ac_need_defaults=false;;
85497 esac
85499 case $ac_option in
85500 # Handling of the options.
85501 _ACEOF
85502 cat >>$CONFIG_STATUS <<\_ACEOF
85503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
85504 ac_cs_recheck=: ;;
85505 --version | --vers* | -V )
85506 echo "$ac_cs_version"; exit 0 ;;
85507 --he | --h)
85508 # Conflict between --help and --header
85509 { { echo "$as_me:$LINENO: error: ambiguous option: $1
85510 Try \`$0 --help' for more information." >&5
85511 echo "$as_me: error: ambiguous option: $1
85512 Try \`$0 --help' for more information." >&2;}
85513 { (exit 1); exit 1; }; };;
85514 --help | --hel | -h )
85515 echo "$ac_cs_usage"; exit 0 ;;
85516 --debug | --d* | -d )
85517 debug=: ;;
85518 --file | --fil | --fi | --f )
85519 $ac_shift
85520 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
85521 ac_need_defaults=false;;
85522 --header | --heade | --head | --hea )
85523 $ac_shift
85524 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
85525 ac_need_defaults=false;;
85526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
85527 | -silent | --silent | --silen | --sile | --sil | --si | --s)
85528 ac_cs_silent=: ;;
85530 # This is an error.
85531 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
85532 Try \`$0 --help' for more information." >&5
85533 echo "$as_me: error: unrecognized option: $1
85534 Try \`$0 --help' for more information." >&2;}
85535 { (exit 1); exit 1; }; } ;;
85537 *) ac_config_targets="$ac_config_targets $1" ;;
85539 esac
85540 shift
85541 done
85543 ac_configure_extra_args=
85545 if $ac_cs_silent; then
85546 exec 6>/dev/null
85547 ac_configure_extra_args="$ac_configure_extra_args --silent"
85550 _ACEOF
85551 cat >>$CONFIG_STATUS <<_ACEOF
85552 if \$ac_cs_recheck; then
85553 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
85554 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
85557 _ACEOF
85559 cat >>$CONFIG_STATUS <<_ACEOF
85561 # INIT-COMMANDS section.
85565 srcdir="$srcdir"
85566 host="$host"
85567 target="$target"
85568 with_multisubdir="$with_multisubdir"
85569 with_multisrctop="$with_multisrctop"
85570 with_target_subdir="$with_target_subdir"
85571 ac_configure_args="${multilib_arg} ${ac_configure_args}"
85572 multi_basedir="$multi_basedir"
85573 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
85574 CC="$CC"
85576 # Variables needed in config.status (file generation) which aren't already
85577 # passed by autoconf.
85578 SUBDIRS="$SUBDIRS"
85581 _ACEOF
85585 cat >>$CONFIG_STATUS <<\_ACEOF
85586 for ac_config_target in $ac_config_targets
85588 case "$ac_config_target" in
85589 # Handling of arguments.
85590 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
85591 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
85592 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
85593 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
85594 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
85595 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
85596 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
85597 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
85598 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
85599 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
85600 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
85601 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
85602 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
85603 { (exit 1); exit 1; }; };;
85604 esac
85605 done
85607 # If the user did not use the arguments to specify the items to instantiate,
85608 # then the envvar interface is used. Set only those that are not.
85609 # We use the long form for the default assignment because of an extremely
85610 # bizarre bug on SunOS 4.1.3.
85611 if $ac_need_defaults; then
85612 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
85613 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
85614 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
85617 # Have a temporary directory for convenience. Make it in the build tree
85618 # simply because there is no reason to put it here, and in addition,
85619 # creating and moving files from /tmp can sometimes cause problems.
85620 # Create a temporary directory, and hook for its removal unless debugging.
85621 $debug ||
85623 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
85624 trap '{ (exit 1); exit 1; }' 1 2 13 15
85627 # Create a (secure) tmp directory for tmp files.
85630 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
85631 test -n "$tmp" && test -d "$tmp"
85632 } ||
85634 tmp=./confstat$$-$RANDOM
85635 (umask 077 && mkdir $tmp)
85636 } ||
85638 echo "$me: cannot create a temporary directory in ." >&2
85639 { (exit 1); exit 1; }
85642 _ACEOF
85644 cat >>$CONFIG_STATUS <<_ACEOF
85647 # CONFIG_FILES section.
85650 # No need to generate the scripts if there are no CONFIG_FILES.
85651 # This happens for instance when ./config.status config.h
85652 if test -n "\$CONFIG_FILES"; then
85653 # Protect against being on the right side of a sed subst in config.status.
85654 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
85655 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
85656 s,@SHELL@,$SHELL,;t t
85657 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
85658 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
85659 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
85660 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
85661 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
85662 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
85663 s,@exec_prefix@,$exec_prefix,;t t
85664 s,@prefix@,$prefix,;t t
85665 s,@program_transform_name@,$program_transform_name,;t t
85666 s,@bindir@,$bindir,;t t
85667 s,@sbindir@,$sbindir,;t t
85668 s,@libexecdir@,$libexecdir,;t t
85669 s,@datadir@,$datadir,;t t
85670 s,@sysconfdir@,$sysconfdir,;t t
85671 s,@sharedstatedir@,$sharedstatedir,;t t
85672 s,@localstatedir@,$localstatedir,;t t
85673 s,@libdir@,$libdir,;t t
85674 s,@includedir@,$includedir,;t t
85675 s,@oldincludedir@,$oldincludedir,;t t
85676 s,@infodir@,$infodir,;t t
85677 s,@mandir@,$mandir,;t t
85678 s,@build_alias@,$build_alias,;t t
85679 s,@host_alias@,$host_alias,;t t
85680 s,@target_alias@,$target_alias,;t t
85681 s,@DEFS@,$DEFS,;t t
85682 s,@ECHO_C@,$ECHO_C,;t t
85683 s,@ECHO_N@,$ECHO_N,;t t
85684 s,@ECHO_T@,$ECHO_T,;t t
85685 s,@LIBS@,$LIBS,;t t
85686 s,@libtool_VERSION@,$libtool_VERSION,;t t
85687 s,@multi_basedir@,$multi_basedir,;t t
85688 s,@build@,$build,;t t
85689 s,@build_cpu@,$build_cpu,;t t
85690 s,@build_vendor@,$build_vendor,;t t
85691 s,@build_os@,$build_os,;t t
85692 s,@host@,$host,;t t
85693 s,@host_cpu@,$host_cpu,;t t
85694 s,@host_vendor@,$host_vendor,;t t
85695 s,@host_os@,$host_os,;t t
85696 s,@target@,$target,;t t
85697 s,@target_cpu@,$target_cpu,;t t
85698 s,@target_vendor@,$target_vendor,;t t
85699 s,@target_os@,$target_os,;t t
85700 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
85701 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
85702 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
85703 s,@CYGPATH_W@,$CYGPATH_W,;t t
85704 s,@PACKAGE@,$PACKAGE,;t t
85705 s,@VERSION@,$VERSION,;t t
85706 s,@ACLOCAL@,$ACLOCAL,;t t
85707 s,@AUTOCONF@,$AUTOCONF,;t t
85708 s,@AUTOMAKE@,$AUTOMAKE,;t t
85709 s,@AUTOHEADER@,$AUTOHEADER,;t t
85710 s,@MAKEINFO@,$MAKEINFO,;t t
85711 s,@install_sh@,$install_sh,;t t
85712 s,@STRIP@,$STRIP,;t t
85713 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
85714 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
85715 s,@mkdir_p@,$mkdir_p,;t t
85716 s,@AWK@,$AWK,;t t
85717 s,@SET_MAKE@,$SET_MAKE,;t t
85718 s,@am__leading_dot@,$am__leading_dot,;t t
85719 s,@AMTAR@,$AMTAR,;t t
85720 s,@am__tar@,$am__tar,;t t
85721 s,@am__untar@,$am__untar,;t t
85722 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
85723 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
85724 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
85725 s,@CC@,$CC,;t t
85726 s,@ac_ct_CC@,$ac_ct_CC,;t t
85727 s,@EXEEXT@,$EXEEXT,;t t
85728 s,@OBJEXT@,$OBJEXT,;t t
85729 s,@CXX@,$CXX,;t t
85730 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
85731 s,@CFLAGS@,$CFLAGS,;t t
85732 s,@CXXFLAGS@,$CXXFLAGS,;t t
85733 s,@LN_S@,$LN_S,;t t
85734 s,@AS@,$AS,;t t
85735 s,@ac_ct_AS@,$ac_ct_AS,;t t
85736 s,@AR@,$AR,;t t
85737 s,@ac_ct_AR@,$ac_ct_AR,;t t
85738 s,@RANLIB@,$RANLIB,;t t
85739 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
85740 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
85741 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
85742 s,@MAINT@,$MAINT,;t t
85743 s,@CPP@,$CPP,;t t
85744 s,@CPPFLAGS@,$CPPFLAGS,;t t
85745 s,@EGREP@,$EGREP,;t t
85746 s,@LIBTOOL@,$LIBTOOL,;t t
85747 s,@CXXCPP@,$CXXCPP,;t t
85748 s,@enable_shared@,$enable_shared,;t t
85749 s,@enable_static@,$enable_static,;t t
85750 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
85751 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
85752 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
85753 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
85754 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
85755 s,@CSTDIO_H@,$CSTDIO_H,;t t
85756 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
85757 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
85758 s,@check_msgfmt@,$check_msgfmt,;t t
85759 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
85760 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
85761 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
85762 s,@USE_NLS@,$USE_NLS,;t t
85763 s,@CLOCALE_H@,$CLOCALE_H,;t t
85764 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
85765 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
85766 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
85767 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
85768 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
85769 s,@CMONEY_CC@,$CMONEY_CC,;t t
85770 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
85771 s,@CTIME_H@,$CTIME_H,;t t
85772 s,@CTIME_CC@,$CTIME_CC,;t t
85773 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
85774 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
85775 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
85776 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
85777 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
85778 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
85779 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
85780 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
85781 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
85782 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
85783 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
85784 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
85785 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
85786 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
85787 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
85788 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
85789 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
85790 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
85791 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
85792 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
85793 s,@WERROR@,$WERROR,;t t
85794 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
85795 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
85796 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
85797 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
85798 s,@LIBICONV@,$LIBICONV,;t t
85799 s,@LTLIBICONV@,$LTLIBICONV,;t t
85800 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
85801 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
85802 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
85803 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
85804 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
85805 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
85806 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
85807 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
85808 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
85809 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
85810 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
85811 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
85812 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
85813 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
85814 s,@baseline_dir@,$baseline_dir,;t t
85815 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
85816 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
85817 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
85818 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
85819 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
85820 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
85821 s,@gxx_include_dir@,$gxx_include_dir,;t t
85822 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
85823 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
85824 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
85825 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
85826 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
85827 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
85828 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
85829 s,@LIBOBJS@,$LIBOBJS,;t t
85830 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
85831 CEOF
85833 _ACEOF
85835 cat >>$CONFIG_STATUS <<\_ACEOF
85836 # Split the substitutions into bite-sized pieces for seds with
85837 # small command number limits, like on Digital OSF/1 and HP-UX.
85838 ac_max_sed_lines=48
85839 ac_sed_frag=1 # Number of current file.
85840 ac_beg=1 # First line for current file.
85841 ac_end=$ac_max_sed_lines # Line after last line for current file.
85842 ac_more_lines=:
85843 ac_sed_cmds=
85844 while $ac_more_lines; do
85845 if test $ac_beg -gt 1; then
85846 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
85847 else
85848 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
85850 if test ! -s $tmp/subs.frag; then
85851 ac_more_lines=false
85852 else
85853 # The purpose of the label and of the branching condition is to
85854 # speed up the sed processing (if there are no `@' at all, there
85855 # is no need to browse any of the substitutions).
85856 # These are the two extra sed commands mentioned above.
85857 (echo ':t
85858 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
85859 if test -z "$ac_sed_cmds"; then
85860 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
85861 else
85862 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
85864 ac_sed_frag=`expr $ac_sed_frag + 1`
85865 ac_beg=$ac_end
85866 ac_end=`expr $ac_end + $ac_max_sed_lines`
85868 done
85869 if test -z "$ac_sed_cmds"; then
85870 ac_sed_cmds=cat
85872 fi # test -n "$CONFIG_FILES"
85874 _ACEOF
85875 cat >>$CONFIG_STATUS <<\_ACEOF
85876 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
85877 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
85878 case $ac_file in
85879 - | *:- | *:-:* ) # input from stdin
85880 cat >$tmp/stdin
85881 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
85882 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
85883 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
85884 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
85885 * ) ac_file_in=$ac_file.in ;;
85886 esac
85888 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
85889 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
85890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
85891 X"$ac_file" : 'X\(//\)[^/]' \| \
85892 X"$ac_file" : 'X\(//\)$' \| \
85893 X"$ac_file" : 'X\(/\)' \| \
85894 . : '\(.\)' 2>/dev/null ||
85895 echo X"$ac_file" |
85896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
85897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
85898 /^X\(\/\/\)$/{ s//\1/; q; }
85899 /^X\(\/\).*/{ s//\1/; q; }
85900 s/.*/./; q'`
85901 { if $as_mkdir_p; then
85902 mkdir -p "$ac_dir"
85903 else
85904 as_dir="$ac_dir"
85905 as_dirs=
85906 while test ! -d "$as_dir"; do
85907 as_dirs="$as_dir $as_dirs"
85908 as_dir=`(dirname "$as_dir") 2>/dev/null ||
85909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
85910 X"$as_dir" : 'X\(//\)[^/]' \| \
85911 X"$as_dir" : 'X\(//\)$' \| \
85912 X"$as_dir" : 'X\(/\)' \| \
85913 . : '\(.\)' 2>/dev/null ||
85914 echo X"$as_dir" |
85915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
85916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
85917 /^X\(\/\/\)$/{ s//\1/; q; }
85918 /^X\(\/\).*/{ s//\1/; q; }
85919 s/.*/./; q'`
85920 done
85921 test ! -n "$as_dirs" || mkdir $as_dirs
85922 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
85923 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
85924 { (exit 1); exit 1; }; }; }
85926 ac_builddir=.
85928 if test "$ac_dir" != .; then
85929 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
85930 # A "../" for each directory in $ac_dir_suffix.
85931 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
85932 else
85933 ac_dir_suffix= ac_top_builddir=
85936 case $srcdir in
85937 .) # No --srcdir option. We are building in place.
85938 ac_srcdir=.
85939 if test -z "$ac_top_builddir"; then
85940 ac_top_srcdir=.
85941 else
85942 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
85943 fi ;;
85944 [\\/]* | ?:[\\/]* ) # Absolute path.
85945 ac_srcdir=$srcdir$ac_dir_suffix;
85946 ac_top_srcdir=$srcdir ;;
85947 *) # Relative path.
85948 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
85949 ac_top_srcdir=$ac_top_builddir$srcdir ;;
85950 esac
85952 # Do not use `cd foo && pwd` to compute absolute paths, because
85953 # the directories may not exist.
85954 case `pwd` in
85955 .) ac_abs_builddir="$ac_dir";;
85957 case "$ac_dir" in
85958 .) ac_abs_builddir=`pwd`;;
85959 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
85960 *) ac_abs_builddir=`pwd`/"$ac_dir";;
85961 esac;;
85962 esac
85963 case $ac_abs_builddir in
85964 .) ac_abs_top_builddir=${ac_top_builddir}.;;
85966 case ${ac_top_builddir}. in
85967 .) ac_abs_top_builddir=$ac_abs_builddir;;
85968 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
85969 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
85970 esac;;
85971 esac
85972 case $ac_abs_builddir in
85973 .) ac_abs_srcdir=$ac_srcdir;;
85975 case $ac_srcdir in
85976 .) ac_abs_srcdir=$ac_abs_builddir;;
85977 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
85978 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
85979 esac;;
85980 esac
85981 case $ac_abs_builddir in
85982 .) ac_abs_top_srcdir=$ac_top_srcdir;;
85984 case $ac_top_srcdir in
85985 .) ac_abs_top_srcdir=$ac_abs_builddir;;
85986 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
85987 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
85988 esac;;
85989 esac
85992 case $INSTALL in
85993 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
85994 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
85995 esac
85997 if test x"$ac_file" != x-; then
85998 { echo "$as_me:$LINENO: creating $ac_file" >&5
85999 echo "$as_me: creating $ac_file" >&6;}
86000 rm -f "$ac_file"
86002 # Let's still pretend it is `configure' which instantiates (i.e., don't
86003 # use $as_me), people would be surprised to read:
86004 # /* config.h. Generated by config.status. */
86005 if test x"$ac_file" = x-; then
86006 configure_input=
86007 else
86008 configure_input="$ac_file. "
86010 configure_input=$configure_input"Generated from `echo $ac_file_in |
86011 sed 's,.*/,,'` by configure."
86013 # First look for the input files in the build tree, otherwise in the
86014 # src tree.
86015 ac_file_inputs=`IFS=:
86016 for f in $ac_file_in; do
86017 case $f in
86018 -) echo $tmp/stdin ;;
86019 [\\/$]*)
86020 # Absolute (can't be DOS-style, as IFS=:)
86021 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86022 echo "$as_me: error: cannot find input file: $f" >&2;}
86023 { (exit 1); exit 1; }; }
86024 echo "$f";;
86025 *) # Relative
86026 if test -f "$f"; then
86027 # Build tree
86028 echo "$f"
86029 elif test -f "$srcdir/$f"; then
86030 # Source tree
86031 echo "$srcdir/$f"
86032 else
86033 # /dev/null tree
86034 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86035 echo "$as_me: error: cannot find input file: $f" >&2;}
86036 { (exit 1); exit 1; }; }
86037 fi;;
86038 esac
86039 done` || { (exit 1); exit 1; }
86040 _ACEOF
86041 cat >>$CONFIG_STATUS <<_ACEOF
86042 sed "$ac_vpsub
86043 $extrasub
86044 _ACEOF
86045 cat >>$CONFIG_STATUS <<\_ACEOF
86047 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
86048 s,@configure_input@,$configure_input,;t t
86049 s,@srcdir@,$ac_srcdir,;t t
86050 s,@abs_srcdir@,$ac_abs_srcdir,;t t
86051 s,@top_srcdir@,$ac_top_srcdir,;t t
86052 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
86053 s,@builddir@,$ac_builddir,;t t
86054 s,@abs_builddir@,$ac_abs_builddir,;t t
86055 s,@top_builddir@,$ac_top_builddir,;t t
86056 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
86057 s,@INSTALL@,$ac_INSTALL,;t t
86058 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
86059 rm -f $tmp/stdin
86060 if test x"$ac_file" != x-; then
86061 mv $tmp/out $ac_file
86062 else
86063 cat $tmp/out
86064 rm -f $tmp/out
86067 # Run the commands associated with the file.
86068 case $ac_file in
86069 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
86070 esac
86071 done
86072 _ACEOF
86073 cat >>$CONFIG_STATUS <<\_ACEOF
86076 # CONFIG_HEADER section.
86079 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
86080 # NAME is the cpp macro being defined and VALUE is the value it is being given.
86082 # ac_d sets the value in "#define NAME VALUE" lines.
86083 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
86084 ac_dB='[ ].*$,\1#\2'
86085 ac_dC=' '
86086 ac_dD=',;t'
86087 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
86088 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
86089 ac_uB='$,\1#\2define\3'
86090 ac_uC=' '
86091 ac_uD=',;t'
86093 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
86094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
86095 case $ac_file in
86096 - | *:- | *:-:* ) # input from stdin
86097 cat >$tmp/stdin
86098 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86099 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86100 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86101 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86102 * ) ac_file_in=$ac_file.in ;;
86103 esac
86105 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
86106 echo "$as_me: creating $ac_file" >&6;}
86108 # First look for the input files in the build tree, otherwise in the
86109 # src tree.
86110 ac_file_inputs=`IFS=:
86111 for f in $ac_file_in; do
86112 case $f in
86113 -) echo $tmp/stdin ;;
86114 [\\/$]*)
86115 # Absolute (can't be DOS-style, as IFS=:)
86116 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86117 echo "$as_me: error: cannot find input file: $f" >&2;}
86118 { (exit 1); exit 1; }; }
86119 # Do quote $f, to prevent DOS paths from being IFS'd.
86120 echo "$f";;
86121 *) # Relative
86122 if test -f "$f"; then
86123 # Build tree
86124 echo "$f"
86125 elif test -f "$srcdir/$f"; then
86126 # Source tree
86127 echo "$srcdir/$f"
86128 else
86129 # /dev/null tree
86130 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86131 echo "$as_me: error: cannot find input file: $f" >&2;}
86132 { (exit 1); exit 1; }; }
86133 fi;;
86134 esac
86135 done` || { (exit 1); exit 1; }
86136 # Remove the trailing spaces.
86137 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
86139 _ACEOF
86141 # Transform confdefs.h into two sed scripts, `conftest.defines' and
86142 # `conftest.undefs', that substitutes the proper values into
86143 # config.h.in to produce config.h. The first handles `#define'
86144 # templates, and the second `#undef' templates.
86145 # And first: Protect against being on the right side of a sed subst in
86146 # config.status. Protect against being in an unquoted here document
86147 # in config.status.
86148 rm -f conftest.defines conftest.undefs
86149 # Using a here document instead of a string reduces the quoting nightmare.
86150 # Putting comments in sed scripts is not portable.
86152 # `end' is used to avoid that the second main sed command (meant for
86153 # 0-ary CPP macros) applies to n-ary macro definitions.
86154 # See the Autoconf documentation for `clear'.
86155 cat >confdef2sed.sed <<\_ACEOF
86156 s/[\\&,]/\\&/g
86157 s,[\\$`],\\&,g
86158 t clear
86159 : clear
86160 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
86161 t end
86162 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
86163 : end
86164 _ACEOF
86165 # If some macros were called several times there might be several times
86166 # the same #defines, which is useless. Nevertheless, we may not want to
86167 # sort them, since we want the *last* AC-DEFINE to be honored.
86168 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
86169 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
86170 rm -f confdef2sed.sed
86172 # This sed command replaces #undef with comments. This is necessary, for
86173 # example, in the case of _POSIX_SOURCE, which is predefined and required
86174 # on some systems where configure will not decide to define it.
86175 cat >>conftest.undefs <<\_ACEOF
86176 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
86177 _ACEOF
86179 # Break up conftest.defines because some shells have a limit on the size
86180 # of here documents, and old seds have small limits too (100 cmds).
86181 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
86182 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
86183 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
86184 echo ' :' >>$CONFIG_STATUS
86185 rm -f conftest.tail
86186 while grep . conftest.defines >/dev/null
86188 # Write a limited-size here document to $tmp/defines.sed.
86189 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
86190 # Speed up: don't consider the non `#define' lines.
86191 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
86192 # Work around the forget-to-reset-the-flag bug.
86193 echo 't clr' >>$CONFIG_STATUS
86194 echo ': clr' >>$CONFIG_STATUS
86195 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
86196 echo 'CEOF
86197 sed -f $tmp/defines.sed $tmp/in >$tmp/out
86198 rm -f $tmp/in
86199 mv $tmp/out $tmp/in
86200 ' >>$CONFIG_STATUS
86201 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
86202 rm -f conftest.defines
86203 mv conftest.tail conftest.defines
86204 done
86205 rm -f conftest.defines
86206 echo ' fi # grep' >>$CONFIG_STATUS
86207 echo >>$CONFIG_STATUS
86209 # Break up conftest.undefs because some shells have a limit on the size
86210 # of here documents, and old seds have small limits too (100 cmds).
86211 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
86212 rm -f conftest.tail
86213 while grep . conftest.undefs >/dev/null
86215 # Write a limited-size here document to $tmp/undefs.sed.
86216 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
86217 # Speed up: don't consider the non `#undef'
86218 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
86219 # Work around the forget-to-reset-the-flag bug.
86220 echo 't clr' >>$CONFIG_STATUS
86221 echo ': clr' >>$CONFIG_STATUS
86222 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
86223 echo 'CEOF
86224 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
86225 rm -f $tmp/in
86226 mv $tmp/out $tmp/in
86227 ' >>$CONFIG_STATUS
86228 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
86229 rm -f conftest.undefs
86230 mv conftest.tail conftest.undefs
86231 done
86232 rm -f conftest.undefs
86234 cat >>$CONFIG_STATUS <<\_ACEOF
86235 # Let's still pretend it is `configure' which instantiates (i.e., don't
86236 # use $as_me), people would be surprised to read:
86237 # /* config.h. Generated by config.status. */
86238 if test x"$ac_file" = x-; then
86239 echo "/* Generated by configure. */" >$tmp/config.h
86240 else
86241 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
86243 cat $tmp/in >>$tmp/config.h
86244 rm -f $tmp/in
86245 if test x"$ac_file" != x-; then
86246 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
86247 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
86248 echo "$as_me: $ac_file is unchanged" >&6;}
86249 else
86250 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
86251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86252 X"$ac_file" : 'X\(//\)[^/]' \| \
86253 X"$ac_file" : 'X\(//\)$' \| \
86254 X"$ac_file" : 'X\(/\)' \| \
86255 . : '\(.\)' 2>/dev/null ||
86256 echo X"$ac_file" |
86257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86259 /^X\(\/\/\)$/{ s//\1/; q; }
86260 /^X\(\/\).*/{ s//\1/; q; }
86261 s/.*/./; q'`
86262 { if $as_mkdir_p; then
86263 mkdir -p "$ac_dir"
86264 else
86265 as_dir="$ac_dir"
86266 as_dirs=
86267 while test ! -d "$as_dir"; do
86268 as_dirs="$as_dir $as_dirs"
86269 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86271 X"$as_dir" : 'X\(//\)[^/]' \| \
86272 X"$as_dir" : 'X\(//\)$' \| \
86273 X"$as_dir" : 'X\(/\)' \| \
86274 . : '\(.\)' 2>/dev/null ||
86275 echo X"$as_dir" |
86276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86278 /^X\(\/\/\)$/{ s//\1/; q; }
86279 /^X\(\/\).*/{ s//\1/; q; }
86280 s/.*/./; q'`
86281 done
86282 test ! -n "$as_dirs" || mkdir $as_dirs
86283 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86284 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86285 { (exit 1); exit 1; }; }; }
86287 rm -f $ac_file
86288 mv $tmp/config.h $ac_file
86290 else
86291 cat $tmp/config.h
86292 rm -f $tmp/config.h
86294 # Compute $ac_file's index in $config_headers.
86295 _am_stamp_count=1
86296 for _am_header in $config_headers :; do
86297 case $_am_header in
86298 $ac_file | $ac_file:* )
86299 break ;;
86301 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
86302 esac
86303 done
86304 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
86305 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86306 X$ac_file : 'X\(//\)[^/]' \| \
86307 X$ac_file : 'X\(//\)$' \| \
86308 X$ac_file : 'X\(/\)' \| \
86309 . : '\(.\)' 2>/dev/null ||
86310 echo X$ac_file |
86311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86313 /^X\(\/\/\)$/{ s//\1/; q; }
86314 /^X\(\/\).*/{ s//\1/; q; }
86315 s/.*/./; q'`/stamp-h$_am_stamp_count
86316 done
86317 _ACEOF
86318 cat >>$CONFIG_STATUS <<\_ACEOF
86321 # CONFIG_COMMANDS section.
86323 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
86324 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
86325 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
86326 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
86327 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86328 X"$ac_dest" : 'X\(//\)[^/]' \| \
86329 X"$ac_dest" : 'X\(//\)$' \| \
86330 X"$ac_dest" : 'X\(/\)' \| \
86331 . : '\(.\)' 2>/dev/null ||
86332 echo X"$ac_dest" |
86333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86335 /^X\(\/\/\)$/{ s//\1/; q; }
86336 /^X\(\/\).*/{ s//\1/; q; }
86337 s/.*/./; q'`
86338 { if $as_mkdir_p; then
86339 mkdir -p "$ac_dir"
86340 else
86341 as_dir="$ac_dir"
86342 as_dirs=
86343 while test ! -d "$as_dir"; do
86344 as_dirs="$as_dir $as_dirs"
86345 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86347 X"$as_dir" : 'X\(//\)[^/]' \| \
86348 X"$as_dir" : 'X\(//\)$' \| \
86349 X"$as_dir" : 'X\(/\)' \| \
86350 . : '\(.\)' 2>/dev/null ||
86351 echo X"$as_dir" |
86352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86354 /^X\(\/\/\)$/{ s//\1/; q; }
86355 /^X\(\/\).*/{ s//\1/; q; }
86356 s/.*/./; q'`
86357 done
86358 test ! -n "$as_dirs" || mkdir $as_dirs
86359 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86360 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86361 { (exit 1); exit 1; }; }; }
86363 ac_builddir=.
86365 if test "$ac_dir" != .; then
86366 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
86367 # A "../" for each directory in $ac_dir_suffix.
86368 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
86369 else
86370 ac_dir_suffix= ac_top_builddir=
86373 case $srcdir in
86374 .) # No --srcdir option. We are building in place.
86375 ac_srcdir=.
86376 if test -z "$ac_top_builddir"; then
86377 ac_top_srcdir=.
86378 else
86379 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
86380 fi ;;
86381 [\\/]* | ?:[\\/]* ) # Absolute path.
86382 ac_srcdir=$srcdir$ac_dir_suffix;
86383 ac_top_srcdir=$srcdir ;;
86384 *) # Relative path.
86385 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
86386 ac_top_srcdir=$ac_top_builddir$srcdir ;;
86387 esac
86389 # Do not use `cd foo && pwd` to compute absolute paths, because
86390 # the directories may not exist.
86391 case `pwd` in
86392 .) ac_abs_builddir="$ac_dir";;
86394 case "$ac_dir" in
86395 .) ac_abs_builddir=`pwd`;;
86396 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
86397 *) ac_abs_builddir=`pwd`/"$ac_dir";;
86398 esac;;
86399 esac
86400 case $ac_abs_builddir in
86401 .) ac_abs_top_builddir=${ac_top_builddir}.;;
86403 case ${ac_top_builddir}. in
86404 .) ac_abs_top_builddir=$ac_abs_builddir;;
86405 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
86406 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
86407 esac;;
86408 esac
86409 case $ac_abs_builddir in
86410 .) ac_abs_srcdir=$ac_srcdir;;
86412 case $ac_srcdir in
86413 .) ac_abs_srcdir=$ac_abs_builddir;;
86414 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
86415 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
86416 esac;;
86417 esac
86418 case $ac_abs_builddir in
86419 .) ac_abs_top_srcdir=$ac_top_srcdir;;
86421 case $ac_top_srcdir in
86422 .) ac_abs_top_srcdir=$ac_abs_builddir;;
86423 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
86424 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
86425 esac;;
86426 esac
86429 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
86430 echo "$as_me: executing $ac_dest commands" >&6;}
86431 case $ac_dest in
86432 default-1 )
86433 # Only add multilib support code if we just rebuilt the top-level
86434 # Makefile.
86435 case " $CONFIG_FILES " in
86436 *" Makefile "*)
86437 ac_file=Makefile . ${multi_basedir}/config-ml.in
86439 esac ;;
86440 default ) if test -n "$CONFIG_FILES"; then
86441 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
86442 # that multilib installs will end up installed in the correct place.
86443 # The testsuite needs it for multilib-aware ABI baseline files.
86444 # To work around this not being passed down from config-ml.in ->
86445 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
86446 # append it here. Only modify Makefiles that have just been created.
86448 # Also, get rid of this simulated-VPATH thing that automake does.
86449 cat > vpsed << \_EOF
86450 s!`test -f '$<' || echo '$(srcdir)/'`!!
86451 _EOF
86452 for i in $SUBDIRS; do
86453 case $CONFIG_FILES in
86454 *${i}/Makefile*)
86455 #echo "Adding MULTISUBDIR to $i/Makefile"
86456 sed -f vpsed $i/Makefile > tmp
86457 grep '^MULTISUBDIR =' Makefile >> tmp
86458 mv tmp $i/Makefile
86460 esac
86461 done
86462 rm vpsed
86464 (cd include && ${MAKE-make})
86466 esac
86467 done
86468 _ACEOF
86470 cat >>$CONFIG_STATUS <<\_ACEOF
86472 { (exit 0); exit 0; }
86473 _ACEOF
86474 chmod +x $CONFIG_STATUS
86475 ac_clean_files=$ac_clean_files_save
86478 # configure is writing to config.log, and then calls config.status.
86479 # config.status does its own redirection, appending to config.log.
86480 # Unfortunately, on DOS this fails, as config.log is still kept open
86481 # by configure, so config.status won't be able to write to it; its
86482 # output is simply discarded. So we exec the FD to /dev/null,
86483 # effectively closing config.log, so it can be properly (re)opened and
86484 # appended to by config.status. When coming back to configure, we
86485 # need to make the FD available again.
86486 if test "$no_create" != yes; then
86487 ac_cs_success=:
86488 ac_config_status_args=
86489 test "$silent" = yes &&
86490 ac_config_status_args="$ac_config_status_args --quiet"
86491 exec 5>/dev/null
86492 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
86493 exec 5>>config.log
86494 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
86495 # would make configure fail if this is the last instruction.
86496 $ac_cs_success || { (exit 1); exit 1; }