Mark as release
[official-gcc.git] / libstdc++-v3 / configure
blob03a7f2b58de7896a3936fc16f9ab9295b5d90d69
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV 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 --enable-symvers=STYLE enables symbol versioning of the shared library
892 [default=yes]
893 --enable-visibility enables visibility safe usage [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CPP C preprocessor
920 CXXCPP C++ preprocessor
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
925 _ACEOF
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1013 cd $ac_popdir
1014 done
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1037 $ $0 $@
1039 _ACEOF
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1063 _ASUNAME
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1073 } >&5
1075 cat >&5 <<_ACEOF
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1082 _ACEOF
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1097 for ac_arg
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1144 echo
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1165 esac;
1167 echo
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1225 # Predefined preprocessor variables.
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1268 done
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1371 ac_config_headers="$ac_config_headers config.h"
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:9:0
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1410 else
1411 multi_basedir="$srcdir/.."
1415 # Even if the default multilib is not a cross compilation,
1416 # it may be that some of the other multilibs are.
1417 if test $cross_compiling = no && test $multilib = yes \
1418 && test "x${with_multisubdir}" != x ; then
1419 cross_compiling=maybe
1422 ac_config_commands="$ac_config_commands default-1"
1425 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1427 # You will slowly go insane if you do not grok the following fact: when
1428 # building v3 as part of the compiler, the top-level /target/ becomes the
1429 # library's /host/. configure then causes --target to default to --host,
1430 # exactly like any other package using autoconf. Therefore, 'target' and
1431 # 'host' will always be the same. This makes sense both for native and
1432 # cross compilers, just think about it for a little while. :-)
1434 # Also, if v3 is being configured as part of a cross compiler, the top-level
1435 # configure script will pass the "real" host as $with_cross_host.
1437 # Do not delete or change the following two lines. For why, see
1438 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1439 ac_aux_dir=
1440 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1441 if test -f $ac_dir/install-sh; then
1442 ac_aux_dir=$ac_dir
1443 ac_install_sh="$ac_aux_dir/install-sh -c"
1444 break
1445 elif test -f $ac_dir/install.sh; then
1446 ac_aux_dir=$ac_dir
1447 ac_install_sh="$ac_aux_dir/install.sh -c"
1448 break
1449 elif test -f $ac_dir/shtool; then
1450 ac_aux_dir=$ac_dir
1451 ac_install_sh="$ac_aux_dir/shtool install -c"
1452 break
1454 done
1455 if test -z "$ac_aux_dir"; then
1456 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1457 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1458 { (exit 1); exit 1; }; }
1460 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1461 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1462 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1464 # Make sure we can run config.sub.
1465 $ac_config_sub sun4 >/dev/null 2>&1 ||
1466 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1467 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1468 { (exit 1); exit 1; }; }
1470 echo "$as_me:$LINENO: checking build system type" >&5
1471 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1472 if test "${ac_cv_build+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1474 else
1475 ac_cv_build_alias=$build_alias
1476 test -z "$ac_cv_build_alias" &&
1477 ac_cv_build_alias=`$ac_config_guess`
1478 test -z "$ac_cv_build_alias" &&
1479 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1480 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1481 { (exit 1); exit 1; }; }
1482 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1483 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1484 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1485 { (exit 1); exit 1; }; }
1488 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1489 echo "${ECHO_T}$ac_cv_build" >&6
1490 build=$ac_cv_build
1491 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1492 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1493 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1496 echo "$as_me:$LINENO: checking host system type" >&5
1497 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1498 if test "${ac_cv_host+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 else
1501 ac_cv_host_alias=$host_alias
1502 test -z "$ac_cv_host_alias" &&
1503 ac_cv_host_alias=$ac_cv_build_alias
1504 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1505 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1506 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1507 { (exit 1); exit 1; }; }
1510 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1511 echo "${ECHO_T}$ac_cv_host" >&6
1512 host=$ac_cv_host
1513 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1514 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1515 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1518 echo "$as_me:$LINENO: checking target system type" >&5
1519 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1520 if test "${ac_cv_target+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523 ac_cv_target_alias=$target_alias
1524 test "x$ac_cv_target_alias" = "x" &&
1525 ac_cv_target_alias=$ac_cv_host_alias
1526 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1527 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1528 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1529 { (exit 1); exit 1; }; }
1532 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1533 echo "${ECHO_T}$ac_cv_target" >&6
1534 target=$ac_cv_target
1535 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1536 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1537 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1540 # The aliases save the names the user supplied, while $host etc.
1541 # will get canonicalized.
1542 test -n "$target_alias" &&
1543 test "$program_prefix$program_suffix$program_transform_name" = \
1544 NONENONEs,x,x, &&
1545 program_prefix=${target_alias}-
1546 target_alias=${target_alias-$host_alias}
1548 # Handy for debugging:
1549 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1551 if test "$build" != "$host"; then
1552 # We are being configured with some form of cross compiler.
1553 GLIBCXX_IS_NATIVE=false
1554 case "$host","$target" in
1555 # Darwin crosses can use the host system's libraries and headers,
1556 # because of the fat library support. Of course, it must be the
1557 # same version of Darwin on both sides. Allow the user to
1558 # just say --target=foo-darwin without a version number to mean
1559 # "the version on this system".
1560 *-*-darwin*,*-*-darwin*)
1561 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1562 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1563 if test $hostos = $targetos -o $targetos = darwin ; then
1564 GLIBCXX_IS_NATIVE=true
1571 esac
1572 else
1573 GLIBCXX_IS_NATIVE=true
1576 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1577 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1578 # 1.x: minimum required version
1579 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1580 # of other PACKAGE_* variables will, however, and there's nothing
1581 # we can do about that; they come from AC_INIT).
1582 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1583 # file in the top srcdir, etc, etc), so stop complaining.
1584 # no-dependencies: turns off auto dependency generation (just for now)
1585 # -Wall: turns on all automake warnings...
1586 # -Wno-portability: ...except this one, since GNU make is now required.
1587 am__api_version="1.9"
1588 # Find a good install program. We prefer a C program (faster),
1589 # so one script is as good as another. But avoid the broken or
1590 # incompatible versions:
1591 # SysV /etc/install, /usr/sbin/install
1592 # SunOS /usr/etc/install
1593 # IRIX /sbin/install
1594 # AIX /bin/install
1595 # AmigaOS /C/install, which installs bootblocks on floppy discs
1596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1599 # OS/2's system install, which has a completely different semantic
1600 # ./install, which can be erroneously created by make from ./install.sh.
1601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1603 if test -z "$INSTALL"; then
1604 if test "${ac_cv_path_install+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 else
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 for as_dir in $PATH
1610 IFS=$as_save_IFS
1611 test -z "$as_dir" && as_dir=.
1612 # Account for people who put trailing slashes in PATH elements.
1613 case $as_dir/ in
1614 ./ | .// | /cC/* | \
1615 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1616 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1617 /usr/ucb/* ) ;;
1619 # OSF1 and SCO ODT 3.0 have their own names for install.
1620 # Don't use installbsd from OSF since it installs stuff as root
1621 # by default.
1622 for ac_prog in ginstall scoinst install; do
1623 for ac_exec_ext in '' $ac_executable_extensions; do
1624 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1625 if test $ac_prog = install &&
1626 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1627 # AIX install. It has an incompatible calling convention.
1629 elif test $ac_prog = install &&
1630 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1631 # program-specific install script used by HP pwplus--don't use.
1633 else
1634 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1635 break 3
1638 done
1639 done
1641 esac
1642 done
1646 if test "${ac_cv_path_install+set}" = set; then
1647 INSTALL=$ac_cv_path_install
1648 else
1649 # As a last resort, use the slow shell script. We don't cache a
1650 # path for INSTALL within a source directory, because that will
1651 # break other packages using the cache if that directory is
1652 # removed, or if the path is relative.
1653 INSTALL=$ac_install_sh
1656 echo "$as_me:$LINENO: result: $INSTALL" >&5
1657 echo "${ECHO_T}$INSTALL" >&6
1659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1660 # It thinks the first close brace ends the variable substitution.
1661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1667 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1668 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1669 # Just in case
1670 sleep 1
1671 echo timestamp > conftest.file
1672 # Do `set' in a subshell so we don't clobber the current shell's
1673 # arguments. Must try -L first in case configure is actually a
1674 # symlink; some systems play weird games with the mod time of symlinks
1675 # (eg FreeBSD returns the mod time of the symlink's containing
1676 # directory).
1677 if (
1678 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1679 if test "$*" = "X"; then
1680 # -L didn't work.
1681 set X `ls -t $srcdir/configure conftest.file`
1683 rm -f conftest.file
1684 if test "$*" != "X $srcdir/configure conftest.file" \
1685 && test "$*" != "X conftest.file $srcdir/configure"; then
1687 # If neither matched, then we have a broken ls. This can happen
1688 # if, for instance, CONFIG_SHELL is bash and it inherits a
1689 # broken ls alias from the environment. This has actually
1690 # happened. Such a system could not be considered "sane".
1691 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1692 alias in your environment" >&5
1693 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1694 alias in your environment" >&2;}
1695 { (exit 1); exit 1; }; }
1698 test "$2" = conftest.file
1700 then
1701 # Ok.
1703 else
1704 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1705 Check your system clock" >&5
1706 echo "$as_me: error: newly created file is older than distributed files!
1707 Check your system clock" >&2;}
1708 { (exit 1); exit 1; }; }
1710 echo "$as_me:$LINENO: result: yes" >&5
1711 echo "${ECHO_T}yes" >&6
1712 test "$program_prefix" != NONE &&
1713 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1714 # Use a double $ so make ignores it.
1715 test "$program_suffix" != NONE &&
1716 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1717 # Double any \ or $. echo might interpret backslashes.
1718 # By default was `s,x,x', remove it if useless.
1719 cat <<\_ACEOF >conftest.sed
1720 s/[\\$]/&&/g;s/;s,x,x,$//
1721 _ACEOF
1722 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1723 rm conftest.sed
1725 # expand $ac_aux_dir to an absolute path
1726 am_aux_dir=`cd $ac_aux_dir && pwd`
1728 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1729 # Use eval to expand $SHELL
1730 if eval "$MISSING --run true"; then
1731 am_missing_run="$MISSING --run "
1732 else
1733 am_missing_run=
1734 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1735 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1738 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1739 # We used to keeping the `.' as first argument, in order to
1740 # allow $(mkdir_p) to be used without argument. As in
1741 # $(mkdir_p) $(somedir)
1742 # where $(somedir) is conditionally defined. However this is wrong
1743 # for two reasons:
1744 # 1. if the package is installed by a user who cannot write `.'
1745 # make install will fail,
1746 # 2. the above comment should most certainly read
1747 # $(mkdir_p) $(DESTDIR)$(somedir)
1748 # so it does not work when $(somedir) is undefined and
1749 # $(DESTDIR) is not.
1750 # To support the latter case, we have to write
1751 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1752 # so the `.' trick is pointless.
1753 mkdir_p='mkdir -p --'
1754 else
1755 # On NextStep and OpenStep, the `mkdir' command does not
1756 # recognize any option. It will interpret all options as
1757 # directories to create, and then abort because `.' already
1758 # exists.
1759 for d in ./-p ./--version;
1761 test -d $d && rmdir $d
1762 done
1763 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1764 if test -f "$ac_aux_dir/mkinstalldirs"; then
1765 mkdir_p='$(mkinstalldirs)'
1766 else
1767 mkdir_p='$(install_sh) -d'
1771 for ac_prog in gawk mawk nawk awk
1773 # Extract the first word of "$ac_prog", so it can be a program name with args.
1774 set dummy $ac_prog; ac_word=$2
1775 echo "$as_me:$LINENO: checking for $ac_word" >&5
1776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777 if test "${ac_cv_prog_AWK+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780 if test -n "$AWK"; then
1781 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1782 else
1783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 for as_dir in $PATH
1786 IFS=$as_save_IFS
1787 test -z "$as_dir" && as_dir=.
1788 for ac_exec_ext in '' $ac_executable_extensions; do
1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790 ac_cv_prog_AWK="$ac_prog"
1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792 break 2
1794 done
1795 done
1799 AWK=$ac_cv_prog_AWK
1800 if test -n "$AWK"; then
1801 echo "$as_me:$LINENO: result: $AWK" >&5
1802 echo "${ECHO_T}$AWK" >&6
1803 else
1804 echo "$as_me:$LINENO: result: no" >&5
1805 echo "${ECHO_T}no" >&6
1808 test -n "$AWK" && break
1809 done
1811 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1812 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1813 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1814 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 else
1817 cat >conftest.make <<\_ACEOF
1818 all:
1819 @echo 'ac_maketemp="$(MAKE)"'
1820 _ACEOF
1821 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1822 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1823 if test -n "$ac_maketemp"; then
1824 eval ac_cv_prog_make_${ac_make}_set=yes
1825 else
1826 eval ac_cv_prog_make_${ac_make}_set=no
1828 rm -f conftest.make
1830 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1831 echo "$as_me:$LINENO: result: yes" >&5
1832 echo "${ECHO_T}yes" >&6
1833 SET_MAKE=
1834 else
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1837 SET_MAKE="MAKE=${MAKE-make}"
1840 rm -rf .tst 2>/dev/null
1841 mkdir .tst 2>/dev/null
1842 if test -d .tst; then
1843 am__leading_dot=.
1844 else
1845 am__leading_dot=_
1847 rmdir .tst 2>/dev/null
1849 # test to see if srcdir already configured
1850 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1851 test -f $srcdir/config.status; then
1852 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1853 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1854 { (exit 1); exit 1; }; }
1857 # test whether we have cygpath
1858 if test -z "$CYGPATH_W"; then
1859 if (cygpath --version) >/dev/null 2>/dev/null; then
1860 CYGPATH_W='cygpath -w'
1861 else
1862 CYGPATH_W=echo
1867 # Define the identity of the package.
1868 PACKAGE='libstdc++'
1869 VERSION='version-unused'
1872 # Some tools Automake needs.
1874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890 # Installed binaries are usually stripped using `strip' when the user
1891 # run `make install-strip'. However `strip' might not be the right
1892 # tool to use in cross-compilation environments, therefore Automake
1893 # will honor the `STRIP' environment variable to overrule this program.
1894 if test "$cross_compiling" != no; then
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 else
1903 if test -n "$STRIP"; then
1904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1905 else
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 for as_dir in $PATH
1909 IFS=$as_save_IFS
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 break 2
1917 done
1918 done
1922 STRIP=$ac_cv_prog_STRIP
1923 if test -n "$STRIP"; then
1924 echo "$as_me:$LINENO: result: $STRIP" >&5
1925 echo "${ECHO_T}$STRIP" >&6
1926 else
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_STRIP"; then
1933 ac_ct_STRIP=$STRIP
1934 # Extract the first word of "strip", so it can be a program name with args.
1935 set dummy strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 if test -n "$ac_ct_STRIP"; then
1942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1943 else
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 for as_dir in $PATH
1947 IFS=$as_save_IFS
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_STRIP="strip"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 break 2
1955 done
1956 done
1958 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962 if test -n "$ac_ct_STRIP"; then
1963 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964 echo "${ECHO_T}$ac_ct_STRIP" >&6
1965 else
1966 echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1970 STRIP=$ac_ct_STRIP
1971 else
1972 STRIP="$ac_cv_prog_STRIP"
1976 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978 # We need awk for the "check" target. The system "awk" is bad on
1979 # some platforms.
1980 # Always define AMTAR for backward compatibility.
1982 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1995 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1996 # up critical shell variables.
1998 ac_ext=c
1999 ac_cpp='$CPP $CPPFLAGS'
2000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2004 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2005 # On Suns, sometimes $CPP names a directory.
2006 if test -n "$CPP" && test -d "$CPP"; then
2007 CPP=
2009 if test -z "$CPP"; then
2010 if test "${ac_cv_prog_CPP+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 else
2013 # Double quotes because CPP needs to be expanded
2014 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2016 ac_preproc_ok=false
2017 for ac_c_preproc_warn_flag in '' yes
2019 # Use a header file that comes with gcc, so configuring glibc
2020 # with a fresh cross-compiler works.
2021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2022 # <limits.h> exists even on freestanding compilers.
2023 # On the NeXT, cc -E runs the code through the compiler's parser,
2024 # not just through cpp. "Syntax error" is here to catch this case.
2025 cat >conftest.$ac_ext <<_ACEOF
2026 /* confdefs.h. */
2027 _ACEOF
2028 cat confdefs.h >>conftest.$ac_ext
2029 cat >>conftest.$ac_ext <<_ACEOF
2030 /* end confdefs.h. */
2031 #ifdef __STDC__
2032 # include <limits.h>
2033 #else
2034 # include <assert.h>
2035 #endif
2036 Syntax error
2037 _ACEOF
2038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2040 ac_status=$?
2041 grep -v '^ *+' conftest.er1 >conftest.err
2042 rm -f conftest.er1
2043 cat conftest.err >&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); } >/dev/null; then
2046 if test -s conftest.err; then
2047 ac_cpp_err=$ac_c_preproc_warn_flag
2048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2049 else
2050 ac_cpp_err=
2052 else
2053 ac_cpp_err=yes
2055 if test -z "$ac_cpp_err"; then
2057 else
2058 echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.$ac_ext >&5
2061 # Broken: fails on valid input.
2062 continue
2064 rm -f conftest.err conftest.$ac_ext
2066 # OK, works on sane cases. Now check whether non-existent headers
2067 # can be detected and how.
2068 cat >conftest.$ac_ext <<_ACEOF
2069 /* confdefs.h. */
2070 _ACEOF
2071 cat confdefs.h >>conftest.$ac_ext
2072 cat >>conftest.$ac_ext <<_ACEOF
2073 /* end confdefs.h. */
2074 #include <ac_nonexistent.h>
2075 _ACEOF
2076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2078 ac_status=$?
2079 grep -v '^ *+' conftest.er1 >conftest.err
2080 rm -f conftest.er1
2081 cat conftest.err >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); } >/dev/null; then
2084 if test -s conftest.err; then
2085 ac_cpp_err=$ac_c_preproc_warn_flag
2086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2087 else
2088 ac_cpp_err=
2090 else
2091 ac_cpp_err=yes
2093 if test -z "$ac_cpp_err"; then
2094 # Broken: success on invalid input.
2095 continue
2096 else
2097 echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.$ac_ext >&5
2100 # Passes both tests.
2101 ac_preproc_ok=:
2102 break
2104 rm -f conftest.err conftest.$ac_ext
2106 done
2107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2108 rm -f conftest.err conftest.$ac_ext
2109 if $ac_preproc_ok; then
2110 break
2113 done
2114 ac_cv_prog_CPP=$CPP
2117 CPP=$ac_cv_prog_CPP
2118 else
2119 ac_cv_prog_CPP=$CPP
2121 echo "$as_me:$LINENO: result: $CPP" >&5
2122 echo "${ECHO_T}$CPP" >&6
2123 ac_preproc_ok=false
2124 for ac_c_preproc_warn_flag in '' yes
2126 # Use a header file that comes with gcc, so configuring glibc
2127 # with a fresh cross-compiler works.
2128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2129 # <limits.h> exists even on freestanding compilers.
2130 # On the NeXT, cc -E runs the code through the compiler's parser,
2131 # not just through cpp. "Syntax error" is here to catch this case.
2132 cat >conftest.$ac_ext <<_ACEOF
2133 /* confdefs.h. */
2134 _ACEOF
2135 cat confdefs.h >>conftest.$ac_ext
2136 cat >>conftest.$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2138 #ifdef __STDC__
2139 # include <limits.h>
2140 #else
2141 # include <assert.h>
2142 #endif
2143 Syntax error
2144 _ACEOF
2145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2147 ac_status=$?
2148 grep -v '^ *+' conftest.er1 >conftest.err
2149 rm -f conftest.er1
2150 cat conftest.err >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } >/dev/null; then
2153 if test -s conftest.err; then
2154 ac_cpp_err=$ac_c_preproc_warn_flag
2155 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2156 else
2157 ac_cpp_err=
2159 else
2160 ac_cpp_err=yes
2162 if test -z "$ac_cpp_err"; then
2164 else
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2168 # Broken: fails on valid input.
2169 continue
2171 rm -f conftest.err conftest.$ac_ext
2173 # OK, works on sane cases. Now check whether non-existent headers
2174 # can be detected and how.
2175 cat >conftest.$ac_ext <<_ACEOF
2176 /* confdefs.h. */
2177 _ACEOF
2178 cat confdefs.h >>conftest.$ac_ext
2179 cat >>conftest.$ac_ext <<_ACEOF
2180 /* end confdefs.h. */
2181 #include <ac_nonexistent.h>
2182 _ACEOF
2183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2185 ac_status=$?
2186 grep -v '^ *+' conftest.er1 >conftest.err
2187 rm -f conftest.er1
2188 cat conftest.err >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); } >/dev/null; then
2191 if test -s conftest.err; then
2192 ac_cpp_err=$ac_c_preproc_warn_flag
2193 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2194 else
2195 ac_cpp_err=
2197 else
2198 ac_cpp_err=yes
2200 if test -z "$ac_cpp_err"; then
2201 # Broken: success on invalid input.
2202 continue
2203 else
2204 echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2207 # Passes both tests.
2208 ac_preproc_ok=:
2209 break
2211 rm -f conftest.err conftest.$ac_ext
2213 done
2214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2215 rm -f conftest.err conftest.$ac_ext
2216 if $ac_preproc_ok; then
2218 else
2219 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2220 See \`config.log' for more details." >&5
2221 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2222 See \`config.log' for more details." >&2;}
2223 { (exit 1); exit 1; }; }
2226 ac_ext=c
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2233 echo "$as_me:$LINENO: checking for egrep" >&5
2234 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2235 if test "${ac_cv_prog_egrep+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 else
2238 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2239 then ac_cv_prog_egrep='grep -E'
2240 else ac_cv_prog_egrep='egrep'
2243 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2244 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2245 EGREP=$ac_cv_prog_egrep
2249 # Keep these sync'd with the list in Makefile.am. The first provides an
2250 # expandable list at autoconf time; the second provides an expandable list
2251 # (i.e., shell variable) at configure time.
2253 SUBDIRS='include libmath libsupc++ src po testsuite'
2255 # These need to be absolute paths, yet at the same time need to
2256 # canonicalize only relative paths, because then amd will not unmount
2257 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2258 glibcxx_builddir=`${PWDCMD-pwd}`
2259 case $srcdir in
2260 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2261 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2262 esac
2263 toplevel_srcdir=${glibcxx_srcdir}/..
2268 # We use these options to decide which functions to include. They are
2269 # set from the top level.
2271 # Check whether --with-target-subdir or --without-target-subdir was given.
2272 if test "${with_target_subdir+set}" = set; then
2273 withval="$with_target_subdir"
2278 # Check whether --with-cross-host or --without-cross-host was given.
2279 if test "${with_cross_host+set}" = set; then
2280 withval="$with_cross_host"
2285 # Check whether --with-newlib or --without-newlib was given.
2286 if test "${with_newlib+set}" = set; then
2287 withval="$with_newlib"
2291 # We're almost certainly being configured before anything else which uses
2292 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2293 # we not cache the value of CXX that we "discover" here, because it's set
2294 # to something unique for us and libjava. Other target libraries need to
2295 # find CXX for themselves. We yank the rug out from under the normal AC_*
2296 # process by sneakily renaming the cache variable. This also lets us debug
2297 # the value of "our" CXX in postmortems.
2299 # We must also force CXX to /not/ be a precious variable, otherwise the
2300 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2301 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2302 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2303 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2305 # -fno-builtin must be present here so that a non-conflicting form of
2306 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2311 save_CXXFLAGS="$CXXFLAGS"
2312 CXXFLAGS="$CXXFLAGS -fno-builtin"
2313 ac_ext=c
2314 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 if test -n "$ac_tool_prefix"; then
2319 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2320 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2321 echo "$as_me:$LINENO: checking for $ac_word" >&5
2322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2323 if test "${ac_cv_prog_CC+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 else
2326 if test -n "$CC"; then
2327 ac_cv_prog_CC="$CC" # Let the user override the test.
2328 else
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2332 IFS=$as_save_IFS
2333 test -z "$as_dir" && as_dir=.
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 break 2
2340 done
2341 done
2345 CC=$ac_cv_prog_CC
2346 if test -n "$CC"; then
2347 echo "$as_me:$LINENO: result: $CC" >&5
2348 echo "${ECHO_T}$CC" >&6
2349 else
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2355 if test -z "$ac_cv_prog_CC"; then
2356 ac_ct_CC=$CC
2357 # Extract the first word of "gcc", so it can be a program name with args.
2358 set dummy gcc; ac_word=$2
2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2361 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 else
2364 if test -n "$ac_ct_CC"; then
2365 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2366 else
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 for as_dir in $PATH
2370 IFS=$as_save_IFS
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_prog_ac_ct_CC="gcc"
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 break 2
2378 done
2379 done
2383 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2384 if test -n "$ac_ct_CC"; then
2385 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2386 echo "${ECHO_T}$ac_ct_CC" >&6
2387 else
2388 echo "$as_me:$LINENO: result: no" >&5
2389 echo "${ECHO_T}no" >&6
2392 CC=$ac_ct_CC
2393 else
2394 CC="$ac_cv_prog_CC"
2397 if test -z "$CC"; then
2398 if test -n "$ac_tool_prefix"; then
2399 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_CC+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 else
2406 if test -n "$CC"; then
2407 ac_cv_prog_CC="$CC" # Let the user override the test.
2408 else
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 for as_dir in $PATH
2412 IFS=$as_save_IFS
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_CC="${ac_tool_prefix}cc"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 break 2
2420 done
2421 done
2425 CC=$ac_cv_prog_CC
2426 if test -n "$CC"; then
2427 echo "$as_me:$LINENO: result: $CC" >&5
2428 echo "${ECHO_T}$CC" >&6
2429 else
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2435 if test -z "$ac_cv_prog_CC"; then
2436 ac_ct_CC=$CC
2437 # Extract the first word of "cc", so it can be a program name with args.
2438 set dummy cc; ac_word=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444 if test -n "$ac_ct_CC"; then
2445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2446 else
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 for as_dir in $PATH
2450 IFS=$as_save_IFS
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_CC="cc"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 break 2
2458 done
2459 done
2463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2464 if test -n "$ac_ct_CC"; then
2465 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2466 echo "${ECHO_T}$ac_ct_CC" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2472 CC=$ac_ct_CC
2473 else
2474 CC="$ac_cv_prog_CC"
2478 if test -z "$CC"; then
2479 # Extract the first word of "cc", so it can be a program name with args.
2480 set dummy cc; ac_word=$2
2481 echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2483 if test "${ac_cv_prog_CC+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 if test -n "$CC"; then
2487 ac_cv_prog_CC="$CC" # Let the user override the test.
2488 else
2489 ac_prog_rejected=no
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 for as_dir in $PATH
2493 IFS=$as_save_IFS
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2498 ac_prog_rejected=yes
2499 continue
2501 ac_cv_prog_CC="cc"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 break 2
2505 done
2506 done
2508 if test $ac_prog_rejected = yes; then
2509 # We found a bogon in the path, so make sure we never use it.
2510 set dummy $ac_cv_prog_CC
2511 shift
2512 if test $# != 0; then
2513 # We chose a different compiler from the bogus one.
2514 # However, it has the same basename, so the bogon will be chosen
2515 # first if we set CC to just the basename; use the full file name.
2516 shift
2517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2522 CC=$ac_cv_prog_CC
2523 if test -n "$CC"; then
2524 echo "$as_me:$LINENO: result: $CC" >&5
2525 echo "${ECHO_T}$CC" >&6
2526 else
2527 echo "$as_me:$LINENO: result: no" >&5
2528 echo "${ECHO_T}no" >&6
2532 if test -z "$CC"; then
2533 if test -n "$ac_tool_prefix"; then
2534 for ac_prog in cl
2536 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2537 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2538 echo "$as_me:$LINENO: checking for $ac_word" >&5
2539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2540 if test "${ac_cv_prog_CC+set}" = set; then
2541 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 else
2543 if test -n "$CC"; then
2544 ac_cv_prog_CC="$CC" # Let the user override the test.
2545 else
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH
2549 IFS=$as_save_IFS
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 break 2
2557 done
2558 done
2562 CC=$ac_cv_prog_CC
2563 if test -n "$CC"; then
2564 echo "$as_me:$LINENO: result: $CC" >&5
2565 echo "${ECHO_T}$CC" >&6
2566 else
2567 echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2571 test -n "$CC" && break
2572 done
2574 if test -z "$CC"; then
2575 ac_ct_CC=$CC
2576 for ac_prog in cl
2578 # Extract the first word of "$ac_prog", so it can be a program name with args.
2579 set dummy $ac_prog; ac_word=$2
2580 echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2582 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 else
2585 if test -n "$ac_ct_CC"; then
2586 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2587 else
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589 for as_dir in $PATH
2591 IFS=$as_save_IFS
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_ac_ct_CC="$ac_prog"
2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 break 2
2599 done
2600 done
2604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2605 if test -n "$ac_ct_CC"; then
2606 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2607 echo "${ECHO_T}$ac_ct_CC" >&6
2608 else
2609 echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6
2613 test -n "$ac_ct_CC" && break
2614 done
2616 CC=$ac_ct_CC
2622 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2623 See \`config.log' for more details." >&5
2624 echo "$as_me: error: no acceptable C compiler found in \$PATH
2625 See \`config.log' for more details." >&2;}
2626 { (exit 1); exit 1; }; }
2628 # Provide some information about the compiler.
2629 echo "$as_me:$LINENO:" \
2630 "checking for C compiler version" >&5
2631 ac_compiler=`set X $ac_compile; echo $2`
2632 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2633 (eval $ac_compiler --version </dev/null >&5) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }
2637 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2638 (eval $ac_compiler -v </dev/null >&5) 2>&5
2639 ac_status=$?
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }
2642 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2643 (eval $ac_compiler -V </dev/null >&5) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }
2648 cat >conftest.$ac_ext <<_ACEOF
2649 /* confdefs.h. */
2650 _ACEOF
2651 cat confdefs.h >>conftest.$ac_ext
2652 cat >>conftest.$ac_ext <<_ACEOF
2653 /* end confdefs.h. */
2656 main ()
2660 return 0;
2662 _ACEOF
2663 # FIXME: Cleanup?
2664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2665 (eval $ac_link) 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; then
2669 gcc_no_link=no
2670 else
2671 gcc_no_link=yes
2674 if test x$gcc_no_link = xyes; then
2675 # Setting cross_compile will disable run tests; it will
2676 # also disable AC_CHECK_FILE but that's generally
2677 # correct if we can't link.
2678 cross_compiling=yes
2679 EXEEXT=
2680 else
2681 cat >conftest.$ac_ext <<_ACEOF
2682 /* confdefs.h. */
2683 _ACEOF
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2689 main ()
2693 return 0;
2695 _ACEOF
2696 ac_clean_files_save=$ac_clean_files
2697 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2698 # Try to create an executable without -o first, disregard a.out.
2699 # It will help us diagnose broken compilers, and finding out an intuition
2700 # of exeext.
2701 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2702 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2703 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2704 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2705 (eval $ac_link_default) 2>&5
2706 ac_status=$?
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 # Find the output, starting from the most likely. This scheme is
2710 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2711 # resort.
2713 # Be careful to initialize this variable, since it used to be cached.
2714 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2715 ac_cv_exeext=
2716 # b.out is created by i960 compilers.
2717 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2719 test -f "$ac_file" || continue
2720 case $ac_file in
2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2723 conftest.$ac_ext )
2724 # This is the source file.
2726 [ab].out )
2727 # We found the default executable, but exeext='' is most
2728 # certainly right.
2729 break;;
2730 *.* )
2731 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2732 # FIXME: I believe we export ac_cv_exeext for Libtool,
2733 # but it would be cool to find out if it's true. Does anybody
2734 # maintain Libtool? --akim.
2735 export ac_cv_exeext
2736 break;;
2738 break;;
2739 esac
2740 done
2741 else
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: C compiler cannot create executables
2748 See \`config.log' for more details." >&2;}
2749 { (exit 77); exit 77; }; }
2752 ac_exeext=$ac_cv_exeext
2753 echo "$as_me:$LINENO: result: $ac_file" >&5
2754 echo "${ECHO_T}$ac_file" >&6
2756 # Check the compiler produces executables we can run. If not, either
2757 # the compiler is broken, or we cross compile.
2758 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2759 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2760 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2761 # If not cross compiling, check that we can run a simple program.
2762 if test "$cross_compiling" != yes; then
2763 if { ac_try='./$ac_file'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 (eval $ac_try) 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2769 cross_compiling=no
2770 else
2771 if test "$cross_compiling" = maybe; then
2772 cross_compiling=yes
2773 else
2774 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2775 If you meant to cross compile, use \`--host'.
2776 See \`config.log' for more details." >&5
2777 echo "$as_me: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&2;}
2780 { (exit 1); exit 1; }; }
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2787 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2788 ac_clean_files=$ac_clean_files_save
2789 # Check the compiler produces executables we can run. If not, either
2790 # the compiler is broken, or we cross compile.
2791 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2792 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2793 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2794 echo "${ECHO_T}$cross_compiling" >&6
2796 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2797 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2799 (eval $ac_link) 2>&5
2800 ac_status=$?
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; then
2803 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2804 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2805 # work properly (i.e., refer to `conftest.exe'), while it won't with
2806 # `rm'.
2807 for ac_file in conftest.exe conftest conftest.*; do
2808 test -f "$ac_file" || continue
2809 case $ac_file in
2810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2811 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812 export ac_cv_exeext
2813 break;;
2814 * ) break;;
2815 esac
2816 done
2817 else
2818 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2819 See \`config.log' for more details." >&5
2820 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2821 See \`config.log' for more details." >&2;}
2822 { (exit 1); exit 1; }; }
2825 rm -f conftest$ac_cv_exeext
2826 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2827 echo "${ECHO_T}$ac_cv_exeext" >&6
2829 rm -f conftest.$ac_ext
2830 EXEEXT=$ac_cv_exeext
2831 ac_exeext=$EXEEXT
2833 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2834 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2835 if test "${ac_cv_objext+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 else
2838 cat >conftest.$ac_ext <<_ACEOF
2839 /* confdefs.h. */
2840 _ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2846 main ()
2850 return 0;
2852 _ACEOF
2853 rm -f conftest.o conftest.obj
2854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2855 (eval $ac_compile) 2>&5
2856 ac_status=$?
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; then
2859 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2860 case $ac_file in
2861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2862 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2863 break;;
2864 esac
2865 done
2866 else
2867 echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.$ac_ext >&5
2870 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2871 See \`config.log' for more details." >&5
2872 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2873 See \`config.log' for more details." >&2;}
2874 { (exit 1); exit 1; }; }
2877 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2879 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2880 echo "${ECHO_T}$ac_cv_objext" >&6
2881 OBJEXT=$ac_cv_objext
2882 ac_objext=$OBJEXT
2883 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2884 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2885 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 else
2888 cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h. */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2896 main ()
2898 #ifndef __GNUC__
2899 choke me
2900 #endif
2903 return 0;
2905 _ACEOF
2906 rm -f conftest.$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908 (eval $ac_compile) 2>conftest.er1
2909 ac_status=$?
2910 grep -v '^ *+' conftest.er1 >conftest.err
2911 rm -f conftest.er1
2912 cat conftest.err >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try='test -z "$ac_c_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 (eval $ac_try) 2>&5
2919 ac_status=$?
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try='test -s conftest.$ac_objext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 (eval $ac_try) 2>&5
2925 ac_status=$?
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 ac_compiler_gnu=yes
2929 else
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 ac_compiler_gnu=no
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2939 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2940 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2941 GCC=`test $ac_compiler_gnu = yes && echo yes`
2942 ac_test_CFLAGS=${CFLAGS+set}
2943 ac_save_CFLAGS=$CFLAGS
2944 CFLAGS="-g"
2945 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2947 if test "${ac_cv_prog_cc_g+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2949 else
2950 cat >conftest.$ac_ext <<_ACEOF
2951 /* confdefs.h. */
2952 _ACEOF
2953 cat confdefs.h >>conftest.$ac_ext
2954 cat >>conftest.$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2958 main ()
2962 return 0;
2964 _ACEOF
2965 rm -f conftest.$ac_objext
2966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967 (eval $ac_compile) 2>conftest.er1
2968 ac_status=$?
2969 grep -v '^ *+' conftest.er1 >conftest.err
2970 rm -f conftest.er1
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } &&
2974 { ac_try='test -z "$ac_c_werror_flag"
2975 || test ! -s conftest.err'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 (eval $ac_try) 2>&5
2978 ac_status=$?
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983 (eval $ac_try) 2>&5
2984 ac_status=$?
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 ac_cv_prog_cc_g=yes
2988 else
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 ac_cv_prog_cc_g=no
2994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2996 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2998 if test "$ac_test_CFLAGS" = set; then
2999 CFLAGS=$ac_save_CFLAGS
3000 elif test $ac_cv_prog_cc_g = yes; then
3001 if test "$GCC" = yes; then
3002 CFLAGS="-g -O2"
3003 else
3004 CFLAGS="-g"
3006 else
3007 if test "$GCC" = yes; then
3008 CFLAGS="-O2"
3009 else
3010 CFLAGS=
3013 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3014 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3015 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018 ac_cv_prog_cc_stdc=no
3019 ac_save_CC=$CC
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h. */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3026 #include <stdarg.h>
3027 #include <stdio.h>
3028 #include <sys/types.h>
3029 #include <sys/stat.h>
3030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3031 struct buf { int x; };
3032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3033 static char *e (p, i)
3034 char **p;
3035 int i;
3037 return p[i];
3039 static char *f (char * (*g) (char **, int), char **p, ...)
3041 char *s;
3042 va_list v;
3043 va_start (v,p);
3044 s = g (p, va_arg (v,int));
3045 va_end (v);
3046 return s;
3049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3050 function prototypes and stuff, but not '\xHH' hex character constants.
3051 These don't provoke an error unfortunately, instead are silently treated
3052 as 'x'. The following induces an error, until -std1 is added to get
3053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3054 array size at least. It's necessary to write '\x00'==0 to get something
3055 that's true only with -std1. */
3056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3058 int test (int i, double x);
3059 struct s1 {int (*f) (int a);};
3060 struct s2 {int (*f) (double a);};
3061 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062 int argc;
3063 char **argv;
3065 main ()
3067 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3069 return 0;
3071 _ACEOF
3072 # Don't try gcc -ansi; that turns off useful extensions and
3073 # breaks some systems' header files.
3074 # AIX -qlanglvl=ansi
3075 # Ultrix and OSF/1 -std1
3076 # HP-UX 10.20 and later -Ae
3077 # HP-UX older versions -Aa -D_HPUX_SOURCE
3078 # SVR4 -Xc -D__EXTENSIONS__
3079 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3081 CC="$ac_save_CC $ac_arg"
3082 rm -f conftest.$ac_objext
3083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3084 (eval $ac_compile) 2>conftest.er1
3085 ac_status=$?
3086 grep -v '^ *+' conftest.er1 >conftest.err
3087 rm -f conftest.er1
3088 cat conftest.err >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } &&
3091 { ac_try='test -z "$ac_c_werror_flag"
3092 || test ! -s conftest.err'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 (eval $ac_try) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; } &&
3098 { ac_try='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 (eval $ac_try) 2>&5
3101 ac_status=$?
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 ac_cv_prog_cc_stdc=$ac_arg
3105 break
3106 else
3107 echo "$as_me: failed program was:" >&5
3108 sed 's/^/| /' conftest.$ac_ext >&5
3111 rm -f conftest.err conftest.$ac_objext
3112 done
3113 rm -f conftest.$ac_ext conftest.$ac_objext
3114 CC=$ac_save_CC
3118 case "x$ac_cv_prog_cc_stdc" in
3119 x|xno)
3120 echo "$as_me:$LINENO: result: none needed" >&5
3121 echo "${ECHO_T}none needed" >&6 ;;
3123 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125 CC="$CC $ac_cv_prog_cc_stdc" ;;
3126 esac
3128 # Some people use a C++ compiler to compile C. Since we use `exit',
3129 # in C++ we need to declare it. In case someone uses the same compiler
3130 # for both compiling C and C++ we need to have the C++ compiler decide
3131 # the declaration of exit, since it's the most demanding environment.
3132 cat >conftest.$ac_ext <<_ACEOF
3133 #ifndef __cplusplus
3134 choke me
3135 #endif
3136 _ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -z "$ac_c_werror_flag"
3147 || test ! -s conftest.err'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 (eval $ac_try) 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; } &&
3153 { ac_try='test -s conftest.$ac_objext'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 (eval $ac_try) 2>&5
3156 ac_status=$?
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3159 for ac_declaration in \
3160 '' \
3161 'extern "C" void std::exit (int) throw (); using std::exit;' \
3162 'extern "C" void std::exit (int); using std::exit;' \
3163 'extern "C" void exit (int) throw ();' \
3164 'extern "C" void exit (int);' \
3165 'void exit (int);'
3167 cat >conftest.$ac_ext <<_ACEOF
3168 /* confdefs.h. */
3169 _ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3173 $ac_declaration
3174 #include <stdlib.h>
3176 main ()
3178 exit (42);
3180 return 0;
3182 _ACEOF
3183 rm -f conftest.$ac_objext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185 (eval $ac_compile) 2>conftest.er1
3186 ac_status=$?
3187 grep -v '^ *+' conftest.er1 >conftest.err
3188 rm -f conftest.er1
3189 cat conftest.err >&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } &&
3192 { ac_try='test -z "$ac_c_werror_flag"
3193 || test ! -s conftest.err'
3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 (eval $ac_try) 2>&5
3196 ac_status=$?
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; } &&
3199 { ac_try='test -s conftest.$ac_objext'
3200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201 (eval $ac_try) 2>&5
3202 ac_status=$?
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); }; }; then
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 continue
3212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3213 cat >conftest.$ac_ext <<_ACEOF
3214 /* confdefs.h. */
3215 _ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3219 $ac_declaration
3221 main ()
3223 exit (42);
3225 return 0;
3227 _ACEOF
3228 rm -f conftest.$ac_objext
3229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3230 (eval $ac_compile) 2>conftest.er1
3231 ac_status=$?
3232 grep -v '^ *+' conftest.er1 >conftest.err
3233 rm -f conftest.er1
3234 cat conftest.err >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } &&
3237 { ac_try='test -z "$ac_c_werror_flag"
3238 || test ! -s conftest.err'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3240 (eval $ac_try) 2>&5
3241 ac_status=$?
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; } &&
3244 { ac_try='test -s conftest.$ac_objext'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 (eval $ac_try) 2>&5
3247 ac_status=$?
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; }; then
3250 break
3251 else
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3257 done
3258 rm -f conftest*
3259 if test -n "$ac_declaration"; then
3260 echo '#ifdef __cplusplus' >>confdefs.h
3261 echo $ac_declaration >>confdefs.h
3262 echo '#endif' >>confdefs.h
3265 else
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3271 ac_ext=c
3272 ac_cpp='$CPP $CPPFLAGS'
3273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3277 ac_ext=cc
3278 ac_cpp='$CXXCPP $CPPFLAGS'
3279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3282 if test -n "$ac_tool_prefix"; then
3283 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292 if test -n "$CXX"; then
3293 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3298 IFS=$as_save_IFS
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 break 2
3306 done
3307 done
3311 CXX=$glibcxx_cv_prog_CXX
3312 if test -n "$CXX"; then
3313 echo "$as_me:$LINENO: result: $CXX" >&5
3314 echo "${ECHO_T}$CXX" >&6
3315 else
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3320 test -n "$CXX" && break
3321 done
3323 if test -z "$CXX"; then
3324 ac_ct_CXX=$CXX
3325 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3327 # Extract the first word of "$ac_prog", so it can be a program name with args.
3328 set dummy $ac_prog; ac_word=$2
3329 echo "$as_me:$LINENO: checking for $ac_word" >&5
3330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3333 else
3334 if test -n "$ac_ct_CXX"; then
3335 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3336 else
3337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 for as_dir in $PATH
3340 IFS=$as_save_IFS
3341 test -z "$as_dir" && as_dir=.
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3344 ac_cv_prog_ac_ct_CXX="$ac_prog"
3345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3346 break 2
3348 done
3349 done
3353 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3354 if test -n "$ac_ct_CXX"; then
3355 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3356 echo "${ECHO_T}$ac_ct_CXX" >&6
3357 else
3358 echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3362 test -n "$ac_ct_CXX" && break
3363 done
3364 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3366 CXX=$ac_ct_CXX
3370 # Provide some information about the compiler.
3371 echo "$as_me:$LINENO:" \
3372 "checking for C++ compiler version" >&5
3373 ac_compiler=`set X $ac_compile; echo $2`
3374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3375 (eval $ac_compiler --version </dev/null >&5) 2>&5
3376 ac_status=$?
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }
3379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3380 (eval $ac_compiler -v </dev/null >&5) 2>&5
3381 ac_status=$?
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }
3384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3385 (eval $ac_compiler -V </dev/null >&5) 2>&5
3386 ac_status=$?
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }
3390 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3391 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3392 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395 cat >conftest.$ac_ext <<_ACEOF
3396 /* confdefs.h. */
3397 _ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3403 main ()
3405 #ifndef __GNUC__
3406 choke me
3407 #endif
3410 return 0;
3412 _ACEOF
3413 rm -f conftest.$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>conftest.er1
3416 ac_status=$?
3417 grep -v '^ *+' conftest.er1 >conftest.err
3418 rm -f conftest.er1
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try='test -z "$ac_cxx_werror_flag"
3423 || test ! -s conftest.err'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3425 (eval $ac_try) 2>&5
3426 ac_status=$?
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; } &&
3429 { ac_try='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3431 (eval $ac_try) 2>&5
3432 ac_status=$?
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 ac_compiler_gnu=yes
3436 else
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3440 ac_compiler_gnu=no
3442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3446 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3447 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3448 GXX=`test $ac_compiler_gnu = yes && echo yes`
3449 ac_test_CXXFLAGS=${CXXFLAGS+set}
3450 ac_save_CXXFLAGS=$CXXFLAGS
3451 CXXFLAGS="-g"
3452 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3454 if test "${ac_cv_prog_cxx_g+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 else
3457 cat >conftest.$ac_ext <<_ACEOF
3458 /* confdefs.h. */
3459 _ACEOF
3460 cat confdefs.h >>conftest.$ac_ext
3461 cat >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3465 main ()
3469 return 0;
3471 _ACEOF
3472 rm -f conftest.$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474 (eval $ac_compile) 2>conftest.er1
3475 ac_status=$?
3476 grep -v '^ *+' conftest.er1 >conftest.err
3477 rm -f conftest.er1
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } &&
3481 { ac_try='test -z "$ac_cxx_werror_flag"
3482 || test ! -s conftest.err'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 (eval $ac_try) 2>&5
3485 ac_status=$?
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; } &&
3488 { ac_try='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 (eval $ac_try) 2>&5
3491 ac_status=$?
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3494 ac_cv_prog_cxx_g=yes
3495 else
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 ac_cv_prog_cxx_g=no
3501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3503 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3504 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3505 if test "$ac_test_CXXFLAGS" = set; then
3506 CXXFLAGS=$ac_save_CXXFLAGS
3507 elif test $ac_cv_prog_cxx_g = yes; then
3508 if test "$GXX" = yes; then
3509 CXXFLAGS="-g -O2"
3510 else
3511 CXXFLAGS="-g"
3513 else
3514 if test "$GXX" = yes; then
3515 CXXFLAGS="-O2"
3516 else
3517 CXXFLAGS=
3520 for ac_declaration in \
3521 '' \
3522 'extern "C" void std::exit (int) throw (); using std::exit;' \
3523 'extern "C" void std::exit (int); using std::exit;' \
3524 'extern "C" void exit (int) throw ();' \
3525 'extern "C" void exit (int);' \
3526 'void exit (int);'
3528 cat >conftest.$ac_ext <<_ACEOF
3529 /* confdefs.h. */
3530 _ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 $ac_declaration
3535 #include <stdlib.h>
3537 main ()
3539 exit (42);
3541 return 0;
3543 _ACEOF
3544 rm -f conftest.$ac_objext
3545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3546 (eval $ac_compile) 2>conftest.er1
3547 ac_status=$?
3548 grep -v '^ *+' conftest.er1 >conftest.err
3549 rm -f conftest.er1
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } &&
3553 { ac_try='test -z "$ac_cxx_werror_flag"
3554 || test ! -s conftest.err'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 (eval $ac_try) 2>&5
3557 ac_status=$?
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; } &&
3560 { ac_try='test -s conftest.$ac_objext'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 (eval $ac_try) 2>&5
3563 ac_status=$?
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; }; then
3567 else
3568 echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.$ac_ext >&5
3571 continue
3573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3574 cat >conftest.$ac_ext <<_ACEOF
3575 /* confdefs.h. */
3576 _ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3580 $ac_declaration
3582 main ()
3584 exit (42);
3586 return 0;
3588 _ACEOF
3589 rm -f conftest.$ac_objext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>conftest.er1
3592 ac_status=$?
3593 grep -v '^ *+' conftest.er1 >conftest.err
3594 rm -f conftest.er1
3595 cat conftest.err >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try='test -z "$ac_cxx_werror_flag"
3599 || test ! -s conftest.err'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 (eval $ac_try) 2>&5
3602 ac_status=$?
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; } &&
3605 { ac_try='test -s conftest.$ac_objext'
3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 (eval $ac_try) 2>&5
3608 ac_status=$?
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; }; then
3611 break
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618 done
3619 rm -f conftest*
3620 if test -n "$ac_declaration"; then
3621 echo '#ifdef __cplusplus' >>confdefs.h
3622 echo $ac_declaration >>confdefs.h
3623 echo '#endif' >>confdefs.h
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 CXXFLAGS="$save_CXXFLAGS"
3637 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3638 # available). Uncomment the next line to force a particular method.
3639 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3640 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3641 LN_S=$as_ln_s
3642 if test "$LN_S" = "ln -s"; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3647 echo "${ECHO_T}no, using $LN_S" >&6
3650 #LN_S='cp -p'
3652 if test -n "$ac_tool_prefix"; then
3653 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}as; ac_word=$2
3655 echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3657 if test "${ac_cv_prog_AS+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 else
3660 if test -n "$AS"; then
3661 ac_cv_prog_AS="$AS" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3666 IFS=$as_save_IFS
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670 ac_cv_prog_AS="${ac_tool_prefix}as"
3671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 break 2
3674 done
3675 done
3679 AS=$ac_cv_prog_AS
3680 if test -n "$AS"; then
3681 echo "$as_me:$LINENO: result: $AS" >&5
3682 echo "${ECHO_T}$AS" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3689 if test -z "$ac_cv_prog_AS"; then
3690 ac_ct_AS=$AS
3691 # Extract the first word of "as", so it can be a program name with args.
3692 set dummy as; ac_word=$2
3693 echo "$as_me:$LINENO: checking for $ac_word" >&5
3694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 else
3698 if test -n "$ac_ct_AS"; then
3699 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_ac_ct_AS="as"
3709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 break 2
3712 done
3713 done
3717 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3718 if test -n "$ac_ct_AS"; then
3719 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3720 echo "${ECHO_T}$ac_ct_AS" >&6
3721 else
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3726 AS=$ac_ct_AS
3727 else
3728 AS="$ac_cv_prog_AS"
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}ar; ac_word=$2
3734 echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3736 if test "${ac_cv_prog_AR+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 else
3739 if test -n "$AR"; then
3740 ac_cv_prog_AR="$AR" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_AR="${ac_tool_prefix}ar"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3758 AR=$ac_cv_prog_AR
3759 if test -n "$AR"; then
3760 echo "$as_me:$LINENO: result: $AR" >&5
3761 echo "${ECHO_T}$AR" >&6
3762 else
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3768 if test -z "$ac_cv_prog_AR"; then
3769 ac_ct_AR=$AR
3770 # Extract the first word of "ar", so it can be a program name with args.
3771 set dummy ar; ac_word=$2
3772 echo "$as_me:$LINENO: checking for $ac_word" >&5
3773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3774 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 else
3777 if test -n "$ac_ct_AR"; then
3778 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3779 else
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3783 IFS=$as_save_IFS
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_ac_ct_AR="ar"
3788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3796 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3797 if test -n "$ac_ct_AR"; then
3798 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3799 echo "${ECHO_T}$ac_ct_AR" >&6
3800 else
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3805 AR=$ac_ct_AR
3806 else
3807 AR="$ac_cv_prog_AR"
3810 if test -n "$ac_tool_prefix"; then
3811 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3812 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3813 echo "$as_me:$LINENO: checking for $ac_word" >&5
3814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3815 if test "${ac_cv_prog_RANLIB+set}" = set; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 else
3818 if test -n "$RANLIB"; then
3819 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3837 RANLIB=$ac_cv_prog_RANLIB
3838 if test -n "$RANLIB"; then
3839 echo "$as_me:$LINENO: result: $RANLIB" >&5
3840 echo "${ECHO_T}$RANLIB" >&6
3841 else
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3847 if test -z "$ac_cv_prog_RANLIB"; then
3848 ac_ct_RANLIB=$RANLIB
3849 # Extract the first word of "ranlib", so it can be a program name with args.
3850 set dummy ranlib; ac_word=$2
3851 echo "$as_me:$LINENO: checking for $ac_word" >&5
3852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 else
3856 if test -n "$ac_ct_RANLIB"; then
3857 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3858 else
3859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860 for as_dir in $PATH
3862 IFS=$as_save_IFS
3863 test -z "$as_dir" && as_dir=.
3864 for ac_exec_ext in '' $ac_executable_extensions; do
3865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866 ac_cv_prog_ac_ct_RANLIB="ranlib"
3867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 break 2
3870 done
3871 done
3873 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3876 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3877 if test -n "$ac_ct_RANLIB"; then
3878 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3879 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3880 else
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3885 RANLIB=$ac_ct_RANLIB
3886 else
3887 RANLIB="$ac_cv_prog_RANLIB"
3891 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3892 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3893 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3894 if test "${enable_maintainer_mode+set}" = set; then
3895 enableval="$enable_maintainer_mode"
3896 USE_MAINTAINER_MODE=$enableval
3897 else
3898 USE_MAINTAINER_MODE=no
3900 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3901 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3904 if test $USE_MAINTAINER_MODE = yes; then
3905 MAINTAINER_MODE_TRUE=
3906 MAINTAINER_MODE_FALSE='#'
3907 else
3908 MAINTAINER_MODE_TRUE='#'
3909 MAINTAINER_MODE_FALSE=
3912 MAINT=$MAINTAINER_MODE_TRUE
3916 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3917 # which are themselves conditionally expanded.
3918 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3919 ## other macros from doing the same. This should be automated.) -pme
3920 need_libmath=no
3922 # Check for uClibc since Linux platforms use different configuration
3923 # directories depending on the C library in use.
3924 cat >conftest.$ac_ext <<_ACEOF
3925 /* confdefs.h. */
3926 _ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3931 #include <stdio.h>
3932 #if __UCLIBC__
3933 _using_uclibc
3934 #endif
3936 _ACEOF
3937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3938 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3939 uclibc=yes
3940 else
3941 uclibc=no
3943 rm -f conftest*
3946 # Find platform-specific directories containing configuration info.
3947 # Also possibly modify flags used elsewhere, as needed by the platform.
3949 . $glibcxx_srcdir/configure.host
3950 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3951 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3952 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3953 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3958 # Check whether --enable-shared or --disable-shared was given.
3959 if test "${enable_shared+set}" = set; then
3960 enableval="$enable_shared"
3961 p=${PACKAGE-default}
3962 case $enableval in
3963 yes) enable_shared=yes ;;
3964 no) enable_shared=no ;;
3966 enable_shared=no
3967 # Look at the argument we got. We use all the common list separators.
3968 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3969 for pkg in $enableval; do
3970 if test "X$pkg" = "X$p"; then
3971 enable_shared=yes
3973 done
3974 IFS="$ac_save_ifs"
3976 esac
3977 else
3978 enable_shared=yes
3980 # Check whether --enable-static or --disable-static was given.
3981 if test "${enable_static+set}" = set; then
3982 enableval="$enable_static"
3983 p=${PACKAGE-default}
3984 case $enableval in
3985 yes) enable_static=yes ;;
3986 no) enable_static=no ;;
3988 enable_static=no
3989 # Look at the argument we got. We use all the common list separators.
3990 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3991 for pkg in $enableval; do
3992 if test "X$pkg" = "X$p"; then
3993 enable_static=yes
3995 done
3996 IFS="$ac_save_ifs"
3998 esac
3999 else
4000 enable_static=yes
4002 # Check whether --enable-fast-install or --disable-fast-install was given.
4003 if test "${enable_fast_install+set}" = set; then
4004 enableval="$enable_fast_install"
4005 p=${PACKAGE-default}
4006 case $enableval in
4007 yes) enable_fast_install=yes ;;
4008 no) enable_fast_install=no ;;
4010 enable_fast_install=no
4011 # Look at the argument we got. We use all the common list separators.
4012 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4013 for pkg in $enableval; do
4014 if test "X$pkg" = "X$p"; then
4015 enable_fast_install=yes
4017 done
4018 IFS="$ac_save_ifs"
4020 esac
4021 else
4022 enable_fast_install=yes
4025 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4026 if test "${with_gnu_ld+set}" = set; then
4027 withval="$with_gnu_ld"
4028 test "$withval" = no || with_gnu_ld=yes
4029 else
4030 with_gnu_ld=no
4032 ac_prog=ld
4033 if test "$GCC" = yes; then
4034 # Check if gcc -print-prog-name=ld gives a path.
4035 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4036 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4037 case $host in
4038 *-*-mingw*)
4039 # gcc leaves a trailing carriage return which upsets mingw
4040 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4042 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4043 esac
4044 case $ac_prog in
4045 # Accept absolute paths.
4046 [\\/]* | [A-Za-z]:[\\/]*)
4047 re_direlt='/[^/][^/]*/\.\./'
4048 # Canonicalize the path of ld
4049 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4050 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4051 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4052 done
4053 test -z "$LD" && LD="$ac_prog"
4056 # If it fails, then pretend we aren't using GCC.
4057 ac_prog=ld
4060 # If it is relative, then search for the first ld in PATH.
4061 with_gnu_ld=unknown
4063 esac
4064 elif test "$with_gnu_ld" = yes; then
4065 echo "$as_me:$LINENO: checking for GNU ld" >&5
4066 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4067 else
4068 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4069 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4071 if test "${lt_cv_path_LD+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 else
4074 if test -z "$LD"; then
4075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4076 for ac_dir in $PATH; do
4077 test -z "$ac_dir" && ac_dir=.
4078 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4079 lt_cv_path_LD="$ac_dir/$ac_prog"
4080 # Check to see if the program is GNU ld. I'd rather use --version,
4081 # but apparently some GNU ld's only accept -v.
4082 # Break only if it was the GNU/non-GNU ld that we prefer.
4083 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4084 test "$with_gnu_ld" != no && break
4085 else
4086 test "$with_gnu_ld" != yes && break
4089 done
4090 IFS="$ac_save_ifs"
4091 else
4092 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4096 LD="$lt_cv_path_LD"
4097 if test -n "$LD"; then
4098 echo "$as_me:$LINENO: result: $LD" >&5
4099 echo "${ECHO_T}$LD" >&6
4100 else
4101 echo "$as_me:$LINENO: result: no" >&5
4102 echo "${ECHO_T}no" >&6
4104 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4105 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4106 { (exit 1); exit 1; }; }
4107 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4108 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4109 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 else
4112 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4113 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4114 lt_cv_prog_gnu_ld=yes
4115 else
4116 lt_cv_prog_gnu_ld=no
4119 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4120 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4121 with_gnu_ld=$lt_cv_prog_gnu_ld
4124 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4125 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4126 if test "${lt_cv_ld_reload_flag+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129 lt_cv_ld_reload_flag='-r'
4131 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4132 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4133 reload_flag=$lt_cv_ld_reload_flag
4134 test -n "$reload_flag" && reload_flag=" $reload_flag"
4136 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4137 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4138 if test "${lt_cv_path_NM+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 else
4141 if test -n "$NM"; then
4142 # Let the user override the test.
4143 lt_cv_path_NM="$NM"
4144 else
4145 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4146 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4147 test -z "$ac_dir" && ac_dir=.
4148 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4149 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4150 # Check to see if the nm accepts a BSD-compat flag.
4151 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4152 # nm: unknown option "B" ignored
4153 # Tru64's nm complains that /dev/null is an invalid object file
4154 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4155 lt_cv_path_NM="$tmp_nm -B"
4156 break
4157 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4158 lt_cv_path_NM="$tmp_nm -p"
4159 break
4160 else
4161 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4162 continue # so that we can try to find one that supports BSD flags
4165 done
4166 IFS="$ac_save_ifs"
4167 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4171 NM="$lt_cv_path_NM"
4172 echo "$as_me:$LINENO: result: $NM" >&5
4173 echo "${ECHO_T}$NM" >&6
4175 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4176 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4177 if test "${lt_cv_deplibs_check_method+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 else
4180 lt_cv_file_magic_cmd='$MAGIC_CMD'
4181 lt_cv_file_magic_test_file=
4182 lt_cv_deplibs_check_method='unknown'
4183 # Need to set the preceding variable on all platforms that support
4184 # interlibrary dependencies.
4185 # 'none' -- dependencies not supported.
4186 # `unknown' -- same as none, but documents that we really don't know.
4187 # 'pass_all' -- all dependencies passed with no checks.
4188 # 'test_compile' -- check by making test program.
4189 # 'file_magic [regex]' -- check by looking for files in library path
4190 # which responds to the $file_magic_cmd with a given egrep regex.
4191 # If you have `file' or equivalent on your system and you're not sure
4192 # whether `pass_all' will *always* work, you probably want this one.
4194 case $host_os in
4195 aix*)
4196 lt_cv_deplibs_check_method=pass_all
4199 beos*)
4200 lt_cv_deplibs_check_method=pass_all
4203 bsdi4*)
4204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4205 lt_cv_file_magic_cmd='/usr/bin/file -L'
4206 lt_cv_file_magic_test_file=/shlib/libc.so
4209 cygwin* | mingw* |pw32*)
4210 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4211 lt_cv_file_magic_cmd='$OBJDUMP -f'
4214 darwin* | rhapsody*)
4215 # this will be overwritten by pass_all, but leave it in just in case
4216 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4217 lt_cv_file_magic_cmd='/usr/bin/file -L'
4218 case "$host_os" in
4219 rhapsody* | darwin1.012)
4220 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4222 *) # Darwin 1.3 on
4223 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4225 esac
4226 lt_cv_deplibs_check_method=pass_all
4229 freebsd* | kfreebsd*-gnu)
4230 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4231 case $host_cpu in
4232 i*86 )
4233 # Not sure whether the presence of OpenBSD here was a mistake.
4234 # Let's accept both of them until this is cleared up.
4235 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4236 lt_cv_file_magic_cmd=/usr/bin/file
4237 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4239 esac
4240 else
4241 lt_cv_deplibs_check_method=pass_all
4245 gnu*)
4246 lt_cv_deplibs_check_method=pass_all
4249 hpux10.20*|hpux11*)
4250 case $host_cpu in
4251 hppa*)
4252 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4253 lt_cv_file_magic_cmd=/usr/bin/file
4254 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4256 ia64*)
4257 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4258 lt_cv_file_magic_cmd=/usr/bin/file
4259 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4261 esac
4264 irix5* | irix6*)
4265 case $host_os in
4266 irix5*)
4267 # this will be overridden with pass_all, but let us keep it just in case
4268 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4271 case $LD in
4272 *-32|*"-32 ") libmagic=32-bit;;
4273 *-n32|*"-n32 ") libmagic=N32;;
4274 *-64|*"-64 ") libmagic=64-bit;;
4275 *) libmagic=never-match;;
4276 esac
4277 # this will be overridden with pass_all, but let us keep it just in case
4278 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4280 esac
4281 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4282 lt_cv_deplibs_check_method=pass_all
4285 # This must be Linux ELF.
4286 linux-gnu*)
4287 lt_cv_deplibs_check_method=pass_all
4290 netbsd* | knetbsd*-gnu)
4291 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4292 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4293 else
4294 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4298 newsos6)
4299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4300 lt_cv_file_magic_cmd=/usr/bin/file
4301 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4304 osf3* | osf4* | osf5*)
4305 # this will be overridden with pass_all, but let us keep it just in case
4306 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4307 lt_cv_file_magic_test_file=/shlib/libc.so
4308 lt_cv_deplibs_check_method=pass_all
4311 sco3.2v5*)
4312 lt_cv_deplibs_check_method=pass_all
4315 solaris*)
4316 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_file_magic_test_file=/lib/libc.so
4320 sysv5uw[78]* | sysv4*uw2*)
4321 lt_cv_deplibs_check_method=pass_all
4324 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4325 case $host_vendor in
4326 ncr)
4327 lt_cv_deplibs_check_method=pass_all
4329 motorola)
4330 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]'
4331 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4333 esac
4335 esac
4338 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4339 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4340 file_magic_cmd=$lt_cv_file_magic_cmd
4341 deplibs_check_method=$lt_cv_deplibs_check_method
4346 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4348 # find the maximum length of command line arguments
4349 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4350 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4351 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4352 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 else
4355 teststring="ABCD"
4357 case $build_os in
4358 msdosdjgpp*)
4359 # On DJGPP, this test can blow up pretty badly due to problems in libc
4360 # (any single argument exceeding 2000 bytes causes a buffer overrun
4361 # during glob expansion). Even if it were fixed, the result of this
4362 # check would be larger than it should be.
4363 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4366 cygwin* | mingw*)
4367 # On Win9x/ME, this test blows up -- it succeeds, but takes
4368 # about 5 minutes as the teststring grows exponentially.
4369 # Worse, since 9x/ME are not pre-emptively multitasking,
4370 # you end up with a "frozen" computer, even though with patience
4371 # the test eventually succeeds (with a max line length of 256k).
4372 # Instead, let's just punt: use the minimum linelength reported by
4373 # all of the supported platforms: 8192 (on NT/2K/XP).
4374 lt_cv_sys_max_cmd_len=8192;
4377 amigaos*)
4378 # On AmigaOS with pdksh, this test takes hours, literally.
4379 # So we just punt and use a minimum line length of 8192.
4380 lt_cv_sys_max_cmd_len=8192;
4383 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4384 # This has been around since 386BSD, at least. Likely further.
4385 if test -x /sbin/sysctl; then
4386 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4387 elif test -x /usr/sbin/sysctl; then
4388 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4389 else
4390 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4392 # And add a safety zone
4393 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4394 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4396 esac
4400 if test -n "$lt_cv_sys_max_cmd_len" ; then
4401 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4402 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4403 else
4404 echo "$as_me:$LINENO: result: none" >&5
4405 echo "${ECHO_T}none" >&6
4409 # Only perform the check for file, if the check method requires it
4410 case $deplibs_check_method in
4411 file_magic*)
4412 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4413 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4414 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4415 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 case $MAGIC_CMD in
4420 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4422 ?:/*)
4423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4426 ac_save_MAGIC_CMD="$MAGIC_CMD"
4427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4428 ac_dummy="/usr/bin:$PATH"
4429 for ac_dir in $ac_dummy; do
4430 test -z "$ac_dir" && ac_dir=.
4431 if test -f $ac_dir/${ac_tool_prefix}file; then
4432 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4433 if test -n "$file_magic_test_file"; then
4434 case $deplibs_check_method in
4435 "file_magic "*)
4436 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4439 egrep "$file_magic_regex" > /dev/null; then
4441 else
4442 cat <<EOF 1>&2
4444 *** Warning: the command libtool uses to detect shared libraries,
4445 *** $file_magic_cmd, produces output that libtool cannot recognize.
4446 *** The result is that libtool may fail to recognize shared libraries
4447 *** as such. This will affect the creation of libtool libraries that
4448 *** depend on shared libraries, but programs linked with such libtool
4449 *** libraries will work regardless of this problem. Nevertheless, you
4450 *** may want to report the problem to your system manager and/or to
4451 *** bug-libtool@gnu.org
4454 fi ;;
4455 esac
4457 break
4459 done
4460 IFS="$ac_save_ifs"
4461 MAGIC_CMD="$ac_save_MAGIC_CMD"
4463 esac
4466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4467 if test -n "$MAGIC_CMD"; then
4468 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4469 echo "${ECHO_T}$MAGIC_CMD" >&6
4470 else
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4475 if test -z "$lt_cv_path_MAGIC_CMD"; then
4476 if test -n "$ac_tool_prefix"; then
4477 echo "$as_me:$LINENO: checking for file" >&5
4478 echo $ECHO_N "checking for file... $ECHO_C" >&6
4479 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 else
4482 case $MAGIC_CMD in
4484 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4486 ?:/*)
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4490 ac_save_MAGIC_CMD="$MAGIC_CMD"
4491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4492 ac_dummy="/usr/bin:$PATH"
4493 for ac_dir in $ac_dummy; do
4494 test -z "$ac_dir" && ac_dir=.
4495 if test -f $ac_dir/file; then
4496 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4497 if test -n "$file_magic_test_file"; then
4498 case $deplibs_check_method in
4499 "file_magic "*)
4500 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4501 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4502 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4503 egrep "$file_magic_regex" > /dev/null; then
4505 else
4506 cat <<EOF 1>&2
4508 *** Warning: the command libtool uses to detect shared libraries,
4509 *** $file_magic_cmd, produces output that libtool cannot recognize.
4510 *** The result is that libtool may fail to recognize shared libraries
4511 *** as such. This will affect the creation of libtool libraries that
4512 *** depend on shared libraries, but programs linked with such libtool
4513 *** libraries will work regardless of this problem. Nevertheless, you
4514 *** may want to report the problem to your system manager and/or to
4515 *** bug-libtool@gnu.org
4518 fi ;;
4519 esac
4521 break
4523 done
4524 IFS="$ac_save_ifs"
4525 MAGIC_CMD="$ac_save_MAGIC_CMD"
4527 esac
4530 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4531 if test -n "$MAGIC_CMD"; then
4532 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4533 echo "${ECHO_T}$MAGIC_CMD" >&6
4534 else
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4539 else
4540 MAGIC_CMD=:
4546 esac
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553 if test "${ac_cv_prog_RANLIB+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 else
4556 if test -n "$RANLIB"; then
4557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4570 done
4571 done
4575 RANLIB=$ac_cv_prog_RANLIB
4576 if test -n "$RANLIB"; then
4577 echo "$as_me:$LINENO: result: $RANLIB" >&5
4578 echo "${ECHO_T}$RANLIB" >&6
4579 else
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4585 if test -z "$ac_cv_prog_RANLIB"; then
4586 ac_ct_RANLIB=$RANLIB
4587 # Extract the first word of "ranlib", so it can be a program name with args.
4588 set dummy ranlib; ac_word=$2
4589 echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 else
4594 if test -n "$ac_ct_RANLIB"; then
4595 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_RANLIB="ranlib"
4605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4608 done
4609 done
4611 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4615 if test -n "$ac_ct_RANLIB"; then
4616 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4617 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4618 else
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4623 RANLIB=$ac_ct_RANLIB
4624 else
4625 RANLIB="$ac_cv_prog_RANLIB"
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}strip; ac_word=$2
4631 echo "$as_me:$LINENO: checking for $ac_word" >&5
4632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4633 if test "${ac_cv_prog_STRIP+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 else
4636 if test -n "$STRIP"; then
4637 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4638 else
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4642 IFS=$as_save_IFS
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 break 2
4650 done
4651 done
4655 STRIP=$ac_cv_prog_STRIP
4656 if test -n "$STRIP"; then
4657 echo "$as_me:$LINENO: result: $STRIP" >&5
4658 echo "${ECHO_T}$STRIP" >&6
4659 else
4660 echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6
4665 if test -z "$ac_cv_prog_STRIP"; then
4666 ac_ct_STRIP=$STRIP
4667 # Extract the first word of "strip", so it can be a program name with args.
4668 set dummy strip; ac_word=$2
4669 echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674 if test -n "$ac_ct_STRIP"; then
4675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_STRIP="strip"
4685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4691 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4695 if test -n "$ac_ct_STRIP"; then
4696 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4697 echo "${ECHO_T}$ac_ct_STRIP" >&6
4698 else
4699 echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4703 STRIP=$ac_ct_STRIP
4704 else
4705 STRIP="$ac_cv_prog_STRIP"
4709 # Check for any special flags to pass to ltconfig.
4710 libtool_flags="--cache-file=$cache_file"
4711 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4712 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4713 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4714 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4715 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4718 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4719 if test "${enable_libtool_lock+set}" = set; then
4720 enableval="$enable_libtool_lock"
4723 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4724 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4727 # Check whether --with-pic or --without-pic was given.
4728 if test "${with_pic+set}" = set; then
4729 withval="$with_pic"
4730 pic_mode="$withval"
4731 else
4732 pic_mode=default
4734 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4735 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4737 # Some flags need to be propagated to the compiler or linker for good
4738 # libtool support.
4739 case $host in
4740 *-*-irix6*)
4741 # Find out which ABI we are using.
4742 echo '#line 4742 "configure"' > conftest.$ac_ext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>&5
4745 ac_status=$?
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; then
4748 if test "$lt_cv_prog_gnu_ld" = yes; then
4749 case `/usr/bin/file conftest.$ac_objext` in
4750 *32-bit*)
4751 LD="${LD-ld} -melf32bsmip"
4753 *N32*)
4754 LD="${LD-ld} -melf32bmipn32"
4756 *64-bit*)
4757 LD="${LD-ld} -melf64bmip"
4759 esac
4760 else
4761 case `/usr/bin/file conftest.$ac_objext` in
4762 *32-bit*)
4763 LD="${LD-ld} -32"
4765 *N32*)
4766 LD="${LD-ld} -n32"
4768 *64-bit*)
4769 LD="${LD-ld} -64"
4771 esac
4774 rm -rf conftest*
4777 ia64-*-hpux*)
4778 # Find out which ABI we are using.
4779 echo 'int i;' > conftest.$ac_ext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>&5
4782 ac_status=$?
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; then
4785 case "`/usr/bin/file conftest.o`" in
4786 *ELF-32*)
4787 HPUX_IA64_MODE="32"
4789 *ELF-64*)
4790 HPUX_IA64_MODE="64"
4792 esac
4794 rm -rf conftest*
4797 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4798 # Find out which ABI we are using.
4799 echo 'int i;' > conftest.$ac_ext
4800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801 (eval $ac_compile) 2>&5
4802 ac_status=$?
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; then
4805 case "`/usr/bin/file conftest.o`" in
4806 *32-bit*)
4807 case $host in
4808 x86_64-*linux*)
4809 LD="${LD-ld} -m elf_i386"
4811 ppc64-*linux*|powerpc64-*linux*)
4812 LD="${LD-ld} -m elf32ppclinux"
4814 s390x-*linux*)
4815 LD="${LD-ld} -m elf_s390"
4817 sparc64-*linux*)
4818 LD="${LD-ld} -m elf32_sparc"
4820 esac
4822 *64-bit*)
4823 case $host in
4824 x86_64-*linux*)
4825 LD="${LD-ld} -m elf_x86_64"
4827 ppc*-*linux*|powerpc*-*linux*)
4828 LD="${LD-ld} -m elf64ppc"
4830 s390*-*linux*)
4831 LD="${LD-ld} -m elf64_s390"
4833 sparc*-*linux*)
4834 LD="${LD-ld} -m elf64_sparc"
4836 esac
4838 esac
4840 rm -rf conftest*
4843 *-*-sco3.2v5*)
4844 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4845 SAVE_CFLAGS="$CFLAGS"
4846 CFLAGS="$CFLAGS -belf"
4847 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4848 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4849 if test "${lt_cv_cc_needs_belf+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4854 ac_ext=c
4855 ac_cpp='$CPP $CPPFLAGS'
4856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860 if test x$gcc_no_link = xyes; then
4861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4863 { (exit 1); exit 1; }; }
4865 cat >conftest.$ac_ext <<_ACEOF
4866 /* confdefs.h. */
4867 _ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4873 main ()
4877 return 0;
4879 _ACEOF
4880 rm -f conftest.$ac_objext conftest$ac_exeext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882 (eval $ac_link) 2>conftest.er1
4883 ac_status=$?
4884 grep -v '^ *+' conftest.er1 >conftest.err
4885 rm -f conftest.er1
4886 cat conftest.err >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try='test -z "$ac_c_werror_flag"
4890 || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 (eval $ac_try) 2>&5
4893 ac_status=$?
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try='test -s conftest$ac_exeext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 (eval $ac_try) 2>&5
4899 ac_status=$?
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 lt_cv_cc_needs_belf=yes
4903 else
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4907 lt_cv_cc_needs_belf=no
4909 rm -f conftest.err conftest.$ac_objext \
4910 conftest$ac_exeext conftest.$ac_ext
4911 ac_ext=c
4912 ac_cpp='$CPP $CPPFLAGS'
4913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4919 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4920 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4921 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4922 CFLAGS="$SAVE_CFLAGS"
4927 esac
4930 # Save cache, so that ltconfig can load it
4931 cat >confcache <<\_ACEOF
4932 # This file is a shell script that caches the results of configure
4933 # tests run on this system so they can be shared between configure
4934 # scripts and configure runs, see configure's option --config-cache.
4935 # It is not useful on other systems. If it contains results you don't
4936 # want to keep, you may remove or edit it.
4938 # config.status only pays attention to the cache file if you give it
4939 # the --recheck option to rerun configure.
4941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4943 # following values.
4945 _ACEOF
4947 # The following way of writing the cache mishandles newlines in values,
4948 # but we know of no workaround that is simple, portable, and efficient.
4949 # So, don't put newlines in cache variables' values.
4950 # Ultrix sh set writes to stderr and can't be redirected directly,
4951 # and sets the high bit in the cache file unless we assign to the vars.
4953 (set) 2>&1 |
4954 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4955 *ac_space=\ *)
4956 # `set' does not quote correctly, so add quotes (double-quote
4957 # substitution turns \\\\ into \\, and sed turns \\ into \).
4958 sed -n \
4959 "s/'/'\\\\''/g;
4960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4963 # `set' quotes correctly as required by POSIX, so do not add quotes.
4964 sed -n \
4965 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4967 esac;
4969 sed '
4970 t clear
4971 : clear
4972 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4973 t end
4974 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4975 : end' >>confcache
4976 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4977 if test -w $cache_file; then
4978 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4979 cat confcache >$cache_file
4980 else
4981 echo "not updating unwritable cache $cache_file"
4984 rm -f confcache
4986 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4987 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4988 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4989 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4990 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4991 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4992 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4993 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4994 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4995 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4996 echo "$as_me: error: libtool configure failed" >&2;}
4997 { (exit 1); exit 1; }; }
4999 # Reload cache, that may have been modified by ltconfig
5000 if test -r "$cache_file"; then
5001 # Some versions of bash will fail to source /dev/null (special
5002 # files actually), so we avoid doing that.
5003 if test -f "$cache_file"; then
5004 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5005 echo "$as_me: loading cache $cache_file" >&6;}
5006 case $cache_file in
5007 [\\/]* | ?:[\\/]* ) . $cache_file;;
5008 *) . ./$cache_file;;
5009 esac
5011 else
5012 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5013 echo "$as_me: creating cache $cache_file" >&6;}
5014 >$cache_file
5018 # This can be used to rebuild libtool when needed
5019 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5021 # Always use our own libtool.
5022 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5024 # Redirect the config.log output again, so that the ltconfig log is not
5025 # clobbered by the next message.
5026 exec 5>>./config.log
5028 ac_ext=cc
5029 ac_cpp='$CXXCPP $CPPFLAGS'
5030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5033 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5034 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5035 if test -z "$CXXCPP"; then
5036 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 else
5039 # Double quotes because CXXCPP needs to be expanded
5040 for CXXCPP in "$CXX -E" "/lib/cpp"
5042 ac_preproc_ok=false
5043 for ac_cxx_preproc_warn_flag in '' yes
5045 # Use a header file that comes with gcc, so configuring glibc
5046 # with a fresh cross-compiler works.
5047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 # <limits.h> exists even on freestanding compilers.
5049 # On the NeXT, cc -E runs the code through the compiler's parser,
5050 # not just through cpp. "Syntax error" is here to catch this case.
5051 cat >conftest.$ac_ext <<_ACEOF
5052 /* confdefs.h. */
5053 _ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #ifdef __STDC__
5058 # include <limits.h>
5059 #else
5060 # include <assert.h>
5061 #endif
5062 Syntax error
5063 _ACEOF
5064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5066 ac_status=$?
5067 grep -v '^ *+' conftest.er1 >conftest.err
5068 rm -f conftest.er1
5069 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } >/dev/null; then
5072 if test -s conftest.err; then
5073 ac_cpp_err=$ac_cxx_preproc_warn_flag
5074 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5075 else
5076 ac_cpp_err=
5078 else
5079 ac_cpp_err=yes
5081 if test -z "$ac_cpp_err"; then
5083 else
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5087 # Broken: fails on valid input.
5088 continue
5090 rm -f conftest.err conftest.$ac_ext
5092 # OK, works on sane cases. Now check whether non-existent headers
5093 # can be detected and how.
5094 cat >conftest.$ac_ext <<_ACEOF
5095 /* confdefs.h. */
5096 _ACEOF
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5100 #include <ac_nonexistent.h>
5101 _ACEOF
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5104 ac_status=$?
5105 grep -v '^ *+' conftest.er1 >conftest.err
5106 rm -f conftest.er1
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev/null; then
5110 if test -s conftest.err; then
5111 ac_cpp_err=$ac_cxx_preproc_warn_flag
5112 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5113 else
5114 ac_cpp_err=
5116 else
5117 ac_cpp_err=yes
5119 if test -z "$ac_cpp_err"; then
5120 # Broken: success on invalid input.
5121 continue
5122 else
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 # Passes both tests.
5127 ac_preproc_ok=:
5128 break
5130 rm -f conftest.err conftest.$ac_ext
5132 done
5133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5134 rm -f conftest.err conftest.$ac_ext
5135 if $ac_preproc_ok; then
5136 break
5139 done
5140 ac_cv_prog_CXXCPP=$CXXCPP
5143 CXXCPP=$ac_cv_prog_CXXCPP
5144 else
5145 ac_cv_prog_CXXCPP=$CXXCPP
5147 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5148 echo "${ECHO_T}$CXXCPP" >&6
5149 ac_preproc_ok=false
5150 for ac_cxx_preproc_warn_flag in '' yes
5152 # Use a header file that comes with gcc, so configuring glibc
5153 # with a fresh cross-compiler works.
5154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155 # <limits.h> exists even on freestanding compilers.
5156 # On the NeXT, cc -E runs the code through the compiler's parser,
5157 # not just through cpp. "Syntax error" is here to catch this case.
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #ifdef __STDC__
5165 # include <limits.h>
5166 #else
5167 # include <assert.h>
5168 #endif
5169 Syntax error
5170 _ACEOF
5171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } >/dev/null; then
5179 if test -s conftest.err; then
5180 ac_cpp_err=$ac_cxx_preproc_warn_flag
5181 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5182 else
5183 ac_cpp_err=
5185 else
5186 ac_cpp_err=yes
5188 if test -z "$ac_cpp_err"; then
5190 else
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5194 # Broken: fails on valid input.
5195 continue
5197 rm -f conftest.err conftest.$ac_ext
5199 # OK, works on sane cases. Now check whether non-existent headers
5200 # can be detected and how.
5201 cat >conftest.$ac_ext <<_ACEOF
5202 /* confdefs.h. */
5203 _ACEOF
5204 cat confdefs.h >>conftest.$ac_ext
5205 cat >>conftest.$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5207 #include <ac_nonexistent.h>
5208 _ACEOF
5209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5211 ac_status=$?
5212 grep -v '^ *+' conftest.er1 >conftest.err
5213 rm -f conftest.er1
5214 cat conftest.err >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } >/dev/null; then
5217 if test -s conftest.err; then
5218 ac_cpp_err=$ac_cxx_preproc_warn_flag
5219 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5220 else
5221 ac_cpp_err=
5223 else
5224 ac_cpp_err=yes
5226 if test -z "$ac_cpp_err"; then
5227 # Broken: success on invalid input.
5228 continue
5229 else
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5233 # Passes both tests.
5234 ac_preproc_ok=:
5235 break
5237 rm -f conftest.err conftest.$ac_ext
5239 done
5240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5241 rm -f conftest.err conftest.$ac_ext
5242 if $ac_preproc_ok; then
5244 else
5245 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5246 See \`config.log' for more details." >&5
5247 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5248 See \`config.log' for more details." >&2;}
5249 { (exit 1); exit 1; }; }
5252 ac_ext=c
5253 ac_cpp='$CPP $CPPFLAGS'
5254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5260 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5261 lt_save_CC="$CC"
5262 lt_save_CFLAGS="$CFLAGS"
5263 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5264 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5265 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5266 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5267 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5268 deplibs_check_method="$deplibs_check_method" \
5269 file_magic_cmd="$file_magic_cmd" \
5270 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5271 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5272 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5273 echo "$as_me: error: libtool tag configuration failed" >&2;}
5274 { (exit 1); exit 1; }; }
5275 CC="$lt_save_CC"
5276 CFLAGS="$lt_save_CFLAGS"
5278 # Redirect the config.log output again, so that the ltconfig log is not
5279 # clobbered by the next message.
5280 exec 5>>./config.log
5290 # Possibly disable most of the library.
5291 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5292 ## than just ignoring the results. Faster /and/ more correct, win win.
5294 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5295 if test "${enable_hosted_libstdcxx+set}" = set; then
5296 enableval="$enable_hosted_libstdcxx"
5298 else
5299 case "$host" in
5300 arm*-*-symbianelf*)
5301 enable_hosted_libstdcxx=no
5304 enable_hosted_libstdcxx=yes
5306 esac
5308 if test "$enable_hosted_libstdcxx" = no; then
5309 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5310 echo "$as_me: Only freestanding libraries will be built" >&6;}
5311 is_hosted=no
5312 hosted_define=0
5313 enable_abi_check=no
5314 enable_libstdcxx_pch=no
5315 else
5316 is_hosted=yes
5317 hosted_define=1
5321 cat >>confdefs.h <<_ACEOF
5322 #define _GLIBCXX_HOSTED $hosted_define
5323 _ACEOF
5327 # Check for compiler support that doesn't require linking.
5329 echo "$as_me:$LINENO: checking for exception model to use" >&5
5330 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5333 ac_ext=cc
5334 ac_cpp='$CXXCPP $CPPFLAGS'
5335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5339 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5340 if test "${enable_sjlj_exceptions+set}" = set; then
5341 enableval="$enable_sjlj_exceptions"
5343 case "$enableval" in
5344 yes|no|auto) ;;
5345 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5346 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5347 { (exit 1); exit 1; }; } ;;
5348 esac
5350 else
5351 enable_sjlj_exceptions=auto
5355 if test $enable_sjlj_exceptions = auto; then
5356 # Botheration. Now we've got to detect the exception model. Link tests
5357 # against libgcc.a are problematic since we've not been given proper -L
5358 # bits for single-tree newlib and libgloss.
5360 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5361 cat > conftest.$ac_ext << EOF
5362 #line 5362 "configure"
5363 struct S { ~S(); };
5364 void bar();
5365 void foo()
5367 S s;
5368 bar();
5371 old_CXXFLAGS="$CXXFLAGS"
5372 CXXFLAGS=-S
5373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5374 (eval $ac_compile) 2>&5
5375 ac_status=$?
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; then
5378 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5379 enable_sjlj_exceptions=yes
5380 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5381 enable_sjlj_exceptions=no
5382 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5383 enable_sjlj_exceptions=no
5386 CXXFLAGS="$old_CXXFLAGS"
5387 rm -f conftest*
5390 # This is a tad weird, for hysterical raisins. We have to map
5391 # enable/disable to two different models.
5392 case $enable_sjlj_exceptions in
5393 yes)
5395 cat >>confdefs.h <<\_ACEOF
5396 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5397 _ACEOF
5399 ac_exception_model_name=sjlj
5402 ac_exception_model_name="call frame"
5405 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5406 echo "$as_me: error: unable to detect exception model" >&2;}
5407 { (exit 1); exit 1; }; }
5409 esac
5410 ac_ext=c
5411 ac_cpp='$CPP $CPPFLAGS'
5412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5416 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5417 echo "${ECHO_T}$ac_exception_model_name" >&6
5420 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5421 if test "${enable_libstdcxx_pch+set}" = set; then
5422 enableval="$enable_libstdcxx_pch"
5424 case "$enableval" in
5425 yes|no) ;;
5426 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5427 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5428 { (exit 1); exit 1; }; } ;;
5429 esac
5431 else
5432 enable_libstdcxx_pch=$is_hosted
5435 if test $enable_libstdcxx_pch = yes; then
5436 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5437 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5438 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 ac_save_CXXFLAGS="$CXXFLAGS"
5442 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5445 ac_ext=cc
5446 ac_cpp='$CXXCPP $CPPFLAGS'
5447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5451 echo '#include <math.h>' > conftest.h
5452 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5453 -o conftest.h.gch 1>&5 2>&1 &&
5454 echo '#error "pch failed"' > conftest.h &&
5455 echo '#include "conftest.h"' > conftest.cc &&
5456 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5457 then
5458 glibcxx_cv_prog_CXX_pch=yes
5459 else
5460 glibcxx_cv_prog_CXX_pch=no
5462 rm -f conftest*
5463 CXXFLAGS=$ac_save_CXXFLAGS
5464 ac_ext=c
5465 ac_cpp='$CPP $CPPFLAGS'
5466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5472 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5473 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5474 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5477 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5478 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5479 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5480 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5483 if test $enable_libstdcxx_pch = yes; then
5484 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5485 else
5486 glibcxx_PCHFLAGS=""
5491 # Enable all the variable C++ runtime options.
5493 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5494 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5495 # Check whether --enable-cstdio or --disable-cstdio was given.
5496 if test "${enable_cstdio+set}" = set; then
5497 enableval="$enable_cstdio"
5499 case "$enableval" in
5500 stdio) ;;
5501 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5502 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5503 { (exit 1); exit 1; }; } ;;
5504 esac
5506 else
5507 enable_cstdio=stdio
5511 # Now that libio has been removed, you can have any color you want as long
5512 # as it's black. This is one big no-op until other packages are added, but
5513 # showing the framework never hurts.
5514 case ${enable_cstdio} in
5515 stdio)
5516 CSTDIO_H=config/io/c_io_stdio.h
5517 BASIC_FILE_H=config/io/basic_file_stdio.h
5518 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5519 echo "$as_me:$LINENO: result: stdio" >&5
5520 echo "${ECHO_T}stdio" >&6
5522 esac
5528 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5529 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5530 if test "${ac_cv_header_stdc+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5532 else
5533 cat >conftest.$ac_ext <<_ACEOF
5534 /* confdefs.h. */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 #include <stdlib.h>
5540 #include <stdarg.h>
5541 #include <string.h>
5542 #include <float.h>
5545 main ()
5549 return 0;
5551 _ACEOF
5552 rm -f conftest.$ac_objext
5553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5554 (eval $ac_compile) 2>conftest.er1
5555 ac_status=$?
5556 grep -v '^ *+' conftest.er1 >conftest.err
5557 rm -f conftest.er1
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } &&
5561 { ac_try='test -z "$ac_c_werror_flag"
5562 || test ! -s conftest.err'
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 (eval $ac_try) 2>&5
5565 ac_status=$?
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; } &&
5568 { ac_try='test -s conftest.$ac_objext'
5569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 (eval $ac_try) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; }; then
5574 ac_cv_header_stdc=yes
5575 else
5576 echo "$as_me: failed program was:" >&5
5577 sed 's/^/| /' conftest.$ac_ext >&5
5579 ac_cv_header_stdc=no
5581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5583 if test $ac_cv_header_stdc = yes; then
5584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5585 cat >conftest.$ac_ext <<_ACEOF
5586 /* confdefs.h. */
5587 _ACEOF
5588 cat confdefs.h >>conftest.$ac_ext
5589 cat >>conftest.$ac_ext <<_ACEOF
5590 /* end confdefs.h. */
5591 #include <string.h>
5593 _ACEOF
5594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5595 $EGREP "memchr" >/dev/null 2>&1; then
5597 else
5598 ac_cv_header_stdc=no
5600 rm -f conftest*
5604 if test $ac_cv_header_stdc = yes; then
5605 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5606 cat >conftest.$ac_ext <<_ACEOF
5607 /* confdefs.h. */
5608 _ACEOF
5609 cat confdefs.h >>conftest.$ac_ext
5610 cat >>conftest.$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5612 #include <stdlib.h>
5614 _ACEOF
5615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5616 $EGREP "free" >/dev/null 2>&1; then
5618 else
5619 ac_cv_header_stdc=no
5621 rm -f conftest*
5625 if test $ac_cv_header_stdc = yes; then
5626 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5627 if test "$cross_compiling" = yes; then
5629 else
5630 cat >conftest.$ac_ext <<_ACEOF
5631 /* confdefs.h. */
5632 _ACEOF
5633 cat confdefs.h >>conftest.$ac_ext
5634 cat >>conftest.$ac_ext <<_ACEOF
5635 /* end confdefs.h. */
5636 #include <ctype.h>
5637 #if ((' ' & 0x0FF) == 0x020)
5638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5640 #else
5641 # define ISLOWER(c) \
5642 (('a' <= (c) && (c) <= 'i') \
5643 || ('j' <= (c) && (c) <= 'r') \
5644 || ('s' <= (c) && (c) <= 'z'))
5645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5646 #endif
5648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5650 main ()
5652 int i;
5653 for (i = 0; i < 256; i++)
5654 if (XOR (islower (i), ISLOWER (i))
5655 || toupper (i) != TOUPPER (i))
5656 exit(2);
5657 exit (0);
5659 _ACEOF
5660 rm -f conftest$ac_exeext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5662 (eval $ac_link) 2>&5
5663 ac_status=$?
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5667 (eval $ac_try) 2>&5
5668 ac_status=$?
5669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); }; }; then
5672 else
5673 echo "$as_me: program exited with status $ac_status" >&5
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.$ac_ext >&5
5677 ( exit $ac_status )
5678 ac_cv_header_stdc=no
5680 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5684 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5685 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5686 if test $ac_cv_header_stdc = yes; then
5688 cat >>confdefs.h <<\_ACEOF
5689 #define STDC_HEADERS 1
5690 _ACEOF
5694 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5704 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5705 inttypes.h stdint.h unistd.h
5707 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5708 echo "$as_me:$LINENO: checking for $ac_header" >&5
5709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713 cat >conftest.$ac_ext <<_ACEOF
5714 /* confdefs.h. */
5715 _ACEOF
5716 cat confdefs.h >>conftest.$ac_ext
5717 cat >>conftest.$ac_ext <<_ACEOF
5718 /* end confdefs.h. */
5719 $ac_includes_default
5721 #include <$ac_header>
5722 _ACEOF
5723 rm -f conftest.$ac_objext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725 (eval $ac_compile) 2>conftest.er1
5726 ac_status=$?
5727 grep -v '^ *+' conftest.er1 >conftest.err
5728 rm -f conftest.er1
5729 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } &&
5732 { ac_try='test -z "$ac_c_werror_flag"
5733 || test ! -s conftest.err'
5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 (eval $ac_try) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; } &&
5739 { ac_try='test -s conftest.$ac_objext'
5740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 (eval $ac_try) 2>&5
5742 ac_status=$?
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; }; then
5745 eval "$as_ac_Header=yes"
5746 else
5747 echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5750 eval "$as_ac_Header=no"
5752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5757 cat >>confdefs.h <<_ACEOF
5758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5759 _ACEOF
5763 done
5767 # Check whether --enable-clocale or --disable-clocale was given.
5768 if test "${enable_clocale+set}" = set; then
5769 enableval="$enable_clocale"
5771 case "$enableval" in
5772 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5773 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5774 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5775 { (exit 1); exit 1; }; } ;;
5776 esac
5778 else
5779 enable_clocale=auto
5783 # Deal with gettext issues. Default to not using it (=no) until we detect
5784 # support for it later. Let the user turn it off via --e/d, but let that
5785 # default to on for easier handling.
5786 USE_NLS=no
5787 # Check whether --enable-nls or --disable-nls was given.
5788 if test "${enable_nls+set}" = set; then
5789 enableval="$enable_nls"
5791 else
5792 enable_nls=yes
5795 # Either a known packaage, or "auto"
5796 if test $enable_clocale = no || test $enable_clocale = yes; then
5797 enable_clocale=auto
5799 enable_clocale_flag=$enable_clocale
5801 # Probe for locale model to use if none specified.
5802 # Default to "generic".
5803 if test $enable_clocale_flag = auto; then
5804 case ${target_os} in
5805 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5806 enable_clocale_flag=gnu
5808 darwin* | freebsd*)
5809 enable_clocale_flag=darwin
5812 enable_clocale_flag=generic
5814 esac
5817 # Sanity check model, and test for special functionality.
5818 if test $enable_clocale_flag = gnu; then
5819 cat >conftest.$ac_ext <<_ACEOF
5820 /* confdefs.h. */
5821 _ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5826 #include <features.h>
5827 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5828 _GLIBCXX_ok
5829 #endif
5831 _ACEOF
5832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5833 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5834 enable_clocale_flag=gnu
5835 else
5836 enable_clocale_flag=generic
5838 rm -f conftest*
5841 if test $enable_clocale = auto; then
5842 # Test for bugs early in glibc-2.2.x series
5843 if test "$cross_compiling" = yes; then
5844 enable_clocale_flag=generic
5845 else
5846 cat >conftest.$ac_ext <<_ACEOF
5847 /* confdefs.h. */
5848 _ACEOF
5849 cat confdefs.h >>conftest.$ac_ext
5850 cat >>conftest.$ac_ext <<_ACEOF
5851 /* end confdefs.h. */
5853 #define _GNU_SOURCE 1
5854 #include <locale.h>
5855 #include <string.h>
5856 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5857 extern __typeof(newlocale) __newlocale;
5858 extern __typeof(duplocale) __duplocale;
5859 extern __typeof(strcoll_l) __strcoll_l;
5860 #endif
5861 int main()
5863 const char __one[] = "Äuglein Augmen";
5864 const char __two[] = "Äuglein";
5865 int i;
5866 int j;
5867 __locale_t loc;
5868 __locale_t loc_dup;
5869 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5870 loc_dup = __duplocale(loc);
5871 i = __strcoll_l(__one, __two, loc);
5872 j = __strcoll_l(__one, __two, loc_dup);
5873 return 0;
5876 _ACEOF
5877 rm -f conftest$ac_exeext
5878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5879 (eval $ac_link) 2>&5
5880 ac_status=$?
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 (eval $ac_try) 2>&5
5885 ac_status=$?
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); }; }; then
5888 enable_clocale_flag=gnu
5889 else
5890 echo "$as_me: program exited with status $ac_status" >&5
5891 echo "$as_me: failed program was:" >&5
5892 sed 's/^/| /' conftest.$ac_ext >&5
5894 ( exit $ac_status )
5895 enable_clocale_flag=generic
5897 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5901 # Set it to scream when it hurts.
5902 ac_save_CFLAGS="$CFLAGS"
5903 CFLAGS="-Wimplicit-function-declaration -Werror"
5905 # Use strxfrm_l if available.
5906 cat >conftest.$ac_ext <<_ACEOF
5907 /* confdefs.h. */
5908 _ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 #define _GNU_SOURCE 1
5913 #include <string.h>
5914 #include <locale.h>
5916 main ()
5918 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
5920 return 0;
5922 _ACEOF
5923 rm -f conftest.$ac_objext
5924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5925 (eval $ac_compile) 2>conftest.er1
5926 ac_status=$?
5927 grep -v '^ *+' conftest.er1 >conftest.err
5928 rm -f conftest.er1
5929 cat conftest.err >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } &&
5932 { ac_try='test -z "$ac_c_werror_flag"
5933 || test ! -s conftest.err'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 (eval $ac_try) 2>&5
5936 ac_status=$?
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; } &&
5939 { ac_try='test -s conftest.$ac_objext'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 (eval $ac_try) 2>&5
5942 ac_status=$?
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; }; then
5946 cat >>confdefs.h <<\_ACEOF
5947 #define HAVE_STRXFRM_L 1
5948 _ACEOF
5950 else
5951 echo "$as_me: failed program was:" >&5
5952 sed 's/^/| /' conftest.$ac_ext >&5
5955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5957 # Use strerror_l if available.
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #define _GNU_SOURCE 1
5965 #include <string.h>
5966 #include <locale.h>
5968 main ()
5970 __locale_t loc; strerror_l(5, loc);
5972 return 0;
5974 _ACEOF
5975 rm -f conftest.$ac_objext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5977 (eval $ac_compile) 2>conftest.er1
5978 ac_status=$?
5979 grep -v '^ *+' conftest.er1 >conftest.err
5980 rm -f conftest.er1
5981 cat conftest.err >&5
5982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983 (exit $ac_status); } &&
5984 { ac_try='test -z "$ac_c_werror_flag"
5985 || test ! -s conftest.err'
5986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 (eval $ac_try) 2>&5
5988 ac_status=$?
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); }; } &&
5991 { ac_try='test -s conftest.$ac_objext'
5992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993 (eval $ac_try) 2>&5
5994 ac_status=$?
5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 (exit $ac_status); }; }; then
5998 cat >>confdefs.h <<\_ACEOF
5999 #define HAVE_STRERROR_L 1
6000 _ACEOF
6002 else
6003 echo "$as_me: failed program was:" >&5
6004 sed 's/^/| /' conftest.$ac_ext >&5
6007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6009 CFLAGS="$ac_save_CFLAGS"
6012 # Perhaps use strerror_r if available, and strerror_l isn't.
6013 ac_save_CFLAGS="$CFLAGS"
6014 CFLAGS="-Wimplicit-function-declaration -Werror"
6015 cat >conftest.$ac_ext <<_ACEOF
6016 /* confdefs.h. */
6017 _ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6021 #define _GNU_SOURCE 1
6022 #include <string.h>
6023 #include <locale.h>
6025 main ()
6027 char s[128]; strerror_r(5, s, 128);
6029 return 0;
6031 _ACEOF
6032 rm -f conftest.$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034 (eval $ac_compile) 2>conftest.er1
6035 ac_status=$?
6036 grep -v '^ *+' conftest.er1 >conftest.err
6037 rm -f conftest.er1
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } &&
6041 { ac_try='test -z "$ac_c_werror_flag"
6042 || test ! -s conftest.err'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 (eval $ac_try) 2>&5
6045 ac_status=$?
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; } &&
6048 { ac_try='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 (eval $ac_try) 2>&5
6051 ac_status=$?
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6055 cat >>confdefs.h <<\_ACEOF
6056 #define HAVE_STRERROR_R 1
6057 _ACEOF
6059 else
6060 echo "$as_me: failed program was:" >&5
6061 sed 's/^/| /' conftest.$ac_ext >&5
6064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6065 CFLAGS="$ac_save_CFLAGS"
6067 # Set configure bits for specified locale package
6068 echo "$as_me:$LINENO: checking for C locale to use" >&5
6069 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
6070 case ${enable_clocale_flag} in
6071 generic)
6072 echo "$as_me:$LINENO: result: generic" >&5
6073 echo "${ECHO_T}generic" >&6
6075 CLOCALE_H=config/locale/generic/c_locale.h
6076 CLOCALE_CC=config/locale/generic/c_locale.cc
6077 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6078 CCOLLATE_CC=config/locale/generic/collate_members.cc
6079 CCTYPE_CC=config/locale/generic/ctype_members.cc
6080 CMESSAGES_H=config/locale/generic/messages_members.h
6081 CMESSAGES_CC=config/locale/generic/messages_members.cc
6082 CMONEY_CC=config/locale/generic/monetary_members.cc
6083 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6084 CTIME_H=config/locale/generic/time_members.h
6085 CTIME_CC=config/locale/generic/time_members.cc
6086 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6088 darwin)
6089 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
6090 echo "${ECHO_T}darwin or freebsd" >&6
6092 CLOCALE_H=config/locale/generic/c_locale.h
6093 CLOCALE_CC=config/locale/generic/c_locale.cc
6094 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6095 CCOLLATE_CC=config/locale/generic/collate_members.cc
6096 CCTYPE_CC=config/locale/darwin/ctype_members.cc
6097 CMESSAGES_H=config/locale/generic/messages_members.h
6098 CMESSAGES_CC=config/locale/generic/messages_members.cc
6099 CMONEY_CC=config/locale/generic/monetary_members.cc
6100 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6101 CTIME_H=config/locale/generic/time_members.h
6102 CTIME_CC=config/locale/generic/time_members.cc
6103 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6106 gnu)
6107 echo "$as_me:$LINENO: result: gnu" >&5
6108 echo "${ECHO_T}gnu" >&6
6110 # Declare intention to use gettext, and add support for specific
6111 # languages.
6112 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
6113 ALL_LINGUAS="de fr"
6115 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
6116 # Extract the first word of "msgfmt", so it can be a program name with args.
6117 set dummy msgfmt; ac_word=$2
6118 echo "$as_me:$LINENO: checking for $ac_word" >&5
6119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6120 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6122 else
6123 if test -n "$check_msgfmt"; then
6124 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
6125 else
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6127 for as_dir in $PATH
6129 IFS=$as_save_IFS
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_check_msgfmt="yes"
6134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6140 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
6143 check_msgfmt=$ac_cv_prog_check_msgfmt
6144 if test -n "$check_msgfmt"; then
6145 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
6146 echo "${ECHO_T}$check_msgfmt" >&6
6147 else
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6152 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
6153 USE_NLS=yes
6155 # Export the build objects.
6156 for ling in $ALL_LINGUAS; do \
6157 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
6158 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
6159 done
6163 CLOCALE_H=config/locale/gnu/c_locale.h
6164 CLOCALE_CC=config/locale/gnu/c_locale.cc
6165 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6166 CCOLLATE_CC=config/locale/gnu/collate_members.cc
6167 CCTYPE_CC=config/locale/gnu/ctype_members.cc
6168 CMESSAGES_H=config/locale/gnu/messages_members.h
6169 CMESSAGES_CC=config/locale/gnu/messages_members.cc
6170 CMONEY_CC=config/locale/gnu/monetary_members.cc
6171 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6172 CTIME_H=config/locale/gnu/time_members.h
6173 CTIME_CC=config/locale/gnu/time_members.cc
6174 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6176 ieee_1003.1-2001)
6177 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6178 echo "${ECHO_T}IEEE 1003.1" >&6
6180 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6181 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6182 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6183 CCOLLATE_CC=config/locale/generic/collate_members.cc
6184 CCTYPE_CC=config/locale/generic/ctype_members.cc
6185 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6186 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6187 CMONEY_CC=config/locale/generic/monetary_members.cc
6188 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6189 CTIME_H=config/locale/generic/time_members.h
6190 CTIME_CC=config/locale/generic/time_members.cc
6191 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6193 esac
6195 # This is where the testsuite looks for locale catalogs, using the
6196 # -DLOCALEDIR define during testsuite compilation.
6197 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6200 # A standalone libintl (e.g., GNU libintl) may be in use.
6201 if test $USE_NLS = yes; then
6203 for ac_header in libintl.h
6205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6207 echo "$as_me:$LINENO: checking for $ac_header" >&5
6208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6214 else
6215 # Is the header compilable?
6216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6218 cat >conftest.$ac_ext <<_ACEOF
6219 /* confdefs.h. */
6220 _ACEOF
6221 cat confdefs.h >>conftest.$ac_ext
6222 cat >>conftest.$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 $ac_includes_default
6225 #include <$ac_header>
6226 _ACEOF
6227 rm -f conftest.$ac_objext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229 (eval $ac_compile) 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_objext'
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_header_compiler=yes
6250 else
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6254 ac_header_compiler=no
6256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6258 echo "${ECHO_T}$ac_header_compiler" >&6
6260 # Is the header present?
6261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6263 cat >conftest.$ac_ext <<_ACEOF
6264 /* confdefs.h. */
6265 _ACEOF
6266 cat confdefs.h >>conftest.$ac_ext
6267 cat >>conftest.$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6269 #include <$ac_header>
6270 _ACEOF
6271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6273 ac_status=$?
6274 grep -v '^ *+' conftest.er1 >conftest.err
6275 rm -f conftest.er1
6276 cat conftest.err >&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } >/dev/null; then
6279 if test -s conftest.err; then
6280 ac_cpp_err=$ac_c_preproc_warn_flag
6281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6282 else
6283 ac_cpp_err=
6285 else
6286 ac_cpp_err=yes
6288 if test -z "$ac_cpp_err"; then
6289 ac_header_preproc=yes
6290 else
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.$ac_ext >&5
6294 ac_header_preproc=no
6296 rm -f conftest.err conftest.$ac_ext
6297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6298 echo "${ECHO_T}$ac_header_preproc" >&6
6300 # So? What about this header?
6301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6302 yes:no: )
6303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6307 ac_header_preproc=yes
6309 no:yes:* )
6310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6323 cat <<\_ASBOX
6324 ## ----------------------------------------- ##
6325 ## Report this to the package-unused lists. ##
6326 ## ----------------------------------------- ##
6327 _ASBOX
6329 sed "s/^/$as_me: WARNING: /" >&2
6331 esac
6332 echo "$as_me:$LINENO: checking for $ac_header" >&5
6333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337 eval "$as_ac_Header=\$ac_header_preproc"
6339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344 cat >>confdefs.h <<_ACEOF
6345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346 _ACEOF
6348 else
6349 USE_NLS=no
6352 done
6354 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6355 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6356 if test "${ac_cv_search_gettext+set}" = set; then
6357 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 else
6359 ac_func_search_save_LIBS=$LIBS
6360 ac_cv_search_gettext=no
6361 if test x$gcc_no_link = xyes; then
6362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6364 { (exit 1); exit 1; }; }
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6373 /* Override any gcc2 internal prototype to avoid an error. */
6374 #ifdef __cplusplus
6375 extern "C"
6376 #endif
6377 /* We use char because int might match the return type of a gcc2
6378 builtin and then its argument prototype would still apply. */
6379 char gettext ();
6381 main ()
6383 gettext ();
6385 return 0;
6387 _ACEOF
6388 rm -f conftest.$ac_objext conftest$ac_exeext
6389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6390 (eval $ac_link) 2>conftest.er1
6391 ac_status=$?
6392 grep -v '^ *+' conftest.er1 >conftest.err
6393 rm -f conftest.er1
6394 cat conftest.err >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } &&
6397 { ac_try='test -z "$ac_c_werror_flag"
6398 || test ! -s conftest.err'
6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 (eval $ac_try) 2>&5
6401 ac_status=$?
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); }; } &&
6404 { ac_try='test -s conftest$ac_exeext'
6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 (eval $ac_try) 2>&5
6407 ac_status=$?
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; }; then
6410 ac_cv_search_gettext="none required"
6411 else
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6416 rm -f conftest.err conftest.$ac_objext \
6417 conftest$ac_exeext conftest.$ac_ext
6418 if test "$ac_cv_search_gettext" = no; then
6419 for ac_lib in intl; do
6420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6421 if test x$gcc_no_link = xyes; then
6422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6424 { (exit 1); exit 1; }; }
6426 cat >conftest.$ac_ext <<_ACEOF
6427 /* confdefs.h. */
6428 _ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6433 /* Override any gcc2 internal prototype to avoid an error. */
6434 #ifdef __cplusplus
6435 extern "C"
6436 #endif
6437 /* We use char because int might match the return type of a gcc2
6438 builtin and then its argument prototype would still apply. */
6439 char gettext ();
6441 main ()
6443 gettext ();
6445 return 0;
6447 _ACEOF
6448 rm -f conftest.$ac_objext conftest$ac_exeext
6449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6450 (eval $ac_link) 2>conftest.er1
6451 ac_status=$?
6452 grep -v '^ *+' conftest.er1 >conftest.err
6453 rm -f conftest.er1
6454 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } &&
6457 { ac_try='test -z "$ac_c_werror_flag"
6458 || test ! -s conftest.err'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460 (eval $ac_try) 2>&5
6461 ac_status=$?
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; } &&
6464 { ac_try='test -s conftest$ac_exeext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466 (eval $ac_try) 2>&5
6467 ac_status=$?
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6470 ac_cv_search_gettext="-l$ac_lib"
6471 break
6472 else
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6477 rm -f conftest.err conftest.$ac_objext \
6478 conftest$ac_exeext conftest.$ac_ext
6479 done
6481 LIBS=$ac_func_search_save_LIBS
6483 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6484 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6485 if test "$ac_cv_search_gettext" != no; then
6486 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6488 else
6489 USE_NLS=no
6493 if test $USE_NLS = yes; then
6495 cat >>confdefs.h <<\_ACEOF
6496 #define _GLIBCXX_USE_NLS 1
6497 _ACEOF
6516 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6517 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6518 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6519 if test "${enable_libstdcxx_allocator+set}" = set; then
6520 enableval="$enable_libstdcxx_allocator"
6522 case "$enableval" in
6523 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6524 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6525 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6526 { (exit 1); exit 1; }; } ;;
6527 esac
6529 else
6530 enable_libstdcxx_allocator=auto
6534 # If they didn't use this option switch, or if they specified --enable
6535 # with no specific model, we'll have to look for one. If they
6536 # specified --disable (???), do likewise.
6537 if test $enable_libstdcxx_allocator = no ||
6538 test $enable_libstdcxx_allocator = yes;
6539 then
6540 enable_libstdcxx_allocator=auto
6543 # Either a known package, or "auto". Auto implies the default choice
6544 # for a particular platform.
6545 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6547 # Probe for host-specific support if no specific model is specified.
6548 # Default to "new".
6549 if test $enable_libstdcxx_allocator_flag = auto; then
6550 case ${target_os} in
6551 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6552 enable_libstdcxx_allocator_flag=new
6555 enable_libstdcxx_allocator_flag=new
6557 esac
6559 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6560 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6563 # Set configure bits for specified locale package
6564 case ${enable_libstdcxx_allocator_flag} in
6565 bitmap)
6566 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6567 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6569 malloc)
6570 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6571 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6574 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6575 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6577 new)
6578 ALLOCATOR_H=config/allocator/new_allocator_base.h
6579 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6581 pool)
6582 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6583 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6585 esac
6591 # Check whether --enable-cheaders or --disable-cheaders was given.
6592 if test "${enable_cheaders+set}" = set; then
6593 enableval="$enable_cheaders"
6595 case "$enableval" in
6596 c|c_std) ;;
6597 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6598 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6599 { (exit 1); exit 1; }; } ;;
6600 esac
6602 else
6603 enable_cheaders=$c_model
6606 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6607 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6609 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6616 # Check whether --enable-long-long or --disable-long-long was given.
6617 if test "${enable_long_long+set}" = set; then
6618 enableval="$enable_long_long"
6620 case "$enableval" in
6621 yes|no) ;;
6622 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6623 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6624 { (exit 1); exit 1; }; } ;;
6625 esac
6627 else
6628 enable_long_long=yes
6631 if test $enable_long_long = yes; then
6633 cat >>confdefs.h <<\_ACEOF
6634 #define _GLIBCXX_USE_LONG_LONG 1
6635 _ACEOF
6638 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6639 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6640 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6641 echo "${ECHO_T}$enable_long_long" >&6
6645 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6646 if test "${enable_wchar_t+set}" = set; then
6647 enableval="$enable_wchar_t"
6649 case "$enableval" in
6650 yes|no) ;;
6651 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6652 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6653 { (exit 1); exit 1; }; } ;;
6654 esac
6656 else
6657 enable_wchar_t=yes
6661 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6663 for ac_header in wchar.h
6665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6667 echo "$as_me:$LINENO: checking for $ac_header" >&5
6668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6674 else
6675 # Is the header compilable?
6676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6678 cat >conftest.$ac_ext <<_ACEOF
6679 /* confdefs.h. */
6680 _ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6684 $ac_includes_default
6685 #include <$ac_header>
6686 _ACEOF
6687 rm -f conftest.$ac_objext
6688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6689 (eval $ac_compile) 2>conftest.er1
6690 ac_status=$?
6691 grep -v '^ *+' conftest.er1 >conftest.err
6692 rm -f conftest.er1
6693 cat conftest.err >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } &&
6696 { ac_try='test -z "$ac_c_werror_flag"
6697 || test ! -s conftest.err'
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); }; } &&
6703 { ac_try='test -s conftest.$ac_objext'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705 (eval $ac_try) 2>&5
6706 ac_status=$?
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; }; then
6709 ac_header_compiler=yes
6710 else
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 ac_header_compiler=no
6716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6718 echo "${ECHO_T}$ac_header_compiler" >&6
6720 # Is the header present?
6721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6723 cat >conftest.$ac_ext <<_ACEOF
6724 /* confdefs.h. */
6725 _ACEOF
6726 cat confdefs.h >>conftest.$ac_ext
6727 cat >>conftest.$ac_ext <<_ACEOF
6728 /* end confdefs.h. */
6729 #include <$ac_header>
6730 _ACEOF
6731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6733 ac_status=$?
6734 grep -v '^ *+' conftest.er1 >conftest.err
6735 rm -f conftest.er1
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); } >/dev/null; then
6739 if test -s conftest.err; then
6740 ac_cpp_err=$ac_c_preproc_warn_flag
6741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6742 else
6743 ac_cpp_err=
6745 else
6746 ac_cpp_err=yes
6748 if test -z "$ac_cpp_err"; then
6749 ac_header_preproc=yes
6750 else
6751 echo "$as_me: failed program was:" >&5
6752 sed 's/^/| /' conftest.$ac_ext >&5
6754 ac_header_preproc=no
6756 rm -f conftest.err conftest.$ac_ext
6757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6758 echo "${ECHO_T}$ac_header_preproc" >&6
6760 # So? What about this header?
6761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6762 yes:no: )
6763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6767 ac_header_preproc=yes
6769 no:yes:* )
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6783 cat <<\_ASBOX
6784 ## ----------------------------------------- ##
6785 ## Report this to the package-unused lists. ##
6786 ## ----------------------------------------- ##
6787 _ASBOX
6789 sed "s/^/$as_me: WARNING: /" >&2
6791 esac
6792 echo "$as_me:$LINENO: checking for $ac_header" >&5
6793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6796 else
6797 eval "$as_ac_Header=\$ac_header_preproc"
6799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6804 cat >>confdefs.h <<_ACEOF
6805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6806 _ACEOF
6807 ac_has_wchar_h=yes
6808 else
6809 ac_has_wchar_h=no
6812 done
6814 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6815 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6816 cat >conftest.$ac_ext <<_ACEOF
6817 /* confdefs.h. */
6818 _ACEOF
6819 cat confdefs.h >>conftest.$ac_ext
6820 cat >>conftest.$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 #include <wchar.h>
6824 main ()
6826 mbstate_t teststate;
6828 return 0;
6830 _ACEOF
6831 rm -f conftest.$ac_objext
6832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>conftest.er1
6834 ac_status=$?
6835 grep -v '^ *+' conftest.er1 >conftest.err
6836 rm -f conftest.er1
6837 cat conftest.err >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try='test -z "$ac_c_werror_flag"
6841 || test ! -s conftest.err'
6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 (eval $ac_try) 2>&5
6844 ac_status=$?
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; } &&
6847 { ac_try='test -s conftest.$ac_objext'
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 (eval $ac_try) 2>&5
6850 ac_status=$?
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }; then
6853 have_mbstate_t=yes
6854 else
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 have_mbstate_t=no
6860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6862 echo "${ECHO_T}$have_mbstate_t" >&6
6863 if test x"$have_mbstate_t" = xyes; then
6865 cat >>confdefs.h <<\_ACEOF
6866 #define HAVE_MBSTATE_T 1
6867 _ACEOF
6871 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6872 # ac_has_wchar_h.
6874 for ac_header in wctype.h
6876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6878 echo "$as_me:$LINENO: checking for $ac_header" >&5
6879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6885 else
6886 # Is the header compilable?
6887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
6896 #include <$ac_header>
6897 _ACEOF
6898 rm -f conftest.$ac_objext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6900 (eval $ac_compile) 2>conftest.er1
6901 ac_status=$?
6902 grep -v '^ *+' conftest.er1 >conftest.err
6903 rm -f conftest.er1
6904 cat conftest.err >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } &&
6907 { ac_try='test -z "$ac_c_werror_flag"
6908 || test ! -s conftest.err'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 (eval $ac_try) 2>&5
6911 ac_status=$?
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; } &&
6914 { ac_try='test -s conftest.$ac_objext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 (eval $ac_try) 2>&5
6917 ac_status=$?
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6920 ac_header_compiler=yes
6921 else
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6925 ac_header_compiler=no
6927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6929 echo "${ECHO_T}$ac_header_compiler" >&6
6931 # Is the header present?
6932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6934 cat >conftest.$ac_ext <<_ACEOF
6935 /* confdefs.h. */
6936 _ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6940 #include <$ac_header>
6941 _ACEOF
6942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6944 ac_status=$?
6945 grep -v '^ *+' conftest.er1 >conftest.err
6946 rm -f conftest.er1
6947 cat conftest.err >&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); } >/dev/null; then
6950 if test -s conftest.err; then
6951 ac_cpp_err=$ac_c_preproc_warn_flag
6952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6953 else
6954 ac_cpp_err=
6956 else
6957 ac_cpp_err=yes
6959 if test -z "$ac_cpp_err"; then
6960 ac_header_preproc=yes
6961 else
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6965 ac_header_preproc=no
6967 rm -f conftest.err conftest.$ac_ext
6968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6969 echo "${ECHO_T}$ac_header_preproc" >&6
6971 # So? What about this header?
6972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6973 yes:no: )
6974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6978 ac_header_preproc=yes
6980 no:yes:* )
6981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6994 cat <<\_ASBOX
6995 ## ----------------------------------------- ##
6996 ## Report this to the package-unused lists. ##
6997 ## ----------------------------------------- ##
6998 _ASBOX
7000 sed "s/^/$as_me: WARNING: /" >&2
7002 esac
7003 echo "$as_me:$LINENO: checking for $ac_header" >&5
7004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 eval "$as_ac_Header=\$ac_header_preproc"
7010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7015 cat >>confdefs.h <<_ACEOF
7016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017 _ACEOF
7018 ac_has_wctype_h=yes
7019 else
7020 ac_has_wctype_h=no
7023 done
7026 if test x"$enable_wchar_t" = x"yes"; then
7030 ac_ext=cc
7031 ac_cpp='$CXXCPP $CPPFLAGS'
7032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7037 if test x"$ac_has_wchar_h" = xyes &&
7038 test x"$ac_has_wctype_h" = xyes; then
7039 cat >conftest.$ac_ext <<_ACEOF
7040 /* confdefs.h. */
7041 _ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h. */
7045 #include <wchar.h>
7046 #include <stddef.h>
7047 wint_t i;
7048 long l = WEOF;
7049 long j = WCHAR_MIN;
7050 long k = WCHAR_MAX;
7051 namespace test
7053 using ::btowc;
7054 using ::fgetwc;
7055 using ::fgetws;
7056 using ::fputwc;
7057 using ::fputws;
7058 using ::fwide;
7059 using ::fwprintf;
7060 using ::fwscanf;
7061 using ::getwc;
7062 using ::getwchar;
7063 using ::mbrlen;
7064 using ::mbrtowc;
7065 using ::mbsinit;
7066 using ::mbsrtowcs;
7067 using ::putwc;
7068 using ::putwchar;
7069 using ::swprintf;
7070 using ::swscanf;
7071 using ::ungetwc;
7072 using ::vfwprintf;
7073 using ::vswprintf;
7074 using ::vwprintf;
7075 using ::wcrtomb;
7076 using ::wcscat;
7077 using ::wcschr;
7078 using ::wcscmp;
7079 using ::wcscoll;
7080 using ::wcscpy;
7081 using ::wcscspn;
7082 using ::wcsftime;
7083 using ::wcslen;
7084 using ::wcsncat;
7085 using ::wcsncmp;
7086 using ::wcsncpy;
7087 using ::wcspbrk;
7088 using ::wcsrchr;
7089 using ::wcsrtombs;
7090 using ::wcsspn;
7091 using ::wcsstr;
7092 using ::wcstod;
7093 using ::wcstok;
7094 using ::wcstol;
7095 using ::wcstoul;
7096 using ::wcsxfrm;
7097 using ::wctob;
7098 using ::wmemchr;
7099 using ::wmemcmp;
7100 using ::wmemcpy;
7101 using ::wmemmove;
7102 using ::wmemset;
7103 using ::wprintf;
7104 using ::wscanf;
7108 main ()
7112 return 0;
7114 _ACEOF
7115 rm -f conftest.$ac_objext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7117 (eval $ac_compile) 2>conftest.er1
7118 ac_status=$?
7119 grep -v '^ *+' conftest.er1 >conftest.err
7120 rm -f conftest.er1
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } &&
7124 { ac_try='test -z "$ac_cxx_werror_flag"
7125 || test ! -s conftest.err'
7126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 (eval $ac_try) 2>&5
7128 ac_status=$?
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); }; } &&
7131 { ac_try='test -s conftest.$ac_objext'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 (eval $ac_try) 2>&5
7134 ac_status=$?
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7138 else
7139 echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.$ac_ext >&5
7142 enable_wchar_t=no
7144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7145 else
7146 enable_wchar_t=no
7149 ac_ext=c
7150 ac_cpp='$CPP $CPPFLAGS'
7151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7157 if test x"$enable_wchar_t" = x"yes"; then
7159 cat >>confdefs.h <<\_ACEOF
7160 #define _GLIBCXX_USE_WCHAR_T 1
7161 _ACEOF
7165 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7166 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7167 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7168 echo "${ECHO_T}$enable_wchar_t" >&6
7172 # Check whether --enable-c99 or --disable-c99 was given.
7173 if test "${enable_c99+set}" = set; then
7174 enableval="$enable_c99"
7176 case "$enableval" in
7177 yes|no) ;;
7178 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7179 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7180 { (exit 1); exit 1; }; } ;;
7181 esac
7183 else
7184 enable_c99=yes
7188 if test x"$enable_c99" = x"yes"; then
7192 ac_ext=cc
7193 ac_cpp='$CXXCPP $CPPFLAGS'
7194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7199 # Check for the existence of <math.h> functions used if C99 is enabled.
7200 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7201 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7202 if test "${ac_c99_math+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6
7204 else
7206 cat >conftest.$ac_ext <<_ACEOF
7207 /* confdefs.h. */
7208 _ACEOF
7209 cat confdefs.h >>conftest.$ac_ext
7210 cat >>conftest.$ac_ext <<_ACEOF
7211 /* end confdefs.h. */
7212 #include <math.h>
7214 main ()
7216 fpclassify(0.0);
7217 isfinite(0.0);
7218 isinf(0.0);
7219 isnan(0.0);
7220 isnormal(0.0);
7221 signbit(0.0);
7222 isgreater(0.0,0.0);
7223 isgreaterequal(0.0,0.0);
7224 isless(0.0,0.0);
7225 islessequal(0.0,0.0);
7226 islessgreater(0.0,0.0);
7227 islessgreater(0.0,0.0);
7228 isunordered(0.0,0.0);
7231 return 0;
7233 _ACEOF
7234 rm -f conftest.$ac_objext
7235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7236 (eval $ac_compile) 2>conftest.er1
7237 ac_status=$?
7238 grep -v '^ *+' conftest.er1 >conftest.err
7239 rm -f conftest.er1
7240 cat conftest.err >&5
7241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7242 (exit $ac_status); } &&
7243 { ac_try='test -z "$ac_cxx_werror_flag"
7244 || test ! -s conftest.err'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 (eval $ac_try) 2>&5
7247 ac_status=$?
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; } &&
7250 { ac_try='test -s conftest.$ac_objext'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7252 (eval $ac_try) 2>&5
7253 ac_status=$?
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; }; then
7256 ac_c99_math=yes
7257 else
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 ac_c99_math=no
7263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7267 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7268 echo "${ECHO_T}$ac_c99_math" >&6
7269 if test x"$ac_c99_math" = x"yes"; then
7271 cat >>confdefs.h <<\_ACEOF
7272 #define _GLIBCXX_USE_C99_MATH 1
7273 _ACEOF
7277 # Check for the existence of <complex.h> complex math functions.
7278 # This is necessary even though libstdc++ uses the builtin versions
7279 # of these functions, because if the builtin cannot be used, a reference
7280 # to the library function is emitted.
7282 for ac_header in complex.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7286 echo "$as_me:$LINENO: checking for $ac_header" >&5
7287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7293 else
7294 # Is the header compilable?
7295 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7297 cat >conftest.$ac_ext <<_ACEOF
7298 /* confdefs.h. */
7299 _ACEOF
7300 cat confdefs.h >>conftest.$ac_ext
7301 cat >>conftest.$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 $ac_includes_default
7304 #include <$ac_header>
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7308 (eval $ac_compile) 2>conftest.er1
7309 ac_status=$?
7310 grep -v '^ *+' conftest.er1 >conftest.err
7311 rm -f conftest.er1
7312 cat conftest.err >&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try='test -z "$ac_cxx_werror_flag"
7316 || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318 (eval $ac_try) 2>&5
7319 ac_status=$?
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; } &&
7322 { ac_try='test -s conftest.$ac_objext'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7324 (eval $ac_try) 2>&5
7325 ac_status=$?
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7328 ac_header_compiler=yes
7329 else
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.$ac_ext >&5
7333 ac_header_compiler=no
7335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7337 echo "${ECHO_T}$ac_header_compiler" >&6
7339 # Is the header present?
7340 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7341 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7342 cat >conftest.$ac_ext <<_ACEOF
7343 /* confdefs.h. */
7344 _ACEOF
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 #include <$ac_header>
7349 _ACEOF
7350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7352 ac_status=$?
7353 grep -v '^ *+' conftest.er1 >conftest.err
7354 rm -f conftest.er1
7355 cat conftest.err >&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } >/dev/null; then
7358 if test -s conftest.err; then
7359 ac_cpp_err=$ac_cxx_preproc_warn_flag
7360 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7361 else
7362 ac_cpp_err=
7364 else
7365 ac_cpp_err=yes
7367 if test -z "$ac_cpp_err"; then
7368 ac_header_preproc=yes
7369 else
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_header_preproc=no
7375 rm -f conftest.err conftest.$ac_ext
7376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7377 echo "${ECHO_T}$ac_header_preproc" >&6
7379 # So? What about this header?
7380 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7381 yes:no: )
7382 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7383 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7385 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7386 ac_header_preproc=yes
7388 no:yes:* )
7389 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7394 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7395 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7396 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7399 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7400 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7402 cat <<\_ASBOX
7403 ## ----------------------------------------- ##
7404 ## Report this to the package-unused lists. ##
7405 ## ----------------------------------------- ##
7406 _ASBOX
7408 sed "s/^/$as_me: WARNING: /" >&2
7410 esac
7411 echo "$as_me:$LINENO: checking for $ac_header" >&5
7412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7415 else
7416 eval "$as_ac_Header=\$ac_header_preproc"
7418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7423 cat >>confdefs.h <<_ACEOF
7424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7425 _ACEOF
7426 ac_has_complex_h=yes
7427 else
7428 ac_has_complex_h=no
7431 done
7433 ac_c99_complex=no;
7434 if test x"$ac_has_complex_h" = x"yes"; then
7435 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7436 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7437 cat >conftest.$ac_ext <<_ACEOF
7438 /* confdefs.h. */
7439 _ACEOF
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 #include <complex.h>
7445 main ()
7447 typedef __complex__ float float_type; float_type tmpf;
7448 cabsf(tmpf);
7449 cargf(tmpf);
7450 ccosf(tmpf);
7451 ccoshf(tmpf);
7452 cexpf(tmpf);
7453 clogf(tmpf);
7454 csinf(tmpf);
7455 csinhf(tmpf);
7456 csqrtf(tmpf);
7457 ctanf(tmpf);
7458 ctanhf(tmpf);
7459 cpowf(tmpf, tmpf);
7460 typedef __complex__ double double_type; double_type tmpd;
7461 cabs(tmpd);
7462 carg(tmpd);
7463 ccos(tmpd);
7464 ccosh(tmpd);
7465 cexp(tmpd);
7466 clog(tmpd);
7467 csin(tmpd);
7468 csinh(tmpd);
7469 csqrt(tmpd);
7470 ctan(tmpd);
7471 ctanh(tmpd);
7472 cpow(tmpd, tmpd);
7473 typedef __complex__ long double ld_type; ld_type tmpld;
7474 cabsl(tmpld);
7475 cargl(tmpld);
7476 ccosl(tmpld);
7477 ccoshl(tmpld);
7478 cexpl(tmpld);
7479 clogl(tmpld);
7480 csinl(tmpld);
7481 csinhl(tmpld);
7482 csqrtl(tmpld);
7483 ctanl(tmpld);
7484 ctanhl(tmpld);
7485 cpowl(tmpld, tmpld);
7488 return 0;
7490 _ACEOF
7491 rm -f conftest.$ac_objext
7492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7493 (eval $ac_compile) 2>conftest.er1
7494 ac_status=$?
7495 grep -v '^ *+' conftest.er1 >conftest.err
7496 rm -f conftest.er1
7497 cat conftest.err >&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); } &&
7500 { ac_try='test -z "$ac_cxx_werror_flag"
7501 || test ! -s conftest.err'
7502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7503 (eval $ac_try) 2>&5
7504 ac_status=$?
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }; } &&
7507 { ac_try='test -s conftest.$ac_objext'
7508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 (eval $ac_try) 2>&5
7510 ac_status=$?
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); }; }; then
7513 ac_c99_complex=yes
7514 else
7515 echo "$as_me: failed program was:" >&5
7516 sed 's/^/| /' conftest.$ac_ext >&5
7518 ac_c99_complex=no
7520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7522 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7523 echo "${ECHO_T}$ac_c99_complex" >&6
7524 if test x"$ac_c99_complex" = x"yes"; then
7526 cat >>confdefs.h <<\_ACEOF
7527 #define _GLIBCXX_USE_C99_COMPLEX 1
7528 _ACEOF
7532 # Check for the existence in <stdio.h> of vscanf, et. al.
7533 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7534 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7535 if test "${ac_c99_stdio+set}" = set; then
7536 echo $ECHO_N "(cached) $ECHO_C" >&6
7537 else
7539 cat >conftest.$ac_ext <<_ACEOF
7540 /* confdefs.h. */
7541 _ACEOF
7542 cat confdefs.h >>conftest.$ac_ext
7543 cat >>conftest.$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 #include <stdio.h>
7546 #include <stdarg.h>
7547 void foo(char* fmt, ...)
7549 va_list args; va_start(args, fmt);
7550 vfscanf(stderr, "%i", args);
7551 vscanf("%i", args);
7552 vsnprintf(fmt, 0, "%i", args);
7553 vsscanf(fmt, "%i", args);
7556 main ()
7558 snprintf("12", 0, "%i");
7560 return 0;
7562 _ACEOF
7563 rm -f conftest.$ac_objext
7564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7565 (eval $ac_compile) 2>conftest.er1
7566 ac_status=$?
7567 grep -v '^ *+' conftest.er1 >conftest.err
7568 rm -f conftest.er1
7569 cat conftest.err >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } &&
7572 { ac_try='test -z "$ac_cxx_werror_flag"
7573 || test ! -s conftest.err'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 (eval $ac_try) 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; } &&
7579 { ac_try='test -s conftest.$ac_objext'
7580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 (eval $ac_try) 2>&5
7582 ac_status=$?
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); }; }; then
7585 ac_c99_stdio=yes
7586 else
7587 echo "$as_me: failed program was:" >&5
7588 sed 's/^/| /' conftest.$ac_ext >&5
7590 ac_c99_stdio=no
7592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7596 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7597 echo "${ECHO_T}$ac_c99_stdio" >&6
7599 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7600 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7601 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7602 if test "${ac_c99_stdlib+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 else
7606 cat >conftest.$ac_ext <<_ACEOF
7607 /* confdefs.h. */
7608 _ACEOF
7609 cat confdefs.h >>conftest.$ac_ext
7610 cat >>conftest.$ac_ext <<_ACEOF
7611 /* end confdefs.h. */
7612 #include <stdlib.h>
7614 main ()
7616 char* tmp;
7617 strtof("gnu", &tmp);
7618 strtold("gnu", &tmp);
7619 strtoll("gnu", &tmp, 10);
7620 strtoull("gnu", &tmp, 10);
7621 llabs(10);
7622 lldiv(10,1);
7623 atoll("10");
7624 _Exit(0);
7625 lldiv_t mydivt;
7627 return 0;
7629 _ACEOF
7630 rm -f conftest.$ac_objext
7631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7632 (eval $ac_compile) 2>conftest.er1
7633 ac_status=$?
7634 grep -v '^ *+' conftest.er1 >conftest.err
7635 rm -f conftest.er1
7636 cat conftest.err >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } &&
7639 { ac_try='test -z "$ac_cxx_werror_flag"
7640 || test ! -s conftest.err'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 (eval $ac_try) 2>&5
7643 ac_status=$?
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; } &&
7646 { ac_try='test -s conftest.$ac_objext'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 (eval $ac_try) 2>&5
7649 ac_status=$?
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; }; then
7652 ac_c99_stdlib=yes
7653 else
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7657 ac_c99_stdlib=no
7659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7663 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7664 echo "${ECHO_T}$ac_c99_stdlib" >&6
7666 # Check for the existence in <wchar.h> of wcstold, etc.
7667 ac_c99_wchar=no;
7668 if test x"$ac_has_wchar_h" = xyes &&
7669 test x"$ac_has_wctype_h" = xyes; then
7670 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7671 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7672 cat >conftest.$ac_ext <<_ACEOF
7673 /* confdefs.h. */
7674 _ACEOF
7675 cat confdefs.h >>conftest.$ac_ext
7676 cat >>conftest.$ac_ext <<_ACEOF
7677 /* end confdefs.h. */
7678 #include <wchar.h>
7679 namespace test
7681 using ::wcstold;
7682 using ::wcstoll;
7683 using ::wcstoull;
7687 main ()
7691 return 0;
7693 _ACEOF
7694 rm -f conftest.$ac_objext
7695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7696 (eval $ac_compile) 2>conftest.er1
7697 ac_status=$?
7698 grep -v '^ *+' conftest.er1 >conftest.err
7699 rm -f conftest.er1
7700 cat conftest.err >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); } &&
7703 { ac_try='test -z "$ac_cxx_werror_flag"
7704 || test ! -s conftest.err'
7705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 (eval $ac_try) 2>&5
7707 ac_status=$?
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; } &&
7710 { ac_try='test -s conftest.$ac_objext'
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7712 (eval $ac_try) 2>&5
7713 ac_status=$?
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); }; }; then
7716 ac_c99_wchar=yes
7717 else
7718 echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.$ac_ext >&5
7721 ac_c99_wchar=no
7723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7725 # Checks for wide character functions that may not be present.
7726 # Injection of these is wrapped with guard macros.
7727 # NB: only put functions here, instead of immediately above, if
7728 # absolutely necessary.
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 ::vfwscanf; }
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_VFWSCANF 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 <wchar.h>
7786 namespace test { using ::vswscanf; }
7788 main ()
7792 return 0;
7794 _ACEOF
7795 rm -f conftest.$ac_objext
7796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7797 (eval $ac_compile) 2>conftest.er1
7798 ac_status=$?
7799 grep -v '^ *+' conftest.er1 >conftest.err
7800 rm -f conftest.er1
7801 cat conftest.err >&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); } &&
7804 { ac_try='test -z "$ac_cxx_werror_flag"
7805 || test ! -s conftest.err'
7806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 (eval $ac_try) 2>&5
7808 ac_status=$?
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); }; } &&
7811 { ac_try='test -s conftest.$ac_objext'
7812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7813 (eval $ac_try) 2>&5
7814 ac_status=$?
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); }; }; then
7818 cat >>confdefs.h <<\_ACEOF
7819 #define HAVE_VSWSCANF 1
7820 _ACEOF
7822 else
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.$ac_ext >&5
7827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7829 cat >conftest.$ac_ext <<_ACEOF
7830 /* confdefs.h. */
7831 _ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7835 #include <wchar.h>
7836 namespace test { using ::vwscanf; }
7838 main ()
7842 return 0;
7844 _ACEOF
7845 rm -f conftest.$ac_objext
7846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7847 (eval $ac_compile) 2>conftest.er1
7848 ac_status=$?
7849 grep -v '^ *+' conftest.er1 >conftest.err
7850 rm -f conftest.er1
7851 cat conftest.err >&5
7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); } &&
7854 { ac_try='test -z "$ac_cxx_werror_flag"
7855 || test ! -s conftest.err'
7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 (eval $ac_try) 2>&5
7858 ac_status=$?
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }; } &&
7861 { ac_try='test -s conftest.$ac_objext'
7862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7863 (eval $ac_try) 2>&5
7864 ac_status=$?
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); }; }; then
7868 cat >>confdefs.h <<\_ACEOF
7869 #define HAVE_VWSCANF 1
7870 _ACEOF
7872 else
7873 echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7879 cat >conftest.$ac_ext <<_ACEOF
7880 /* confdefs.h. */
7881 _ACEOF
7882 cat confdefs.h >>conftest.$ac_ext
7883 cat >>conftest.$ac_ext <<_ACEOF
7884 /* end confdefs.h. */
7885 #include <wchar.h>
7886 namespace test { using ::wcstof; }
7888 main ()
7892 return 0;
7894 _ACEOF
7895 rm -f conftest.$ac_objext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7897 (eval $ac_compile) 2>conftest.er1
7898 ac_status=$?
7899 grep -v '^ *+' conftest.er1 >conftest.err
7900 rm -f conftest.er1
7901 cat conftest.err >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try='test -z "$ac_cxx_werror_flag"
7905 || test ! -s conftest.err'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 (eval $ac_try) 2>&5
7908 ac_status=$?
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; } &&
7911 { ac_try='test -s conftest.$ac_objext'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 (eval $ac_try) 2>&5
7914 ac_status=$?
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then
7918 cat >>confdefs.h <<\_ACEOF
7919 #define HAVE_WCSTOF 1
7920 _ACEOF
7922 else
7923 echo "$as_me: failed program was:" >&5
7924 sed 's/^/| /' conftest.$ac_ext >&5
7927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7929 cat >conftest.$ac_ext <<_ACEOF
7930 /* confdefs.h. */
7931 _ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 #include <wctype.h>
7937 main ()
7939 wint_t t; int i = iswblank(t);
7941 return 0;
7943 _ACEOF
7944 rm -f conftest.$ac_objext
7945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7946 (eval $ac_compile) 2>conftest.er1
7947 ac_status=$?
7948 grep -v '^ *+' conftest.er1 >conftest.err
7949 rm -f conftest.er1
7950 cat conftest.err >&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); } &&
7953 { ac_try='test -z "$ac_cxx_werror_flag"
7954 || test ! -s conftest.err'
7955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7956 (eval $ac_try) 2>&5
7957 ac_status=$?
7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); }; } &&
7960 { ac_try='test -s conftest.$ac_objext'
7961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 (eval $ac_try) 2>&5
7963 ac_status=$?
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); }; }; then
7967 cat >>confdefs.h <<\_ACEOF
7968 #define HAVE_ISWBLANK 1
7969 _ACEOF
7971 else
7972 echo "$as_me: failed program was:" >&5
7973 sed 's/^/| /' conftest.$ac_ext >&5
7976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7978 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7979 echo "${ECHO_T}$ac_c99_wchar" >&6
7982 # Option parsed, now set things appropriately.
7983 if test x"$ac_c99_math" = x"no" ||
7984 test x"$ac_c99_complex" = x"no" ||
7985 test x"$ac_c99_stdio" = x"no" ||
7986 test x"$ac_c99_stdlib" = x"no" ||
7987 test x"$ac_c99_wchar" = x"no"; then
7988 enable_c99=no;
7989 else
7991 cat >>confdefs.h <<\_ACEOF
7992 #define _GLIBCXX_USE_C99 1
7993 _ACEOF
7997 ac_ext=c
7998 ac_cpp='$CPP $CPPFLAGS'
7999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8005 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
8006 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
8007 echo "$as_me:$LINENO: result: $enable_c99" >&5
8008 echo "${ECHO_T}$enable_c99" >&6
8011 # Check whether --enable-concept-checks or --disable-concept-checks was given.
8012 if test "${enable_concept_checks+set}" = set; then
8013 enableval="$enable_concept_checks"
8015 case "$enableval" in
8016 yes|no) ;;
8017 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
8018 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
8019 { (exit 1); exit 1; }; } ;;
8020 esac
8022 else
8023 enable_concept_checks=no
8026 if test $enable_concept_checks = yes; then
8028 cat >>confdefs.h <<\_ACEOF
8029 #define _GLIBCXX_CONCEPT_CHECKS 1
8030 _ACEOF
8035 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
8036 if test "${enable_libstdcxx_debug_flags+set}" = set; then
8037 enableval="$enable_libstdcxx_debug_flags"
8038 case "x$enable_libstdcxx_debug_flags" in
8039 xno | x) enable_libstdcxx_debug_flags= ;;
8040 x-*) ;;
8041 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
8042 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
8043 { (exit 1); exit 1; }; } ;;
8044 esac
8045 else
8046 enable_libstdcxx_debug_flags="-g3 -O0"
8050 # Option parsed, now set things appropriately
8051 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
8054 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
8055 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
8058 echo "$as_me:$LINENO: checking for additional debug build" >&5
8059 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
8060 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
8061 if test "${enable_libstdcxx_debug+set}" = set; then
8062 enableval="$enable_libstdcxx_debug"
8064 case "$enableval" in
8065 yes|no) ;;
8066 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
8067 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
8068 { (exit 1); exit 1; }; } ;;
8069 esac
8071 else
8072 enable_libstdcxx_debug=no
8075 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
8076 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
8079 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
8080 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
8081 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
8082 if test "${enable_cxx_flags+set}" = set; then
8083 enableval="$enable_cxx_flags"
8084 case "x$enable_cxx_flags" in
8085 xno | x) enable_cxx_flags= ;;
8086 x-*) ;;
8087 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
8088 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
8089 { (exit 1); exit 1; }; } ;;
8090 esac
8091 else
8092 enable_cxx_flags=
8096 # Run through flags (either default or command-line) and set anything
8097 # extra (e.g., #defines) that must accompany particular g++ options.
8098 if test -n "$enable_cxx_flags"; then
8099 for f in $enable_cxx_flags; do
8100 case "$f" in
8101 -fhonor-std) ;;
8102 -*) ;;
8103 *) # and we're trying to pass /what/ exactly?
8104 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
8105 echo "$as_me: error: compiler flags start with a -" >&2;}
8106 { (exit 1); exit 1; }; } ;;
8107 esac
8108 done
8111 EXTRA_CXX_FLAGS="$enable_cxx_flags"
8112 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
8113 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
8117 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
8118 if test "${enable_fully_dynamic_string+set}" = set; then
8119 enableval="$enable_fully_dynamic_string"
8121 case "$enableval" in
8122 yes|no) ;;
8123 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
8124 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
8125 { (exit 1); exit 1; }; } ;;
8126 esac
8128 else
8129 enable_fully_dynamic_string=no
8132 if test $enable_fully_dynamic_string = yes; then
8134 cat >>confdefs.h <<\_ACEOF
8135 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
8136 _ACEOF
8141 # No surprises, no surprises...
8143 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
8144 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
8145 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
8146 echo "$as_me:$LINENO: result: $target_thread_file" >&5
8147 echo "${ECHO_T}$target_thread_file" >&6
8149 if test $target_thread_file != single; then
8151 cat >>confdefs.h <<\_ACEOF
8152 #define HAVE_GTHR_DEFAULT 1
8153 _ACEOF
8157 glibcxx_thread_h=gthr-$target_thread_file.h
8159 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
8160 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8161 enable_thread=yes
8162 else
8163 enable_thread=no
8169 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8170 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8173 ac_ext=cc
8174 ac_cpp='$CXXCPP $CPPFLAGS'
8175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8180 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8181 cat > conftest.$ac_ext << EOF
8182 #line 8182 "configure"
8183 int main()
8185 // NB: _Atomic_word not necessarily int.
8186 typedef int atomic_type;
8187 atomic_type c1;
8188 atomic_type c2;
8189 const atomic_type c3(0);
8190 if (__sync_fetch_and_add(&c1, c2) == c3)
8192 // Do something.
8194 return 0;
8197 old_CXXFLAGS="$CXXFLAGS"
8198 CXXFLAGS=-S
8199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8200 (eval $ac_compile) 2>&5
8201 ac_status=$?
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; then
8204 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8205 enable_atomic_builtins=no
8206 else
8208 cat >>confdefs.h <<\_ACEOF
8209 #define _GLIBCXX_ATOMIC_BUILTINS 1
8210 _ACEOF
8212 enable_atomic_builtins=yes
8213 atomicity_dir=cpu/generic/atomicity_builtins
8216 CXXFLAGS="$old_CXXFLAGS"
8217 rm -f conftest*
8219 # Now, if still generic, set to mutex.
8220 if test $atomicity_dir = "cpu/generic" ; then
8221 atomicity_dir=cpu/generic/atomicity_mutex
8223 ac_ext=c
8224 ac_cpp='$CPP $CPPFLAGS'
8225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8229 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8230 echo "${ECHO_T}$enable_atomic_builtins" >&6
8232 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8233 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8234 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8235 if test $target_thread_file = single; then
8236 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8237 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8238 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8239 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8240 else
8241 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8242 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8243 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8244 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8249 # All these tests are for C++; save the language and the compiler flags.
8250 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8251 # found in GLIBCXX_CONFIGURE.
8254 ac_ext=cc
8255 ac_cpp='$CXXCPP $CPPFLAGS'
8256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8260 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8261 ac_save_CXXFLAGS="$CXXFLAGS"
8263 # Check for maintainer-mode bits.
8264 if test x"$USE_MAINTAINER_MODE" = xno; then
8265 WERROR=''
8266 else
8267 WERROR='-Werror'
8270 # Check for -ffunction-sections -fdata-sections
8271 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8272 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8273 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
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. */
8282 main ()
8284 int foo;
8286 return 0;
8288 _ACEOF
8289 rm -f conftest.$ac_objext
8290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8291 (eval $ac_compile) 2>conftest.er1
8292 ac_status=$?
8293 grep -v '^ *+' conftest.er1 >conftest.err
8294 rm -f conftest.er1
8295 cat conftest.err >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try='test -z "$ac_cxx_werror_flag"
8299 || test ! -s conftest.err'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8301 (eval $ac_try) 2>&5
8302 ac_status=$?
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; } &&
8305 { ac_try='test -s conftest.$ac_objext'
8306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8307 (eval $ac_try) 2>&5
8308 ac_status=$?
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; }; then
8311 ac_fdsections=yes
8312 else
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.$ac_ext >&5
8316 ac_fdsections=no
8318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8319 if test "$ac_test_CXXFLAGS" = set; then
8320 CXXFLAGS="$ac_save_CXXFLAGS"
8321 else
8322 # this is the suspicious part
8323 CXXFLAGS=''
8325 if test x"$ac_fdsections" = x"yes"; then
8326 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8328 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8329 echo "${ECHO_T}$ac_fdsections" >&6
8331 ac_ext=c
8332 ac_cpp='$CPP $CPPFLAGS'
8333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8341 if $GLIBCXX_IS_NATIVE; then
8343 # We can do more elaborate tests that assume a working linker.
8344 CANADIAN=no
8346 # Check for available headers.
8362 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8363 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8364 sys/types.h sys/ipc.h sys/sem.h
8366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8368 echo "$as_me:$LINENO: checking for $ac_header" >&5
8369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8371 echo $ECHO_N "(cached) $ECHO_C" >&6
8373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8375 else
8376 # Is the header compilable?
8377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8379 cat >conftest.$ac_ext <<_ACEOF
8380 /* confdefs.h. */
8381 _ACEOF
8382 cat confdefs.h >>conftest.$ac_ext
8383 cat >>conftest.$ac_ext <<_ACEOF
8384 /* end confdefs.h. */
8385 $ac_includes_default
8386 #include <$ac_header>
8387 _ACEOF
8388 rm -f conftest.$ac_objext
8389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8390 (eval $ac_compile) 2>conftest.er1
8391 ac_status=$?
8392 grep -v '^ *+' conftest.er1 >conftest.err
8393 rm -f conftest.er1
8394 cat conftest.err >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } &&
8397 { ac_try='test -z "$ac_c_werror_flag"
8398 || test ! -s conftest.err'
8399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 (eval $ac_try) 2>&5
8401 ac_status=$?
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; } &&
8404 { ac_try='test -s conftest.$ac_objext'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8406 (eval $ac_try) 2>&5
8407 ac_status=$?
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; }; then
8410 ac_header_compiler=yes
8411 else
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_header_compiler=no
8417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8419 echo "${ECHO_T}$ac_header_compiler" >&6
8421 # Is the header present?
8422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8424 cat >conftest.$ac_ext <<_ACEOF
8425 /* confdefs.h. */
8426 _ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8430 #include <$ac_header>
8431 _ACEOF
8432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8434 ac_status=$?
8435 grep -v '^ *+' conftest.er1 >conftest.err
8436 rm -f conftest.er1
8437 cat conftest.err >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } >/dev/null; then
8440 if test -s conftest.err; then
8441 ac_cpp_err=$ac_c_preproc_warn_flag
8442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8443 else
8444 ac_cpp_err=
8446 else
8447 ac_cpp_err=yes
8449 if test -z "$ac_cpp_err"; then
8450 ac_header_preproc=yes
8451 else
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.$ac_ext >&5
8455 ac_header_preproc=no
8457 rm -f conftest.err conftest.$ac_ext
8458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8459 echo "${ECHO_T}$ac_header_preproc" >&6
8461 # So? What about this header?
8462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8463 yes:no: )
8464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8468 ac_header_preproc=yes
8470 no:yes:* )
8471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8484 cat <<\_ASBOX
8485 ## ----------------------------------------- ##
8486 ## Report this to the package-unused lists. ##
8487 ## ----------------------------------------- ##
8488 _ASBOX
8490 sed "s/^/$as_me: WARNING: /" >&2
8492 esac
8493 echo "$as_me:$LINENO: checking for $ac_header" >&5
8494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8496 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 else
8498 eval "$as_ac_Header=\$ac_header_preproc"
8500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8505 cat >>confdefs.h <<_ACEOF
8506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8507 _ACEOF
8511 done
8515 # If we're not using GNU ld, then there's no point in even trying these
8516 # tests. Check for that first. We should have already tested for gld
8517 # by now (in libtool), but require it now just to be safe...
8518 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8519 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8523 # The name set by libtool depends on the version of libtool. Shame on us
8524 # for depending on an impl detail, but c'est la vie. Older versions used
8525 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8526 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8527 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8528 # set (hence we're using an older libtool), then set it.
8529 if test x${with_gnu_ld+set} != xset; then
8530 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8531 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8532 with_gnu_ld=no
8533 else
8534 with_gnu_ld=$ac_cv_prog_gnu_ld
8538 # Start by getting the version number. I think the libtool test already
8539 # does some of this, but throws away the result.
8540 if test x"$with_gnu_ld" = x"yes"; then
8541 echo "$as_me:$LINENO: checking for ld version" >&5
8542 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8544 ldver=`$LD --version 2>/dev/null | head -1 | \
8545 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
8547 glibcxx_gnu_ld_version=`echo $ldver | \
8548 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8549 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8550 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8553 # Set --gc-sections.
8554 glibcxx_gcsections_min_ld=21602
8555 if test x"$with_gnu_ld" = x"yes" &&
8556 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8558 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8559 # NB: This flag only works reliably after 2.16.1. Configure tests
8560 # for this are difficult, so hard wire a value that should work.
8562 ac_test_CFLAGS="${CFLAGS+set}"
8563 ac_save_CFLAGS="$CFLAGS"
8564 CFLAGS='-Wl,--gc-sections'
8566 # Check for -Wl,--gc-sections
8567 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8568 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8569 if test x$gcc_no_link = xyes; then
8570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8572 { (exit 1); exit 1; }; }
8574 cat >conftest.$ac_ext <<_ACEOF
8575 /* confdefs.h. */
8576 _ACEOF
8577 cat confdefs.h >>conftest.$ac_ext
8578 cat >>conftest.$ac_ext <<_ACEOF
8579 /* end confdefs.h. */
8580 int one(void) { return 1; }
8581 int two(void) { return 2; }
8584 main ()
8586 two();
8588 return 0;
8590 _ACEOF
8591 rm -f conftest.$ac_objext conftest$ac_exeext
8592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8593 (eval $ac_link) 2>conftest.er1
8594 ac_status=$?
8595 grep -v '^ *+' conftest.er1 >conftest.err
8596 rm -f conftest.er1
8597 cat conftest.err >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } &&
8600 { ac_try='test -z "$ac_c_werror_flag"
8601 || test ! -s conftest.err'
8602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8603 (eval $ac_try) 2>&5
8604 ac_status=$?
8605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606 (exit $ac_status); }; } &&
8607 { ac_try='test -s conftest$ac_exeext'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8609 (eval $ac_try) 2>&5
8610 ac_status=$?
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; }; then
8613 ac_gcsections=yes
8614 else
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 ac_gcsections=no
8620 rm -f conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 if test "$ac_gcsections" = "yes"; then
8623 rm -f conftest.c
8624 touch conftest.c
8625 if $CC -c conftest.c; then
8626 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8627 grep "Warning: gc-sections option ignored" > /dev/null; then
8628 ac_gcsections=no
8631 rm -f conftest.c conftest.o conftest
8633 if test "$ac_gcsections" = "yes"; then
8634 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8636 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8637 echo "${ECHO_T}$ac_gcsections" >&6
8639 if test "$ac_test_CFLAGS" = set; then
8640 CFLAGS="$ac_save_CFLAGS"
8641 else
8642 # this is the suspicious part
8643 CFLAGS=''
8647 # Set -z,relro.
8648 # Note this is only for shared objects.
8649 ac_ld_relro=no
8650 if test x"$with_gnu_ld" = x"yes"; then
8651 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8652 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8653 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8654 if test -n "$cxx_z_relo"; then
8655 OPT_LDFLAGS="-Wl,-z,relro"
8656 ac_ld_relro=yes
8658 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8659 echo "${ECHO_T}$ac_ld_relro" >&6
8662 # Set linker optimization flags.
8663 if test x"$with_gnu_ld" = x"yes"; then
8664 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8671 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8672 ac_save_CXXFLAGS="$CXXFLAGS"
8673 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8675 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8676 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8677 if test "${ac_cv_lib_m_sin+set}" = set; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 else
8680 ac_check_lib_save_LIBS=$LIBS
8681 LIBS="-lm $LIBS"
8682 if test x$gcc_no_link = xyes; then
8683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8685 { (exit 1); exit 1; }; }
8687 cat >conftest.$ac_ext <<_ACEOF
8688 /* confdefs.h. */
8689 _ACEOF
8690 cat confdefs.h >>conftest.$ac_ext
8691 cat >>conftest.$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8694 /* Override any gcc2 internal prototype to avoid an error. */
8695 #ifdef __cplusplus
8696 extern "C"
8697 #endif
8698 /* We use char because int might match the return type of a gcc2
8699 builtin and then its argument prototype would still apply. */
8700 char sin ();
8702 main ()
8704 sin ();
8706 return 0;
8708 _ACEOF
8709 rm -f conftest.$ac_objext conftest$ac_exeext
8710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711 (eval $ac_link) 2>conftest.er1
8712 ac_status=$?
8713 grep -v '^ *+' conftest.er1 >conftest.err
8714 rm -f conftest.er1
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } &&
8718 { ac_try='test -z "$ac_c_werror_flag"
8719 || test ! -s conftest.err'
8720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 (eval $ac_try) 2>&5
8722 ac_status=$?
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); }; } &&
8725 { ac_try='test -s conftest$ac_exeext'
8726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 (eval $ac_try) 2>&5
8728 ac_status=$?
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); }; }; then
8731 ac_cv_lib_m_sin=yes
8732 else
8733 echo "$as_me: failed program was:" >&5
8734 sed 's/^/| /' conftest.$ac_ext >&5
8736 ac_cv_lib_m_sin=no
8738 rm -f conftest.err conftest.$ac_objext \
8739 conftest$ac_exeext conftest.$ac_ext
8740 LIBS=$ac_check_lib_save_LIBS
8742 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8743 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8744 if test $ac_cv_lib_m_sin = yes; then
8745 libm="-lm"
8748 ac_save_LIBS="$LIBS"
8749 LIBS="$LIBS $libm"
8753 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8754 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8755 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8756 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8757 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 else
8762 ac_ext=cc
8763 ac_cpp='$CXXCPP $CPPFLAGS'
8764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8768 cat >conftest.$ac_ext <<_ACEOF
8769 /* confdefs.h. */
8770 _ACEOF
8771 cat confdefs.h >>conftest.$ac_ext
8772 cat >>conftest.$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 #include <math.h>
8775 #ifdef HAVE_IEEEFP_H
8776 #include <ieeefp.h>
8777 #endif
8780 main ()
8782 isinf(0);
8784 return 0;
8786 _ACEOF
8787 rm -f conftest.$ac_objext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8789 (eval $ac_compile) 2>conftest.er1
8790 ac_status=$?
8791 grep -v '^ *+' conftest.er1 >conftest.err
8792 rm -f conftest.er1
8793 cat conftest.err >&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } &&
8796 { ac_try='test -z "$ac_cxx_werror_flag"
8797 || test ! -s conftest.err'
8798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8799 (eval $ac_try) 2>&5
8800 ac_status=$?
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); }; } &&
8803 { ac_try='test -s conftest.$ac_objext'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8805 (eval $ac_try) 2>&5
8806 ac_status=$?
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; }; then
8809 glibcxx_cv_func_isinf_use=yes
8810 else
8811 echo "$as_me: failed program was:" >&5
8812 sed 's/^/| /' conftest.$ac_ext >&5
8814 glibcxx_cv_func_isinf_use=no
8816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8817 ac_ext=c
8818 ac_cpp='$CPP $CPPFLAGS'
8819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8828 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8830 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8832 for ac_func in isinf
8834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_func" >&5
8836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_var+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 if test x$gcc_no_link = xyes; then
8841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8843 { (exit 1); exit 1; }; }
8845 cat >conftest.$ac_ext <<_ACEOF
8846 /* confdefs.h. */
8847 _ACEOF
8848 cat confdefs.h >>conftest.$ac_ext
8849 cat >>conftest.$ac_ext <<_ACEOF
8850 /* end confdefs.h. */
8851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8853 #define $ac_func innocuous_$ac_func
8855 /* System header to define __stub macros and hopefully few prototypes,
8856 which can conflict with char $ac_func (); below.
8857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8858 <limits.h> exists even on freestanding compilers. */
8860 #ifdef __STDC__
8861 # include <limits.h>
8862 #else
8863 # include <assert.h>
8864 #endif
8866 #undef $ac_func
8868 /* Override any gcc2 internal prototype to avoid an error. */
8869 #ifdef __cplusplus
8870 extern "C"
8872 #endif
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8875 char $ac_func ();
8876 /* The GNU C library defines this for functions which it implements
8877 to always fail with ENOSYS. Some functions are actually named
8878 something starting with __ and the normal name is an alias. */
8879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8880 choke me
8881 #else
8882 char (*f) () = $ac_func;
8883 #endif
8884 #ifdef __cplusplus
8886 #endif
8889 main ()
8891 return f != $ac_func;
8893 return 0;
8895 _ACEOF
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8898 (eval $ac_link) 2>conftest.er1
8899 ac_status=$?
8900 grep -v '^ *+' conftest.er1 >conftest.err
8901 rm -f conftest.er1
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try='test -z "$ac_c_werror_flag"
8906 || test ! -s conftest.err'
8907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 (eval $ac_try) 2>&5
8909 ac_status=$?
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; } &&
8912 { ac_try='test -s conftest$ac_exeext'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 (eval $ac_try) 2>&5
8915 ac_status=$?
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 eval "$as_ac_var=yes"
8919 else
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8923 eval "$as_ac_var=no"
8925 rm -f conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8930 if test `eval echo '${'$as_ac_var'}'` = yes; then
8931 cat >>confdefs.h <<_ACEOF
8932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8933 _ACEOF
8936 done
8938 else
8940 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8941 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8942 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8943 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 else
8949 ac_ext=cc
8950 ac_cpp='$CXXCPP $CPPFLAGS'
8951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 #include <math.h>
8962 #ifdef HAVE_IEEEFP_H
8963 #include <ieeefp.h>
8964 #endif
8967 main ()
8969 _isinf(0);
8971 return 0;
8973 _ACEOF
8974 rm -f conftest.$ac_objext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8976 (eval $ac_compile) 2>conftest.er1
8977 ac_status=$?
8978 grep -v '^ *+' conftest.er1 >conftest.err
8979 rm -f conftest.er1
8980 cat conftest.err >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); } &&
8983 { ac_try='test -z "$ac_cxx_werror_flag"
8984 || test ! -s conftest.err'
8985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 (eval $ac_try) 2>&5
8987 ac_status=$?
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest.$ac_objext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 (eval $ac_try) 2>&5
8993 ac_status=$?
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 glibcxx_cv_func__isinf_use=yes
8997 else
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 glibcxx_cv_func__isinf_use=no
9003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9004 ac_ext=c
9005 ac_cpp='$CPP $CPPFLAGS'
9006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
9015 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
9017 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
9019 for ac_func in _isinf
9021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9022 echo "$as_me:$LINENO: checking for $ac_func" >&5
9023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9024 if eval "test \"\${$as_ac_var+set}\" = set"; then
9025 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 else
9027 if test x$gcc_no_link = xyes; then
9028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9030 { (exit 1); exit 1; }; }
9032 cat >conftest.$ac_ext <<_ACEOF
9033 /* confdefs.h. */
9034 _ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9040 #define $ac_func innocuous_$ac_func
9042 /* System header to define __stub macros and hopefully few prototypes,
9043 which can conflict with char $ac_func (); below.
9044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9045 <limits.h> exists even on freestanding compilers. */
9047 #ifdef __STDC__
9048 # include <limits.h>
9049 #else
9050 # include <assert.h>
9051 #endif
9053 #undef $ac_func
9055 /* Override any gcc2 internal prototype to avoid an error. */
9056 #ifdef __cplusplus
9057 extern "C"
9059 #endif
9060 /* We use char because int might match the return type of a gcc2
9061 builtin and then its argument prototype would still apply. */
9062 char $ac_func ();
9063 /* The GNU C library defines this for functions which it implements
9064 to always fail with ENOSYS. Some functions are actually named
9065 something starting with __ and the normal name is an alias. */
9066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9067 choke me
9068 #else
9069 char (*f) () = $ac_func;
9070 #endif
9071 #ifdef __cplusplus
9073 #endif
9076 main ()
9078 return f != $ac_func;
9080 return 0;
9082 _ACEOF
9083 rm -f conftest.$ac_objext conftest$ac_exeext
9084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9085 (eval $ac_link) 2>conftest.er1
9086 ac_status=$?
9087 grep -v '^ *+' conftest.er1 >conftest.err
9088 rm -f conftest.er1
9089 cat conftest.err >&5
9090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091 (exit $ac_status); } &&
9092 { ac_try='test -z "$ac_c_werror_flag"
9093 || test ! -s conftest.err'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 (eval $ac_try) 2>&5
9096 ac_status=$?
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest$ac_exeext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 (eval $ac_try) 2>&5
9102 ac_status=$?
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; }; then
9105 eval "$as_ac_var=yes"
9106 else
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9110 eval "$as_ac_var=no"
9112 rm -f conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9117 if test `eval echo '${'$as_ac_var'}'` = yes; then
9118 cat >>confdefs.h <<_ACEOF
9119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9120 _ACEOF
9123 done
9133 echo "$as_me:$LINENO: checking for isnan declaration" >&5
9134 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
9135 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
9136 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
9137 echo $ECHO_N "(cached) $ECHO_C" >&6
9138 else
9142 ac_ext=cc
9143 ac_cpp='$CXXCPP $CPPFLAGS'
9144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9148 cat >conftest.$ac_ext <<_ACEOF
9149 /* confdefs.h. */
9150 _ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9154 #include <math.h>
9155 #ifdef HAVE_IEEEFP_H
9156 #include <ieeefp.h>
9157 #endif
9160 main ()
9162 isnan(0);
9164 return 0;
9166 _ACEOF
9167 rm -f conftest.$ac_objext
9168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9169 (eval $ac_compile) 2>conftest.er1
9170 ac_status=$?
9171 grep -v '^ *+' conftest.er1 >conftest.err
9172 rm -f conftest.er1
9173 cat conftest.err >&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); } &&
9176 { ac_try='test -z "$ac_cxx_werror_flag"
9177 || test ! -s conftest.err'
9178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9179 (eval $ac_try) 2>&5
9180 ac_status=$?
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); }; } &&
9183 { ac_try='test -s conftest.$ac_objext'
9184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9185 (eval $ac_try) 2>&5
9186 ac_status=$?
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 glibcxx_cv_func_isnan_use=yes
9190 else
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 glibcxx_cv_func_isnan_use=no
9196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9197 ac_ext=c
9198 ac_cpp='$CPP $CPPFLAGS'
9199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9208 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9210 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9212 for ac_func in isnan
9214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9215 echo "$as_me:$LINENO: checking for $ac_func" >&5
9216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9217 if eval "test \"\${$as_ac_var+set}\" = set"; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6
9219 else
9220 if test x$gcc_no_link = xyes; then
9221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9223 { (exit 1); exit 1; }; }
9225 cat >conftest.$ac_ext <<_ACEOF
9226 /* confdefs.h. */
9227 _ACEOF
9228 cat confdefs.h >>conftest.$ac_ext
9229 cat >>conftest.$ac_ext <<_ACEOF
9230 /* end confdefs.h. */
9231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9233 #define $ac_func innocuous_$ac_func
9235 /* System header to define __stub macros and hopefully few prototypes,
9236 which can conflict with char $ac_func (); below.
9237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9238 <limits.h> exists even on freestanding compilers. */
9240 #ifdef __STDC__
9241 # include <limits.h>
9242 #else
9243 # include <assert.h>
9244 #endif
9246 #undef $ac_func
9248 /* Override any gcc2 internal prototype to avoid an error. */
9249 #ifdef __cplusplus
9250 extern "C"
9252 #endif
9253 /* We use char because int might match the return type of a gcc2
9254 builtin and then its argument prototype would still apply. */
9255 char $ac_func ();
9256 /* The GNU C library defines this for functions which it implements
9257 to always fail with ENOSYS. Some functions are actually named
9258 something starting with __ and the normal name is an alias. */
9259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9260 choke me
9261 #else
9262 char (*f) () = $ac_func;
9263 #endif
9264 #ifdef __cplusplus
9266 #endif
9269 main ()
9271 return f != $ac_func;
9273 return 0;
9275 _ACEOF
9276 rm -f conftest.$ac_objext conftest$ac_exeext
9277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9278 (eval $ac_link) 2>conftest.er1
9279 ac_status=$?
9280 grep -v '^ *+' conftest.er1 >conftest.err
9281 rm -f conftest.er1
9282 cat conftest.err >&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } &&
9285 { ac_try='test -z "$ac_c_werror_flag"
9286 || test ! -s conftest.err'
9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 (eval $ac_try) 2>&5
9289 ac_status=$?
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); }; } &&
9292 { ac_try='test -s conftest$ac_exeext'
9293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 (eval $ac_try) 2>&5
9295 ac_status=$?
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); }; }; then
9298 eval "$as_ac_var=yes"
9299 else
9300 echo "$as_me: failed program was:" >&5
9301 sed 's/^/| /' conftest.$ac_ext >&5
9303 eval "$as_ac_var=no"
9305 rm -f conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9310 if test `eval echo '${'$as_ac_var'}'` = yes; then
9311 cat >>confdefs.h <<_ACEOF
9312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9313 _ACEOF
9316 done
9318 else
9320 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9321 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9322 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9323 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 else
9329 ac_ext=cc
9330 ac_cpp='$CXXCPP $CPPFLAGS'
9331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9335 cat >conftest.$ac_ext <<_ACEOF
9336 /* confdefs.h. */
9337 _ACEOF
9338 cat confdefs.h >>conftest.$ac_ext
9339 cat >>conftest.$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9341 #include <math.h>
9342 #ifdef HAVE_IEEEFP_H
9343 #include <ieeefp.h>
9344 #endif
9347 main ()
9349 _isnan(0);
9351 return 0;
9353 _ACEOF
9354 rm -f conftest.$ac_objext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9356 (eval $ac_compile) 2>conftest.er1
9357 ac_status=$?
9358 grep -v '^ *+' conftest.er1 >conftest.err
9359 rm -f conftest.er1
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } &&
9363 { ac_try='test -z "$ac_cxx_werror_flag"
9364 || test ! -s conftest.err'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9366 (eval $ac_try) 2>&5
9367 ac_status=$?
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; } &&
9370 { ac_try='test -s conftest.$ac_objext'
9371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 (eval $ac_try) 2>&5
9373 ac_status=$?
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }; }; then
9376 glibcxx_cv_func__isnan_use=yes
9377 else
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 glibcxx_cv_func__isnan_use=no
9383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9384 ac_ext=c
9385 ac_cpp='$CPP $CPPFLAGS'
9386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9395 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9397 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9399 for ac_func in _isnan
9401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9402 echo "$as_me:$LINENO: checking for $ac_func" >&5
9403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9404 if eval "test \"\${$as_ac_var+set}\" = set"; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 else
9407 if test x$gcc_no_link = xyes; then
9408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9410 { (exit 1); exit 1; }; }
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h. */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9420 #define $ac_func innocuous_$ac_func
9422 /* System header to define __stub macros and hopefully few prototypes,
9423 which can conflict with char $ac_func (); below.
9424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9425 <limits.h> exists even on freestanding compilers. */
9427 #ifdef __STDC__
9428 # include <limits.h>
9429 #else
9430 # include <assert.h>
9431 #endif
9433 #undef $ac_func
9435 /* Override any gcc2 internal prototype to avoid an error. */
9436 #ifdef __cplusplus
9437 extern "C"
9439 #endif
9440 /* We use char because int might match the return type of a gcc2
9441 builtin and then its argument prototype would still apply. */
9442 char $ac_func ();
9443 /* The GNU C library defines this for functions which it implements
9444 to always fail with ENOSYS. Some functions are actually named
9445 something starting with __ and the normal name is an alias. */
9446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9447 choke me
9448 #else
9449 char (*f) () = $ac_func;
9450 #endif
9451 #ifdef __cplusplus
9453 #endif
9456 main ()
9458 return f != $ac_func;
9460 return 0;
9462 _ACEOF
9463 rm -f conftest.$ac_objext conftest$ac_exeext
9464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9465 (eval $ac_link) 2>conftest.er1
9466 ac_status=$?
9467 grep -v '^ *+' conftest.er1 >conftest.err
9468 rm -f conftest.er1
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } &&
9472 { ac_try='test -z "$ac_c_werror_flag"
9473 || test ! -s conftest.err'
9474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9475 (eval $ac_try) 2>&5
9476 ac_status=$?
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); }; } &&
9479 { ac_try='test -s conftest$ac_exeext'
9480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 (eval $ac_try) 2>&5
9482 ac_status=$?
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); }; }; then
9485 eval "$as_ac_var=yes"
9486 else
9487 echo "$as_me: failed program was:" >&5
9488 sed 's/^/| /' conftest.$ac_ext >&5
9490 eval "$as_ac_var=no"
9492 rm -f conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9497 if test `eval echo '${'$as_ac_var'}'` = yes; then
9498 cat >>confdefs.h <<_ACEOF
9499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9500 _ACEOF
9503 done
9513 echo "$as_me:$LINENO: checking for finite declaration" >&5
9514 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9515 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9516 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9518 else
9522 ac_ext=cc
9523 ac_cpp='$CXXCPP $CPPFLAGS'
9524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9528 cat >conftest.$ac_ext <<_ACEOF
9529 /* confdefs.h. */
9530 _ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9534 #include <math.h>
9535 #ifdef HAVE_IEEEFP_H
9536 #include <ieeefp.h>
9537 #endif
9540 main ()
9542 finite(0);
9544 return 0;
9546 _ACEOF
9547 rm -f conftest.$ac_objext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9549 (eval $ac_compile) 2>conftest.er1
9550 ac_status=$?
9551 grep -v '^ *+' conftest.er1 >conftest.err
9552 rm -f conftest.er1
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } &&
9556 { ac_try='test -z "$ac_cxx_werror_flag"
9557 || test ! -s conftest.err'
9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9559 (eval $ac_try) 2>&5
9560 ac_status=$?
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); }; } &&
9563 { ac_try='test -s conftest.$ac_objext'
9564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9565 (eval $ac_try) 2>&5
9566 ac_status=$?
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then
9569 glibcxx_cv_func_finite_use=yes
9570 else
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.$ac_ext >&5
9574 glibcxx_cv_func_finite_use=no
9576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9577 ac_ext=c
9578 ac_cpp='$CPP $CPPFLAGS'
9579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9588 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9590 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9592 for ac_func in finite
9594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9595 echo "$as_me:$LINENO: checking for $ac_func" >&5
9596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9597 if eval "test \"\${$as_ac_var+set}\" = set"; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9599 else
9600 if test x$gcc_no_link = xyes; then
9601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9603 { (exit 1); exit 1; }; }
9605 cat >conftest.$ac_ext <<_ACEOF
9606 /* confdefs.h. */
9607 _ACEOF
9608 cat confdefs.h >>conftest.$ac_ext
9609 cat >>conftest.$ac_ext <<_ACEOF
9610 /* end confdefs.h. */
9611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9613 #define $ac_func innocuous_$ac_func
9615 /* System header to define __stub macros and hopefully few prototypes,
9616 which can conflict with char $ac_func (); below.
9617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9618 <limits.h> exists even on freestanding compilers. */
9620 #ifdef __STDC__
9621 # include <limits.h>
9622 #else
9623 # include <assert.h>
9624 #endif
9626 #undef $ac_func
9628 /* Override any gcc2 internal prototype to avoid an error. */
9629 #ifdef __cplusplus
9630 extern "C"
9632 #endif
9633 /* We use char because int might match the return type of a gcc2
9634 builtin and then its argument prototype would still apply. */
9635 char $ac_func ();
9636 /* The GNU C library defines this for functions which it implements
9637 to always fail with ENOSYS. Some functions are actually named
9638 something starting with __ and the normal name is an alias. */
9639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9640 choke me
9641 #else
9642 char (*f) () = $ac_func;
9643 #endif
9644 #ifdef __cplusplus
9646 #endif
9649 main ()
9651 return f != $ac_func;
9653 return 0;
9655 _ACEOF
9656 rm -f conftest.$ac_objext conftest$ac_exeext
9657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9658 (eval $ac_link) 2>conftest.er1
9659 ac_status=$?
9660 grep -v '^ *+' conftest.er1 >conftest.err
9661 rm -f conftest.er1
9662 cat conftest.err >&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } &&
9665 { ac_try='test -z "$ac_c_werror_flag"
9666 || test ! -s conftest.err'
9667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 (eval $ac_try) 2>&5
9669 ac_status=$?
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; } &&
9672 { ac_try='test -s conftest$ac_exeext'
9673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9674 (eval $ac_try) 2>&5
9675 ac_status=$?
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9678 eval "$as_ac_var=yes"
9679 else
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.$ac_ext >&5
9683 eval "$as_ac_var=no"
9685 rm -f conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9690 if test `eval echo '${'$as_ac_var'}'` = yes; then
9691 cat >>confdefs.h <<_ACEOF
9692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9693 _ACEOF
9696 done
9698 else
9700 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9701 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9702 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9703 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 else
9709 ac_ext=cc
9710 ac_cpp='$CXXCPP $CPPFLAGS'
9711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9715 cat >conftest.$ac_ext <<_ACEOF
9716 /* confdefs.h. */
9717 _ACEOF
9718 cat confdefs.h >>conftest.$ac_ext
9719 cat >>conftest.$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 #include <math.h>
9722 #ifdef HAVE_IEEEFP_H
9723 #include <ieeefp.h>
9724 #endif
9727 main ()
9729 _finite(0);
9731 return 0;
9733 _ACEOF
9734 rm -f conftest.$ac_objext
9735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9736 (eval $ac_compile) 2>conftest.er1
9737 ac_status=$?
9738 grep -v '^ *+' conftest.er1 >conftest.err
9739 rm -f conftest.er1
9740 cat conftest.err >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } &&
9743 { ac_try='test -z "$ac_cxx_werror_flag"
9744 || test ! -s conftest.err'
9745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746 (eval $ac_try) 2>&5
9747 ac_status=$?
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); }; } &&
9750 { ac_try='test -s conftest.$ac_objext'
9751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9752 (eval $ac_try) 2>&5
9753 ac_status=$?
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); }; }; then
9756 glibcxx_cv_func__finite_use=yes
9757 else
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.$ac_ext >&5
9761 glibcxx_cv_func__finite_use=no
9763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9764 ac_ext=c
9765 ac_cpp='$CPP $CPPFLAGS'
9766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9775 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9777 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9779 for ac_func in _finite
9781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9782 echo "$as_me:$LINENO: checking for $ac_func" >&5
9783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9784 if eval "test \"\${$as_ac_var+set}\" = set"; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 else
9787 if test x$gcc_no_link = xyes; then
9788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9790 { (exit 1); exit 1; }; }
9792 cat >conftest.$ac_ext <<_ACEOF
9793 /* confdefs.h. */
9794 _ACEOF
9795 cat confdefs.h >>conftest.$ac_ext
9796 cat >>conftest.$ac_ext <<_ACEOF
9797 /* end confdefs.h. */
9798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9800 #define $ac_func innocuous_$ac_func
9802 /* System header to define __stub macros and hopefully few prototypes,
9803 which can conflict with char $ac_func (); below.
9804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9805 <limits.h> exists even on freestanding compilers. */
9807 #ifdef __STDC__
9808 # include <limits.h>
9809 #else
9810 # include <assert.h>
9811 #endif
9813 #undef $ac_func
9815 /* Override any gcc2 internal prototype to avoid an error. */
9816 #ifdef __cplusplus
9817 extern "C"
9819 #endif
9820 /* We use char because int might match the return type of a gcc2
9821 builtin and then its argument prototype would still apply. */
9822 char $ac_func ();
9823 /* The GNU C library defines this for functions which it implements
9824 to always fail with ENOSYS. Some functions are actually named
9825 something starting with __ and the normal name is an alias. */
9826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9827 choke me
9828 #else
9829 char (*f) () = $ac_func;
9830 #endif
9831 #ifdef __cplusplus
9833 #endif
9836 main ()
9838 return f != $ac_func;
9840 return 0;
9842 _ACEOF
9843 rm -f conftest.$ac_objext conftest$ac_exeext
9844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9845 (eval $ac_link) 2>conftest.er1
9846 ac_status=$?
9847 grep -v '^ *+' conftest.er1 >conftest.err
9848 rm -f conftest.er1
9849 cat conftest.err >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); } &&
9852 { ac_try='test -z "$ac_c_werror_flag"
9853 || test ! -s conftest.err'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 (eval $ac_try) 2>&5
9856 ac_status=$?
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; } &&
9859 { ac_try='test -s conftest$ac_exeext'
9860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 (eval $ac_try) 2>&5
9862 ac_status=$?
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); }; }; then
9865 eval "$as_ac_var=yes"
9866 else
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9870 eval "$as_ac_var=no"
9872 rm -f conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9877 if test `eval echo '${'$as_ac_var'}'` = yes; then
9878 cat >>confdefs.h <<_ACEOF
9879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9880 _ACEOF
9883 done
9893 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9894 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9895 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9896 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 else
9902 ac_ext=cc
9903 ac_cpp='$CXXCPP $CPPFLAGS'
9904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9908 cat >conftest.$ac_ext <<_ACEOF
9909 /* confdefs.h. */
9910 _ACEOF
9911 cat confdefs.h >>conftest.$ac_ext
9912 cat >>conftest.$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9914 #include <math.h>
9916 main ()
9918 copysign(0, 0);
9920 return 0;
9922 _ACEOF
9923 rm -f conftest.$ac_objext
9924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9925 (eval $ac_compile) 2>conftest.er1
9926 ac_status=$?
9927 grep -v '^ *+' conftest.er1 >conftest.err
9928 rm -f conftest.er1
9929 cat conftest.err >&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } &&
9932 { ac_try='test -z "$ac_cxx_werror_flag"
9933 || test ! -s conftest.err'
9934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935 (eval $ac_try) 2>&5
9936 ac_status=$?
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); }; } &&
9939 { ac_try='test -s conftest.$ac_objext'
9940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9941 (eval $ac_try) 2>&5
9942 ac_status=$?
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); }; }; then
9945 glibcxx_cv_func_copysign_use=yes
9946 else
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.$ac_ext >&5
9950 glibcxx_cv_func_copysign_use=no
9952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9953 ac_ext=c
9954 ac_cpp='$CPP $CPPFLAGS'
9955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9964 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9966 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9968 for ac_func in copysign
9970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9971 echo "$as_me:$LINENO: checking for $ac_func" >&5
9972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9973 if eval "test \"\${$as_ac_var+set}\" = set"; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 else
9976 if test x$gcc_no_link = xyes; then
9977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9979 { (exit 1); exit 1; }; }
9981 cat >conftest.$ac_ext <<_ACEOF
9982 /* confdefs.h. */
9983 _ACEOF
9984 cat confdefs.h >>conftest.$ac_ext
9985 cat >>conftest.$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9989 #define $ac_func innocuous_$ac_func
9991 /* System header to define __stub macros and hopefully few prototypes,
9992 which can conflict with char $ac_func (); below.
9993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9994 <limits.h> exists even on freestanding compilers. */
9996 #ifdef __STDC__
9997 # include <limits.h>
9998 #else
9999 # include <assert.h>
10000 #endif
10002 #undef $ac_func
10004 /* Override any gcc2 internal prototype to avoid an error. */
10005 #ifdef __cplusplus
10006 extern "C"
10008 #endif
10009 /* We use char because int might match the return type of a gcc2
10010 builtin and then its argument prototype would still apply. */
10011 char $ac_func ();
10012 /* The GNU C library defines this for functions which it implements
10013 to always fail with ENOSYS. Some functions are actually named
10014 something starting with __ and the normal name is an alias. */
10015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10016 choke me
10017 #else
10018 char (*f) () = $ac_func;
10019 #endif
10020 #ifdef __cplusplus
10022 #endif
10025 main ()
10027 return f != $ac_func;
10029 return 0;
10031 _ACEOF
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10034 (eval $ac_link) 2>conftest.er1
10035 ac_status=$?
10036 grep -v '^ *+' conftest.er1 >conftest.err
10037 rm -f conftest.er1
10038 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try='test -z "$ac_c_werror_flag"
10042 || test ! -s conftest.err'
10043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 (eval $ac_try) 2>&5
10045 ac_status=$?
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); }; } &&
10048 { ac_try='test -s conftest$ac_exeext'
10049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050 (eval $ac_try) 2>&5
10051 ac_status=$?
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); }; }; then
10054 eval "$as_ac_var=yes"
10055 else
10056 echo "$as_me: failed program was:" >&5
10057 sed 's/^/| /' conftest.$ac_ext >&5
10059 eval "$as_ac_var=no"
10061 rm -f conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10066 if test `eval echo '${'$as_ac_var'}'` = yes; then
10067 cat >>confdefs.h <<_ACEOF
10068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10069 _ACEOF
10072 done
10074 else
10076 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
10077 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
10078 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
10079 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10081 else
10085 ac_ext=cc
10086 ac_cpp='$CXXCPP $CPPFLAGS'
10087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10091 cat >conftest.$ac_ext <<_ACEOF
10092 /* confdefs.h. */
10093 _ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10097 #include <math.h>
10099 main ()
10101 _copysign(0, 0);
10103 return 0;
10105 _ACEOF
10106 rm -f conftest.$ac_objext
10107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10108 (eval $ac_compile) 2>conftest.er1
10109 ac_status=$?
10110 grep -v '^ *+' conftest.er1 >conftest.err
10111 rm -f conftest.er1
10112 cat conftest.err >&5
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); } &&
10115 { ac_try='test -z "$ac_cxx_werror_flag"
10116 || test ! -s conftest.err'
10117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10118 (eval $ac_try) 2>&5
10119 ac_status=$?
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); }; } &&
10122 { ac_try='test -s conftest.$ac_objext'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10125 ac_status=$?
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; }; then
10128 glibcxx_cv_func__copysign_use=yes
10129 else
10130 echo "$as_me: failed program was:" >&5
10131 sed 's/^/| /' conftest.$ac_ext >&5
10133 glibcxx_cv_func__copysign_use=no
10135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10136 ac_ext=c
10137 ac_cpp='$CPP $CPPFLAGS'
10138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
10147 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
10149 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
10151 for ac_func in _copysign
10153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10154 echo "$as_me:$LINENO: checking for $ac_func" >&5
10155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10156 if eval "test \"\${$as_ac_var+set}\" = set"; then
10157 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 else
10159 if test x$gcc_no_link = xyes; then
10160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10162 { (exit 1); exit 1; }; }
10164 cat >conftest.$ac_ext <<_ACEOF
10165 /* confdefs.h. */
10166 _ACEOF
10167 cat confdefs.h >>conftest.$ac_ext
10168 cat >>conftest.$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10172 #define $ac_func innocuous_$ac_func
10174 /* System header to define __stub macros and hopefully few prototypes,
10175 which can conflict with char $ac_func (); below.
10176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10177 <limits.h> exists even on freestanding compilers. */
10179 #ifdef __STDC__
10180 # include <limits.h>
10181 #else
10182 # include <assert.h>
10183 #endif
10185 #undef $ac_func
10187 /* Override any gcc2 internal prototype to avoid an error. */
10188 #ifdef __cplusplus
10189 extern "C"
10191 #endif
10192 /* We use char because int might match the return type of a gcc2
10193 builtin and then its argument prototype would still apply. */
10194 char $ac_func ();
10195 /* The GNU C library defines this for functions which it implements
10196 to always fail with ENOSYS. Some functions are actually named
10197 something starting with __ and the normal name is an alias. */
10198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10199 choke me
10200 #else
10201 char (*f) () = $ac_func;
10202 #endif
10203 #ifdef __cplusplus
10205 #endif
10208 main ()
10210 return f != $ac_func;
10212 return 0;
10214 _ACEOF
10215 rm -f conftest.$ac_objext conftest$ac_exeext
10216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10217 (eval $ac_link) 2>conftest.er1
10218 ac_status=$?
10219 grep -v '^ *+' conftest.er1 >conftest.err
10220 rm -f conftest.er1
10221 cat conftest.err >&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); } &&
10224 { ac_try='test -z "$ac_c_werror_flag"
10225 || test ! -s conftest.err'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10228 ac_status=$?
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; } &&
10231 { ac_try='test -s conftest$ac_exeext'
10232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233 (eval $ac_try) 2>&5
10234 ac_status=$?
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); }; }; then
10237 eval "$as_ac_var=yes"
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10242 eval "$as_ac_var=no"
10244 rm -f conftest.err conftest.$ac_objext \
10245 conftest$ac_exeext conftest.$ac_ext
10247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10249 if test `eval echo '${'$as_ac_var'}'` = yes; then
10250 cat >>confdefs.h <<_ACEOF
10251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10252 _ACEOF
10255 done
10265 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10266 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10267 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10268 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10269 echo $ECHO_N "(cached) $ECHO_C" >&6
10270 else
10274 ac_ext=cc
10275 ac_cpp='$CXXCPP $CPPFLAGS'
10276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10280 cat >conftest.$ac_ext <<_ACEOF
10281 /* confdefs.h. */
10282 _ACEOF
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10286 #include <math.h>
10288 main ()
10290 sincos(0, 0, 0);
10292 return 0;
10294 _ACEOF
10295 rm -f conftest.$ac_objext
10296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297 (eval $ac_compile) 2>conftest.er1
10298 ac_status=$?
10299 grep -v '^ *+' conftest.er1 >conftest.err
10300 rm -f conftest.er1
10301 cat conftest.err >&5
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); } &&
10304 { ac_try='test -z "$ac_cxx_werror_flag"
10305 || test ! -s conftest.err'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10308 ac_status=$?
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; } &&
10311 { ac_try='test -s conftest.$ac_objext'
10312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10313 (eval $ac_try) 2>&5
10314 ac_status=$?
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; }; then
10317 glibcxx_cv_func_sincos_use=yes
10318 else
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 glibcxx_cv_func_sincos_use=no
10324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10325 ac_ext=c
10326 ac_cpp='$CPP $CPPFLAGS'
10327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10336 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10338 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10340 for ac_func in sincos
10342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10343 echo "$as_me:$LINENO: checking for $ac_func" >&5
10344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10345 if eval "test \"\${$as_ac_var+set}\" = set"; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10347 else
10348 if test x$gcc_no_link = xyes; then
10349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10351 { (exit 1); exit 1; }; }
10353 cat >conftest.$ac_ext <<_ACEOF
10354 /* confdefs.h. */
10355 _ACEOF
10356 cat confdefs.h >>conftest.$ac_ext
10357 cat >>conftest.$ac_ext <<_ACEOF
10358 /* end confdefs.h. */
10359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10361 #define $ac_func innocuous_$ac_func
10363 /* System header to define __stub macros and hopefully few prototypes,
10364 which can conflict with char $ac_func (); below.
10365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10366 <limits.h> exists even on freestanding compilers. */
10368 #ifdef __STDC__
10369 # include <limits.h>
10370 #else
10371 # include <assert.h>
10372 #endif
10374 #undef $ac_func
10376 /* Override any gcc2 internal prototype to avoid an error. */
10377 #ifdef __cplusplus
10378 extern "C"
10380 #endif
10381 /* We use char because int might match the return type of a gcc2
10382 builtin and then its argument prototype would still apply. */
10383 char $ac_func ();
10384 /* The GNU C library defines this for functions which it implements
10385 to always fail with ENOSYS. Some functions are actually named
10386 something starting with __ and the normal name is an alias. */
10387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10388 choke me
10389 #else
10390 char (*f) () = $ac_func;
10391 #endif
10392 #ifdef __cplusplus
10394 #endif
10397 main ()
10399 return f != $ac_func;
10401 return 0;
10403 _ACEOF
10404 rm -f conftest.$ac_objext conftest$ac_exeext
10405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10406 (eval $ac_link) 2>conftest.er1
10407 ac_status=$?
10408 grep -v '^ *+' conftest.er1 >conftest.err
10409 rm -f conftest.er1
10410 cat conftest.err >&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } &&
10413 { ac_try='test -z "$ac_c_werror_flag"
10414 || test ! -s conftest.err'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10417 ac_status=$?
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; } &&
10420 { ac_try='test -s conftest$ac_exeext'
10421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422 (eval $ac_try) 2>&5
10423 ac_status=$?
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 eval "$as_ac_var=yes"
10427 else
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 eval "$as_ac_var=no"
10433 rm -f conftest.err conftest.$ac_objext \
10434 conftest$ac_exeext conftest.$ac_ext
10436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10438 if test `eval echo '${'$as_ac_var'}'` = yes; then
10439 cat >>confdefs.h <<_ACEOF
10440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10441 _ACEOF
10444 done
10446 else
10448 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10449 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10450 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10451 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10453 else
10457 ac_ext=cc
10458 ac_cpp='$CXXCPP $CPPFLAGS'
10459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10463 cat >conftest.$ac_ext <<_ACEOF
10464 /* confdefs.h. */
10465 _ACEOF
10466 cat confdefs.h >>conftest.$ac_ext
10467 cat >>conftest.$ac_ext <<_ACEOF
10468 /* end confdefs.h. */
10469 #include <math.h>
10471 main ()
10473 _sincos(0, 0, 0);
10475 return 0;
10477 _ACEOF
10478 rm -f conftest.$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>conftest.er1
10481 ac_status=$?
10482 grep -v '^ *+' conftest.er1 >conftest.err
10483 rm -f conftest.er1
10484 cat conftest.err >&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); } &&
10487 { ac_try='test -z "$ac_cxx_werror_flag"
10488 || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10491 ac_status=$?
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } &&
10494 { ac_try='test -s conftest.$ac_objext'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10497 ac_status=$?
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then
10500 glibcxx_cv_func__sincos_use=yes
10501 else
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.$ac_ext >&5
10505 glibcxx_cv_func__sincos_use=no
10507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10508 ac_ext=c
10509 ac_cpp='$CPP $CPPFLAGS'
10510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10519 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10521 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10523 for ac_func in _sincos
10525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10526 echo "$as_me:$LINENO: checking for $ac_func" >&5
10527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10528 if eval "test \"\${$as_ac_var+set}\" = set"; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531 if test x$gcc_no_link = xyes; then
10532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10534 { (exit 1); exit 1; }; }
10536 cat >conftest.$ac_ext <<_ACEOF
10537 /* confdefs.h. */
10538 _ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10544 #define $ac_func innocuous_$ac_func
10546 /* System header to define __stub macros and hopefully few prototypes,
10547 which can conflict with char $ac_func (); below.
10548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549 <limits.h> exists even on freestanding compilers. */
10551 #ifdef __STDC__
10552 # include <limits.h>
10553 #else
10554 # include <assert.h>
10555 #endif
10557 #undef $ac_func
10559 /* Override any gcc2 internal prototype to avoid an error. */
10560 #ifdef __cplusplus
10561 extern "C"
10563 #endif
10564 /* We use char because int might match the return type of a gcc2
10565 builtin and then its argument prototype would still apply. */
10566 char $ac_func ();
10567 /* The GNU C library defines this for functions which it implements
10568 to always fail with ENOSYS. Some functions are actually named
10569 something starting with __ and the normal name is an alias. */
10570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10571 choke me
10572 #else
10573 char (*f) () = $ac_func;
10574 #endif
10575 #ifdef __cplusplus
10577 #endif
10580 main ()
10582 return f != $ac_func;
10584 return 0;
10586 _ACEOF
10587 rm -f conftest.$ac_objext conftest$ac_exeext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10589 (eval $ac_link) 2>conftest.er1
10590 ac_status=$?
10591 grep -v '^ *+' conftest.er1 >conftest.err
10592 rm -f conftest.er1
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } &&
10596 { ac_try='test -z "$ac_c_werror_flag"
10597 || test ! -s conftest.err'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; } &&
10603 { ac_try='test -s conftest$ac_exeext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10606 ac_status=$?
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 eval "$as_ac_var=yes"
10610 else
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10614 eval "$as_ac_var=no"
10616 rm -f conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10621 if test `eval echo '${'$as_ac_var'}'` = yes; then
10622 cat >>confdefs.h <<_ACEOF
10623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10624 _ACEOF
10627 done
10637 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10638 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10639 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10640 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 else
10646 ac_ext=cc
10647 ac_cpp='$CXXCPP $CPPFLAGS'
10648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10652 cat >conftest.$ac_ext <<_ACEOF
10653 /* confdefs.h. */
10654 _ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10658 #include <math.h>
10659 #ifdef HAVE_IEEEFP_H
10660 #include <ieeefp.h>
10661 #endif
10664 main ()
10666 fpclass(0);
10668 return 0;
10670 _ACEOF
10671 rm -f conftest.$ac_objext
10672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10673 (eval $ac_compile) 2>conftest.er1
10674 ac_status=$?
10675 grep -v '^ *+' conftest.er1 >conftest.err
10676 rm -f conftest.er1
10677 cat conftest.err >&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } &&
10680 { ac_try='test -z "$ac_cxx_werror_flag"
10681 || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5
10684 ac_status=$?
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } &&
10687 { ac_try='test -s conftest.$ac_objext'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10690 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then
10693 glibcxx_cv_func_fpclass_use=yes
10694 else
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10698 glibcxx_cv_func_fpclass_use=no
10700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701 ac_ext=c
10702 ac_cpp='$CPP $CPPFLAGS'
10703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10712 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10714 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10716 for ac_func in fpclass
10718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10719 echo "$as_me:$LINENO: checking for $ac_func" >&5
10720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10721 if eval "test \"\${$as_ac_var+set}\" = set"; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 else
10724 if test x$gcc_no_link = xyes; then
10725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10727 { (exit 1); exit 1; }; }
10729 cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h. */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10737 #define $ac_func innocuous_$ac_func
10739 /* System header to define __stub macros and hopefully few prototypes,
10740 which can conflict with char $ac_func (); below.
10741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10742 <limits.h> exists even on freestanding compilers. */
10744 #ifdef __STDC__
10745 # include <limits.h>
10746 #else
10747 # include <assert.h>
10748 #endif
10750 #undef $ac_func
10752 /* Override any gcc2 internal prototype to avoid an error. */
10753 #ifdef __cplusplus
10754 extern "C"
10756 #endif
10757 /* We use char because int might match the return type of a gcc2
10758 builtin and then its argument prototype would still apply. */
10759 char $ac_func ();
10760 /* The GNU C library defines this for functions which it implements
10761 to always fail with ENOSYS. Some functions are actually named
10762 something starting with __ and the normal name is an alias. */
10763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10764 choke me
10765 #else
10766 char (*f) () = $ac_func;
10767 #endif
10768 #ifdef __cplusplus
10770 #endif
10773 main ()
10775 return f != $ac_func;
10777 return 0;
10779 _ACEOF
10780 rm -f conftest.$ac_objext conftest$ac_exeext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10782 (eval $ac_link) 2>conftest.er1
10783 ac_status=$?
10784 grep -v '^ *+' conftest.er1 >conftest.err
10785 rm -f conftest.er1
10786 cat conftest.err >&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } &&
10789 { ac_try='test -z "$ac_c_werror_flag"
10790 || test ! -s conftest.err'
10791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792 (eval $ac_try) 2>&5
10793 ac_status=$?
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; } &&
10796 { ac_try='test -s conftest$ac_exeext'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10799 ac_status=$?
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; }; then
10802 eval "$as_ac_var=yes"
10803 else
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.$ac_ext >&5
10807 eval "$as_ac_var=no"
10809 rm -f conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
10812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10814 if test `eval echo '${'$as_ac_var'}'` = yes; then
10815 cat >>confdefs.h <<_ACEOF
10816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10817 _ACEOF
10820 done
10822 else
10824 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10825 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10826 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10827 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10829 else
10833 ac_ext=cc
10834 ac_cpp='$CXXCPP $CPPFLAGS'
10835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10839 cat >conftest.$ac_ext <<_ACEOF
10840 /* confdefs.h. */
10841 _ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10845 #include <math.h>
10846 #ifdef HAVE_IEEEFP_H
10847 #include <ieeefp.h>
10848 #endif
10851 main ()
10853 _fpclass(0);
10855 return 0;
10857 _ACEOF
10858 rm -f conftest.$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>conftest.er1
10861 ac_status=$?
10862 grep -v '^ *+' conftest.er1 >conftest.err
10863 rm -f conftest.er1
10864 cat conftest.err >&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try='test -z "$ac_cxx_werror_flag"
10868 || test ! -s conftest.err'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10871 ac_status=$?
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; } &&
10874 { ac_try='test -s conftest.$ac_objext'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10877 ac_status=$?
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 glibcxx_cv_func__fpclass_use=yes
10881 else
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 glibcxx_cv_func__fpclass_use=no
10887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10888 ac_ext=c
10889 ac_cpp='$CPP $CPPFLAGS'
10890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10899 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10901 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10903 for ac_func in _fpclass
10905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10906 echo "$as_me:$LINENO: checking for $ac_func" >&5
10907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10908 if eval "test \"\${$as_ac_var+set}\" = set"; then
10909 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 else
10911 if test x$gcc_no_link = xyes; then
10912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10914 { (exit 1); exit 1; }; }
10916 cat >conftest.$ac_ext <<_ACEOF
10917 /* confdefs.h. */
10918 _ACEOF
10919 cat confdefs.h >>conftest.$ac_ext
10920 cat >>conftest.$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10924 #define $ac_func innocuous_$ac_func
10926 /* System header to define __stub macros and hopefully few prototypes,
10927 which can conflict with char $ac_func (); below.
10928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10929 <limits.h> exists even on freestanding compilers. */
10931 #ifdef __STDC__
10932 # include <limits.h>
10933 #else
10934 # include <assert.h>
10935 #endif
10937 #undef $ac_func
10939 /* Override any gcc2 internal prototype to avoid an error. */
10940 #ifdef __cplusplus
10941 extern "C"
10943 #endif
10944 /* We use char because int might match the return type of a gcc2
10945 builtin and then its argument prototype would still apply. */
10946 char $ac_func ();
10947 /* The GNU C library defines this for functions which it implements
10948 to always fail with ENOSYS. Some functions are actually named
10949 something starting with __ and the normal name is an alias. */
10950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10951 choke me
10952 #else
10953 char (*f) () = $ac_func;
10954 #endif
10955 #ifdef __cplusplus
10957 #endif
10960 main ()
10962 return f != $ac_func;
10964 return 0;
10966 _ACEOF
10967 rm -f conftest.$ac_objext conftest$ac_exeext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10969 (eval $ac_link) 2>conftest.er1
10970 ac_status=$?
10971 grep -v '^ *+' conftest.er1 >conftest.err
10972 rm -f conftest.er1
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } &&
10976 { ac_try='test -z "$ac_c_werror_flag"
10977 || test ! -s conftest.err'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10980 ac_status=$?
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; } &&
10983 { ac_try='test -s conftest$ac_exeext'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10986 ac_status=$?
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; }; then
10989 eval "$as_ac_var=yes"
10990 else
10991 echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.$ac_ext >&5
10994 eval "$as_ac_var=no"
10996 rm -f conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11001 if test `eval echo '${'$as_ac_var'}'` = yes; then
11002 cat >>confdefs.h <<_ACEOF
11003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11004 _ACEOF
11007 done
11017 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
11018 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
11019 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
11020 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11026 ac_ext=cc
11027 ac_cpp='$CXXCPP $CPPFLAGS'
11028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11032 cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h. */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 #include <math.h>
11039 #ifdef HAVE_IEEEFP_H
11040 #include <ieeefp.h>
11041 #endif
11044 main ()
11046 qfpclass(0);
11048 return 0;
11050 _ACEOF
11051 rm -f conftest.$ac_objext
11052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11053 (eval $ac_compile) 2>conftest.er1
11054 ac_status=$?
11055 grep -v '^ *+' conftest.er1 >conftest.err
11056 rm -f conftest.er1
11057 cat conftest.err >&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); } &&
11060 { ac_try='test -z "$ac_cxx_werror_flag"
11061 || test ! -s conftest.err'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; } &&
11067 { ac_try='test -s conftest.$ac_objext'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11070 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11073 glibcxx_cv_func_qfpclass_use=yes
11074 else
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11078 glibcxx_cv_func_qfpclass_use=no
11080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11081 ac_ext=c
11082 ac_cpp='$CPP $CPPFLAGS'
11083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
11092 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
11094 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
11096 for ac_func in qfpclass
11098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11099 echo "$as_me:$LINENO: checking for $ac_func" >&5
11100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11101 if eval "test \"\${$as_ac_var+set}\" = set"; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104 if test x$gcc_no_link = xyes; then
11105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11107 { (exit 1); exit 1; }; }
11109 cat >conftest.$ac_ext <<_ACEOF
11110 /* confdefs.h. */
11111 _ACEOF
11112 cat confdefs.h >>conftest.$ac_ext
11113 cat >>conftest.$ac_ext <<_ACEOF
11114 /* end confdefs.h. */
11115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11117 #define $ac_func innocuous_$ac_func
11119 /* System header to define __stub macros and hopefully few prototypes,
11120 which can conflict with char $ac_func (); below.
11121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11122 <limits.h> exists even on freestanding compilers. */
11124 #ifdef __STDC__
11125 # include <limits.h>
11126 #else
11127 # include <assert.h>
11128 #endif
11130 #undef $ac_func
11132 /* Override any gcc2 internal prototype to avoid an error. */
11133 #ifdef __cplusplus
11134 extern "C"
11136 #endif
11137 /* We use char because int might match the return type of a gcc2
11138 builtin and then its argument prototype would still apply. */
11139 char $ac_func ();
11140 /* The GNU C library defines this for functions which it implements
11141 to always fail with ENOSYS. Some functions are actually named
11142 something starting with __ and the normal name is an alias. */
11143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11144 choke me
11145 #else
11146 char (*f) () = $ac_func;
11147 #endif
11148 #ifdef __cplusplus
11150 #endif
11153 main ()
11155 return f != $ac_func;
11157 return 0;
11159 _ACEOF
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162 (eval $ac_link) 2>conftest.er1
11163 ac_status=$?
11164 grep -v '^ *+' conftest.er1 >conftest.err
11165 rm -f conftest.er1
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try='test -s conftest$ac_exeext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11179 ac_status=$?
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 eval "$as_ac_var=yes"
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 eval "$as_ac_var=no"
11189 rm -f conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11194 if test `eval echo '${'$as_ac_var'}'` = yes; then
11195 cat >>confdefs.h <<_ACEOF
11196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11197 _ACEOF
11200 done
11202 else
11204 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11205 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11206 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11207 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 else
11213 ac_ext=cc
11214 ac_cpp='$CXXCPP $CPPFLAGS'
11215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11219 cat >conftest.$ac_ext <<_ACEOF
11220 /* confdefs.h. */
11221 _ACEOF
11222 cat confdefs.h >>conftest.$ac_ext
11223 cat >>conftest.$ac_ext <<_ACEOF
11224 /* end confdefs.h. */
11225 #include <math.h>
11226 #ifdef HAVE_IEEEFP_H
11227 #include <ieeefp.h>
11228 #endif
11231 main ()
11233 _qfpclass(0);
11235 return 0;
11237 _ACEOF
11238 rm -f conftest.$ac_objext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11240 (eval $ac_compile) 2>conftest.er1
11241 ac_status=$?
11242 grep -v '^ *+' conftest.er1 >conftest.err
11243 rm -f conftest.er1
11244 cat conftest.err >&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } &&
11247 { ac_try='test -z "$ac_cxx_werror_flag"
11248 || test ! -s conftest.err'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; } &&
11254 { ac_try='test -s conftest.$ac_objext'
11255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256 (eval $ac_try) 2>&5
11257 ac_status=$?
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; }; then
11260 glibcxx_cv_func__qfpclass_use=yes
11261 else
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.$ac_ext >&5
11265 glibcxx_cv_func__qfpclass_use=no
11267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11268 ac_ext=c
11269 ac_cpp='$CPP $CPPFLAGS'
11270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11279 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11281 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11283 for ac_func in _qfpclass
11285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11286 echo "$as_me:$LINENO: checking for $ac_func" >&5
11287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11288 if eval "test \"\${$as_ac_var+set}\" = set"; then
11289 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 else
11291 if test x$gcc_no_link = xyes; then
11292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11294 { (exit 1); exit 1; }; }
11296 cat >conftest.$ac_ext <<_ACEOF
11297 /* confdefs.h. */
11298 _ACEOF
11299 cat confdefs.h >>conftest.$ac_ext
11300 cat >>conftest.$ac_ext <<_ACEOF
11301 /* end confdefs.h. */
11302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11304 #define $ac_func innocuous_$ac_func
11306 /* System header to define __stub macros and hopefully few prototypes,
11307 which can conflict with char $ac_func (); below.
11308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11309 <limits.h> exists even on freestanding compilers. */
11311 #ifdef __STDC__
11312 # include <limits.h>
11313 #else
11314 # include <assert.h>
11315 #endif
11317 #undef $ac_func
11319 /* Override any gcc2 internal prototype to avoid an error. */
11320 #ifdef __cplusplus
11321 extern "C"
11323 #endif
11324 /* We use char because int might match the return type of a gcc2
11325 builtin and then its argument prototype would still apply. */
11326 char $ac_func ();
11327 /* The GNU C library defines this for functions which it implements
11328 to always fail with ENOSYS. Some functions are actually named
11329 something starting with __ and the normal name is an alias. */
11330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11331 choke me
11332 #else
11333 char (*f) () = $ac_func;
11334 #endif
11335 #ifdef __cplusplus
11337 #endif
11340 main ()
11342 return f != $ac_func;
11344 return 0;
11346 _ACEOF
11347 rm -f conftest.$ac_objext conftest$ac_exeext
11348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11349 (eval $ac_link) 2>conftest.er1
11350 ac_status=$?
11351 grep -v '^ *+' conftest.er1 >conftest.err
11352 rm -f conftest.er1
11353 cat conftest.err >&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } &&
11356 { ac_try='test -z "$ac_c_werror_flag"
11357 || test ! -s conftest.err'
11358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11359 (eval $ac_try) 2>&5
11360 ac_status=$?
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; } &&
11363 { ac_try='test -s conftest$ac_exeext'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11366 ac_status=$?
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; }; then
11369 eval "$as_ac_var=yes"
11370 else
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.$ac_ext >&5
11374 eval "$as_ac_var=no"
11376 rm -f conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11381 if test `eval echo '${'$as_ac_var'}'` = yes; then
11382 cat >>confdefs.h <<_ACEOF
11383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11384 _ACEOF
11387 done
11397 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11398 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11399 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11400 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 else
11406 ac_ext=cc
11407 ac_cpp='$CXXCPP $CPPFLAGS'
11408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11412 cat >conftest.$ac_ext <<_ACEOF
11413 /* confdefs.h. */
11414 _ACEOF
11415 cat confdefs.h >>conftest.$ac_ext
11416 cat >>conftest.$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11418 #include <math.h>
11420 main ()
11422 hypot(0, 0);
11424 return 0;
11426 _ACEOF
11427 rm -f conftest.$ac_objext
11428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11429 (eval $ac_compile) 2>conftest.er1
11430 ac_status=$?
11431 grep -v '^ *+' conftest.er1 >conftest.err
11432 rm -f conftest.er1
11433 cat conftest.err >&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } &&
11436 { ac_try='test -z "$ac_cxx_werror_flag"
11437 || test ! -s conftest.err'
11438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11439 (eval $ac_try) 2>&5
11440 ac_status=$?
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); }; } &&
11443 { ac_try='test -s conftest.$ac_objext'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11446 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; }; then
11449 glibcxx_cv_func_hypot_use=yes
11450 else
11451 echo "$as_me: failed program was:" >&5
11452 sed 's/^/| /' conftest.$ac_ext >&5
11454 glibcxx_cv_func_hypot_use=no
11456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11457 ac_ext=c
11458 ac_cpp='$CPP $CPPFLAGS'
11459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11468 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11470 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11472 for ac_func in hypot
11474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11475 echo "$as_me:$LINENO: checking for $ac_func" >&5
11476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11477 if eval "test \"\${$as_ac_var+set}\" = set"; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 else
11480 if test x$gcc_no_link = xyes; then
11481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11483 { (exit 1); exit 1; }; }
11485 cat >conftest.$ac_ext <<_ACEOF
11486 /* confdefs.h. */
11487 _ACEOF
11488 cat confdefs.h >>conftest.$ac_ext
11489 cat >>conftest.$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11493 #define $ac_func innocuous_$ac_func
11495 /* System header to define __stub macros and hopefully few prototypes,
11496 which can conflict with char $ac_func (); below.
11497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11498 <limits.h> exists even on freestanding compilers. */
11500 #ifdef __STDC__
11501 # include <limits.h>
11502 #else
11503 # include <assert.h>
11504 #endif
11506 #undef $ac_func
11508 /* Override any gcc2 internal prototype to avoid an error. */
11509 #ifdef __cplusplus
11510 extern "C"
11512 #endif
11513 /* We use char because int might match the return type of a gcc2
11514 builtin and then its argument prototype would still apply. */
11515 char $ac_func ();
11516 /* The GNU C library defines this for functions which it implements
11517 to always fail with ENOSYS. Some functions are actually named
11518 something starting with __ and the normal name is an alias. */
11519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11520 choke me
11521 #else
11522 char (*f) () = $ac_func;
11523 #endif
11524 #ifdef __cplusplus
11526 #endif
11529 main ()
11531 return f != $ac_func;
11533 return 0;
11535 _ACEOF
11536 rm -f conftest.$ac_objext conftest$ac_exeext
11537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11538 (eval $ac_link) 2>conftest.er1
11539 ac_status=$?
11540 grep -v '^ *+' conftest.er1 >conftest.err
11541 rm -f conftest.er1
11542 cat conftest.err >&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } &&
11545 { ac_try='test -z "$ac_c_werror_flag"
11546 || test ! -s conftest.err'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11549 ac_status=$?
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; } &&
11552 { ac_try='test -s conftest$ac_exeext'
11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11554 (eval $ac_try) 2>&5
11555 ac_status=$?
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); }; }; then
11558 eval "$as_ac_var=yes"
11559 else
11560 echo "$as_me: failed program was:" >&5
11561 sed 's/^/| /' conftest.$ac_ext >&5
11563 eval "$as_ac_var=no"
11565 rm -f conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11570 if test `eval echo '${'$as_ac_var'}'` = yes; then
11571 cat >>confdefs.h <<_ACEOF
11572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11573 _ACEOF
11576 done
11578 else
11580 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11581 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11582 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11583 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11584 echo $ECHO_N "(cached) $ECHO_C" >&6
11585 else
11589 ac_ext=cc
11590 ac_cpp='$CXXCPP $CPPFLAGS'
11591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11595 cat >conftest.$ac_ext <<_ACEOF
11596 /* confdefs.h. */
11597 _ACEOF
11598 cat confdefs.h >>conftest.$ac_ext
11599 cat >>conftest.$ac_ext <<_ACEOF
11600 /* end confdefs.h. */
11601 #include <math.h>
11603 main ()
11605 _hypot(0, 0);
11607 return 0;
11609 _ACEOF
11610 rm -f conftest.$ac_objext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11612 (eval $ac_compile) 2>conftest.er1
11613 ac_status=$?
11614 grep -v '^ *+' conftest.er1 >conftest.err
11615 rm -f conftest.er1
11616 cat conftest.err >&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } &&
11619 { ac_try='test -z "$ac_cxx_werror_flag"
11620 || test ! -s conftest.err'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11623 ac_status=$?
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; } &&
11626 { ac_try='test -s conftest.$ac_objext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11629 ac_status=$?
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11632 glibcxx_cv_func__hypot_use=yes
11633 else
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.$ac_ext >&5
11637 glibcxx_cv_func__hypot_use=no
11639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11640 ac_ext=c
11641 ac_cpp='$CPP $CPPFLAGS'
11642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11651 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11653 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11655 for ac_func in _hypot
11657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11658 echo "$as_me:$LINENO: checking for $ac_func" >&5
11659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11660 if eval "test \"\${$as_ac_var+set}\" = set"; then
11661 echo $ECHO_N "(cached) $ECHO_C" >&6
11662 else
11663 if test x$gcc_no_link = xyes; then
11664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11666 { (exit 1); exit 1; }; }
11668 cat >conftest.$ac_ext <<_ACEOF
11669 /* confdefs.h. */
11670 _ACEOF
11671 cat confdefs.h >>conftest.$ac_ext
11672 cat >>conftest.$ac_ext <<_ACEOF
11673 /* end confdefs.h. */
11674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11676 #define $ac_func innocuous_$ac_func
11678 /* System header to define __stub macros and hopefully few prototypes,
11679 which can conflict with char $ac_func (); below.
11680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11681 <limits.h> exists even on freestanding compilers. */
11683 #ifdef __STDC__
11684 # include <limits.h>
11685 #else
11686 # include <assert.h>
11687 #endif
11689 #undef $ac_func
11691 /* Override any gcc2 internal prototype to avoid an error. */
11692 #ifdef __cplusplus
11693 extern "C"
11695 #endif
11696 /* We use char because int might match the return type of a gcc2
11697 builtin and then its argument prototype would still apply. */
11698 char $ac_func ();
11699 /* The GNU C library defines this for functions which it implements
11700 to always fail with ENOSYS. Some functions are actually named
11701 something starting with __ and the normal name is an alias. */
11702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11703 choke me
11704 #else
11705 char (*f) () = $ac_func;
11706 #endif
11707 #ifdef __cplusplus
11709 #endif
11712 main ()
11714 return f != $ac_func;
11716 return 0;
11718 _ACEOF
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>conftest.er1
11722 ac_status=$?
11723 grep -v '^ *+' conftest.er1 >conftest.err
11724 rm -f conftest.er1
11725 cat conftest.err >&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); } &&
11728 { ac_try='test -z "$ac_c_werror_flag"
11729 || test ! -s conftest.err'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11732 ac_status=$?
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; } &&
11735 { ac_try='test -s conftest$ac_exeext'
11736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737 (eval $ac_try) 2>&5
11738 ac_status=$?
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); }; }; then
11741 eval "$as_ac_var=yes"
11742 else
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11746 eval "$as_ac_var=no"
11748 rm -f conftest.err conftest.$ac_objext \
11749 conftest$ac_exeext conftest.$ac_ext
11751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11753 if test `eval echo '${'$as_ac_var'}'` = yes; then
11754 cat >>confdefs.h <<_ACEOF
11755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11756 _ACEOF
11759 done
11769 echo "$as_me:$LINENO: checking for float trig functions" >&5
11770 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11771 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11777 ac_ext=cc
11778 ac_cpp='$CXXCPP $CPPFLAGS'
11779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11783 cat >conftest.$ac_ext <<_ACEOF
11784 /* confdefs.h. */
11785 _ACEOF
11786 cat confdefs.h >>conftest.$ac_ext
11787 cat >>conftest.$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789 #include <math.h>
11791 main ()
11793 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11795 return 0;
11797 _ACEOF
11798 rm -f conftest.$ac_objext
11799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11800 (eval $ac_compile) 2>conftest.er1
11801 ac_status=$?
11802 grep -v '^ *+' conftest.er1 >conftest.err
11803 rm -f conftest.er1
11804 cat conftest.err >&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); } &&
11807 { ac_try='test -z "$ac_cxx_werror_flag"
11808 || test ! -s conftest.err'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11811 ac_status=$?
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; } &&
11814 { ac_try='test -s conftest.$ac_objext'
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5
11817 ac_status=$?
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; }; then
11820 glibcxx_cv_func_float_trig_use=yes
11821 else
11822 echo "$as_me: failed program was:" >&5
11823 sed 's/^/| /' conftest.$ac_ext >&5
11825 glibcxx_cv_func_float_trig_use=no
11827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11828 ac_ext=c
11829 ac_cpp='$CPP $CPPFLAGS'
11830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11837 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11838 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11848 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11851 echo "$as_me:$LINENO: checking for $ac_func" >&5
11852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11853 if eval "test \"\${$as_ac_var+set}\" = set"; then
11854 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 else
11856 if test x$gcc_no_link = xyes; then
11857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11859 { (exit 1); exit 1; }; }
11861 cat >conftest.$ac_ext <<_ACEOF
11862 /* confdefs.h. */
11863 _ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11869 #define $ac_func innocuous_$ac_func
11871 /* System header to define __stub macros and hopefully few prototypes,
11872 which can conflict with char $ac_func (); below.
11873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874 <limits.h> exists even on freestanding compilers. */
11876 #ifdef __STDC__
11877 # include <limits.h>
11878 #else
11879 # include <assert.h>
11880 #endif
11882 #undef $ac_func
11884 /* Override any gcc2 internal prototype to avoid an error. */
11885 #ifdef __cplusplus
11886 extern "C"
11888 #endif
11889 /* We use char because int might match the return type of a gcc2
11890 builtin and then its argument prototype would still apply. */
11891 char $ac_func ();
11892 /* The GNU C library defines this for functions which it implements
11893 to always fail with ENOSYS. Some functions are actually named
11894 something starting with __ and the normal name is an alias. */
11895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896 choke me
11897 #else
11898 char (*f) () = $ac_func;
11899 #endif
11900 #ifdef __cplusplus
11902 #endif
11905 main ()
11907 return f != $ac_func;
11909 return 0;
11911 _ACEOF
11912 rm -f conftest.$ac_objext conftest$ac_exeext
11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11914 (eval $ac_link) 2>conftest.er1
11915 ac_status=$?
11916 grep -v '^ *+' conftest.er1 >conftest.err
11917 rm -f conftest.er1
11918 cat conftest.err >&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } &&
11921 { ac_try='test -z "$ac_c_werror_flag"
11922 || test ! -s conftest.err'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11925 ac_status=$?
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; } &&
11928 { ac_try='test -s conftest$ac_exeext'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11931 ac_status=$?
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; }; then
11934 eval "$as_ac_var=yes"
11935 else
11936 echo "$as_me: failed program was:" >&5
11937 sed 's/^/| /' conftest.$ac_ext >&5
11939 eval "$as_ac_var=no"
11941 rm -f conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11946 if test `eval echo '${'$as_ac_var'}'` = yes; then
11947 cat >>confdefs.h <<_ACEOF
11948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11949 _ACEOF
11952 done
11954 else
11955 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11956 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11957 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 else
11963 ac_ext=cc
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11969 cat >conftest.$ac_ext <<_ACEOF
11970 /* confdefs.h. */
11971 _ACEOF
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11975 #include <math.h>
11977 main ()
11979 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11981 return 0;
11983 _ACEOF
11984 rm -f conftest.$ac_objext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986 (eval $ac_compile) 2>conftest.er1
11987 ac_status=$?
11988 grep -v '^ *+' conftest.er1 >conftest.err
11989 rm -f conftest.er1
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } &&
11993 { ac_try='test -z "$ac_cxx_werror_flag"
11994 || test ! -s conftest.err'
11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996 (eval $ac_try) 2>&5
11997 ac_status=$?
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; } &&
12000 { ac_try='test -s conftest.$ac_objext'
12001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002 (eval $ac_try) 2>&5
12003 ac_status=$?
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); }; }; then
12006 glibcxx_cv_func__float_trig_use=yes
12007 else
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12011 glibcxx_cv_func__float_trig_use=no
12013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12014 ac_ext=c
12015 ac_cpp='$CPP $CPPFLAGS'
12016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
12023 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
12024 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
12034 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
12036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12037 echo "$as_me:$LINENO: checking for $ac_func" >&5
12038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12039 if eval "test \"\${$as_ac_var+set}\" = set"; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 if test x$gcc_no_link = xyes; then
12043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12045 { (exit 1); exit 1; }; }
12047 cat >conftest.$ac_ext <<_ACEOF
12048 /* confdefs.h. */
12049 _ACEOF
12050 cat confdefs.h >>conftest.$ac_ext
12051 cat >>conftest.$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12055 #define $ac_func innocuous_$ac_func
12057 /* System header to define __stub macros and hopefully few prototypes,
12058 which can conflict with char $ac_func (); below.
12059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12060 <limits.h> exists even on freestanding compilers. */
12062 #ifdef __STDC__
12063 # include <limits.h>
12064 #else
12065 # include <assert.h>
12066 #endif
12068 #undef $ac_func
12070 /* Override any gcc2 internal prototype to avoid an error. */
12071 #ifdef __cplusplus
12072 extern "C"
12074 #endif
12075 /* We use char because int might match the return type of a gcc2
12076 builtin and then its argument prototype would still apply. */
12077 char $ac_func ();
12078 /* The GNU C library defines this for functions which it implements
12079 to always fail with ENOSYS. Some functions are actually named
12080 something starting with __ and the normal name is an alias. */
12081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12082 choke me
12083 #else
12084 char (*f) () = $ac_func;
12085 #endif
12086 #ifdef __cplusplus
12088 #endif
12091 main ()
12093 return f != $ac_func;
12095 return 0;
12097 _ACEOF
12098 rm -f conftest.$ac_objext conftest$ac_exeext
12099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12100 (eval $ac_link) 2>conftest.er1
12101 ac_status=$?
12102 grep -v '^ *+' conftest.er1 >conftest.err
12103 rm -f conftest.er1
12104 cat conftest.err >&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); } &&
12107 { ac_try='test -z "$ac_c_werror_flag"
12108 || test ! -s conftest.err'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12111 ac_status=$?
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; } &&
12114 { ac_try='test -s conftest$ac_exeext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12117 ac_status=$?
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 eval "$as_ac_var=yes"
12121 else
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.$ac_ext >&5
12125 eval "$as_ac_var=no"
12127 rm -f conftest.err conftest.$ac_objext \
12128 conftest$ac_exeext conftest.$ac_ext
12130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12132 if test `eval echo '${'$as_ac_var'}'` = yes; then
12133 cat >>confdefs.h <<_ACEOF
12134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12135 _ACEOF
12138 done
12156 echo "$as_me:$LINENO: checking for float round functions" >&5
12157 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
12158 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 else
12164 ac_ext=cc
12165 ac_cpp='$CXXCPP $CPPFLAGS'
12166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12170 cat >conftest.$ac_ext <<_ACEOF
12171 /* confdefs.h. */
12172 _ACEOF
12173 cat confdefs.h >>conftest.$ac_ext
12174 cat >>conftest.$ac_ext <<_ACEOF
12175 /* end confdefs.h. */
12176 #include <math.h>
12178 main ()
12180 ceilf (0); floorf (0);
12182 return 0;
12184 _ACEOF
12185 rm -f conftest.$ac_objext
12186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12187 (eval $ac_compile) 2>conftest.er1
12188 ac_status=$?
12189 grep -v '^ *+' conftest.er1 >conftest.err
12190 rm -f conftest.er1
12191 cat conftest.err >&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } &&
12194 { ac_try='test -z "$ac_cxx_werror_flag"
12195 || test ! -s conftest.err'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12198 ac_status=$?
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; } &&
12201 { ac_try='test -s conftest.$ac_objext'
12202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203 (eval $ac_try) 2>&5
12204 ac_status=$?
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); }; }; then
12207 glibcxx_cv_func_float_round_use=yes
12208 else
12209 echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.$ac_ext >&5
12212 glibcxx_cv_func_float_round_use=no
12214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12215 ac_ext=c
12216 ac_cpp='$CPP $CPPFLAGS'
12217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12224 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12225 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12228 for ac_func in ceilf floorf
12230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12231 echo "$as_me:$LINENO: checking for $ac_func" >&5
12232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12233 if eval "test \"\${$as_ac_var+set}\" = set"; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 else
12236 if test x$gcc_no_link = xyes; then
12237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12239 { (exit 1); exit 1; }; }
12241 cat >conftest.$ac_ext <<_ACEOF
12242 /* confdefs.h. */
12243 _ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12249 #define $ac_func innocuous_$ac_func
12251 /* System header to define __stub macros and hopefully few prototypes,
12252 which can conflict with char $ac_func (); below.
12253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12254 <limits.h> exists even on freestanding compilers. */
12256 #ifdef __STDC__
12257 # include <limits.h>
12258 #else
12259 # include <assert.h>
12260 #endif
12262 #undef $ac_func
12264 /* Override any gcc2 internal prototype to avoid an error. */
12265 #ifdef __cplusplus
12266 extern "C"
12268 #endif
12269 /* We use char because int might match the return type of a gcc2
12270 builtin and then its argument prototype would still apply. */
12271 char $ac_func ();
12272 /* The GNU C library defines this for functions which it implements
12273 to always fail with ENOSYS. Some functions are actually named
12274 something starting with __ and the normal name is an alias. */
12275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12276 choke me
12277 #else
12278 char (*f) () = $ac_func;
12279 #endif
12280 #ifdef __cplusplus
12282 #endif
12285 main ()
12287 return f != $ac_func;
12289 return 0;
12291 _ACEOF
12292 rm -f conftest.$ac_objext conftest$ac_exeext
12293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12294 (eval $ac_link) 2>conftest.er1
12295 ac_status=$?
12296 grep -v '^ *+' conftest.er1 >conftest.err
12297 rm -f conftest.er1
12298 cat conftest.err >&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } &&
12301 { ac_try='test -z "$ac_c_werror_flag"
12302 || test ! -s conftest.err'
12303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12304 (eval $ac_try) 2>&5
12305 ac_status=$?
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; } &&
12308 { ac_try='test -s conftest$ac_exeext'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12311 ac_status=$?
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; }; then
12314 eval "$as_ac_var=yes"
12315 else
12316 echo "$as_me: failed program was:" >&5
12317 sed 's/^/| /' conftest.$ac_ext >&5
12319 eval "$as_ac_var=no"
12321 rm -f conftest.err conftest.$ac_objext \
12322 conftest$ac_exeext conftest.$ac_ext
12324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12326 if test `eval echo '${'$as_ac_var'}'` = yes; then
12327 cat >>confdefs.h <<_ACEOF
12328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12329 _ACEOF
12332 done
12334 else
12335 echo "$as_me:$LINENO: checking for _float round functions" >&5
12336 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12337 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12339 else
12343 ac_ext=cc
12344 ac_cpp='$CXXCPP $CPPFLAGS'
12345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12349 cat >conftest.$ac_ext <<_ACEOF
12350 /* confdefs.h. */
12351 _ACEOF
12352 cat confdefs.h >>conftest.$ac_ext
12353 cat >>conftest.$ac_ext <<_ACEOF
12354 /* end confdefs.h. */
12355 #include <math.h>
12357 main ()
12359 _ceilf (0); _floorf (0);
12361 return 0;
12363 _ACEOF
12364 rm -f conftest.$ac_objext
12365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12366 (eval $ac_compile) 2>conftest.er1
12367 ac_status=$?
12368 grep -v '^ *+' conftest.er1 >conftest.err
12369 rm -f conftest.er1
12370 cat conftest.err >&5
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); } &&
12373 { ac_try='test -z "$ac_cxx_werror_flag"
12374 || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try='test -s conftest.$ac_objext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 glibcxx_cv_func__float_round_use=yes
12387 else
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.$ac_ext >&5
12391 glibcxx_cv_func__float_round_use=no
12393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12394 ac_ext=c
12395 ac_cpp='$CPP $CPPFLAGS'
12396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12403 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12404 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12407 for ac_func in _ceilf _floorf
12409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12410 echo "$as_me:$LINENO: checking for $ac_func" >&5
12411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12412 if eval "test \"\${$as_ac_var+set}\" = set"; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12414 else
12415 if test x$gcc_no_link = xyes; then
12416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12418 { (exit 1); exit 1; }; }
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12428 #define $ac_func innocuous_$ac_func
12430 /* System header to define __stub macros and hopefully few prototypes,
12431 which can conflict with char $ac_func (); below.
12432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12433 <limits.h> exists even on freestanding compilers. */
12435 #ifdef __STDC__
12436 # include <limits.h>
12437 #else
12438 # include <assert.h>
12439 #endif
12441 #undef $ac_func
12443 /* Override any gcc2 internal prototype to avoid an error. */
12444 #ifdef __cplusplus
12445 extern "C"
12447 #endif
12448 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */
12450 char $ac_func ();
12451 /* The GNU C library defines this for functions which it implements
12452 to always fail with ENOSYS. Some functions are actually named
12453 something starting with __ and the normal name is an alias. */
12454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12455 choke me
12456 #else
12457 char (*f) () = $ac_func;
12458 #endif
12459 #ifdef __cplusplus
12461 #endif
12464 main ()
12466 return f != $ac_func;
12468 return 0;
12470 _ACEOF
12471 rm -f conftest.$ac_objext conftest$ac_exeext
12472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12473 (eval $ac_link) 2>conftest.er1
12474 ac_status=$?
12475 grep -v '^ *+' conftest.er1 >conftest.err
12476 rm -f conftest.er1
12477 cat conftest.err >&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } &&
12480 { ac_try='test -z "$ac_c_werror_flag"
12481 || test ! -s conftest.err'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12484 ac_status=$?
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; } &&
12487 { ac_try='test -s conftest$ac_exeext'
12488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12489 (eval $ac_try) 2>&5
12490 ac_status=$?
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); }; }; then
12493 eval "$as_ac_var=yes"
12494 else
12495 echo "$as_me: failed program was:" >&5
12496 sed 's/^/| /' conftest.$ac_ext >&5
12498 eval "$as_ac_var=no"
12500 rm -f conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12505 if test `eval echo '${'$as_ac_var'}'` = yes; then
12506 cat >>confdefs.h <<_ACEOF
12507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12508 _ACEOF
12511 done
12523 echo "$as_me:$LINENO: checking for expf declaration" >&5
12524 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12525 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12526 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12528 else
12532 ac_ext=cc
12533 ac_cpp='$CXXCPP $CPPFLAGS'
12534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12538 cat >conftest.$ac_ext <<_ACEOF
12539 /* confdefs.h. */
12540 _ACEOF
12541 cat confdefs.h >>conftest.$ac_ext
12542 cat >>conftest.$ac_ext <<_ACEOF
12543 /* end confdefs.h. */
12544 #include <math.h>
12545 #ifdef HAVE_IEEEFP_H
12546 #include <ieeefp.h>
12547 #endif
12550 main ()
12552 expf(0);
12554 return 0;
12556 _ACEOF
12557 rm -f conftest.$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>conftest.er1
12560 ac_status=$?
12561 grep -v '^ *+' conftest.er1 >conftest.err
12562 rm -f conftest.er1
12563 cat conftest.err >&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } &&
12566 { ac_try='test -z "$ac_cxx_werror_flag"
12567 || test ! -s conftest.err'
12568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 (eval $ac_try) 2>&5
12570 ac_status=$?
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); }; } &&
12573 { ac_try='test -s conftest.$ac_objext'
12574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575 (eval $ac_try) 2>&5
12576 ac_status=$?
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 glibcxx_cv_func_expf_use=yes
12580 else
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 glibcxx_cv_func_expf_use=no
12586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12587 ac_ext=c
12588 ac_cpp='$CPP $CPPFLAGS'
12589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12598 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12600 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12602 for ac_func in expf
12604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12605 echo "$as_me:$LINENO: checking for $ac_func" >&5
12606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12607 if eval "test \"\${$as_ac_var+set}\" = set"; then
12608 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 else
12610 if test x$gcc_no_link = xyes; then
12611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12613 { (exit 1); exit 1; }; }
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12623 #define $ac_func innocuous_$ac_func
12625 /* System header to define __stub macros and hopefully few prototypes,
12626 which can conflict with char $ac_func (); below.
12627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12628 <limits.h> exists even on freestanding compilers. */
12630 #ifdef __STDC__
12631 # include <limits.h>
12632 #else
12633 # include <assert.h>
12634 #endif
12636 #undef $ac_func
12638 /* Override any gcc2 internal prototype to avoid an error. */
12639 #ifdef __cplusplus
12640 extern "C"
12642 #endif
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12645 char $ac_func ();
12646 /* The GNU C library defines this for functions which it implements
12647 to always fail with ENOSYS. Some functions are actually named
12648 something starting with __ and the normal name is an alias. */
12649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12650 choke me
12651 #else
12652 char (*f) () = $ac_func;
12653 #endif
12654 #ifdef __cplusplus
12656 #endif
12659 main ()
12661 return f != $ac_func;
12663 return 0;
12665 _ACEOF
12666 rm -f conftest.$ac_objext conftest$ac_exeext
12667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668 (eval $ac_link) 2>conftest.er1
12669 ac_status=$?
12670 grep -v '^ *+' conftest.er1 >conftest.err
12671 rm -f conftest.er1
12672 cat conftest.err >&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } &&
12675 { ac_try='test -z "$ac_c_werror_flag"
12676 || test ! -s conftest.err'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12679 ac_status=$?
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; } &&
12682 { ac_try='test -s conftest$ac_exeext'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12685 ac_status=$?
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; }; then
12688 eval "$as_ac_var=yes"
12689 else
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12693 eval "$as_ac_var=no"
12695 rm -f conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12700 if test `eval echo '${'$as_ac_var'}'` = yes; then
12701 cat >>confdefs.h <<_ACEOF
12702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12703 _ACEOF
12706 done
12708 else
12710 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12711 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12712 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12713 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12719 ac_ext=cc
12720 ac_cpp='$CXXCPP $CPPFLAGS'
12721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12725 cat >conftest.$ac_ext <<_ACEOF
12726 /* confdefs.h. */
12727 _ACEOF
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12731 #include <math.h>
12732 #ifdef HAVE_IEEEFP_H
12733 #include <ieeefp.h>
12734 #endif
12737 main ()
12739 _expf(0);
12741 return 0;
12743 _ACEOF
12744 rm -f conftest.$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>conftest.er1
12747 ac_status=$?
12748 grep -v '^ *+' conftest.er1 >conftest.err
12749 rm -f conftest.er1
12750 cat conftest.err >&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } &&
12753 { ac_try='test -z "$ac_cxx_werror_flag"
12754 || test ! -s conftest.err'
12755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12756 (eval $ac_try) 2>&5
12757 ac_status=$?
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); }; } &&
12760 { ac_try='test -s conftest.$ac_objext'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5
12763 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; }; then
12766 glibcxx_cv_func__expf_use=yes
12767 else
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.$ac_ext >&5
12771 glibcxx_cv_func__expf_use=no
12773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12774 ac_ext=c
12775 ac_cpp='$CPP $CPPFLAGS'
12776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12785 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12787 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12789 for ac_func in _expf
12791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12792 echo "$as_me:$LINENO: checking for $ac_func" >&5
12793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12794 if eval "test \"\${$as_ac_var+set}\" = set"; then
12795 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 else
12797 if test x$gcc_no_link = xyes; then
12798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12800 { (exit 1); exit 1; }; }
12802 cat >conftest.$ac_ext <<_ACEOF
12803 /* confdefs.h. */
12804 _ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12810 #define $ac_func innocuous_$ac_func
12812 /* System header to define __stub macros and hopefully few prototypes,
12813 which can conflict with char $ac_func (); below.
12814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12815 <limits.h> exists even on freestanding compilers. */
12817 #ifdef __STDC__
12818 # include <limits.h>
12819 #else
12820 # include <assert.h>
12821 #endif
12823 #undef $ac_func
12825 /* Override any gcc2 internal prototype to avoid an error. */
12826 #ifdef __cplusplus
12827 extern "C"
12829 #endif
12830 /* We use char because int might match the return type of a gcc2
12831 builtin and then its argument prototype would still apply. */
12832 char $ac_func ();
12833 /* The GNU C library defines this for functions which it implements
12834 to always fail with ENOSYS. Some functions are actually named
12835 something starting with __ and the normal name is an alias. */
12836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12837 choke me
12838 #else
12839 char (*f) () = $ac_func;
12840 #endif
12841 #ifdef __cplusplus
12843 #endif
12846 main ()
12848 return f != $ac_func;
12850 return 0;
12852 _ACEOF
12853 rm -f conftest.$ac_objext conftest$ac_exeext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12855 (eval $ac_link) 2>conftest.er1
12856 ac_status=$?
12857 grep -v '^ *+' conftest.er1 >conftest.err
12858 rm -f conftest.er1
12859 cat conftest.err >&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } &&
12862 { ac_try='test -z "$ac_c_werror_flag"
12863 || test ! -s conftest.err'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12866 ac_status=$?
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; } &&
12869 { ac_try='test -s conftest$ac_exeext'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12872 ac_status=$?
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 eval "$as_ac_var=yes"
12876 else
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.$ac_ext >&5
12880 eval "$as_ac_var=no"
12882 rm -f conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12887 if test `eval echo '${'$as_ac_var'}'` = yes; then
12888 cat >>confdefs.h <<_ACEOF
12889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12890 _ACEOF
12893 done
12903 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12904 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12905 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12906 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 else
12912 ac_ext=cc
12913 ac_cpp='$CXXCPP $CPPFLAGS'
12914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12918 cat >conftest.$ac_ext <<_ACEOF
12919 /* confdefs.h. */
12920 _ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 #include <math.h>
12925 #ifdef HAVE_IEEEFP_H
12926 #include <ieeefp.h>
12927 #endif
12930 main ()
12932 isnanf(0);
12934 return 0;
12936 _ACEOF
12937 rm -f conftest.$ac_objext
12938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939 (eval $ac_compile) 2>conftest.er1
12940 ac_status=$?
12941 grep -v '^ *+' conftest.er1 >conftest.err
12942 rm -f conftest.er1
12943 cat conftest.err >&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -z "$ac_cxx_werror_flag"
12947 || test ! -s conftest.err'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12950 ac_status=$?
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; } &&
12953 { ac_try='test -s conftest.$ac_objext'
12954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955 (eval $ac_try) 2>&5
12956 ac_status=$?
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); }; }; then
12959 glibcxx_cv_func_isnanf_use=yes
12960 else
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12964 glibcxx_cv_func_isnanf_use=no
12966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12967 ac_ext=c
12968 ac_cpp='$CPP $CPPFLAGS'
12969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12978 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12980 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12982 for ac_func in isnanf
12984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12985 echo "$as_me:$LINENO: checking for $ac_func" >&5
12986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12987 if eval "test \"\${$as_ac_var+set}\" = set"; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 else
12990 if test x$gcc_no_link = xyes; then
12991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12993 { (exit 1); exit 1; }; }
12995 cat >conftest.$ac_ext <<_ACEOF
12996 /* confdefs.h. */
12997 _ACEOF
12998 cat confdefs.h >>conftest.$ac_ext
12999 cat >>conftest.$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13003 #define $ac_func innocuous_$ac_func
13005 /* System header to define __stub macros and hopefully few prototypes,
13006 which can conflict with char $ac_func (); below.
13007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13008 <limits.h> exists even on freestanding compilers. */
13010 #ifdef __STDC__
13011 # include <limits.h>
13012 #else
13013 # include <assert.h>
13014 #endif
13016 #undef $ac_func
13018 /* Override any gcc2 internal prototype to avoid an error. */
13019 #ifdef __cplusplus
13020 extern "C"
13022 #endif
13023 /* We use char because int might match the return type of a gcc2
13024 builtin and then its argument prototype would still apply. */
13025 char $ac_func ();
13026 /* The GNU C library defines this for functions which it implements
13027 to always fail with ENOSYS. Some functions are actually named
13028 something starting with __ and the normal name is an alias. */
13029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13030 choke me
13031 #else
13032 char (*f) () = $ac_func;
13033 #endif
13034 #ifdef __cplusplus
13036 #endif
13039 main ()
13041 return f != $ac_func;
13043 return 0;
13045 _ACEOF
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13048 (eval $ac_link) 2>conftest.er1
13049 ac_status=$?
13050 grep -v '^ *+' conftest.er1 >conftest.err
13051 rm -f conftest.er1
13052 cat conftest.err >&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } &&
13055 { ac_try='test -z "$ac_c_werror_flag"
13056 || test ! -s conftest.err'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13059 ac_status=$?
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; } &&
13062 { ac_try='test -s conftest$ac_exeext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13065 ac_status=$?
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 eval "$as_ac_var=yes"
13069 else
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13073 eval "$as_ac_var=no"
13075 rm -f conftest.err conftest.$ac_objext \
13076 conftest$ac_exeext conftest.$ac_ext
13078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13080 if test `eval echo '${'$as_ac_var'}'` = yes; then
13081 cat >>confdefs.h <<_ACEOF
13082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13083 _ACEOF
13086 done
13088 else
13090 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
13091 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
13092 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
13093 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13095 else
13099 ac_ext=cc
13100 ac_cpp='$CXXCPP $CPPFLAGS'
13101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13105 cat >conftest.$ac_ext <<_ACEOF
13106 /* confdefs.h. */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 #include <math.h>
13112 #ifdef HAVE_IEEEFP_H
13113 #include <ieeefp.h>
13114 #endif
13117 main ()
13119 _isnanf(0);
13121 return 0;
13123 _ACEOF
13124 rm -f conftest.$ac_objext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13126 (eval $ac_compile) 2>conftest.er1
13127 ac_status=$?
13128 grep -v '^ *+' conftest.er1 >conftest.err
13129 rm -f conftest.er1
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } &&
13133 { ac_try='test -z "$ac_cxx_werror_flag"
13134 || test ! -s conftest.err'
13135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 (eval $ac_try) 2>&5
13137 ac_status=$?
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; } &&
13140 { ac_try='test -s conftest.$ac_objext'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5
13143 ac_status=$?
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; }; then
13146 glibcxx_cv_func__isnanf_use=yes
13147 else
13148 echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.$ac_ext >&5
13151 glibcxx_cv_func__isnanf_use=no
13153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13154 ac_ext=c
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13165 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13167 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13169 for ac_func in _isnanf
13171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13172 echo "$as_me:$LINENO: checking for $ac_func" >&5
13173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13174 if eval "test \"\${$as_ac_var+set}\" = set"; then
13175 echo $ECHO_N "(cached) $ECHO_C" >&6
13176 else
13177 if test x$gcc_no_link = xyes; then
13178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13180 { (exit 1); exit 1; }; }
13182 cat >conftest.$ac_ext <<_ACEOF
13183 /* confdefs.h. */
13184 _ACEOF
13185 cat confdefs.h >>conftest.$ac_ext
13186 cat >>conftest.$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13190 #define $ac_func innocuous_$ac_func
13192 /* System header to define __stub macros and hopefully few prototypes,
13193 which can conflict with char $ac_func (); below.
13194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13195 <limits.h> exists even on freestanding compilers. */
13197 #ifdef __STDC__
13198 # include <limits.h>
13199 #else
13200 # include <assert.h>
13201 #endif
13203 #undef $ac_func
13205 /* Override any gcc2 internal prototype to avoid an error. */
13206 #ifdef __cplusplus
13207 extern "C"
13209 #endif
13210 /* We use char because int might match the return type of a gcc2
13211 builtin and then its argument prototype would still apply. */
13212 char $ac_func ();
13213 /* The GNU C library defines this for functions which it implements
13214 to always fail with ENOSYS. Some functions are actually named
13215 something starting with __ and the normal name is an alias. */
13216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13217 choke me
13218 #else
13219 char (*f) () = $ac_func;
13220 #endif
13221 #ifdef __cplusplus
13223 #endif
13226 main ()
13228 return f != $ac_func;
13230 return 0;
13232 _ACEOF
13233 rm -f conftest.$ac_objext conftest$ac_exeext
13234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13235 (eval $ac_link) 2>conftest.er1
13236 ac_status=$?
13237 grep -v '^ *+' conftest.er1 >conftest.err
13238 rm -f conftest.er1
13239 cat conftest.err >&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); } &&
13242 { ac_try='test -z "$ac_c_werror_flag"
13243 || test ! -s conftest.err'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13246 ac_status=$?
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; } &&
13249 { ac_try='test -s conftest$ac_exeext'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; }; then
13255 eval "$as_ac_var=yes"
13256 else
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 eval "$as_ac_var=no"
13262 rm -f conftest.err conftest.$ac_objext \
13263 conftest$ac_exeext conftest.$ac_ext
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13267 if test `eval echo '${'$as_ac_var'}'` = yes; then
13268 cat >>confdefs.h <<_ACEOF
13269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13270 _ACEOF
13273 done
13283 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13284 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13285 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13286 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 else
13292 ac_ext=cc
13293 ac_cpp='$CXXCPP $CPPFLAGS'
13294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13298 cat >conftest.$ac_ext <<_ACEOF
13299 /* confdefs.h. */
13300 _ACEOF
13301 cat confdefs.h >>conftest.$ac_ext
13302 cat >>conftest.$ac_ext <<_ACEOF
13303 /* end confdefs.h. */
13304 #include <math.h>
13305 #ifdef HAVE_IEEEFP_H
13306 #include <ieeefp.h>
13307 #endif
13310 main ()
13312 isinff(0);
13314 return 0;
13316 _ACEOF
13317 rm -f conftest.$ac_objext
13318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13319 (eval $ac_compile) 2>conftest.er1
13320 ac_status=$?
13321 grep -v '^ *+' conftest.er1 >conftest.err
13322 rm -f conftest.er1
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } &&
13326 { ac_try='test -z "$ac_cxx_werror_flag"
13327 || test ! -s conftest.err'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; } &&
13333 { ac_try='test -s conftest.$ac_objext'
13334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13335 (eval $ac_try) 2>&5
13336 ac_status=$?
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }; }; then
13339 glibcxx_cv_func_isinff_use=yes
13340 else
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.$ac_ext >&5
13344 glibcxx_cv_func_isinff_use=no
13346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13347 ac_ext=c
13348 ac_cpp='$CPP $CPPFLAGS'
13349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13358 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13360 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13362 for ac_func in isinff
13364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13365 echo "$as_me:$LINENO: checking for $ac_func" >&5
13366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13367 if eval "test \"\${$as_ac_var+set}\" = set"; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13369 else
13370 if test x$gcc_no_link = xyes; then
13371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13373 { (exit 1); exit 1; }; }
13375 cat >conftest.$ac_ext <<_ACEOF
13376 /* confdefs.h. */
13377 _ACEOF
13378 cat confdefs.h >>conftest.$ac_ext
13379 cat >>conftest.$ac_ext <<_ACEOF
13380 /* end confdefs.h. */
13381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13383 #define $ac_func innocuous_$ac_func
13385 /* System header to define __stub macros and hopefully few prototypes,
13386 which can conflict with char $ac_func (); below.
13387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13388 <limits.h> exists even on freestanding compilers. */
13390 #ifdef __STDC__
13391 # include <limits.h>
13392 #else
13393 # include <assert.h>
13394 #endif
13396 #undef $ac_func
13398 /* Override any gcc2 internal prototype to avoid an error. */
13399 #ifdef __cplusplus
13400 extern "C"
13402 #endif
13403 /* We use char because int might match the return type of a gcc2
13404 builtin and then its argument prototype would still apply. */
13405 char $ac_func ();
13406 /* The GNU C library defines this for functions which it implements
13407 to always fail with ENOSYS. Some functions are actually named
13408 something starting with __ and the normal name is an alias. */
13409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13410 choke me
13411 #else
13412 char (*f) () = $ac_func;
13413 #endif
13414 #ifdef __cplusplus
13416 #endif
13419 main ()
13421 return f != $ac_func;
13423 return 0;
13425 _ACEOF
13426 rm -f conftest.$ac_objext conftest$ac_exeext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13428 (eval $ac_link) 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } &&
13435 { ac_try='test -z "$ac_c_werror_flag"
13436 || test ! -s conftest.err'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13439 ac_status=$?
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; } &&
13442 { ac_try='test -s conftest$ac_exeext'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13445 ac_status=$?
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; }; then
13448 eval "$as_ac_var=yes"
13449 else
13450 echo "$as_me: failed program was:" >&5
13451 sed 's/^/| /' conftest.$ac_ext >&5
13453 eval "$as_ac_var=no"
13455 rm -f conftest.err conftest.$ac_objext \
13456 conftest$ac_exeext conftest.$ac_ext
13458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13460 if test `eval echo '${'$as_ac_var'}'` = yes; then
13461 cat >>confdefs.h <<_ACEOF
13462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13463 _ACEOF
13466 done
13468 else
13470 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13471 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13472 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13473 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 else
13479 ac_ext=cc
13480 ac_cpp='$CXXCPP $CPPFLAGS'
13481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13485 cat >conftest.$ac_ext <<_ACEOF
13486 /* confdefs.h. */
13487 _ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 #include <math.h>
13492 #ifdef HAVE_IEEEFP_H
13493 #include <ieeefp.h>
13494 #endif
13497 main ()
13499 _isinff(0);
13501 return 0;
13503 _ACEOF
13504 rm -f conftest.$ac_objext
13505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13506 (eval $ac_compile) 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try='test -z "$ac_cxx_werror_flag"
13514 || test ! -s conftest.err'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; } &&
13520 { ac_try='test -s conftest.$ac_objext'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13523 ac_status=$?
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; }; then
13526 glibcxx_cv_func__isinff_use=yes
13527 else
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.$ac_ext >&5
13531 glibcxx_cv_func__isinff_use=no
13533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13534 ac_ext=c
13535 ac_cpp='$CPP $CPPFLAGS'
13536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13545 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13547 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13549 for ac_func in _isinff
13551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13552 echo "$as_me:$LINENO: checking for $ac_func" >&5
13553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13554 if eval "test \"\${$as_ac_var+set}\" = set"; then
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
13556 else
13557 if test x$gcc_no_link = xyes; then
13558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13560 { (exit 1); exit 1; }; }
13562 cat >conftest.$ac_ext <<_ACEOF
13563 /* confdefs.h. */
13564 _ACEOF
13565 cat confdefs.h >>conftest.$ac_ext
13566 cat >>conftest.$ac_ext <<_ACEOF
13567 /* end confdefs.h. */
13568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13570 #define $ac_func innocuous_$ac_func
13572 /* System header to define __stub macros and hopefully few prototypes,
13573 which can conflict with char $ac_func (); below.
13574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13575 <limits.h> exists even on freestanding compilers. */
13577 #ifdef __STDC__
13578 # include <limits.h>
13579 #else
13580 # include <assert.h>
13581 #endif
13583 #undef $ac_func
13585 /* Override any gcc2 internal prototype to avoid an error. */
13586 #ifdef __cplusplus
13587 extern "C"
13589 #endif
13590 /* We use char because int might match the return type of a gcc2
13591 builtin and then its argument prototype would still apply. */
13592 char $ac_func ();
13593 /* The GNU C library defines this for functions which it implements
13594 to always fail with ENOSYS. Some functions are actually named
13595 something starting with __ and the normal name is an alias. */
13596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13597 choke me
13598 #else
13599 char (*f) () = $ac_func;
13600 #endif
13601 #ifdef __cplusplus
13603 #endif
13606 main ()
13608 return f != $ac_func;
13610 return 0;
13612 _ACEOF
13613 rm -f conftest.$ac_objext conftest$ac_exeext
13614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13615 (eval $ac_link) 2>conftest.er1
13616 ac_status=$?
13617 grep -v '^ *+' conftest.er1 >conftest.err
13618 rm -f conftest.er1
13619 cat conftest.err >&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try='test -z "$ac_c_werror_flag"
13623 || test ! -s conftest.err'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13626 ac_status=$?
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try='test -s conftest$ac_exeext'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13632 ac_status=$?
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; }; then
13635 eval "$as_ac_var=yes"
13636 else
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13640 eval "$as_ac_var=no"
13642 rm -f conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13647 if test `eval echo '${'$as_ac_var'}'` = yes; then
13648 cat >>confdefs.h <<_ACEOF
13649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13650 _ACEOF
13653 done
13663 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13664 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13665 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13666 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13667 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 else
13672 ac_ext=cc
13673 ac_cpp='$CXXCPP $CPPFLAGS'
13674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13678 cat >conftest.$ac_ext <<_ACEOF
13679 /* confdefs.h. */
13680 _ACEOF
13681 cat confdefs.h >>conftest.$ac_ext
13682 cat >>conftest.$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13684 #include <math.h>
13686 main ()
13688 atan2f(0, 0);
13690 return 0;
13692 _ACEOF
13693 rm -f conftest.$ac_objext
13694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13695 (eval $ac_compile) 2>conftest.er1
13696 ac_status=$?
13697 grep -v '^ *+' conftest.er1 >conftest.err
13698 rm -f conftest.er1
13699 cat conftest.err >&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); } &&
13702 { ac_try='test -z "$ac_cxx_werror_flag"
13703 || test ! -s conftest.err'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13706 ac_status=$?
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; } &&
13709 { ac_try='test -s conftest.$ac_objext'
13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711 (eval $ac_try) 2>&5
13712 ac_status=$?
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; }; then
13715 glibcxx_cv_func_atan2f_use=yes
13716 else
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.$ac_ext >&5
13720 glibcxx_cv_func_atan2f_use=no
13722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13723 ac_ext=c
13724 ac_cpp='$CPP $CPPFLAGS'
13725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13734 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13736 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13738 for ac_func in atan2f
13740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13741 echo "$as_me:$LINENO: checking for $ac_func" >&5
13742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13743 if eval "test \"\${$as_ac_var+set}\" = set"; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 else
13746 if test x$gcc_no_link = xyes; then
13747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13749 { (exit 1); exit 1; }; }
13751 cat >conftest.$ac_ext <<_ACEOF
13752 /* confdefs.h. */
13753 _ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13759 #define $ac_func innocuous_$ac_func
13761 /* System header to define __stub macros and hopefully few prototypes,
13762 which can conflict with char $ac_func (); below.
13763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13764 <limits.h> exists even on freestanding compilers. */
13766 #ifdef __STDC__
13767 # include <limits.h>
13768 #else
13769 # include <assert.h>
13770 #endif
13772 #undef $ac_func
13774 /* Override any gcc2 internal prototype to avoid an error. */
13775 #ifdef __cplusplus
13776 extern "C"
13778 #endif
13779 /* We use char because int might match the return type of a gcc2
13780 builtin and then its argument prototype would still apply. */
13781 char $ac_func ();
13782 /* The GNU C library defines this for functions which it implements
13783 to always fail with ENOSYS. Some functions are actually named
13784 something starting with __ and the normal name is an alias. */
13785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13786 choke me
13787 #else
13788 char (*f) () = $ac_func;
13789 #endif
13790 #ifdef __cplusplus
13792 #endif
13795 main ()
13797 return f != $ac_func;
13799 return 0;
13801 _ACEOF
13802 rm -f conftest.$ac_objext conftest$ac_exeext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13804 (eval $ac_link) 2>conftest.er1
13805 ac_status=$?
13806 grep -v '^ *+' conftest.er1 >conftest.err
13807 rm -f conftest.er1
13808 cat conftest.err >&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } &&
13811 { ac_try='test -z "$ac_c_werror_flag"
13812 || test ! -s conftest.err'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; } &&
13818 { ac_try='test -s conftest$ac_exeext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13821 ac_status=$?
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 eval "$as_ac_var=yes"
13825 else
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.$ac_ext >&5
13829 eval "$as_ac_var=no"
13831 rm -f conftest.err conftest.$ac_objext \
13832 conftest$ac_exeext conftest.$ac_ext
13834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13836 if test `eval echo '${'$as_ac_var'}'` = yes; then
13837 cat >>confdefs.h <<_ACEOF
13838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13839 _ACEOF
13842 done
13844 else
13846 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13847 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13848 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13849 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13855 ac_ext=cc
13856 ac_cpp='$CXXCPP $CPPFLAGS'
13857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13861 cat >conftest.$ac_ext <<_ACEOF
13862 /* confdefs.h. */
13863 _ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 #include <math.h>
13869 main ()
13871 _atan2f(0, 0);
13873 return 0;
13875 _ACEOF
13876 rm -f conftest.$ac_objext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878 (eval $ac_compile) 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } &&
13885 { ac_try='test -z "$ac_cxx_werror_flag"
13886 || test ! -s conftest.err'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13889 ac_status=$?
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; } &&
13892 { ac_try='test -s conftest.$ac_objext'
13893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13894 (eval $ac_try) 2>&5
13895 ac_status=$?
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); }; }; then
13898 glibcxx_cv_func__atan2f_use=yes
13899 else
13900 echo "$as_me: failed program was:" >&5
13901 sed 's/^/| /' conftest.$ac_ext >&5
13903 glibcxx_cv_func__atan2f_use=no
13905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13906 ac_ext=c
13907 ac_cpp='$CPP $CPPFLAGS'
13908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13917 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13919 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13921 for ac_func in _atan2f
13923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13924 echo "$as_me:$LINENO: checking for $ac_func" >&5
13925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13926 if eval "test \"\${$as_ac_var+set}\" = set"; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 else
13929 if test x$gcc_no_link = xyes; then
13930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13932 { (exit 1); exit 1; }; }
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13942 #define $ac_func innocuous_$ac_func
13944 /* System header to define __stub macros and hopefully few prototypes,
13945 which can conflict with char $ac_func (); below.
13946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13947 <limits.h> exists even on freestanding compilers. */
13949 #ifdef __STDC__
13950 # include <limits.h>
13951 #else
13952 # include <assert.h>
13953 #endif
13955 #undef $ac_func
13957 /* Override any gcc2 internal prototype to avoid an error. */
13958 #ifdef __cplusplus
13959 extern "C"
13961 #endif
13962 /* We use char because int might match the return type of a gcc2
13963 builtin and then its argument prototype would still apply. */
13964 char $ac_func ();
13965 /* The GNU C library defines this for functions which it implements
13966 to always fail with ENOSYS. Some functions are actually named
13967 something starting with __ and the normal name is an alias. */
13968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13969 choke me
13970 #else
13971 char (*f) () = $ac_func;
13972 #endif
13973 #ifdef __cplusplus
13975 #endif
13978 main ()
13980 return f != $ac_func;
13982 return 0;
13984 _ACEOF
13985 rm -f conftest.$ac_objext conftest$ac_exeext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987 (eval $ac_link) 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag"
13995 || test ! -s conftest.err'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13998 ac_status=$?
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; } &&
14001 { ac_try='test -s conftest$ac_exeext'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; }; then
14007 eval "$as_ac_var=yes"
14008 else
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14012 eval "$as_ac_var=no"
14014 rm -f conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14019 if test `eval echo '${'$as_ac_var'}'` = yes; then
14020 cat >>confdefs.h <<_ACEOF
14021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14022 _ACEOF
14025 done
14035 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
14036 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
14037 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
14038 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 else
14044 ac_ext=cc
14045 ac_cpp='$CXXCPP $CPPFLAGS'
14046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14050 cat >conftest.$ac_ext <<_ACEOF
14051 /* confdefs.h. */
14052 _ACEOF
14053 cat confdefs.h >>conftest.$ac_ext
14054 cat >>conftest.$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 #include <math.h>
14057 #ifdef HAVE_IEEEFP_H
14058 #include <ieeefp.h>
14059 #endif
14062 main ()
14064 fabsf(0);
14066 return 0;
14068 _ACEOF
14069 rm -f conftest.$ac_objext
14070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14071 (eval $ac_compile) 2>conftest.er1
14072 ac_status=$?
14073 grep -v '^ *+' conftest.er1 >conftest.err
14074 rm -f conftest.er1
14075 cat conftest.err >&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } &&
14078 { ac_try='test -z "$ac_cxx_werror_flag"
14079 || test ! -s conftest.err'
14080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14081 (eval $ac_try) 2>&5
14082 ac_status=$?
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); }; } &&
14085 { ac_try='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14088 ac_status=$?
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 glibcxx_cv_func_fabsf_use=yes
14092 else
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5
14096 glibcxx_cv_func_fabsf_use=no
14098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14099 ac_ext=c
14100 ac_cpp='$CPP $CPPFLAGS'
14101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
14110 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
14112 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
14114 for ac_func in fabsf
14116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14117 echo "$as_me:$LINENO: checking for $ac_func" >&5
14118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14119 if eval "test \"\${$as_ac_var+set}\" = set"; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 else
14122 if test x$gcc_no_link = xyes; then
14123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14125 { (exit 1); exit 1; }; }
14127 cat >conftest.$ac_ext <<_ACEOF
14128 /* confdefs.h. */
14129 _ACEOF
14130 cat confdefs.h >>conftest.$ac_ext
14131 cat >>conftest.$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14135 #define $ac_func innocuous_$ac_func
14137 /* System header to define __stub macros and hopefully few prototypes,
14138 which can conflict with char $ac_func (); below.
14139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14140 <limits.h> exists even on freestanding compilers. */
14142 #ifdef __STDC__
14143 # include <limits.h>
14144 #else
14145 # include <assert.h>
14146 #endif
14148 #undef $ac_func
14150 /* Override any gcc2 internal prototype to avoid an error. */
14151 #ifdef __cplusplus
14152 extern "C"
14154 #endif
14155 /* We use char because int might match the return type of a gcc2
14156 builtin and then its argument prototype would still apply. */
14157 char $ac_func ();
14158 /* The GNU C library defines this for functions which it implements
14159 to always fail with ENOSYS. Some functions are actually named
14160 something starting with __ and the normal name is an alias. */
14161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14162 choke me
14163 #else
14164 char (*f) () = $ac_func;
14165 #endif
14166 #ifdef __cplusplus
14168 #endif
14171 main ()
14173 return f != $ac_func;
14175 return 0;
14177 _ACEOF
14178 rm -f conftest.$ac_objext conftest$ac_exeext
14179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14180 (eval $ac_link) 2>conftest.er1
14181 ac_status=$?
14182 grep -v '^ *+' conftest.er1 >conftest.err
14183 rm -f conftest.er1
14184 cat conftest.err >&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } &&
14187 { ac_try='test -z "$ac_c_werror_flag"
14188 || test ! -s conftest.err'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; } &&
14194 { ac_try='test -s conftest$ac_exeext'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14197 ac_status=$?
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; }; then
14200 eval "$as_ac_var=yes"
14201 else
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.$ac_ext >&5
14205 eval "$as_ac_var=no"
14207 rm -f conftest.err conftest.$ac_objext \
14208 conftest$ac_exeext conftest.$ac_ext
14210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14212 if test `eval echo '${'$as_ac_var'}'` = yes; then
14213 cat >>confdefs.h <<_ACEOF
14214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14215 _ACEOF
14218 done
14220 else
14222 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14223 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14224 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14225 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14226 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 else
14231 ac_ext=cc
14232 ac_cpp='$CXXCPP $CPPFLAGS'
14233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14237 cat >conftest.$ac_ext <<_ACEOF
14238 /* confdefs.h. */
14239 _ACEOF
14240 cat confdefs.h >>conftest.$ac_ext
14241 cat >>conftest.$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 #include <math.h>
14244 #ifdef HAVE_IEEEFP_H
14245 #include <ieeefp.h>
14246 #endif
14249 main ()
14251 _fabsf(0);
14253 return 0;
14255 _ACEOF
14256 rm -f conftest.$ac_objext
14257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14258 (eval $ac_compile) 2>conftest.er1
14259 ac_status=$?
14260 grep -v '^ *+' conftest.er1 >conftest.err
14261 rm -f conftest.er1
14262 cat conftest.err >&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } &&
14265 { ac_try='test -z "$ac_cxx_werror_flag"
14266 || test ! -s conftest.err'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14269 ac_status=$?
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; } &&
14272 { ac_try='test -s conftest.$ac_objext'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; }; then
14278 glibcxx_cv_func__fabsf_use=yes
14279 else
14280 echo "$as_me: failed program was:" >&5
14281 sed 's/^/| /' conftest.$ac_ext >&5
14283 glibcxx_cv_func__fabsf_use=no
14285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14286 ac_ext=c
14287 ac_cpp='$CPP $CPPFLAGS'
14288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14297 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14299 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14301 for ac_func in _fabsf
14303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14304 echo "$as_me:$LINENO: checking for $ac_func" >&5
14305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14306 if eval "test \"\${$as_ac_var+set}\" = set"; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 else
14309 if test x$gcc_no_link = xyes; then
14310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14312 { (exit 1); exit 1; }; }
14314 cat >conftest.$ac_ext <<_ACEOF
14315 /* confdefs.h. */
14316 _ACEOF
14317 cat confdefs.h >>conftest.$ac_ext
14318 cat >>conftest.$ac_ext <<_ACEOF
14319 /* end confdefs.h. */
14320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14322 #define $ac_func innocuous_$ac_func
14324 /* System header to define __stub macros and hopefully few prototypes,
14325 which can conflict with char $ac_func (); below.
14326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14327 <limits.h> exists even on freestanding compilers. */
14329 #ifdef __STDC__
14330 # include <limits.h>
14331 #else
14332 # include <assert.h>
14333 #endif
14335 #undef $ac_func
14337 /* Override any gcc2 internal prototype to avoid an error. */
14338 #ifdef __cplusplus
14339 extern "C"
14341 #endif
14342 /* We use char because int might match the return type of a gcc2
14343 builtin and then its argument prototype would still apply. */
14344 char $ac_func ();
14345 /* The GNU C library defines this for functions which it implements
14346 to always fail with ENOSYS. Some functions are actually named
14347 something starting with __ and the normal name is an alias. */
14348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14349 choke me
14350 #else
14351 char (*f) () = $ac_func;
14352 #endif
14353 #ifdef __cplusplus
14355 #endif
14358 main ()
14360 return f != $ac_func;
14362 return 0;
14364 _ACEOF
14365 rm -f conftest.$ac_objext conftest$ac_exeext
14366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14367 (eval $ac_link) 2>conftest.er1
14368 ac_status=$?
14369 grep -v '^ *+' conftest.er1 >conftest.err
14370 rm -f conftest.er1
14371 cat conftest.err >&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } &&
14374 { ac_try='test -z "$ac_c_werror_flag"
14375 || test ! -s conftest.err'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; } &&
14381 { ac_try='test -s conftest$ac_exeext'
14382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14383 (eval $ac_try) 2>&5
14384 ac_status=$?
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); }; }; then
14387 eval "$as_ac_var=yes"
14388 else
14389 echo "$as_me: failed program was:" >&5
14390 sed 's/^/| /' conftest.$ac_ext >&5
14392 eval "$as_ac_var=no"
14394 rm -f conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14399 if test `eval echo '${'$as_ac_var'}'` = yes; then
14400 cat >>confdefs.h <<_ACEOF
14401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14402 _ACEOF
14405 done
14415 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14416 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14417 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14418 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 else
14424 ac_ext=cc
14425 ac_cpp='$CXXCPP $CPPFLAGS'
14426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14430 cat >conftest.$ac_ext <<_ACEOF
14431 /* confdefs.h. */
14432 _ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 #include <math.h>
14438 main ()
14440 fmodf(0, 0);
14442 return 0;
14444 _ACEOF
14445 rm -f conftest.$ac_objext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>conftest.er1
14448 ac_status=$?
14449 grep -v '^ *+' conftest.er1 >conftest.err
14450 rm -f conftest.er1
14451 cat conftest.err >&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try='test -z "$ac_cxx_werror_flag"
14455 || test ! -s conftest.err'
14456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457 (eval $ac_try) 2>&5
14458 ac_status=$?
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; } &&
14461 { ac_try='test -s conftest.$ac_objext'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14464 ac_status=$?
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; }; then
14467 glibcxx_cv_func_fmodf_use=yes
14468 else
14469 echo "$as_me: failed program was:" >&5
14470 sed 's/^/| /' conftest.$ac_ext >&5
14472 glibcxx_cv_func_fmodf_use=no
14474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14475 ac_ext=c
14476 ac_cpp='$CPP $CPPFLAGS'
14477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14486 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14488 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14490 for ac_func in fmodf
14492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14493 echo "$as_me:$LINENO: checking for $ac_func" >&5
14494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14495 if eval "test \"\${$as_ac_var+set}\" = set"; then
14496 echo $ECHO_N "(cached) $ECHO_C" >&6
14497 else
14498 if test x$gcc_no_link = xyes; then
14499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14501 { (exit 1); exit 1; }; }
14503 cat >conftest.$ac_ext <<_ACEOF
14504 /* confdefs.h. */
14505 _ACEOF
14506 cat confdefs.h >>conftest.$ac_ext
14507 cat >>conftest.$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14511 #define $ac_func innocuous_$ac_func
14513 /* System header to define __stub macros and hopefully few prototypes,
14514 which can conflict with char $ac_func (); below.
14515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14516 <limits.h> exists even on freestanding compilers. */
14518 #ifdef __STDC__
14519 # include <limits.h>
14520 #else
14521 # include <assert.h>
14522 #endif
14524 #undef $ac_func
14526 /* Override any gcc2 internal prototype to avoid an error. */
14527 #ifdef __cplusplus
14528 extern "C"
14530 #endif
14531 /* We use char because int might match the return type of a gcc2
14532 builtin and then its argument prototype would still apply. */
14533 char $ac_func ();
14534 /* The GNU C library defines this for functions which it implements
14535 to always fail with ENOSYS. Some functions are actually named
14536 something starting with __ and the normal name is an alias. */
14537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14538 choke me
14539 #else
14540 char (*f) () = $ac_func;
14541 #endif
14542 #ifdef __cplusplus
14544 #endif
14547 main ()
14549 return f != $ac_func;
14551 return 0;
14553 _ACEOF
14554 rm -f conftest.$ac_objext conftest$ac_exeext
14555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14556 (eval $ac_link) 2>conftest.er1
14557 ac_status=$?
14558 grep -v '^ *+' conftest.er1 >conftest.err
14559 rm -f conftest.er1
14560 cat conftest.err >&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); } &&
14563 { ac_try='test -z "$ac_c_werror_flag"
14564 || test ! -s conftest.err'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14567 ac_status=$?
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; } &&
14570 { ac_try='test -s conftest$ac_exeext'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14573 ac_status=$?
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; }; then
14576 eval "$as_ac_var=yes"
14577 else
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14581 eval "$as_ac_var=no"
14583 rm -f conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14588 if test `eval echo '${'$as_ac_var'}'` = yes; then
14589 cat >>confdefs.h <<_ACEOF
14590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14591 _ACEOF
14594 done
14596 else
14598 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14599 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14600 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14601 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14602 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 else
14607 ac_ext=cc
14608 ac_cpp='$CXXCPP $CPPFLAGS'
14609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14613 cat >conftest.$ac_ext <<_ACEOF
14614 /* confdefs.h. */
14615 _ACEOF
14616 cat confdefs.h >>conftest.$ac_ext
14617 cat >>conftest.$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 #include <math.h>
14621 main ()
14623 _fmodf(0, 0);
14625 return 0;
14627 _ACEOF
14628 rm -f conftest.$ac_objext
14629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14630 (eval $ac_compile) 2>conftest.er1
14631 ac_status=$?
14632 grep -v '^ *+' conftest.er1 >conftest.err
14633 rm -f conftest.er1
14634 cat conftest.err >&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } &&
14637 { ac_try='test -z "$ac_cxx_werror_flag"
14638 || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14641 ac_status=$?
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } &&
14644 { ac_try='test -s conftest.$ac_objext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14647 ac_status=$?
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14650 glibcxx_cv_func__fmodf_use=yes
14651 else
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14655 glibcxx_cv_func__fmodf_use=no
14657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14658 ac_ext=c
14659 ac_cpp='$CPP $CPPFLAGS'
14660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14669 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14671 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14673 for ac_func in _fmodf
14675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14676 echo "$as_me:$LINENO: checking for $ac_func" >&5
14677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14678 if eval "test \"\${$as_ac_var+set}\" = set"; then
14679 echo $ECHO_N "(cached) $ECHO_C" >&6
14680 else
14681 if test x$gcc_no_link = xyes; then
14682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14684 { (exit 1); exit 1; }; }
14686 cat >conftest.$ac_ext <<_ACEOF
14687 /* confdefs.h. */
14688 _ACEOF
14689 cat confdefs.h >>conftest.$ac_ext
14690 cat >>conftest.$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14694 #define $ac_func innocuous_$ac_func
14696 /* System header to define __stub macros and hopefully few prototypes,
14697 which can conflict with char $ac_func (); below.
14698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14699 <limits.h> exists even on freestanding compilers. */
14701 #ifdef __STDC__
14702 # include <limits.h>
14703 #else
14704 # include <assert.h>
14705 #endif
14707 #undef $ac_func
14709 /* Override any gcc2 internal prototype to avoid an error. */
14710 #ifdef __cplusplus
14711 extern "C"
14713 #endif
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14716 char $ac_func ();
14717 /* The GNU C library defines this for functions which it implements
14718 to always fail with ENOSYS. Some functions are actually named
14719 something starting with __ and the normal name is an alias. */
14720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14721 choke me
14722 #else
14723 char (*f) () = $ac_func;
14724 #endif
14725 #ifdef __cplusplus
14727 #endif
14730 main ()
14732 return f != $ac_func;
14734 return 0;
14736 _ACEOF
14737 rm -f conftest.$ac_objext conftest$ac_exeext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14739 (eval $ac_link) 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try='test -z "$ac_c_werror_flag"
14747 || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try='test -s conftest$ac_exeext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14756 ac_status=$?
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 eval "$as_ac_var=yes"
14760 else
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.$ac_ext >&5
14764 eval "$as_ac_var=no"
14766 rm -f conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14771 if test `eval echo '${'$as_ac_var'}'` = yes; then
14772 cat >>confdefs.h <<_ACEOF
14773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14774 _ACEOF
14777 done
14787 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14788 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14789 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14790 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14791 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 else
14796 ac_ext=cc
14797 ac_cpp='$CXXCPP $CPPFLAGS'
14798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14802 cat >conftest.$ac_ext <<_ACEOF
14803 /* confdefs.h. */
14804 _ACEOF
14805 cat confdefs.h >>conftest.$ac_ext
14806 cat >>conftest.$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 #include <math.h>
14810 main ()
14812 frexpf(0, 0);
14814 return 0;
14816 _ACEOF
14817 rm -f conftest.$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>conftest.er1
14820 ac_status=$?
14821 grep -v '^ *+' conftest.er1 >conftest.err
14822 rm -f conftest.er1
14823 cat conftest.err >&5
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } &&
14826 { ac_try='test -z "$ac_cxx_werror_flag"
14827 || test ! -s conftest.err'
14828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14829 (eval $ac_try) 2>&5
14830 ac_status=$?
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; } &&
14833 { ac_try='test -s conftest.$ac_objext'
14834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14835 (eval $ac_try) 2>&5
14836 ac_status=$?
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); }; }; then
14839 glibcxx_cv_func_frexpf_use=yes
14840 else
14841 echo "$as_me: failed program was:" >&5
14842 sed 's/^/| /' conftest.$ac_ext >&5
14844 glibcxx_cv_func_frexpf_use=no
14846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14847 ac_ext=c
14848 ac_cpp='$CPP $CPPFLAGS'
14849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14858 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14860 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14862 for ac_func in frexpf
14864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14865 echo "$as_me:$LINENO: checking for $ac_func" >&5
14866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14867 if eval "test \"\${$as_ac_var+set}\" = set"; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 else
14870 if test x$gcc_no_link = xyes; then
14871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14873 { (exit 1); exit 1; }; }
14875 cat >conftest.$ac_ext <<_ACEOF
14876 /* confdefs.h. */
14877 _ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14883 #define $ac_func innocuous_$ac_func
14885 /* System header to define __stub macros and hopefully few prototypes,
14886 which can conflict with char $ac_func (); below.
14887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14888 <limits.h> exists even on freestanding compilers. */
14890 #ifdef __STDC__
14891 # include <limits.h>
14892 #else
14893 # include <assert.h>
14894 #endif
14896 #undef $ac_func
14898 /* Override any gcc2 internal prototype to avoid an error. */
14899 #ifdef __cplusplus
14900 extern "C"
14902 #endif
14903 /* We use char because int might match the return type of a gcc2
14904 builtin and then its argument prototype would still apply. */
14905 char $ac_func ();
14906 /* The GNU C library defines this for functions which it implements
14907 to always fail with ENOSYS. Some functions are actually named
14908 something starting with __ and the normal name is an alias. */
14909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14910 choke me
14911 #else
14912 char (*f) () = $ac_func;
14913 #endif
14914 #ifdef __cplusplus
14916 #endif
14919 main ()
14921 return f != $ac_func;
14923 return 0;
14925 _ACEOF
14926 rm -f conftest.$ac_objext conftest$ac_exeext
14927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14928 (eval $ac_link) 2>conftest.er1
14929 ac_status=$?
14930 grep -v '^ *+' conftest.er1 >conftest.err
14931 rm -f conftest.er1
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -z "$ac_c_werror_flag"
14936 || test ! -s conftest.err'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; } &&
14942 { ac_try='test -s conftest$ac_exeext'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; }; then
14948 eval "$as_ac_var=yes"
14949 else
14950 echo "$as_me: failed program was:" >&5
14951 sed 's/^/| /' conftest.$ac_ext >&5
14953 eval "$as_ac_var=no"
14955 rm -f conftest.err conftest.$ac_objext \
14956 conftest$ac_exeext conftest.$ac_ext
14958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14960 if test `eval echo '${'$as_ac_var'}'` = yes; then
14961 cat >>confdefs.h <<_ACEOF
14962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14963 _ACEOF
14966 done
14968 else
14970 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14971 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14972 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14973 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14974 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 else
14979 ac_ext=cc
14980 ac_cpp='$CXXCPP $CPPFLAGS'
14981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <math.h>
14993 main ()
14995 _frexpf(0, 0);
14997 return 0;
14999 _ACEOF
15000 rm -f conftest.$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>conftest.er1
15003 ac_status=$?
15004 grep -v '^ *+' conftest.er1 >conftest.err
15005 rm -f conftest.er1
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try='test -z "$ac_cxx_werror_flag"
15010 || test ! -s conftest.err'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15013 ac_status=$?
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; } &&
15016 { ac_try='test -s conftest.$ac_objext'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15019 ac_status=$?
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; }; then
15022 glibcxx_cv_func__frexpf_use=yes
15023 else
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15027 glibcxx_cv_func__frexpf_use=no
15029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15030 ac_ext=c
15031 ac_cpp='$CPP $CPPFLAGS'
15032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
15041 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
15043 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
15045 for ac_func in _frexpf
15047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15048 echo "$as_me:$LINENO: checking for $ac_func" >&5
15049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15050 if eval "test \"\${$as_ac_var+set}\" = set"; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15052 else
15053 if test x$gcc_no_link = xyes; then
15054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15056 { (exit 1); exit 1; }; }
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15066 #define $ac_func innocuous_$ac_func
15068 /* System header to define __stub macros and hopefully few prototypes,
15069 which can conflict with char $ac_func (); below.
15070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15071 <limits.h> exists even on freestanding compilers. */
15073 #ifdef __STDC__
15074 # include <limits.h>
15075 #else
15076 # include <assert.h>
15077 #endif
15079 #undef $ac_func
15081 /* Override any gcc2 internal prototype to avoid an error. */
15082 #ifdef __cplusplus
15083 extern "C"
15085 #endif
15086 /* We use char because int might match the return type of a gcc2
15087 builtin and then its argument prototype would still apply. */
15088 char $ac_func ();
15089 /* The GNU C library defines this for functions which it implements
15090 to always fail with ENOSYS. Some functions are actually named
15091 something starting with __ and the normal name is an alias. */
15092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15093 choke me
15094 #else
15095 char (*f) () = $ac_func;
15096 #endif
15097 #ifdef __cplusplus
15099 #endif
15102 main ()
15104 return f != $ac_func;
15106 return 0;
15108 _ACEOF
15109 rm -f conftest.$ac_objext conftest$ac_exeext
15110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15111 (eval $ac_link) 2>conftest.er1
15112 ac_status=$?
15113 grep -v '^ *+' conftest.er1 >conftest.err
15114 rm -f conftest.er1
15115 cat conftest.err >&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); } &&
15118 { ac_try='test -z "$ac_c_werror_flag"
15119 || test ! -s conftest.err'
15120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 (eval $ac_try) 2>&5
15122 ac_status=$?
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; } &&
15125 { ac_try='test -s conftest$ac_exeext'
15126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15127 (eval $ac_try) 2>&5
15128 ac_status=$?
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); }; }; then
15131 eval "$as_ac_var=yes"
15132 else
15133 echo "$as_me: failed program was:" >&5
15134 sed 's/^/| /' conftest.$ac_ext >&5
15136 eval "$as_ac_var=no"
15138 rm -f conftest.err conftest.$ac_objext \
15139 conftest$ac_exeext conftest.$ac_ext
15141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15143 if test `eval echo '${'$as_ac_var'}'` = yes; then
15144 cat >>confdefs.h <<_ACEOF
15145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15146 _ACEOF
15149 done
15159 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15160 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15161 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15162 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 else
15168 ac_ext=cc
15169 ac_cpp='$CXXCPP $CPPFLAGS'
15170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <math.h>
15182 main ()
15184 hypotf(0, 0);
15186 return 0;
15188 _ACEOF
15189 rm -f conftest.$ac_objext
15190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15191 (eval $ac_compile) 2>conftest.er1
15192 ac_status=$?
15193 grep -v '^ *+' conftest.er1 >conftest.err
15194 rm -f conftest.er1
15195 cat conftest.err >&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); } &&
15198 { ac_try='test -z "$ac_cxx_werror_flag"
15199 || test ! -s conftest.err'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; } &&
15205 { ac_try='test -s conftest.$ac_objext'
15206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 (eval $ac_try) 2>&5
15208 ac_status=$?
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); }; }; then
15211 glibcxx_cv_func_hypotf_use=yes
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15216 glibcxx_cv_func_hypotf_use=no
15218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15219 ac_ext=c
15220 ac_cpp='$CPP $CPPFLAGS'
15221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15230 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15232 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15234 for ac_func in hypotf
15236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15237 echo "$as_me:$LINENO: checking for $ac_func" >&5
15238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15239 if eval "test \"\${$as_ac_var+set}\" = set"; then
15240 echo $ECHO_N "(cached) $ECHO_C" >&6
15241 else
15242 if test x$gcc_no_link = xyes; then
15243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15245 { (exit 1); exit 1; }; }
15247 cat >conftest.$ac_ext <<_ACEOF
15248 /* confdefs.h. */
15249 _ACEOF
15250 cat confdefs.h >>conftest.$ac_ext
15251 cat >>conftest.$ac_ext <<_ACEOF
15252 /* end confdefs.h. */
15253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15255 #define $ac_func innocuous_$ac_func
15257 /* System header to define __stub macros and hopefully few prototypes,
15258 which can conflict with char $ac_func (); below.
15259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15260 <limits.h> exists even on freestanding compilers. */
15262 #ifdef __STDC__
15263 # include <limits.h>
15264 #else
15265 # include <assert.h>
15266 #endif
15268 #undef $ac_func
15270 /* Override any gcc2 internal prototype to avoid an error. */
15271 #ifdef __cplusplus
15272 extern "C"
15274 #endif
15275 /* We use char because int might match the return type of a gcc2
15276 builtin and then its argument prototype would still apply. */
15277 char $ac_func ();
15278 /* The GNU C library defines this for functions which it implements
15279 to always fail with ENOSYS. Some functions are actually named
15280 something starting with __ and the normal name is an alias. */
15281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15282 choke me
15283 #else
15284 char (*f) () = $ac_func;
15285 #endif
15286 #ifdef __cplusplus
15288 #endif
15291 main ()
15293 return f != $ac_func;
15295 return 0;
15297 _ACEOF
15298 rm -f conftest.$ac_objext conftest$ac_exeext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15300 (eval $ac_link) 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try='test -z "$ac_c_werror_flag"
15308 || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15311 ac_status=$?
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try='test -s conftest$ac_exeext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15317 ac_status=$?
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 eval "$as_ac_var=yes"
15321 else
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15325 eval "$as_ac_var=no"
15327 rm -f conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15332 if test `eval echo '${'$as_ac_var'}'` = yes; then
15333 cat >>confdefs.h <<_ACEOF
15334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15335 _ACEOF
15338 done
15340 else
15342 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15343 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15344 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15345 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15351 ac_ext=cc
15352 ac_cpp='$CXXCPP $CPPFLAGS'
15353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15357 cat >conftest.$ac_ext <<_ACEOF
15358 /* confdefs.h. */
15359 _ACEOF
15360 cat confdefs.h >>conftest.$ac_ext
15361 cat >>conftest.$ac_ext <<_ACEOF
15362 /* end confdefs.h. */
15363 #include <math.h>
15365 main ()
15367 _hypotf(0, 0);
15369 return 0;
15371 _ACEOF
15372 rm -f conftest.$ac_objext
15373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374 (eval $ac_compile) 2>conftest.er1
15375 ac_status=$?
15376 grep -v '^ *+' conftest.er1 >conftest.err
15377 rm -f conftest.er1
15378 cat conftest.err >&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try='test -z "$ac_cxx_werror_flag"
15382 || test ! -s conftest.err'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15385 ac_status=$?
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; } &&
15388 { ac_try='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15394 glibcxx_cv_func__hypotf_use=yes
15395 else
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15399 glibcxx_cv_func__hypotf_use=no
15401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15402 ac_ext=c
15403 ac_cpp='$CPP $CPPFLAGS'
15404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15413 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15415 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15417 for ac_func in _hypotf
15419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15420 echo "$as_me:$LINENO: checking for $ac_func" >&5
15421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15422 if eval "test \"\${$as_ac_var+set}\" = set"; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 else
15425 if test x$gcc_no_link = xyes; then
15426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15428 { (exit 1); exit 1; }; }
15430 cat >conftest.$ac_ext <<_ACEOF
15431 /* confdefs.h. */
15432 _ACEOF
15433 cat confdefs.h >>conftest.$ac_ext
15434 cat >>conftest.$ac_ext <<_ACEOF
15435 /* end confdefs.h. */
15436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15438 #define $ac_func innocuous_$ac_func
15440 /* System header to define __stub macros and hopefully few prototypes,
15441 which can conflict with char $ac_func (); below.
15442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15443 <limits.h> exists even on freestanding compilers. */
15445 #ifdef __STDC__
15446 # include <limits.h>
15447 #else
15448 # include <assert.h>
15449 #endif
15451 #undef $ac_func
15453 /* Override any gcc2 internal prototype to avoid an error. */
15454 #ifdef __cplusplus
15455 extern "C"
15457 #endif
15458 /* We use char because int might match the return type of a gcc2
15459 builtin and then its argument prototype would still apply. */
15460 char $ac_func ();
15461 /* The GNU C library defines this for functions which it implements
15462 to always fail with ENOSYS. Some functions are actually named
15463 something starting with __ and the normal name is an alias. */
15464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15465 choke me
15466 #else
15467 char (*f) () = $ac_func;
15468 #endif
15469 #ifdef __cplusplus
15471 #endif
15474 main ()
15476 return f != $ac_func;
15478 return 0;
15480 _ACEOF
15481 rm -f conftest.$ac_objext conftest$ac_exeext
15482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15483 (eval $ac_link) 2>conftest.er1
15484 ac_status=$?
15485 grep -v '^ *+' conftest.er1 >conftest.err
15486 rm -f conftest.er1
15487 cat conftest.err >&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } &&
15490 { ac_try='test -z "$ac_c_werror_flag"
15491 || test ! -s conftest.err'
15492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493 (eval $ac_try) 2>&5
15494 ac_status=$?
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }; } &&
15497 { ac_try='test -s conftest$ac_exeext'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15500 ac_status=$?
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; }; then
15503 eval "$as_ac_var=yes"
15504 else
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15508 eval "$as_ac_var=no"
15510 rm -f conftest.err conftest.$ac_objext \
15511 conftest$ac_exeext conftest.$ac_ext
15513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15515 if test `eval echo '${'$as_ac_var'}'` = yes; then
15516 cat >>confdefs.h <<_ACEOF
15517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15518 _ACEOF
15521 done
15531 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15532 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15533 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15534 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15540 ac_ext=cc
15541 ac_cpp='$CXXCPP $CPPFLAGS'
15542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15546 cat >conftest.$ac_ext <<_ACEOF
15547 /* confdefs.h. */
15548 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15552 #include <math.h>
15554 main ()
15556 ldexpf(0, 0);
15558 return 0;
15560 _ACEOF
15561 rm -f conftest.$ac_objext
15562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15563 (eval $ac_compile) 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } &&
15570 { ac_try='test -z "$ac_cxx_werror_flag"
15571 || test ! -s conftest.err'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15574 ac_status=$?
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; } &&
15577 { ac_try='test -s conftest.$ac_objext'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15580 ac_status=$?
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; }; then
15583 glibcxx_cv_func_ldexpf_use=yes
15584 else
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15588 glibcxx_cv_func_ldexpf_use=no
15590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15591 ac_ext=c
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15602 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15604 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15606 for ac_func in ldexpf
15608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15609 echo "$as_me:$LINENO: checking for $ac_func" >&5
15610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15611 if eval "test \"\${$as_ac_var+set}\" = set"; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614 if test x$gcc_no_link = xyes; then
15615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15617 { (exit 1); exit 1; }; }
15619 cat >conftest.$ac_ext <<_ACEOF
15620 /* confdefs.h. */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15627 #define $ac_func innocuous_$ac_func
15629 /* System header to define __stub macros and hopefully few prototypes,
15630 which can conflict with char $ac_func (); below.
15631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15632 <limits.h> exists even on freestanding compilers. */
15634 #ifdef __STDC__
15635 # include <limits.h>
15636 #else
15637 # include <assert.h>
15638 #endif
15640 #undef $ac_func
15642 /* Override any gcc2 internal prototype to avoid an error. */
15643 #ifdef __cplusplus
15644 extern "C"
15646 #endif
15647 /* We use char because int might match the return type of a gcc2
15648 builtin and then its argument prototype would still apply. */
15649 char $ac_func ();
15650 /* The GNU C library defines this for functions which it implements
15651 to always fail with ENOSYS. Some functions are actually named
15652 something starting with __ and the normal name is an alias. */
15653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15654 choke me
15655 #else
15656 char (*f) () = $ac_func;
15657 #endif
15658 #ifdef __cplusplus
15660 #endif
15663 main ()
15665 return f != $ac_func;
15667 return 0;
15669 _ACEOF
15670 rm -f conftest.$ac_objext conftest$ac_exeext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15672 (eval $ac_link) 2>conftest.er1
15673 ac_status=$?
15674 grep -v '^ *+' conftest.er1 >conftest.err
15675 rm -f conftest.er1
15676 cat conftest.err >&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } &&
15679 { ac_try='test -z "$ac_c_werror_flag"
15680 || test ! -s conftest.err'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; } &&
15686 { ac_try='test -s conftest$ac_exeext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 eval "$as_ac_var=yes"
15693 else
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15697 eval "$as_ac_var=no"
15699 rm -f conftest.err conftest.$ac_objext \
15700 conftest$ac_exeext conftest.$ac_ext
15702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15704 if test `eval echo '${'$as_ac_var'}'` = yes; then
15705 cat >>confdefs.h <<_ACEOF
15706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15707 _ACEOF
15710 done
15712 else
15714 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15715 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15716 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15717 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 else
15723 ac_ext=cc
15724 ac_cpp='$CXXCPP $CPPFLAGS'
15725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15729 cat >conftest.$ac_ext <<_ACEOF
15730 /* confdefs.h. */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735 #include <math.h>
15737 main ()
15739 _ldexpf(0, 0);
15741 return 0;
15743 _ACEOF
15744 rm -f conftest.$ac_objext
15745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15746 (eval $ac_compile) 2>conftest.er1
15747 ac_status=$?
15748 grep -v '^ *+' conftest.er1 >conftest.err
15749 rm -f conftest.er1
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } &&
15753 { ac_try='test -z "$ac_cxx_werror_flag"
15754 || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15763 ac_status=$?
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 glibcxx_cv_func__ldexpf_use=yes
15767 else
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15771 glibcxx_cv_func__ldexpf_use=no
15773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15774 ac_ext=c
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15785 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15787 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15789 for ac_func in _ldexpf
15791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15792 echo "$as_me:$LINENO: checking for $ac_func" >&5
15793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15794 if eval "test \"\${$as_ac_var+set}\" = set"; then
15795 echo $ECHO_N "(cached) $ECHO_C" >&6
15796 else
15797 if test x$gcc_no_link = xyes; then
15798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15800 { (exit 1); exit 1; }; }
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15810 #define $ac_func innocuous_$ac_func
15812 /* System header to define __stub macros and hopefully few prototypes,
15813 which can conflict with char $ac_func (); below.
15814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15815 <limits.h> exists even on freestanding compilers. */
15817 #ifdef __STDC__
15818 # include <limits.h>
15819 #else
15820 # include <assert.h>
15821 #endif
15823 #undef $ac_func
15825 /* Override any gcc2 internal prototype to avoid an error. */
15826 #ifdef __cplusplus
15827 extern "C"
15829 #endif
15830 /* We use char because int might match the return type of a gcc2
15831 builtin and then its argument prototype would still apply. */
15832 char $ac_func ();
15833 /* The GNU C library defines this for functions which it implements
15834 to always fail with ENOSYS. Some functions are actually named
15835 something starting with __ and the normal name is an alias. */
15836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15837 choke me
15838 #else
15839 char (*f) () = $ac_func;
15840 #endif
15841 #ifdef __cplusplus
15843 #endif
15846 main ()
15848 return f != $ac_func;
15850 return 0;
15852 _ACEOF
15853 rm -f conftest.$ac_objext conftest$ac_exeext
15854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15855 (eval $ac_link) 2>conftest.er1
15856 ac_status=$?
15857 grep -v '^ *+' conftest.er1 >conftest.err
15858 rm -f conftest.er1
15859 cat conftest.err >&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); } &&
15862 { ac_try='test -z "$ac_c_werror_flag"
15863 || test ! -s conftest.err'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; } &&
15869 { ac_try='test -s conftest$ac_exeext'
15870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15871 (eval $ac_try) 2>&5
15872 ac_status=$?
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); }; }; then
15875 eval "$as_ac_var=yes"
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15880 eval "$as_ac_var=no"
15882 rm -f conftest.err conftest.$ac_objext \
15883 conftest$ac_exeext conftest.$ac_ext
15885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15887 if test `eval echo '${'$as_ac_var'}'` = yes; then
15888 cat >>confdefs.h <<_ACEOF
15889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890 _ACEOF
15893 done
15903 echo "$as_me:$LINENO: checking for logf declaration" >&5
15904 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15905 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15906 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 else
15912 ac_ext=cc
15913 ac_cpp='$CXXCPP $CPPFLAGS'
15914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15918 cat >conftest.$ac_ext <<_ACEOF
15919 /* confdefs.h. */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924 #include <math.h>
15925 #ifdef HAVE_IEEEFP_H
15926 #include <ieeefp.h>
15927 #endif
15930 main ()
15932 logf(0);
15934 return 0;
15936 _ACEOF
15937 rm -f conftest.$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>conftest.er1
15940 ac_status=$?
15941 grep -v '^ *+' conftest.er1 >conftest.err
15942 rm -f conftest.er1
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -z "$ac_cxx_werror_flag"
15947 || test ! -s conftest.err'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; } &&
15953 { ac_try='test -s conftest.$ac_objext'
15954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15955 (eval $ac_try) 2>&5
15956 ac_status=$?
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; }; then
15959 glibcxx_cv_func_logf_use=yes
15960 else
15961 echo "$as_me: failed program was:" >&5
15962 sed 's/^/| /' conftest.$ac_ext >&5
15964 glibcxx_cv_func_logf_use=no
15966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967 ac_ext=c
15968 ac_cpp='$CPP $CPPFLAGS'
15969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15978 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15980 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15982 for ac_func in logf
15984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15985 echo "$as_me:$LINENO: checking for $ac_func" >&5
15986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15987 if eval "test \"\${$as_ac_var+set}\" = set"; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 else
15990 if test x$gcc_no_link = xyes; then
15991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15993 { (exit 1); exit 1; }; }
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16003 #define $ac_func innocuous_$ac_func
16005 /* System header to define __stub macros and hopefully few prototypes,
16006 which can conflict with char $ac_func (); below.
16007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16008 <limits.h> exists even on freestanding compilers. */
16010 #ifdef __STDC__
16011 # include <limits.h>
16012 #else
16013 # include <assert.h>
16014 #endif
16016 #undef $ac_func
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 #ifdef __cplusplus
16020 extern "C"
16022 #endif
16023 /* We use char because int might match the return type of a gcc2
16024 builtin and then its argument prototype would still apply. */
16025 char $ac_func ();
16026 /* The GNU C library defines this for functions which it implements
16027 to always fail with ENOSYS. Some functions are actually named
16028 something starting with __ and the normal name is an alias. */
16029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16030 choke me
16031 #else
16032 char (*f) () = $ac_func;
16033 #endif
16034 #ifdef __cplusplus
16036 #endif
16039 main ()
16041 return f != $ac_func;
16043 return 0;
16045 _ACEOF
16046 rm -f conftest.$ac_objext conftest$ac_exeext
16047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16048 (eval $ac_link) 2>conftest.er1
16049 ac_status=$?
16050 grep -v '^ *+' conftest.er1 >conftest.err
16051 rm -f conftest.er1
16052 cat conftest.err >&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try='test -z "$ac_c_werror_flag"
16056 || test ! -s conftest.err'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16059 ac_status=$?
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; } &&
16062 { ac_try='test -s conftest$ac_exeext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16065 ac_status=$?
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 eval "$as_ac_var=yes"
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16073 eval "$as_ac_var=no"
16075 rm -f conftest.err conftest.$ac_objext \
16076 conftest$ac_exeext conftest.$ac_ext
16078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16080 if test `eval echo '${'$as_ac_var'}'` = yes; then
16081 cat >>confdefs.h <<_ACEOF
16082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16083 _ACEOF
16086 done
16088 else
16090 echo "$as_me:$LINENO: checking for _logf declaration" >&5
16091 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
16092 if test x${glibcxx_cv_func__logf_use+set} != xset; then
16093 if test "${glibcxx_cv_func__logf_use+set}" = set; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 else
16099 ac_ext=cc
16100 ac_cpp='$CXXCPP $CPPFLAGS'
16101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 #include <math.h>
16112 #ifdef HAVE_IEEEFP_H
16113 #include <ieeefp.h>
16114 #endif
16117 main ()
16119 _logf(0);
16121 return 0;
16123 _ACEOF
16124 rm -f conftest.$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126 (eval $ac_compile) 2>conftest.er1
16127 ac_status=$?
16128 grep -v '^ *+' conftest.er1 >conftest.err
16129 rm -f conftest.er1
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try='test -z "$ac_cxx_werror_flag"
16134 || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try='test -s conftest.$ac_objext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16143 ac_status=$?
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 glibcxx_cv_func__logf_use=yes
16147 else
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.$ac_ext >&5
16151 glibcxx_cv_func__logf_use=no
16153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16154 ac_ext=c
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16165 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16167 if test x$glibcxx_cv_func__logf_use = x"yes"; then
16169 for ac_func in _logf
16171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16172 echo "$as_me:$LINENO: checking for $ac_func" >&5
16173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16174 if eval "test \"\${$as_ac_var+set}\" = set"; then
16175 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 else
16177 if test x$gcc_no_link = xyes; then
16178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16180 { (exit 1); exit 1; }; }
16182 cat >conftest.$ac_ext <<_ACEOF
16183 /* confdefs.h. */
16184 _ACEOF
16185 cat confdefs.h >>conftest.$ac_ext
16186 cat >>conftest.$ac_ext <<_ACEOF
16187 /* end confdefs.h. */
16188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16190 #define $ac_func innocuous_$ac_func
16192 /* System header to define __stub macros and hopefully few prototypes,
16193 which can conflict with char $ac_func (); below.
16194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16195 <limits.h> exists even on freestanding compilers. */
16197 #ifdef __STDC__
16198 # include <limits.h>
16199 #else
16200 # include <assert.h>
16201 #endif
16203 #undef $ac_func
16205 /* Override any gcc2 internal prototype to avoid an error. */
16206 #ifdef __cplusplus
16207 extern "C"
16209 #endif
16210 /* We use char because int might match the return type of a gcc2
16211 builtin and then its argument prototype would still apply. */
16212 char $ac_func ();
16213 /* The GNU C library defines this for functions which it implements
16214 to always fail with ENOSYS. Some functions are actually named
16215 something starting with __ and the normal name is an alias. */
16216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16217 choke me
16218 #else
16219 char (*f) () = $ac_func;
16220 #endif
16221 #ifdef __cplusplus
16223 #endif
16226 main ()
16228 return f != $ac_func;
16230 return 0;
16232 _ACEOF
16233 rm -f conftest.$ac_objext conftest$ac_exeext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16235 (eval $ac_link) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_c_werror_flag"
16243 || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try='test -s conftest$ac_exeext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 eval "$as_ac_var=yes"
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 eval "$as_ac_var=no"
16262 rm -f conftest.err conftest.$ac_objext \
16263 conftest$ac_exeext conftest.$ac_ext
16265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16267 if test `eval echo '${'$as_ac_var'}'` = yes; then
16268 cat >>confdefs.h <<_ACEOF
16269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16270 _ACEOF
16273 done
16283 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16284 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16285 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16286 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16292 ac_ext=cc
16293 ac_cpp='$CXXCPP $CPPFLAGS'
16294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16298 cat >conftest.$ac_ext <<_ACEOF
16299 /* confdefs.h. */
16300 _ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 #include <math.h>
16305 #ifdef HAVE_IEEEFP_H
16306 #include <ieeefp.h>
16307 #endif
16310 main ()
16312 log10f(0);
16314 return 0;
16316 _ACEOF
16317 rm -f conftest.$ac_objext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16319 (eval $ac_compile) 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try='test -z "$ac_cxx_werror_flag"
16327 || test ! -s conftest.err'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; } &&
16333 { ac_try='test -s conftest.$ac_objext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16336 ac_status=$?
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16339 glibcxx_cv_func_log10f_use=yes
16340 else
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.$ac_ext >&5
16344 glibcxx_cv_func_log10f_use=no
16346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16347 ac_ext=c
16348 ac_cpp='$CPP $CPPFLAGS'
16349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16358 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16360 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16362 for ac_func in log10f
16364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16365 echo "$as_me:$LINENO: checking for $ac_func" >&5
16366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16367 if eval "test \"\${$as_ac_var+set}\" = set"; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 else
16370 if test x$gcc_no_link = xyes; then
16371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16373 { (exit 1); exit 1; }; }
16375 cat >conftest.$ac_ext <<_ACEOF
16376 /* confdefs.h. */
16377 _ACEOF
16378 cat confdefs.h >>conftest.$ac_ext
16379 cat >>conftest.$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16383 #define $ac_func innocuous_$ac_func
16385 /* System header to define __stub macros and hopefully few prototypes,
16386 which can conflict with char $ac_func (); below.
16387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16388 <limits.h> exists even on freestanding compilers. */
16390 #ifdef __STDC__
16391 # include <limits.h>
16392 #else
16393 # include <assert.h>
16394 #endif
16396 #undef $ac_func
16398 /* Override any gcc2 internal prototype to avoid an error. */
16399 #ifdef __cplusplus
16400 extern "C"
16402 #endif
16403 /* We use char because int might match the return type of a gcc2
16404 builtin and then its argument prototype would still apply. */
16405 char $ac_func ();
16406 /* The GNU C library defines this for functions which it implements
16407 to always fail with ENOSYS. Some functions are actually named
16408 something starting with __ and the normal name is an alias. */
16409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16410 choke me
16411 #else
16412 char (*f) () = $ac_func;
16413 #endif
16414 #ifdef __cplusplus
16416 #endif
16419 main ()
16421 return f != $ac_func;
16423 return 0;
16425 _ACEOF
16426 rm -f conftest.$ac_objext conftest$ac_exeext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428 (eval $ac_link) 2>conftest.er1
16429 ac_status=$?
16430 grep -v '^ *+' conftest.er1 >conftest.err
16431 rm -f conftest.er1
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } &&
16435 { ac_try='test -z "$ac_c_werror_flag"
16436 || test ! -s conftest.err'
16437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438 (eval $ac_try) 2>&5
16439 ac_status=$?
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); }; } &&
16442 { ac_try='test -s conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 eval "$as_ac_var=yes"
16449 else
16450 echo "$as_me: failed program was:" >&5
16451 sed 's/^/| /' conftest.$ac_ext >&5
16453 eval "$as_ac_var=no"
16455 rm -f conftest.err conftest.$ac_objext \
16456 conftest$ac_exeext conftest.$ac_ext
16458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16460 if test `eval echo '${'$as_ac_var'}'` = yes; then
16461 cat >>confdefs.h <<_ACEOF
16462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16463 _ACEOF
16466 done
16468 else
16470 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16471 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16472 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16473 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16474 echo $ECHO_N "(cached) $ECHO_C" >&6
16475 else
16479 ac_ext=cc
16480 ac_cpp='$CXXCPP $CPPFLAGS'
16481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16485 cat >conftest.$ac_ext <<_ACEOF
16486 /* confdefs.h. */
16487 _ACEOF
16488 cat confdefs.h >>conftest.$ac_ext
16489 cat >>conftest.$ac_ext <<_ACEOF
16490 /* end confdefs.h. */
16491 #include <math.h>
16492 #ifdef HAVE_IEEEFP_H
16493 #include <ieeefp.h>
16494 #endif
16497 main ()
16499 _log10f(0);
16501 return 0;
16503 _ACEOF
16504 rm -f conftest.$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try='test -z "$ac_cxx_werror_flag"
16514 || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try='test -s conftest.$ac_objext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 glibcxx_cv_func__log10f_use=yes
16527 else
16528 echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.$ac_ext >&5
16531 glibcxx_cv_func__log10f_use=no
16533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16534 ac_ext=c
16535 ac_cpp='$CPP $CPPFLAGS'
16536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16545 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16547 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16549 for ac_func in _log10f
16551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16552 echo "$as_me:$LINENO: checking for $ac_func" >&5
16553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16554 if eval "test \"\${$as_ac_var+set}\" = set"; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 else
16557 if test x$gcc_no_link = xyes; then
16558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16560 { (exit 1); exit 1; }; }
16562 cat >conftest.$ac_ext <<_ACEOF
16563 /* confdefs.h. */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16570 #define $ac_func innocuous_$ac_func
16572 /* System header to define __stub macros and hopefully few prototypes,
16573 which can conflict with char $ac_func (); below.
16574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16575 <limits.h> exists even on freestanding compilers. */
16577 #ifdef __STDC__
16578 # include <limits.h>
16579 #else
16580 # include <assert.h>
16581 #endif
16583 #undef $ac_func
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 #ifdef __cplusplus
16587 extern "C"
16589 #endif
16590 /* We use char because int might match the return type of a gcc2
16591 builtin and then its argument prototype would still apply. */
16592 char $ac_func ();
16593 /* The GNU C library defines this for functions which it implements
16594 to always fail with ENOSYS. Some functions are actually named
16595 something starting with __ and the normal name is an alias. */
16596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16597 choke me
16598 #else
16599 char (*f) () = $ac_func;
16600 #endif
16601 #ifdef __cplusplus
16603 #endif
16606 main ()
16608 return f != $ac_func;
16610 return 0;
16612 _ACEOF
16613 rm -f conftest.$ac_objext conftest$ac_exeext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16615 (eval $ac_link) 2>conftest.er1
16616 ac_status=$?
16617 grep -v '^ *+' conftest.er1 >conftest.err
16618 rm -f conftest.er1
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try='test -z "$ac_c_werror_flag"
16623 || test ! -s conftest.err'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; } &&
16629 { ac_try='test -s conftest$ac_exeext'
16630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631 (eval $ac_try) 2>&5
16632 ac_status=$?
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); }; }; then
16635 eval "$as_ac_var=yes"
16636 else
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.$ac_ext >&5
16640 eval "$as_ac_var=no"
16642 rm -f conftest.err conftest.$ac_objext \
16643 conftest$ac_exeext conftest.$ac_ext
16645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16647 if test `eval echo '${'$as_ac_var'}'` = yes; then
16648 cat >>confdefs.h <<_ACEOF
16649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16650 _ACEOF
16653 done
16663 echo "$as_me:$LINENO: checking for modff declaration" >&5
16664 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16665 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16666 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 else
16672 ac_ext=cc
16673 ac_cpp='$CXXCPP $CPPFLAGS'
16674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16678 cat >conftest.$ac_ext <<_ACEOF
16679 /* confdefs.h. */
16680 _ACEOF
16681 cat confdefs.h >>conftest.$ac_ext
16682 cat >>conftest.$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16684 #include <math.h>
16686 main ()
16688 modff(0, 0);
16690 return 0;
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16696 ac_status=$?
16697 grep -v '^ *+' conftest.er1 >conftest.err
16698 rm -f conftest.er1
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_cxx_werror_flag"
16703 || test ! -s conftest.err'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; } &&
16709 { ac_try='test -s conftest.$ac_objext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715 glibcxx_cv_func_modff_use=yes
16716 else
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16720 glibcxx_cv_func_modff_use=no
16722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723 ac_ext=c
16724 ac_cpp='$CPP $CPPFLAGS'
16725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16734 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16736 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16738 for ac_func in modff
16740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16741 echo "$as_me:$LINENO: checking for $ac_func" >&5
16742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16743 if eval "test \"\${$as_ac_var+set}\" = set"; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746 if test x$gcc_no_link = xyes; then
16747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16749 { (exit 1); exit 1; }; }
16751 cat >conftest.$ac_ext <<_ACEOF
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16759 #define $ac_func innocuous_$ac_func
16761 /* System header to define __stub macros and hopefully few prototypes,
16762 which can conflict with char $ac_func (); below.
16763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16764 <limits.h> exists even on freestanding compilers. */
16766 #ifdef __STDC__
16767 # include <limits.h>
16768 #else
16769 # include <assert.h>
16770 #endif
16772 #undef $ac_func
16774 /* Override any gcc2 internal prototype to avoid an error. */
16775 #ifdef __cplusplus
16776 extern "C"
16778 #endif
16779 /* We use char because int might match the return type of a gcc2
16780 builtin and then its argument prototype would still apply. */
16781 char $ac_func ();
16782 /* The GNU C library defines this for functions which it implements
16783 to always fail with ENOSYS. Some functions are actually named
16784 something starting with __ and the normal name is an alias. */
16785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16786 choke me
16787 #else
16788 char (*f) () = $ac_func;
16789 #endif
16790 #ifdef __cplusplus
16792 #endif
16795 main ()
16797 return f != $ac_func;
16799 return 0;
16801 _ACEOF
16802 rm -f conftest.$ac_objext conftest$ac_exeext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16804 (eval $ac_link) 2>conftest.er1
16805 ac_status=$?
16806 grep -v '^ *+' conftest.er1 >conftest.err
16807 rm -f conftest.er1
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } &&
16811 { ac_try='test -z "$ac_c_werror_flag"
16812 || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16815 ac_status=$?
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try='test -s conftest$ac_exeext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16821 ac_status=$?
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16824 eval "$as_ac_var=yes"
16825 else
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16829 eval "$as_ac_var=no"
16831 rm -f conftest.err conftest.$ac_objext \
16832 conftest$ac_exeext conftest.$ac_ext
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16836 if test `eval echo '${'$as_ac_var'}'` = yes; then
16837 cat >>confdefs.h <<_ACEOF
16838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16839 _ACEOF
16842 done
16844 else
16846 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16847 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16849 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16855 ac_ext=cc
16856 ac_cpp='$CXXCPP $CPPFLAGS'
16857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16861 cat >conftest.$ac_ext <<_ACEOF
16862 /* confdefs.h. */
16863 _ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867 #include <math.h>
16869 main ()
16871 _modff(0, 0);
16873 return 0;
16875 _ACEOF
16876 rm -f conftest.$ac_objext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16878 (eval $ac_compile) 2>conftest.er1
16879 ac_status=$?
16880 grep -v '^ *+' conftest.er1 >conftest.err
16881 rm -f conftest.er1
16882 cat conftest.err >&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try='test -z "$ac_cxx_werror_flag"
16886 || test ! -s conftest.err'
16887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16888 (eval $ac_try) 2>&5
16889 ac_status=$?
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); }; } &&
16892 { ac_try='test -s conftest.$ac_objext'
16893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16894 (eval $ac_try) 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }; }; then
16898 glibcxx_cv_func__modff_use=yes
16899 else
16900 echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16903 glibcxx_cv_func__modff_use=no
16905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16906 ac_ext=c
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16917 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16919 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16921 for ac_func in _modff
16923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16924 echo "$as_me:$LINENO: checking for $ac_func" >&5
16925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16926 if eval "test \"\${$as_ac_var+set}\" = set"; then
16927 echo $ECHO_N "(cached) $ECHO_C" >&6
16928 else
16929 if test x$gcc_no_link = xyes; then
16930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16932 { (exit 1); exit 1; }; }
16934 cat >conftest.$ac_ext <<_ACEOF
16935 /* confdefs.h. */
16936 _ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16942 #define $ac_func innocuous_$ac_func
16944 /* System header to define __stub macros and hopefully few prototypes,
16945 which can conflict with char $ac_func (); below.
16946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16947 <limits.h> exists even on freestanding compilers. */
16949 #ifdef __STDC__
16950 # include <limits.h>
16951 #else
16952 # include <assert.h>
16953 #endif
16955 #undef $ac_func
16957 /* Override any gcc2 internal prototype to avoid an error. */
16958 #ifdef __cplusplus
16959 extern "C"
16961 #endif
16962 /* We use char because int might match the return type of a gcc2
16963 builtin and then its argument prototype would still apply. */
16964 char $ac_func ();
16965 /* The GNU C library defines this for functions which it implements
16966 to always fail with ENOSYS. Some functions are actually named
16967 something starting with __ and the normal name is an alias. */
16968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16969 choke me
16970 #else
16971 char (*f) () = $ac_func;
16972 #endif
16973 #ifdef __cplusplus
16975 #endif
16978 main ()
16980 return f != $ac_func;
16982 return 0;
16984 _ACEOF
16985 rm -f conftest.$ac_objext conftest$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987 (eval $ac_link) 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } &&
16994 { ac_try='test -z "$ac_c_werror_flag"
16995 || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16998 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try='test -s conftest$ac_exeext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 eval "$as_ac_var=yes"
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 eval "$as_ac_var=no"
17014 rm -f conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17019 if test `eval echo '${'$as_ac_var'}'` = yes; then
17020 cat >>confdefs.h <<_ACEOF
17021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17022 _ACEOF
17025 done
17035 echo "$as_me:$LINENO: checking for modf declaration" >&5
17036 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
17037 if test x${glibcxx_cv_func_modf_use+set} != xset; then
17038 if test "${glibcxx_cv_func_modf_use+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 else
17044 ac_ext=cc
17045 ac_cpp='$CXXCPP $CPPFLAGS'
17046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h. */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 #include <math.h>
17058 main ()
17060 modf(0, 0);
17062 return 0;
17064 _ACEOF
17065 rm -f conftest.$ac_objext
17066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17067 (eval $ac_compile) 2>conftest.er1
17068 ac_status=$?
17069 grep -v '^ *+' conftest.er1 >conftest.err
17070 rm -f conftest.er1
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } &&
17074 { ac_try='test -z "$ac_cxx_werror_flag"
17075 || test ! -s conftest.err'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17078 ac_status=$?
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; } &&
17081 { ac_try='test -s conftest.$ac_objext'
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17084 ac_status=$?
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; }; then
17087 glibcxx_cv_func_modf_use=yes
17088 else
17089 echo "$as_me: failed program was:" >&5
17090 sed 's/^/| /' conftest.$ac_ext >&5
17092 glibcxx_cv_func_modf_use=no
17094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17095 ac_ext=c
17096 ac_cpp='$CPP $CPPFLAGS'
17097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
17106 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
17108 if test x$glibcxx_cv_func_modf_use = x"yes"; then
17110 for ac_func in modf
17112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17113 echo "$as_me:$LINENO: checking for $ac_func" >&5
17114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17115 if eval "test \"\${$as_ac_var+set}\" = set"; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17117 else
17118 if test x$gcc_no_link = xyes; then
17119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17121 { (exit 1); exit 1; }; }
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17131 #define $ac_func innocuous_$ac_func
17133 /* System header to define __stub macros and hopefully few prototypes,
17134 which can conflict with char $ac_func (); below.
17135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17136 <limits.h> exists even on freestanding compilers. */
17138 #ifdef __STDC__
17139 # include <limits.h>
17140 #else
17141 # include <assert.h>
17142 #endif
17144 #undef $ac_func
17146 /* Override any gcc2 internal prototype to avoid an error. */
17147 #ifdef __cplusplus
17148 extern "C"
17150 #endif
17151 /* We use char because int might match the return type of a gcc2
17152 builtin and then its argument prototype would still apply. */
17153 char $ac_func ();
17154 /* The GNU C library defines this for functions which it implements
17155 to always fail with ENOSYS. Some functions are actually named
17156 something starting with __ and the normal name is an alias. */
17157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17158 choke me
17159 #else
17160 char (*f) () = $ac_func;
17161 #endif
17162 #ifdef __cplusplus
17164 #endif
17167 main ()
17169 return f != $ac_func;
17171 return 0;
17173 _ACEOF
17174 rm -f conftest.$ac_objext conftest$ac_exeext
17175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17176 (eval $ac_link) 2>conftest.er1
17177 ac_status=$?
17178 grep -v '^ *+' conftest.er1 >conftest.err
17179 rm -f conftest.er1
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } &&
17183 { ac_try='test -z "$ac_c_werror_flag"
17184 || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17187 ac_status=$?
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try='test -s conftest$ac_exeext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17193 ac_status=$?
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17196 eval "$as_ac_var=yes"
17197 else
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17201 eval "$as_ac_var=no"
17203 rm -f conftest.err conftest.$ac_objext \
17204 conftest$ac_exeext conftest.$ac_ext
17206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17208 if test `eval echo '${'$as_ac_var'}'` = yes; then
17209 cat >>confdefs.h <<_ACEOF
17210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17211 _ACEOF
17214 done
17216 else
17218 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17219 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17220 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17221 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17227 ac_ext=cc
17228 ac_cpp='$CXXCPP $CPPFLAGS'
17229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 #include <math.h>
17241 main ()
17243 _modf(0, 0);
17245 return 0;
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } &&
17257 { ac_try='test -z "$ac_cxx_werror_flag"
17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17261 ac_status=$?
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 glibcxx_cv_func__modf_use=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17275 glibcxx_cv_func__modf_use=no
17277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278 ac_ext=c
17279 ac_cpp='$CPP $CPPFLAGS'
17280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17289 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17291 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17293 for ac_func in _modf
17295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17296 echo "$as_me:$LINENO: checking for $ac_func" >&5
17297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17298 if eval "test \"\${$as_ac_var+set}\" = set"; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 else
17301 if test x$gcc_no_link = xyes; then
17302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17304 { (exit 1); exit 1; }; }
17306 cat >conftest.$ac_ext <<_ACEOF
17307 /* confdefs.h. */
17308 _ACEOF
17309 cat confdefs.h >>conftest.$ac_ext
17310 cat >>conftest.$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17314 #define $ac_func innocuous_$ac_func
17316 /* System header to define __stub macros and hopefully few prototypes,
17317 which can conflict with char $ac_func (); below.
17318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17319 <limits.h> exists even on freestanding compilers. */
17321 #ifdef __STDC__
17322 # include <limits.h>
17323 #else
17324 # include <assert.h>
17325 #endif
17327 #undef $ac_func
17329 /* Override any gcc2 internal prototype to avoid an error. */
17330 #ifdef __cplusplus
17331 extern "C"
17333 #endif
17334 /* We use char because int might match the return type of a gcc2
17335 builtin and then its argument prototype would still apply. */
17336 char $ac_func ();
17337 /* The GNU C library defines this for functions which it implements
17338 to always fail with ENOSYS. Some functions are actually named
17339 something starting with __ and the normal name is an alias. */
17340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17341 choke me
17342 #else
17343 char (*f) () = $ac_func;
17344 #endif
17345 #ifdef __cplusplus
17347 #endif
17350 main ()
17352 return f != $ac_func;
17354 return 0;
17356 _ACEOF
17357 rm -f conftest.$ac_objext conftest$ac_exeext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17359 (eval $ac_link) 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -z "$ac_c_werror_flag"
17367 || test ! -s conftest.err'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; } &&
17373 { ac_try='test -s conftest$ac_exeext'
17374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17375 (eval $ac_try) 2>&5
17376 ac_status=$?
17377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17378 (exit $ac_status); }; }; then
17379 eval "$as_ac_var=yes"
17380 else
17381 echo "$as_me: failed program was:" >&5
17382 sed 's/^/| /' conftest.$ac_ext >&5
17384 eval "$as_ac_var=no"
17386 rm -f conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17391 if test `eval echo '${'$as_ac_var'}'` = yes; then
17392 cat >>confdefs.h <<_ACEOF
17393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17394 _ACEOF
17397 done
17407 echo "$as_me:$LINENO: checking for powf declaration" >&5
17408 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17409 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17410 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 else
17416 ac_ext=cc
17417 ac_cpp='$CXXCPP $CPPFLAGS'
17418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17422 cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 #include <math.h>
17430 main ()
17432 powf(0, 0);
17434 return 0;
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17439 (eval $ac_compile) 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } &&
17446 { ac_try='test -z "$ac_cxx_werror_flag"
17447 || test ! -s conftest.err'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; } &&
17453 { ac_try='test -s conftest.$ac_objext'
17454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17455 (eval $ac_try) 2>&5
17456 ac_status=$?
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); }; }; then
17459 glibcxx_cv_func_powf_use=yes
17460 else
17461 echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17464 glibcxx_cv_func_powf_use=no
17466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 ac_ext=c
17468 ac_cpp='$CPP $CPPFLAGS'
17469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17478 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17480 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17482 for ac_func in powf
17484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17485 echo "$as_me:$LINENO: checking for $ac_func" >&5
17486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17487 if eval "test \"\${$as_ac_var+set}\" = set"; then
17488 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 else
17490 if test x$gcc_no_link = xyes; then
17491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17493 { (exit 1); exit 1; }; }
17495 cat >conftest.$ac_ext <<_ACEOF
17496 /* confdefs.h. */
17497 _ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17503 #define $ac_func innocuous_$ac_func
17505 /* System header to define __stub macros and hopefully few prototypes,
17506 which can conflict with char $ac_func (); below.
17507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17508 <limits.h> exists even on freestanding compilers. */
17510 #ifdef __STDC__
17511 # include <limits.h>
17512 #else
17513 # include <assert.h>
17514 #endif
17516 #undef $ac_func
17518 /* Override any gcc2 internal prototype to avoid an error. */
17519 #ifdef __cplusplus
17520 extern "C"
17522 #endif
17523 /* We use char because int might match the return type of a gcc2
17524 builtin and then its argument prototype would still apply. */
17525 char $ac_func ();
17526 /* The GNU C library defines this for functions which it implements
17527 to always fail with ENOSYS. Some functions are actually named
17528 something starting with __ and the normal name is an alias. */
17529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17530 choke me
17531 #else
17532 char (*f) () = $ac_func;
17533 #endif
17534 #ifdef __cplusplus
17536 #endif
17539 main ()
17541 return f != $ac_func;
17543 return 0;
17545 _ACEOF
17546 rm -f conftest.$ac_objext conftest$ac_exeext
17547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17548 (eval $ac_link) 2>conftest.er1
17549 ac_status=$?
17550 grep -v '^ *+' conftest.er1 >conftest.err
17551 rm -f conftest.er1
17552 cat conftest.err >&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try='test -z "$ac_c_werror_flag"
17556 || test ! -s conftest.err'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17559 ac_status=$?
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; } &&
17562 { ac_try='test -s conftest$ac_exeext'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17565 ac_status=$?
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; }; then
17568 eval "$as_ac_var=yes"
17569 else
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17573 eval "$as_ac_var=no"
17575 rm -f conftest.err conftest.$ac_objext \
17576 conftest$ac_exeext conftest.$ac_ext
17578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17580 if test `eval echo '${'$as_ac_var'}'` = yes; then
17581 cat >>confdefs.h <<_ACEOF
17582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17583 _ACEOF
17586 done
17588 else
17590 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17591 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17592 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17593 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17595 else
17599 ac_ext=cc
17600 ac_cpp='$CXXCPP $CPPFLAGS'
17601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h. */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <math.h>
17613 main ()
17615 _powf(0, 0);
17617 return 0;
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17623 ac_status=$?
17624 grep -v '^ *+' conftest.er1 >conftest.err
17625 rm -f conftest.er1
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_cxx_werror_flag"
17630 || test ! -s conftest.err'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; } &&
17636 { ac_try='test -s conftest.$ac_objext'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17639 ac_status=$?
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; }; then
17642 glibcxx_cv_func__powf_use=yes
17643 else
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17647 glibcxx_cv_func__powf_use=no
17649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17650 ac_ext=c
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17661 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17663 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17665 for ac_func in _powf
17667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17668 echo "$as_me:$LINENO: checking for $ac_func" >&5
17669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17670 if eval "test \"\${$as_ac_var+set}\" = set"; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673 if test x$gcc_no_link = xyes; then
17674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17676 { (exit 1); exit 1; }; }
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17686 #define $ac_func innocuous_$ac_func
17688 /* System header to define __stub macros and hopefully few prototypes,
17689 which can conflict with char $ac_func (); below.
17690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17691 <limits.h> exists even on freestanding compilers. */
17693 #ifdef __STDC__
17694 # include <limits.h>
17695 #else
17696 # include <assert.h>
17697 #endif
17699 #undef $ac_func
17701 /* Override any gcc2 internal prototype to avoid an error. */
17702 #ifdef __cplusplus
17703 extern "C"
17705 #endif
17706 /* We use char because int might match the return type of a gcc2
17707 builtin and then its argument prototype would still apply. */
17708 char $ac_func ();
17709 /* The GNU C library defines this for functions which it implements
17710 to always fail with ENOSYS. Some functions are actually named
17711 something starting with __ and the normal name is an alias. */
17712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17713 choke me
17714 #else
17715 char (*f) () = $ac_func;
17716 #endif
17717 #ifdef __cplusplus
17719 #endif
17722 main ()
17724 return f != $ac_func;
17726 return 0;
17728 _ACEOF
17729 rm -f conftest.$ac_objext conftest$ac_exeext
17730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17731 (eval $ac_link) 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } &&
17738 { ac_try='test -z "$ac_c_werror_flag"
17739 || test ! -s conftest.err'
17740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17741 (eval $ac_try) 2>&5
17742 ac_status=$?
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); }; } &&
17745 { ac_try='test -s conftest$ac_exeext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17751 eval "$as_ac_var=yes"
17752 else
17753 echo "$as_me: failed program was:" >&5
17754 sed 's/^/| /' conftest.$ac_ext >&5
17756 eval "$as_ac_var=no"
17758 rm -f conftest.err conftest.$ac_objext \
17759 conftest$ac_exeext conftest.$ac_ext
17761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17763 if test `eval echo '${'$as_ac_var'}'` = yes; then
17764 cat >>confdefs.h <<_ACEOF
17765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17766 _ACEOF
17769 done
17779 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17780 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17781 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17782 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17788 ac_ext=cc
17789 ac_cpp='$CXXCPP $CPPFLAGS'
17790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 #include <math.h>
17801 #ifdef HAVE_IEEEFP_H
17802 #include <ieeefp.h>
17803 #endif
17806 main ()
17808 sqrtf(0);
17810 return 0;
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17815 (eval $ac_compile) 2>conftest.er1
17816 ac_status=$?
17817 grep -v '^ *+' conftest.er1 >conftest.err
17818 rm -f conftest.er1
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } &&
17822 { ac_try='test -z "$ac_cxx_werror_flag"
17823 || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 glibcxx_cv_func_sqrtf_use=yes
17836 else
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17840 glibcxx_cv_func_sqrtf_use=no
17842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17843 ac_ext=c
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17854 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17856 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17858 for ac_func in sqrtf
17860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17861 echo "$as_me:$LINENO: checking for $ac_func" >&5
17862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17863 if eval "test \"\${$as_ac_var+set}\" = set"; then
17864 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 else
17866 if test x$gcc_no_link = xyes; then
17867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17869 { (exit 1); exit 1; }; }
17871 cat >conftest.$ac_ext <<_ACEOF
17872 /* confdefs.h. */
17873 _ACEOF
17874 cat confdefs.h >>conftest.$ac_ext
17875 cat >>conftest.$ac_ext <<_ACEOF
17876 /* end confdefs.h. */
17877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17879 #define $ac_func innocuous_$ac_func
17881 /* System header to define __stub macros and hopefully few prototypes,
17882 which can conflict with char $ac_func (); below.
17883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17884 <limits.h> exists even on freestanding compilers. */
17886 #ifdef __STDC__
17887 # include <limits.h>
17888 #else
17889 # include <assert.h>
17890 #endif
17892 #undef $ac_func
17894 /* Override any gcc2 internal prototype to avoid an error. */
17895 #ifdef __cplusplus
17896 extern "C"
17898 #endif
17899 /* We use char because int might match the return type of a gcc2
17900 builtin and then its argument prototype would still apply. */
17901 char $ac_func ();
17902 /* The GNU C library defines this for functions which it implements
17903 to always fail with ENOSYS. Some functions are actually named
17904 something starting with __ and the normal name is an alias. */
17905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17906 choke me
17907 #else
17908 char (*f) () = $ac_func;
17909 #endif
17910 #ifdef __cplusplus
17912 #endif
17915 main ()
17917 return f != $ac_func;
17919 return 0;
17921 _ACEOF
17922 rm -f conftest.$ac_objext conftest$ac_exeext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17924 (eval $ac_link) 2>conftest.er1
17925 ac_status=$?
17926 grep -v '^ *+' conftest.er1 >conftest.err
17927 rm -f conftest.er1
17928 cat conftest.err >&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); } &&
17931 { ac_try='test -z "$ac_c_werror_flag"
17932 || test ! -s conftest.err'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17935 ac_status=$?
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; } &&
17938 { ac_try='test -s conftest$ac_exeext'
17939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 (eval $ac_try) 2>&5
17941 ac_status=$?
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); }; }; then
17944 eval "$as_ac_var=yes"
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 eval "$as_ac_var=no"
17951 rm -f conftest.err conftest.$ac_objext \
17952 conftest$ac_exeext conftest.$ac_ext
17954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17956 if test `eval echo '${'$as_ac_var'}'` = yes; then
17957 cat >>confdefs.h <<_ACEOF
17958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17959 _ACEOF
17962 done
17964 else
17966 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17967 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17968 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17969 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17975 ac_ext=cc
17976 ac_cpp='$CXXCPP $CPPFLAGS'
17977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 #include <math.h>
17988 #ifdef HAVE_IEEEFP_H
17989 #include <ieeefp.h>
17990 #endif
17993 main ()
17995 _sqrtf(0);
17997 return 0;
17999 _ACEOF
18000 rm -f conftest.$ac_objext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002 (eval $ac_compile) 2>conftest.er1
18003 ac_status=$?
18004 grep -v '^ *+' conftest.er1 >conftest.err
18005 rm -f conftest.er1
18006 cat conftest.err >&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try='test -z "$ac_cxx_werror_flag"
18010 || test ! -s conftest.err'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18013 ac_status=$?
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; } &&
18016 { ac_try='test -s conftest.$ac_objext'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18022 glibcxx_cv_func__sqrtf_use=yes
18023 else
18024 echo "$as_me: failed program was:" >&5
18025 sed 's/^/| /' conftest.$ac_ext >&5
18027 glibcxx_cv_func__sqrtf_use=no
18029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18030 ac_ext=c
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
18041 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
18043 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
18045 for ac_func in _sqrtf
18047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18048 echo "$as_me:$LINENO: checking for $ac_func" >&5
18049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18050 if eval "test \"\${$as_ac_var+set}\" = set"; then
18051 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 else
18053 if test x$gcc_no_link = xyes; then
18054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18056 { (exit 1); exit 1; }; }
18058 cat >conftest.$ac_ext <<_ACEOF
18059 /* confdefs.h. */
18060 _ACEOF
18061 cat confdefs.h >>conftest.$ac_ext
18062 cat >>conftest.$ac_ext <<_ACEOF
18063 /* end confdefs.h. */
18064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18066 #define $ac_func innocuous_$ac_func
18068 /* System header to define __stub macros and hopefully few prototypes,
18069 which can conflict with char $ac_func (); below.
18070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18071 <limits.h> exists even on freestanding compilers. */
18073 #ifdef __STDC__
18074 # include <limits.h>
18075 #else
18076 # include <assert.h>
18077 #endif
18079 #undef $ac_func
18081 /* Override any gcc2 internal prototype to avoid an error. */
18082 #ifdef __cplusplus
18083 extern "C"
18085 #endif
18086 /* We use char because int might match the return type of a gcc2
18087 builtin and then its argument prototype would still apply. */
18088 char $ac_func ();
18089 /* The GNU C library defines this for functions which it implements
18090 to always fail with ENOSYS. Some functions are actually named
18091 something starting with __ and the normal name is an alias. */
18092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18093 choke me
18094 #else
18095 char (*f) () = $ac_func;
18096 #endif
18097 #ifdef __cplusplus
18099 #endif
18102 main ()
18104 return f != $ac_func;
18106 return 0;
18108 _ACEOF
18109 rm -f conftest.$ac_objext conftest$ac_exeext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18111 (eval $ac_link) 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } &&
18118 { ac_try='test -z "$ac_c_werror_flag"
18119 || test ! -s conftest.err'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18122 ac_status=$?
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; } &&
18125 { ac_try='test -s conftest$ac_exeext'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; }; then
18131 eval "$as_ac_var=yes"
18132 else
18133 echo "$as_me: failed program was:" >&5
18134 sed 's/^/| /' conftest.$ac_ext >&5
18136 eval "$as_ac_var=no"
18138 rm -f conftest.err conftest.$ac_objext \
18139 conftest$ac_exeext conftest.$ac_ext
18141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18143 if test `eval echo '${'$as_ac_var'}'` = yes; then
18144 cat >>confdefs.h <<_ACEOF
18145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18146 _ACEOF
18149 done
18159 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18160 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18161 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18162 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18168 ac_ext=cc
18169 ac_cpp='$CXXCPP $CPPFLAGS'
18170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h. */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180 #include <math.h>
18182 main ()
18184 sincosf(0, 0, 0);
18186 return 0;
18188 _ACEOF
18189 rm -f conftest.$ac_objext
18190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18191 (eval $ac_compile) 2>conftest.er1
18192 ac_status=$?
18193 grep -v '^ *+' conftest.er1 >conftest.err
18194 rm -f conftest.er1
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } &&
18198 { ac_try='test -z "$ac_cxx_werror_flag"
18199 || test ! -s conftest.err'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; } &&
18205 { ac_try='test -s conftest.$ac_objext'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18208 ac_status=$?
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; }; then
18211 glibcxx_cv_func_sincosf_use=yes
18212 else
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.$ac_ext >&5
18216 glibcxx_cv_func_sincosf_use=no
18218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18219 ac_ext=c
18220 ac_cpp='$CPP $CPPFLAGS'
18221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18230 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18232 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18234 for ac_func in sincosf
18236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18237 echo "$as_me:$LINENO: checking for $ac_func" >&5
18238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18239 if eval "test \"\${$as_ac_var+set}\" = set"; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 if test x$gcc_no_link = xyes; then
18243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18245 { (exit 1); exit 1; }; }
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18255 #define $ac_func innocuous_$ac_func
18257 /* System header to define __stub macros and hopefully few prototypes,
18258 which can conflict with char $ac_func (); below.
18259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18260 <limits.h> exists even on freestanding compilers. */
18262 #ifdef __STDC__
18263 # include <limits.h>
18264 #else
18265 # include <assert.h>
18266 #endif
18268 #undef $ac_func
18270 /* Override any gcc2 internal prototype to avoid an error. */
18271 #ifdef __cplusplus
18272 extern "C"
18274 #endif
18275 /* We use char because int might match the return type of a gcc2
18276 builtin and then its argument prototype would still apply. */
18277 char $ac_func ();
18278 /* The GNU C library defines this for functions which it implements
18279 to always fail with ENOSYS. Some functions are actually named
18280 something starting with __ and the normal name is an alias. */
18281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18282 choke me
18283 #else
18284 char (*f) () = $ac_func;
18285 #endif
18286 #ifdef __cplusplus
18288 #endif
18291 main ()
18293 return f != $ac_func;
18295 return 0;
18297 _ACEOF
18298 rm -f conftest.$ac_objext conftest$ac_exeext
18299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18300 (eval $ac_link) 2>conftest.er1
18301 ac_status=$?
18302 grep -v '^ *+' conftest.er1 >conftest.err
18303 rm -f conftest.er1
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } &&
18307 { ac_try='test -z "$ac_c_werror_flag"
18308 || test ! -s conftest.err'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18311 ac_status=$?
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; } &&
18314 { ac_try='test -s conftest$ac_exeext'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; }; then
18320 eval "$as_ac_var=yes"
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18325 eval "$as_ac_var=no"
18327 rm -f conftest.err conftest.$ac_objext \
18328 conftest$ac_exeext conftest.$ac_ext
18330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18332 if test `eval echo '${'$as_ac_var'}'` = yes; then
18333 cat >>confdefs.h <<_ACEOF
18334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18335 _ACEOF
18338 done
18340 else
18342 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18343 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18344 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18345 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 else
18351 ac_ext=cc
18352 ac_cpp='$CXXCPP $CPPFLAGS'
18353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 #include <math.h>
18365 main ()
18367 _sincosf(0, 0, 0);
18369 return 0;
18371 _ACEOF
18372 rm -f conftest.$ac_objext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18374 (eval $ac_compile) 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } &&
18381 { ac_try='test -z "$ac_cxx_werror_flag"
18382 || test ! -s conftest.err'
18383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18384 (eval $ac_try) 2>&5
18385 ac_status=$?
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest.$ac_objext'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; }; then
18394 glibcxx_cv_func__sincosf_use=yes
18395 else
18396 echo "$as_me: failed program was:" >&5
18397 sed 's/^/| /' conftest.$ac_ext >&5
18399 glibcxx_cv_func__sincosf_use=no
18401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18402 ac_ext=c
18403 ac_cpp='$CPP $CPPFLAGS'
18404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18413 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18415 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18417 for ac_func in _sincosf
18419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18420 echo "$as_me:$LINENO: checking for $ac_func" >&5
18421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18422 if eval "test \"\${$as_ac_var+set}\" = set"; then
18423 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 else
18425 if test x$gcc_no_link = xyes; then
18426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18428 { (exit 1); exit 1; }; }
18430 cat >conftest.$ac_ext <<_ACEOF
18431 /* confdefs.h. */
18432 _ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18438 #define $ac_func innocuous_$ac_func
18440 /* System header to define __stub macros and hopefully few prototypes,
18441 which can conflict with char $ac_func (); below.
18442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18443 <limits.h> exists even on freestanding compilers. */
18445 #ifdef __STDC__
18446 # include <limits.h>
18447 #else
18448 # include <assert.h>
18449 #endif
18451 #undef $ac_func
18453 /* Override any gcc2 internal prototype to avoid an error. */
18454 #ifdef __cplusplus
18455 extern "C"
18457 #endif
18458 /* We use char because int might match the return type of a gcc2
18459 builtin and then its argument prototype would still apply. */
18460 char $ac_func ();
18461 /* The GNU C library defines this for functions which it implements
18462 to always fail with ENOSYS. Some functions are actually named
18463 something starting with __ and the normal name is an alias. */
18464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18465 choke me
18466 #else
18467 char (*f) () = $ac_func;
18468 #endif
18469 #ifdef __cplusplus
18471 #endif
18474 main ()
18476 return f != $ac_func;
18478 return 0;
18480 _ACEOF
18481 rm -f conftest.$ac_objext conftest$ac_exeext
18482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18483 (eval $ac_link) 2>conftest.er1
18484 ac_status=$?
18485 grep -v '^ *+' conftest.er1 >conftest.err
18486 rm -f conftest.er1
18487 cat conftest.err >&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); } &&
18490 { ac_try='test -z "$ac_c_werror_flag"
18491 || test ! -s conftest.err'
18492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493 (eval $ac_try) 2>&5
18494 ac_status=$?
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); }; } &&
18497 { ac_try='test -s conftest$ac_exeext'
18498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18499 (eval $ac_try) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); }; }; then
18503 eval "$as_ac_var=yes"
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 eval "$as_ac_var=no"
18510 rm -f conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18515 if test `eval echo '${'$as_ac_var'}'` = yes; then
18516 cat >>confdefs.h <<_ACEOF
18517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18518 _ACEOF
18521 done
18531 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18532 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18533 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18534 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 else
18540 ac_ext=cc
18541 ac_cpp='$CXXCPP $CPPFLAGS'
18542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 #include <math.h>
18553 #ifdef HAVE_IEEEFP_H
18554 #include <ieeefp.h>
18555 #endif
18558 main ()
18560 finitef(0);
18562 return 0;
18564 _ACEOF
18565 rm -f conftest.$ac_objext
18566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18567 (eval $ac_compile) 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try='test -z "$ac_cxx_werror_flag"
18575 || test ! -s conftest.err'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18578 ac_status=$?
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try='test -s conftest.$ac_objext'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18584 ac_status=$?
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; }; then
18587 glibcxx_cv_func_finitef_use=yes
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 glibcxx_cv_func_finitef_use=no
18594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18595 ac_ext=c
18596 ac_cpp='$CPP $CPPFLAGS'
18597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18606 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18608 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18610 for ac_func in finitef
18612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18613 echo "$as_me:$LINENO: checking for $ac_func" >&5
18614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18615 if eval "test \"\${$as_ac_var+set}\" = set"; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 else
18618 if test x$gcc_no_link = xyes; then
18619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18621 { (exit 1); exit 1; }; }
18623 cat >conftest.$ac_ext <<_ACEOF
18624 /* confdefs.h. */
18625 _ACEOF
18626 cat confdefs.h >>conftest.$ac_ext
18627 cat >>conftest.$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18631 #define $ac_func innocuous_$ac_func
18633 /* System header to define __stub macros and hopefully few prototypes,
18634 which can conflict with char $ac_func (); below.
18635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18636 <limits.h> exists even on freestanding compilers. */
18638 #ifdef __STDC__
18639 # include <limits.h>
18640 #else
18641 # include <assert.h>
18642 #endif
18644 #undef $ac_func
18646 /* Override any gcc2 internal prototype to avoid an error. */
18647 #ifdef __cplusplus
18648 extern "C"
18650 #endif
18651 /* We use char because int might match the return type of a gcc2
18652 builtin and then its argument prototype would still apply. */
18653 char $ac_func ();
18654 /* The GNU C library defines this for functions which it implements
18655 to always fail with ENOSYS. Some functions are actually named
18656 something starting with __ and the normal name is an alias. */
18657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18658 choke me
18659 #else
18660 char (*f) () = $ac_func;
18661 #endif
18662 #ifdef __cplusplus
18664 #endif
18667 main ()
18669 return f != $ac_func;
18671 return 0;
18673 _ACEOF
18674 rm -f conftest.$ac_objext conftest$ac_exeext
18675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18676 (eval $ac_link) 2>conftest.er1
18677 ac_status=$?
18678 grep -v '^ *+' conftest.er1 >conftest.err
18679 rm -f conftest.er1
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -z "$ac_c_werror_flag"
18684 || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18687 ac_status=$?
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try='test -s conftest$ac_exeext'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18693 ac_status=$?
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; }; then
18696 eval "$as_ac_var=yes"
18697 else
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18701 eval "$as_ac_var=no"
18703 rm -f conftest.err conftest.$ac_objext \
18704 conftest$ac_exeext conftest.$ac_ext
18706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18708 if test `eval echo '${'$as_ac_var'}'` = yes; then
18709 cat >>confdefs.h <<_ACEOF
18710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18711 _ACEOF
18714 done
18716 else
18718 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18719 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18720 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18721 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18722 echo $ECHO_N "(cached) $ECHO_C" >&6
18723 else
18727 ac_ext=cc
18728 ac_cpp='$CXXCPP $CPPFLAGS'
18729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18733 cat >conftest.$ac_ext <<_ACEOF
18734 /* confdefs.h. */
18735 _ACEOF
18736 cat confdefs.h >>conftest.$ac_ext
18737 cat >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18739 #include <math.h>
18740 #ifdef HAVE_IEEEFP_H
18741 #include <ieeefp.h>
18742 #endif
18745 main ()
18747 _finitef(0);
18749 return 0;
18751 _ACEOF
18752 rm -f conftest.$ac_objext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754 (eval $ac_compile) 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -z "$ac_cxx_werror_flag"
18762 || test ! -s conftest.err'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18765 ac_status=$?
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try='test -s conftest.$ac_objext'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18771 ac_status=$?
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; }; then
18774 glibcxx_cv_func__finitef_use=yes
18775 else
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.$ac_ext >&5
18779 glibcxx_cv_func__finitef_use=no
18781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18782 ac_ext=c
18783 ac_cpp='$CPP $CPPFLAGS'
18784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18793 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18795 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18797 for ac_func in _finitef
18799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18800 echo "$as_me:$LINENO: checking for $ac_func" >&5
18801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18802 if eval "test \"\${$as_ac_var+set}\" = set"; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 else
18805 if test x$gcc_no_link = xyes; then
18806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18808 { (exit 1); exit 1; }; }
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18818 #define $ac_func innocuous_$ac_func
18820 /* System header to define __stub macros and hopefully few prototypes,
18821 which can conflict with char $ac_func (); below.
18822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18823 <limits.h> exists even on freestanding compilers. */
18825 #ifdef __STDC__
18826 # include <limits.h>
18827 #else
18828 # include <assert.h>
18829 #endif
18831 #undef $ac_func
18833 /* Override any gcc2 internal prototype to avoid an error. */
18834 #ifdef __cplusplus
18835 extern "C"
18837 #endif
18838 /* We use char because int might match the return type of a gcc2
18839 builtin and then its argument prototype would still apply. */
18840 char $ac_func ();
18841 /* The GNU C library defines this for functions which it implements
18842 to always fail with ENOSYS. Some functions are actually named
18843 something starting with __ and the normal name is an alias. */
18844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18845 choke me
18846 #else
18847 char (*f) () = $ac_func;
18848 #endif
18849 #ifdef __cplusplus
18851 #endif
18854 main ()
18856 return f != $ac_func;
18858 return 0;
18860 _ACEOF
18861 rm -f conftest.$ac_objext conftest$ac_exeext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18863 (eval $ac_link) 2>conftest.er1
18864 ac_status=$?
18865 grep -v '^ *+' conftest.er1 >conftest.err
18866 rm -f conftest.er1
18867 cat conftest.err >&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } &&
18870 { ac_try='test -z "$ac_c_werror_flag"
18871 || test ! -s conftest.err'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18874 ac_status=$?
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; } &&
18877 { ac_try='test -s conftest$ac_exeext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18880 ac_status=$?
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 eval "$as_ac_var=yes"
18884 else
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 eval "$as_ac_var=no"
18890 rm -f conftest.err conftest.$ac_objext \
18891 conftest$ac_exeext conftest.$ac_ext
18893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18895 if test `eval echo '${'$as_ac_var'}'` = yes; then
18896 cat >>confdefs.h <<_ACEOF
18897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18898 _ACEOF
18901 done
18911 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18912 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18913 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18915 else
18919 ac_ext=cc
18920 ac_cpp='$CXXCPP $CPPFLAGS'
18921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <math.h>
18933 main ()
18935 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18937 return 0;
18939 _ACEOF
18940 rm -f conftest.$ac_objext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18942 (eval $ac_compile) 2>conftest.er1
18943 ac_status=$?
18944 grep -v '^ *+' conftest.er1 >conftest.err
18945 rm -f conftest.er1
18946 cat conftest.err >&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } &&
18949 { ac_try='test -z "$ac_cxx_werror_flag"
18950 || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18953 ac_status=$?
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 glibcxx_cv_func_long_double_trig_use=yes
18963 else
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18967 glibcxx_cv_func_long_double_trig_use=no
18969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18970 ac_ext=c
18971 ac_cpp='$CPP $CPPFLAGS'
18972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18979 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18980 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18990 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18993 echo "$as_me:$LINENO: checking for $ac_func" >&5
18994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18995 if eval "test \"\${$as_ac_var+set}\" = set"; then
18996 echo $ECHO_N "(cached) $ECHO_C" >&6
18997 else
18998 if test x$gcc_no_link = xyes; then
18999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19001 { (exit 1); exit 1; }; }
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h. */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19011 #define $ac_func innocuous_$ac_func
19013 /* System header to define __stub macros and hopefully few prototypes,
19014 which can conflict with char $ac_func (); below.
19015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19016 <limits.h> exists even on freestanding compilers. */
19018 #ifdef __STDC__
19019 # include <limits.h>
19020 #else
19021 # include <assert.h>
19022 #endif
19024 #undef $ac_func
19026 /* Override any gcc2 internal prototype to avoid an error. */
19027 #ifdef __cplusplus
19028 extern "C"
19030 #endif
19031 /* We use char because int might match the return type of a gcc2
19032 builtin and then its argument prototype would still apply. */
19033 char $ac_func ();
19034 /* The GNU C library defines this for functions which it implements
19035 to always fail with ENOSYS. Some functions are actually named
19036 something starting with __ and the normal name is an alias. */
19037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19038 choke me
19039 #else
19040 char (*f) () = $ac_func;
19041 #endif
19042 #ifdef __cplusplus
19044 #endif
19047 main ()
19049 return f != $ac_func;
19051 return 0;
19053 _ACEOF
19054 rm -f conftest.$ac_objext conftest$ac_exeext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19056 (eval $ac_link) 2>conftest.er1
19057 ac_status=$?
19058 grep -v '^ *+' conftest.er1 >conftest.err
19059 rm -f conftest.er1
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } &&
19063 { ac_try='test -z "$ac_c_werror_flag"
19064 || test ! -s conftest.err'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19067 ac_status=$?
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try='test -s conftest$ac_exeext'
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19072 (eval $ac_try) 2>&5
19073 ac_status=$?
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; }; then
19076 eval "$as_ac_var=yes"
19077 else
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19081 eval "$as_ac_var=no"
19083 rm -f conftest.err conftest.$ac_objext \
19084 conftest$ac_exeext conftest.$ac_ext
19086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19088 if test `eval echo '${'$as_ac_var'}'` = yes; then
19089 cat >>confdefs.h <<_ACEOF
19090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19091 _ACEOF
19094 done
19096 else
19097 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
19098 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
19099 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19105 ac_ext=cc
19106 ac_cpp='$CXXCPP $CPPFLAGS'
19107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19111 cat >conftest.$ac_ext <<_ACEOF
19112 /* confdefs.h. */
19113 _ACEOF
19114 cat confdefs.h >>conftest.$ac_ext
19115 cat >>conftest.$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19117 #include <math.h>
19119 main ()
19121 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
19123 return 0;
19125 _ACEOF
19126 rm -f conftest.$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try='test -z "$ac_cxx_werror_flag"
19136 || test ! -s conftest.err'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19139 ac_status=$?
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; } &&
19142 { ac_try='test -s conftest.$ac_objext'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19145 ac_status=$?
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; }; then
19148 glibcxx_cv_func__long_double_trig_use=yes
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 glibcxx_cv_func__long_double_trig_use=no
19155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19156 ac_ext=c
19157 ac_cpp='$CPP $CPPFLAGS'
19158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19165 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19166 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19176 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19179 echo "$as_me:$LINENO: checking for $ac_func" >&5
19180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19181 if eval "test \"\${$as_ac_var+set}\" = set"; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19183 else
19184 if test x$gcc_no_link = xyes; then
19185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19187 { (exit 1); exit 1; }; }
19189 cat >conftest.$ac_ext <<_ACEOF
19190 /* confdefs.h. */
19191 _ACEOF
19192 cat confdefs.h >>conftest.$ac_ext
19193 cat >>conftest.$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19197 #define $ac_func innocuous_$ac_func
19199 /* System header to define __stub macros and hopefully few prototypes,
19200 which can conflict with char $ac_func (); below.
19201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19202 <limits.h> exists even on freestanding compilers. */
19204 #ifdef __STDC__
19205 # include <limits.h>
19206 #else
19207 # include <assert.h>
19208 #endif
19210 #undef $ac_func
19212 /* Override any gcc2 internal prototype to avoid an error. */
19213 #ifdef __cplusplus
19214 extern "C"
19216 #endif
19217 /* We use char because int might match the return type of a gcc2
19218 builtin and then its argument prototype would still apply. */
19219 char $ac_func ();
19220 /* The GNU C library defines this for functions which it implements
19221 to always fail with ENOSYS. Some functions are actually named
19222 something starting with __ and the normal name is an alias. */
19223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19224 choke me
19225 #else
19226 char (*f) () = $ac_func;
19227 #endif
19228 #ifdef __cplusplus
19230 #endif
19233 main ()
19235 return f != $ac_func;
19237 return 0;
19239 _ACEOF
19240 rm -f conftest.$ac_objext conftest$ac_exeext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19242 (eval $ac_link) 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -z "$ac_c_werror_flag"
19250 || test ! -s conftest.err'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19253 ac_status=$?
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; } &&
19256 { ac_try='test -s conftest$ac_exeext'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19259 ac_status=$?
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; }; then
19262 eval "$as_ac_var=yes"
19263 else
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19267 eval "$as_ac_var=no"
19269 rm -f conftest.err conftest.$ac_objext \
19270 conftest$ac_exeext conftest.$ac_ext
19272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19274 if test `eval echo '${'$as_ac_var'}'` = yes; then
19275 cat >>confdefs.h <<_ACEOF
19276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19277 _ACEOF
19280 done
19298 echo "$as_me:$LINENO: checking for long double round functions" >&5
19299 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19300 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19302 else
19306 ac_ext=cc
19307 ac_cpp='$CXXCPP $CPPFLAGS'
19308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19312 cat >conftest.$ac_ext <<_ACEOF
19313 /* confdefs.h. */
19314 _ACEOF
19315 cat confdefs.h >>conftest.$ac_ext
19316 cat >>conftest.$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19318 #include <math.h>
19320 main ()
19322 ceill (0); floorl (0);
19324 return 0;
19326 _ACEOF
19327 rm -f conftest.$ac_objext
19328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19329 (eval $ac_compile) 2>conftest.er1
19330 ac_status=$?
19331 grep -v '^ *+' conftest.er1 >conftest.err
19332 rm -f conftest.er1
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } &&
19336 { ac_try='test -z "$ac_cxx_werror_flag"
19337 || test ! -s conftest.err'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; } &&
19343 { ac_try='test -s conftest.$ac_objext'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19346 ac_status=$?
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; }; then
19349 glibcxx_cv_func_long_double_round_use=yes
19350 else
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 glibcxx_cv_func_long_double_round_use=no
19356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19357 ac_ext=c
19358 ac_cpp='$CPP $CPPFLAGS'
19359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19366 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19367 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19370 for ac_func in ceill floorl
19372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19373 echo "$as_me:$LINENO: checking for $ac_func" >&5
19374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19375 if eval "test \"\${$as_ac_var+set}\" = set"; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 else
19378 if test x$gcc_no_link = xyes; then
19379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19381 { (exit 1); exit 1; }; }
19383 cat >conftest.$ac_ext <<_ACEOF
19384 /* confdefs.h. */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19391 #define $ac_func innocuous_$ac_func
19393 /* System header to define __stub macros and hopefully few prototypes,
19394 which can conflict with char $ac_func (); below.
19395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19396 <limits.h> exists even on freestanding compilers. */
19398 #ifdef __STDC__
19399 # include <limits.h>
19400 #else
19401 # include <assert.h>
19402 #endif
19404 #undef $ac_func
19406 /* Override any gcc2 internal prototype to avoid an error. */
19407 #ifdef __cplusplus
19408 extern "C"
19410 #endif
19411 /* We use char because int might match the return type of a gcc2
19412 builtin and then its argument prototype would still apply. */
19413 char $ac_func ();
19414 /* The GNU C library defines this for functions which it implements
19415 to always fail with ENOSYS. Some functions are actually named
19416 something starting with __ and the normal name is an alias. */
19417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19418 choke me
19419 #else
19420 char (*f) () = $ac_func;
19421 #endif
19422 #ifdef __cplusplus
19424 #endif
19427 main ()
19429 return f != $ac_func;
19431 return 0;
19433 _ACEOF
19434 rm -f conftest.$ac_objext conftest$ac_exeext
19435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19436 (eval $ac_link) 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } &&
19443 { ac_try='test -z "$ac_c_werror_flag"
19444 || test ! -s conftest.err'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19447 ac_status=$?
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; } &&
19450 { ac_try='test -s conftest$ac_exeext'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19453 ac_status=$?
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; }; then
19456 eval "$as_ac_var=yes"
19457 else
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.$ac_ext >&5
19461 eval "$as_ac_var=no"
19463 rm -f conftest.err conftest.$ac_objext \
19464 conftest$ac_exeext conftest.$ac_ext
19466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19468 if test `eval echo '${'$as_ac_var'}'` = yes; then
19469 cat >>confdefs.h <<_ACEOF
19470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19471 _ACEOF
19474 done
19476 else
19477 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19478 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19479 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19480 echo $ECHO_N "(cached) $ECHO_C" >&6
19481 else
19485 ac_ext=cc
19486 ac_cpp='$CXXCPP $CPPFLAGS'
19487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 #include <math.h>
19499 main ()
19501 _ceill (0); _floorl (0);
19503 return 0;
19505 _ACEOF
19506 rm -f conftest.$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508 (eval $ac_compile) 2>conftest.er1
19509 ac_status=$?
19510 grep -v '^ *+' conftest.er1 >conftest.err
19511 rm -f conftest.er1
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try='test -z "$ac_cxx_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 glibcxx_cv_func__long_double_round_use=yes
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 glibcxx_cv_func__long_double_round_use=no
19535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19536 ac_ext=c
19537 ac_cpp='$CPP $CPPFLAGS'
19538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19545 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19546 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19549 for ac_func in _ceill _floorl
19551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19552 echo "$as_me:$LINENO: checking for $ac_func" >&5
19553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19554 if eval "test \"\${$as_ac_var+set}\" = set"; then
19555 echo $ECHO_N "(cached) $ECHO_C" >&6
19556 else
19557 if test x$gcc_no_link = xyes; then
19558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19560 { (exit 1); exit 1; }; }
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19570 #define $ac_func innocuous_$ac_func
19572 /* System header to define __stub macros and hopefully few prototypes,
19573 which can conflict with char $ac_func (); below.
19574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19575 <limits.h> exists even on freestanding compilers. */
19577 #ifdef __STDC__
19578 # include <limits.h>
19579 #else
19580 # include <assert.h>
19581 #endif
19583 #undef $ac_func
19585 /* Override any gcc2 internal prototype to avoid an error. */
19586 #ifdef __cplusplus
19587 extern "C"
19589 #endif
19590 /* We use char because int might match the return type of a gcc2
19591 builtin and then its argument prototype would still apply. */
19592 char $ac_func ();
19593 /* The GNU C library defines this for functions which it implements
19594 to always fail with ENOSYS. Some functions are actually named
19595 something starting with __ and the normal name is an alias. */
19596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19597 choke me
19598 #else
19599 char (*f) () = $ac_func;
19600 #endif
19601 #ifdef __cplusplus
19603 #endif
19606 main ()
19608 return f != $ac_func;
19610 return 0;
19612 _ACEOF
19613 rm -f conftest.$ac_objext conftest$ac_exeext
19614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19615 (eval $ac_link) 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -z "$ac_c_werror_flag"
19623 || test ! -s conftest.err'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19626 ac_status=$?
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; } &&
19629 { ac_try='test -s conftest$ac_exeext'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 eval "$as_ac_var=yes"
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 eval "$as_ac_var=no"
19642 rm -f conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext conftest.$ac_ext
19645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19647 if test `eval echo '${'$as_ac_var'}'` = yes; then
19648 cat >>confdefs.h <<_ACEOF
19649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19650 _ACEOF
19653 done
19665 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19666 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19667 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19668 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19674 ac_ext=cc
19675 ac_cpp='$CXXCPP $CPPFLAGS'
19676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19680 cat >conftest.$ac_ext <<_ACEOF
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 #include <math.h>
19687 #ifdef HAVE_IEEEFP_H
19688 #include <ieeefp.h>
19689 #endif
19692 main ()
19694 isnanl(0);
19696 return 0;
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19701 (eval $ac_compile) 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } &&
19708 { ac_try='test -z "$ac_cxx_werror_flag"
19709 || test ! -s conftest.err'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; } &&
19715 { ac_try='test -s conftest.$ac_objext'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 glibcxx_cv_func_isnanl_use=yes
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 glibcxx_cv_func_isnanl_use=no
19728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19729 ac_ext=c
19730 ac_cpp='$CPP $CPPFLAGS'
19731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19740 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19742 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19744 for ac_func in isnanl
19746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19747 echo "$as_me:$LINENO: checking for $ac_func" >&5
19748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19749 if eval "test \"\${$as_ac_var+set}\" = set"; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 else
19752 if test x$gcc_no_link = xyes; then
19753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19755 { (exit 1); exit 1; }; }
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19765 #define $ac_func innocuous_$ac_func
19767 /* System header to define __stub macros and hopefully few prototypes,
19768 which can conflict with char $ac_func (); below.
19769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19770 <limits.h> exists even on freestanding compilers. */
19772 #ifdef __STDC__
19773 # include <limits.h>
19774 #else
19775 # include <assert.h>
19776 #endif
19778 #undef $ac_func
19780 /* Override any gcc2 internal prototype to avoid an error. */
19781 #ifdef __cplusplus
19782 extern "C"
19784 #endif
19785 /* We use char because int might match the return type of a gcc2
19786 builtin and then its argument prototype would still apply. */
19787 char $ac_func ();
19788 /* The GNU C library defines this for functions which it implements
19789 to always fail with ENOSYS. Some functions are actually named
19790 something starting with __ and the normal name is an alias. */
19791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19792 choke me
19793 #else
19794 char (*f) () = $ac_func;
19795 #endif
19796 #ifdef __cplusplus
19798 #endif
19801 main ()
19803 return f != $ac_func;
19805 return 0;
19807 _ACEOF
19808 rm -f conftest.$ac_objext conftest$ac_exeext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810 (eval $ac_link) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_c_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try='test -s conftest$ac_exeext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 eval "$as_ac_var=yes"
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 eval "$as_ac_var=no"
19837 rm -f conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19842 if test `eval echo '${'$as_ac_var'}'` = yes; then
19843 cat >>confdefs.h <<_ACEOF
19844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19845 _ACEOF
19848 done
19850 else
19852 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19853 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19854 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19855 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19857 else
19861 ac_ext=cc
19862 ac_cpp='$CXXCPP $CPPFLAGS'
19863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 #include <math.h>
19874 #ifdef HAVE_IEEEFP_H
19875 #include <ieeefp.h>
19876 #endif
19879 main ()
19881 _isnanl(0);
19883 return 0;
19885 _ACEOF
19886 rm -f conftest.$ac_objext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19888 (eval $ac_compile) 2>conftest.er1
19889 ac_status=$?
19890 grep -v '^ *+' conftest.er1 >conftest.err
19891 rm -f conftest.er1
19892 cat conftest.err >&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } &&
19895 { ac_try='test -z "$ac_cxx_werror_flag"
19896 || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try='test -s conftest.$ac_objext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 glibcxx_cv_func__isnanl_use=yes
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 glibcxx_cv_func__isnanl_use=no
19915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916 ac_ext=c
19917 ac_cpp='$CPP $CPPFLAGS'
19918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19927 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19929 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19931 for ac_func in _isnanl
19933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19934 echo "$as_me:$LINENO: checking for $ac_func" >&5
19935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19936 if eval "test \"\${$as_ac_var+set}\" = set"; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 if test x$gcc_no_link = xyes; then
19940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19942 { (exit 1); exit 1; }; }
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19952 #define $ac_func innocuous_$ac_func
19954 /* System header to define __stub macros and hopefully few prototypes,
19955 which can conflict with char $ac_func (); below.
19956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19957 <limits.h> exists even on freestanding compilers. */
19959 #ifdef __STDC__
19960 # include <limits.h>
19961 #else
19962 # include <assert.h>
19963 #endif
19965 #undef $ac_func
19967 /* Override any gcc2 internal prototype to avoid an error. */
19968 #ifdef __cplusplus
19969 extern "C"
19971 #endif
19972 /* We use char because int might match the return type of a gcc2
19973 builtin and then its argument prototype would still apply. */
19974 char $ac_func ();
19975 /* The GNU C library defines this for functions which it implements
19976 to always fail with ENOSYS. Some functions are actually named
19977 something starting with __ and the normal name is an alias. */
19978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19979 choke me
19980 #else
19981 char (*f) () = $ac_func;
19982 #endif
19983 #ifdef __cplusplus
19985 #endif
19988 main ()
19990 return f != $ac_func;
19992 return 0;
19994 _ACEOF
19995 rm -f conftest.$ac_objext conftest$ac_exeext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19997 (eval $ac_link) 2>conftest.er1
19998 ac_status=$?
19999 grep -v '^ *+' conftest.er1 >conftest.err
20000 rm -f conftest.er1
20001 cat conftest.err >&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -z "$ac_c_werror_flag"
20005 || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest$ac_exeext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 eval "$as_ac_var=yes"
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20022 eval "$as_ac_var=no"
20024 rm -f conftest.err conftest.$ac_objext \
20025 conftest$ac_exeext conftest.$ac_ext
20027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20029 if test `eval echo '${'$as_ac_var'}'` = yes; then
20030 cat >>confdefs.h <<_ACEOF
20031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20032 _ACEOF
20035 done
20045 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
20046 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
20047 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
20048 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20054 ac_ext=cc
20055 ac_cpp='$CXXCPP $CPPFLAGS'
20056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 #include <math.h>
20067 #ifdef HAVE_IEEEFP_H
20068 #include <ieeefp.h>
20069 #endif
20072 main ()
20074 isinfl(0);
20076 return 0;
20078 _ACEOF
20079 rm -f conftest.$ac_objext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20081 (eval $ac_compile) 2>conftest.er1
20082 ac_status=$?
20083 grep -v '^ *+' conftest.er1 >conftest.err
20084 rm -f conftest.er1
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } &&
20088 { ac_try='test -z "$ac_cxx_werror_flag"
20089 || test ! -s conftest.err'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; } &&
20095 { ac_try='test -s conftest.$ac_objext'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20098 ac_status=$?
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; }; then
20101 glibcxx_cv_func_isinfl_use=yes
20102 else
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20106 glibcxx_cv_func_isinfl_use=no
20108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20109 ac_ext=c
20110 ac_cpp='$CPP $CPPFLAGS'
20111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
20120 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
20122 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
20124 for ac_func in isinfl
20126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20127 echo "$as_me:$LINENO: checking for $ac_func" >&5
20128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20129 if eval "test \"\${$as_ac_var+set}\" = set"; then
20130 echo $ECHO_N "(cached) $ECHO_C" >&6
20131 else
20132 if test x$gcc_no_link = xyes; then
20133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20135 { (exit 1); exit 1; }; }
20137 cat >conftest.$ac_ext <<_ACEOF
20138 /* confdefs.h. */
20139 _ACEOF
20140 cat confdefs.h >>conftest.$ac_ext
20141 cat >>conftest.$ac_ext <<_ACEOF
20142 /* end confdefs.h. */
20143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20145 #define $ac_func innocuous_$ac_func
20147 /* System header to define __stub macros and hopefully few prototypes,
20148 which can conflict with char $ac_func (); below.
20149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20150 <limits.h> exists even on freestanding compilers. */
20152 #ifdef __STDC__
20153 # include <limits.h>
20154 #else
20155 # include <assert.h>
20156 #endif
20158 #undef $ac_func
20160 /* Override any gcc2 internal prototype to avoid an error. */
20161 #ifdef __cplusplus
20162 extern "C"
20164 #endif
20165 /* We use char because int might match the return type of a gcc2
20166 builtin and then its argument prototype would still apply. */
20167 char $ac_func ();
20168 /* The GNU C library defines this for functions which it implements
20169 to always fail with ENOSYS. Some functions are actually named
20170 something starting with __ and the normal name is an alias. */
20171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20172 choke me
20173 #else
20174 char (*f) () = $ac_func;
20175 #endif
20176 #ifdef __cplusplus
20178 #endif
20181 main ()
20183 return f != $ac_func;
20185 return 0;
20187 _ACEOF
20188 rm -f conftest.$ac_objext conftest$ac_exeext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20190 (eval $ac_link) 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try='test -z "$ac_c_werror_flag"
20198 || test ! -s conftest.err'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; } &&
20204 { ac_try='test -s conftest$ac_exeext'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; }; then
20210 eval "$as_ac_var=yes"
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 eval "$as_ac_var=no"
20217 rm -f conftest.err conftest.$ac_objext \
20218 conftest$ac_exeext conftest.$ac_ext
20220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20222 if test `eval echo '${'$as_ac_var'}'` = yes; then
20223 cat >>confdefs.h <<_ACEOF
20224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20225 _ACEOF
20228 done
20230 else
20232 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20233 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20234 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20235 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 else
20241 ac_ext=cc
20242 ac_cpp='$CXXCPP $CPPFLAGS'
20243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 #include <math.h>
20254 #ifdef HAVE_IEEEFP_H
20255 #include <ieeefp.h>
20256 #endif
20259 main ()
20261 _isinfl(0);
20263 return 0;
20265 _ACEOF
20266 rm -f conftest.$ac_objext
20267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20268 (eval $ac_compile) 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } &&
20275 { ac_try='test -z "$ac_cxx_werror_flag"
20276 || test ! -s conftest.err'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20279 ac_status=$?
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; } &&
20282 { ac_try='test -s conftest.$ac_objext'
20283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20284 (eval $ac_try) 2>&5
20285 ac_status=$?
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); }; }; then
20288 glibcxx_cv_func__isinfl_use=yes
20289 else
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20293 glibcxx_cv_func__isinfl_use=no
20295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20296 ac_ext=c
20297 ac_cpp='$CPP $CPPFLAGS'
20298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20307 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20309 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20311 for ac_func in _isinfl
20313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20314 echo "$as_me:$LINENO: checking for $ac_func" >&5
20315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20316 if eval "test \"\${$as_ac_var+set}\" = set"; then
20317 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 else
20319 if test x$gcc_no_link = xyes; then
20320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20322 { (exit 1); exit 1; }; }
20324 cat >conftest.$ac_ext <<_ACEOF
20325 /* confdefs.h. */
20326 _ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20332 #define $ac_func innocuous_$ac_func
20334 /* System header to define __stub macros and hopefully few prototypes,
20335 which can conflict with char $ac_func (); below.
20336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20337 <limits.h> exists even on freestanding compilers. */
20339 #ifdef __STDC__
20340 # include <limits.h>
20341 #else
20342 # include <assert.h>
20343 #endif
20345 #undef $ac_func
20347 /* Override any gcc2 internal prototype to avoid an error. */
20348 #ifdef __cplusplus
20349 extern "C"
20351 #endif
20352 /* We use char because int might match the return type of a gcc2
20353 builtin and then its argument prototype would still apply. */
20354 char $ac_func ();
20355 /* The GNU C library defines this for functions which it implements
20356 to always fail with ENOSYS. Some functions are actually named
20357 something starting with __ and the normal name is an alias. */
20358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20359 choke me
20360 #else
20361 char (*f) () = $ac_func;
20362 #endif
20363 #ifdef __cplusplus
20365 #endif
20368 main ()
20370 return f != $ac_func;
20372 return 0;
20374 _ACEOF
20375 rm -f conftest.$ac_objext conftest$ac_exeext
20376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20377 (eval $ac_link) 2>conftest.er1
20378 ac_status=$?
20379 grep -v '^ *+' conftest.er1 >conftest.err
20380 rm -f conftest.er1
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } &&
20384 { ac_try='test -z "$ac_c_werror_flag"
20385 || test ! -s conftest.err'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20388 ac_status=$?
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try='test -s conftest$ac_exeext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20394 ac_status=$?
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 eval "$as_ac_var=yes"
20398 else
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 eval "$as_ac_var=no"
20404 rm -f conftest.err conftest.$ac_objext \
20405 conftest$ac_exeext conftest.$ac_ext
20407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20409 if test `eval echo '${'$as_ac_var'}'` = yes; then
20410 cat >>confdefs.h <<_ACEOF
20411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20412 _ACEOF
20415 done
20425 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20426 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20427 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20428 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20429 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 else
20434 ac_ext=cc
20435 ac_cpp='$CXXCPP $CPPFLAGS'
20436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 #include <math.h>
20448 main ()
20450 copysignl(0, 0);
20452 return 0;
20454 _ACEOF
20455 rm -f conftest.$ac_objext
20456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20457 (eval $ac_compile) 2>conftest.er1
20458 ac_status=$?
20459 grep -v '^ *+' conftest.er1 >conftest.err
20460 rm -f conftest.er1
20461 cat conftest.err >&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } &&
20464 { ac_try='test -z "$ac_cxx_werror_flag"
20465 || test ! -s conftest.err'
20466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467 (eval $ac_try) 2>&5
20468 ac_status=$?
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; } &&
20471 { ac_try='test -s conftest.$ac_objext'
20472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473 (eval $ac_try) 2>&5
20474 ac_status=$?
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); }; }; then
20477 glibcxx_cv_func_copysignl_use=yes
20478 else
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20482 glibcxx_cv_func_copysignl_use=no
20484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20485 ac_ext=c
20486 ac_cpp='$CPP $CPPFLAGS'
20487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20496 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20498 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20500 for ac_func in copysignl
20502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20503 echo "$as_me:$LINENO: checking for $ac_func" >&5
20504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20505 if eval "test \"\${$as_ac_var+set}\" = set"; then
20506 echo $ECHO_N "(cached) $ECHO_C" >&6
20507 else
20508 if test x$gcc_no_link = xyes; then
20509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20511 { (exit 1); exit 1; }; }
20513 cat >conftest.$ac_ext <<_ACEOF
20514 /* confdefs.h. */
20515 _ACEOF
20516 cat confdefs.h >>conftest.$ac_ext
20517 cat >>conftest.$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20521 #define $ac_func innocuous_$ac_func
20523 /* System header to define __stub macros and hopefully few prototypes,
20524 which can conflict with char $ac_func (); below.
20525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20526 <limits.h> exists even on freestanding compilers. */
20528 #ifdef __STDC__
20529 # include <limits.h>
20530 #else
20531 # include <assert.h>
20532 #endif
20534 #undef $ac_func
20536 /* Override any gcc2 internal prototype to avoid an error. */
20537 #ifdef __cplusplus
20538 extern "C"
20540 #endif
20541 /* We use char because int might match the return type of a gcc2
20542 builtin and then its argument prototype would still apply. */
20543 char $ac_func ();
20544 /* The GNU C library defines this for functions which it implements
20545 to always fail with ENOSYS. Some functions are actually named
20546 something starting with __ and the normal name is an alias. */
20547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20548 choke me
20549 #else
20550 char (*f) () = $ac_func;
20551 #endif
20552 #ifdef __cplusplus
20554 #endif
20557 main ()
20559 return f != $ac_func;
20561 return 0;
20563 _ACEOF
20564 rm -f conftest.$ac_objext conftest$ac_exeext
20565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20566 (eval $ac_link) 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } &&
20573 { ac_try='test -z "$ac_c_werror_flag"
20574 || test ! -s conftest.err'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20577 ac_status=$?
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; } &&
20580 { ac_try='test -s conftest$ac_exeext'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20583 ac_status=$?
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 eval "$as_ac_var=yes"
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20591 eval "$as_ac_var=no"
20593 rm -f conftest.err conftest.$ac_objext \
20594 conftest$ac_exeext conftest.$ac_ext
20596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20598 if test `eval echo '${'$as_ac_var'}'` = yes; then
20599 cat >>confdefs.h <<_ACEOF
20600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20601 _ACEOF
20604 done
20606 else
20608 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20609 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20610 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20611 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 else
20617 ac_ext=cc
20618 ac_cpp='$CXXCPP $CPPFLAGS'
20619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20623 cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h. */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 #include <math.h>
20631 main ()
20633 _copysignl(0, 0);
20635 return 0;
20637 _ACEOF
20638 rm -f conftest.$ac_objext
20639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20640 (eval $ac_compile) 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } &&
20647 { ac_try='test -z "$ac_cxx_werror_flag"
20648 || test ! -s conftest.err'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20651 ac_status=$?
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; } &&
20654 { ac_try='test -s conftest.$ac_objext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20657 ac_status=$?
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 glibcxx_cv_func__copysignl_use=yes
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20665 glibcxx_cv_func__copysignl_use=no
20667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20668 ac_ext=c
20669 ac_cpp='$CPP $CPPFLAGS'
20670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20679 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20681 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20683 for ac_func in _copysignl
20685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20686 echo "$as_me:$LINENO: checking for $ac_func" >&5
20687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20688 if eval "test \"\${$as_ac_var+set}\" = set"; then
20689 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 else
20691 if test x$gcc_no_link = xyes; then
20692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20694 { (exit 1); exit 1; }; }
20696 cat >conftest.$ac_ext <<_ACEOF
20697 /* confdefs.h. */
20698 _ACEOF
20699 cat confdefs.h >>conftest.$ac_ext
20700 cat >>conftest.$ac_ext <<_ACEOF
20701 /* end confdefs.h. */
20702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20704 #define $ac_func innocuous_$ac_func
20706 /* System header to define __stub macros and hopefully few prototypes,
20707 which can conflict with char $ac_func (); below.
20708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20709 <limits.h> exists even on freestanding compilers. */
20711 #ifdef __STDC__
20712 # include <limits.h>
20713 #else
20714 # include <assert.h>
20715 #endif
20717 #undef $ac_func
20719 /* Override any gcc2 internal prototype to avoid an error. */
20720 #ifdef __cplusplus
20721 extern "C"
20723 #endif
20724 /* We use char because int might match the return type of a gcc2
20725 builtin and then its argument prototype would still apply. */
20726 char $ac_func ();
20727 /* The GNU C library defines this for functions which it implements
20728 to always fail with ENOSYS. Some functions are actually named
20729 something starting with __ and the normal name is an alias. */
20730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20731 choke me
20732 #else
20733 char (*f) () = $ac_func;
20734 #endif
20735 #ifdef __cplusplus
20737 #endif
20740 main ()
20742 return f != $ac_func;
20744 return 0;
20746 _ACEOF
20747 rm -f conftest.$ac_objext conftest$ac_exeext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20749 (eval $ac_link) 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try='test -z "$ac_c_werror_flag"
20757 || test ! -s conftest.err'
20758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20759 (eval $ac_try) 2>&5
20760 ac_status=$?
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); }; } &&
20763 { ac_try='test -s conftest$ac_exeext'
20764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20765 (eval $ac_try) 2>&5
20766 ac_status=$?
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); }; }; then
20769 eval "$as_ac_var=yes"
20770 else
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.$ac_ext >&5
20774 eval "$as_ac_var=no"
20776 rm -f conftest.err conftest.$ac_objext \
20777 conftest$ac_exeext conftest.$ac_ext
20779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20781 if test `eval echo '${'$as_ac_var'}'` = yes; then
20782 cat >>confdefs.h <<_ACEOF
20783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20784 _ACEOF
20787 done
20797 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20798 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20799 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20800 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 else
20806 ac_ext=cc
20807 ac_cpp='$CXXCPP $CPPFLAGS'
20808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20812 cat >conftest.$ac_ext <<_ACEOF
20813 /* confdefs.h. */
20814 _ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 #include <math.h>
20820 main ()
20822 atan2l(0, 0);
20824 return 0;
20826 _ACEOF
20827 rm -f conftest.$ac_objext
20828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20829 (eval $ac_compile) 2>conftest.er1
20830 ac_status=$?
20831 grep -v '^ *+' conftest.er1 >conftest.err
20832 rm -f conftest.er1
20833 cat conftest.err >&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); } &&
20836 { ac_try='test -z "$ac_cxx_werror_flag"
20837 || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20840 ac_status=$?
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 glibcxx_cv_func_atan2l_use=yes
20850 else
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.$ac_ext >&5
20854 glibcxx_cv_func_atan2l_use=no
20856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20857 ac_ext=c
20858 ac_cpp='$CPP $CPPFLAGS'
20859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20868 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20870 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20872 for ac_func in atan2l
20874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20875 echo "$as_me:$LINENO: checking for $ac_func" >&5
20876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20877 if eval "test \"\${$as_ac_var+set}\" = set"; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 else
20880 if test x$gcc_no_link = xyes; then
20881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20883 { (exit 1); exit 1; }; }
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20893 #define $ac_func innocuous_$ac_func
20895 /* System header to define __stub macros and hopefully few prototypes,
20896 which can conflict with char $ac_func (); below.
20897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20898 <limits.h> exists even on freestanding compilers. */
20900 #ifdef __STDC__
20901 # include <limits.h>
20902 #else
20903 # include <assert.h>
20904 #endif
20906 #undef $ac_func
20908 /* Override any gcc2 internal prototype to avoid an error. */
20909 #ifdef __cplusplus
20910 extern "C"
20912 #endif
20913 /* We use char because int might match the return type of a gcc2
20914 builtin and then its argument prototype would still apply. */
20915 char $ac_func ();
20916 /* The GNU C library defines this for functions which it implements
20917 to always fail with ENOSYS. Some functions are actually named
20918 something starting with __ and the normal name is an alias. */
20919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20920 choke me
20921 #else
20922 char (*f) () = $ac_func;
20923 #endif
20924 #ifdef __cplusplus
20926 #endif
20929 main ()
20931 return f != $ac_func;
20933 return 0;
20935 _ACEOF
20936 rm -f conftest.$ac_objext conftest$ac_exeext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20938 (eval $ac_link) 2>conftest.er1
20939 ac_status=$?
20940 grep -v '^ *+' conftest.er1 >conftest.err
20941 rm -f conftest.er1
20942 cat conftest.err >&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try='test -z "$ac_c_werror_flag"
20946 || test ! -s conftest.err'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; } &&
20952 { ac_try='test -s conftest$ac_exeext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20955 ac_status=$?
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 eval "$as_ac_var=yes"
20959 else
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20963 eval "$as_ac_var=no"
20965 rm -f conftest.err conftest.$ac_objext \
20966 conftest$ac_exeext conftest.$ac_ext
20968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20970 if test `eval echo '${'$as_ac_var'}'` = yes; then
20971 cat >>confdefs.h <<_ACEOF
20972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20973 _ACEOF
20976 done
20978 else
20980 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20981 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20982 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20983 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20984 echo $ECHO_N "(cached) $ECHO_C" >&6
20985 else
20989 ac_ext=cc
20990 ac_cpp='$CXXCPP $CPPFLAGS'
20991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20995 cat >conftest.$ac_ext <<_ACEOF
20996 /* confdefs.h. */
20997 _ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 #include <math.h>
21003 main ()
21005 _atan2l(0, 0);
21007 return 0;
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21012 (eval $ac_compile) 2>conftest.er1
21013 ac_status=$?
21014 grep -v '^ *+' conftest.er1 >conftest.err
21015 rm -f conftest.er1
21016 cat conftest.err >&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } &&
21019 { ac_try='test -z "$ac_cxx_werror_flag"
21020 || test ! -s conftest.err'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; } &&
21026 { ac_try='test -s conftest.$ac_objext'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 glibcxx_cv_func__atan2l_use=yes
21033 else
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21037 glibcxx_cv_func__atan2l_use=no
21039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21040 ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
21051 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
21053 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
21055 for ac_func in _atan2l
21057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21058 echo "$as_me:$LINENO: checking for $ac_func" >&5
21059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21060 if eval "test \"\${$as_ac_var+set}\" = set"; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 else
21063 if test x$gcc_no_link = xyes; then
21064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21066 { (exit 1); exit 1; }; }
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21076 #define $ac_func innocuous_$ac_func
21078 /* System header to define __stub macros and hopefully few prototypes,
21079 which can conflict with char $ac_func (); below.
21080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081 <limits.h> exists even on freestanding compilers. */
21083 #ifdef __STDC__
21084 # include <limits.h>
21085 #else
21086 # include <assert.h>
21087 #endif
21089 #undef $ac_func
21091 /* Override any gcc2 internal prototype to avoid an error. */
21092 #ifdef __cplusplus
21093 extern "C"
21095 #endif
21096 /* We use char because int might match the return type of a gcc2
21097 builtin and then its argument prototype would still apply. */
21098 char $ac_func ();
21099 /* The GNU C library defines this for functions which it implements
21100 to always fail with ENOSYS. Some functions are actually named
21101 something starting with __ and the normal name is an alias. */
21102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21103 choke me
21104 #else
21105 char (*f) () = $ac_func;
21106 #endif
21107 #ifdef __cplusplus
21109 #endif
21112 main ()
21114 return f != $ac_func;
21116 return 0;
21118 _ACEOF
21119 rm -f conftest.$ac_objext conftest$ac_exeext
21120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21121 (eval $ac_link) 2>conftest.er1
21122 ac_status=$?
21123 grep -v '^ *+' conftest.er1 >conftest.err
21124 rm -f conftest.er1
21125 cat conftest.err >&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } &&
21128 { ac_try='test -z "$ac_c_werror_flag"
21129 || test ! -s conftest.err'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; } &&
21135 { ac_try='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 eval "$as_ac_var=yes"
21142 else
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21146 eval "$as_ac_var=no"
21148 rm -f conftest.err conftest.$ac_objext \
21149 conftest$ac_exeext conftest.$ac_ext
21151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21153 if test `eval echo '${'$as_ac_var'}'` = yes; then
21154 cat >>confdefs.h <<_ACEOF
21155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21156 _ACEOF
21159 done
21169 echo "$as_me:$LINENO: checking for expl declaration" >&5
21170 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21171 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21172 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 else
21178 ac_ext=cc
21179 ac_cpp='$CXXCPP $CPPFLAGS'
21180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21184 cat >conftest.$ac_ext <<_ACEOF
21185 /* confdefs.h. */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h. */
21190 #include <math.h>
21191 #ifdef HAVE_IEEEFP_H
21192 #include <ieeefp.h>
21193 #endif
21196 main ()
21198 expl(0);
21200 return 0;
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21205 (eval $ac_compile) 2>conftest.er1
21206 ac_status=$?
21207 grep -v '^ *+' conftest.er1 >conftest.err
21208 rm -f conftest.er1
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } &&
21212 { ac_try='test -z "$ac_cxx_werror_flag"
21213 || test ! -s conftest.err'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; } &&
21219 { ac_try='test -s conftest.$ac_objext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21222 ac_status=$?
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 glibcxx_cv_func_expl_use=yes
21226 else
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.$ac_ext >&5
21230 glibcxx_cv_func_expl_use=no
21232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21233 ac_ext=c
21234 ac_cpp='$CPP $CPPFLAGS'
21235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21244 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21246 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21248 for ac_func in expl
21250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21251 echo "$as_me:$LINENO: checking for $ac_func" >&5
21252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21253 if eval "test \"\${$as_ac_var+set}\" = set"; then
21254 echo $ECHO_N "(cached) $ECHO_C" >&6
21255 else
21256 if test x$gcc_no_link = xyes; then
21257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21259 { (exit 1); exit 1; }; }
21261 cat >conftest.$ac_ext <<_ACEOF
21262 /* confdefs.h. */
21263 _ACEOF
21264 cat confdefs.h >>conftest.$ac_ext
21265 cat >>conftest.$ac_ext <<_ACEOF
21266 /* end confdefs.h. */
21267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21269 #define $ac_func innocuous_$ac_func
21271 /* System header to define __stub macros and hopefully few prototypes,
21272 which can conflict with char $ac_func (); below.
21273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21274 <limits.h> exists even on freestanding compilers. */
21276 #ifdef __STDC__
21277 # include <limits.h>
21278 #else
21279 # include <assert.h>
21280 #endif
21282 #undef $ac_func
21284 /* Override any gcc2 internal prototype to avoid an error. */
21285 #ifdef __cplusplus
21286 extern "C"
21288 #endif
21289 /* We use char because int might match the return type of a gcc2
21290 builtin and then its argument prototype would still apply. */
21291 char $ac_func ();
21292 /* The GNU C library defines this for functions which it implements
21293 to always fail with ENOSYS. Some functions are actually named
21294 something starting with __ and the normal name is an alias. */
21295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21296 choke me
21297 #else
21298 char (*f) () = $ac_func;
21299 #endif
21300 #ifdef __cplusplus
21302 #endif
21305 main ()
21307 return f != $ac_func;
21309 return 0;
21311 _ACEOF
21312 rm -f conftest.$ac_objext conftest$ac_exeext
21313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21314 (eval $ac_link) 2>conftest.er1
21315 ac_status=$?
21316 grep -v '^ *+' conftest.er1 >conftest.err
21317 rm -f conftest.er1
21318 cat conftest.err >&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } &&
21321 { ac_try='test -z "$ac_c_werror_flag"
21322 || test ! -s conftest.err'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21325 ac_status=$?
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; } &&
21328 { ac_try='test -s conftest$ac_exeext'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21331 ac_status=$?
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; }; then
21334 eval "$as_ac_var=yes"
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21339 eval "$as_ac_var=no"
21341 rm -f conftest.err conftest.$ac_objext \
21342 conftest$ac_exeext conftest.$ac_ext
21344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21346 if test `eval echo '${'$as_ac_var'}'` = yes; then
21347 cat >>confdefs.h <<_ACEOF
21348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21349 _ACEOF
21352 done
21354 else
21356 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21357 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21358 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21359 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21360 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 else
21365 ac_ext=cc
21366 ac_cpp='$CXXCPP $CPPFLAGS'
21367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21371 cat >conftest.$ac_ext <<_ACEOF
21372 /* confdefs.h. */
21373 _ACEOF
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 #include <math.h>
21378 #ifdef HAVE_IEEEFP_H
21379 #include <ieeefp.h>
21380 #endif
21383 main ()
21385 _expl(0);
21387 return 0;
21389 _ACEOF
21390 rm -f conftest.$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392 (eval $ac_compile) 2>conftest.er1
21393 ac_status=$?
21394 grep -v '^ *+' conftest.er1 >conftest.err
21395 rm -f conftest.er1
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } &&
21399 { ac_try='test -z "$ac_cxx_werror_flag"
21400 || test ! -s conftest.err'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; } &&
21406 { ac_try='test -s conftest.$ac_objext'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; }; then
21412 glibcxx_cv_func__expl_use=yes
21413 else
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21417 glibcxx_cv_func__expl_use=no
21419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21420 ac_ext=c
21421 ac_cpp='$CPP $CPPFLAGS'
21422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21431 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21433 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21435 for ac_func in _expl
21437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21438 echo "$as_me:$LINENO: checking for $ac_func" >&5
21439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21440 if eval "test \"\${$as_ac_var+set}\" = set"; then
21441 echo $ECHO_N "(cached) $ECHO_C" >&6
21442 else
21443 if test x$gcc_no_link = xyes; then
21444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21446 { (exit 1); exit 1; }; }
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21456 #define $ac_func innocuous_$ac_func
21458 /* System header to define __stub macros and hopefully few prototypes,
21459 which can conflict with char $ac_func (); below.
21460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21461 <limits.h> exists even on freestanding compilers. */
21463 #ifdef __STDC__
21464 # include <limits.h>
21465 #else
21466 # include <assert.h>
21467 #endif
21469 #undef $ac_func
21471 /* Override any gcc2 internal prototype to avoid an error. */
21472 #ifdef __cplusplus
21473 extern "C"
21475 #endif
21476 /* We use char because int might match the return type of a gcc2
21477 builtin and then its argument prototype would still apply. */
21478 char $ac_func ();
21479 /* The GNU C library defines this for functions which it implements
21480 to always fail with ENOSYS. Some functions are actually named
21481 something starting with __ and the normal name is an alias. */
21482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21483 choke me
21484 #else
21485 char (*f) () = $ac_func;
21486 #endif
21487 #ifdef __cplusplus
21489 #endif
21492 main ()
21494 return f != $ac_func;
21496 return 0;
21498 _ACEOF
21499 rm -f conftest.$ac_objext conftest$ac_exeext
21500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21501 (eval $ac_link) 2>conftest.er1
21502 ac_status=$?
21503 grep -v '^ *+' conftest.er1 >conftest.err
21504 rm -f conftest.er1
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -z "$ac_c_werror_flag"
21509 || test ! -s conftest.err'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21512 ac_status=$?
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; } &&
21515 { ac_try='test -s conftest$ac_exeext'
21516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21517 (eval $ac_try) 2>&5
21518 ac_status=$?
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); }; }; then
21521 eval "$as_ac_var=yes"
21522 else
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21526 eval "$as_ac_var=no"
21528 rm -f conftest.err conftest.$ac_objext \
21529 conftest$ac_exeext conftest.$ac_ext
21531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21533 if test `eval echo '${'$as_ac_var'}'` = yes; then
21534 cat >>confdefs.h <<_ACEOF
21535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21536 _ACEOF
21539 done
21549 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21550 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21551 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21552 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21553 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 else
21558 ac_ext=cc
21559 ac_cpp='$CXXCPP $CPPFLAGS'
21560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21564 cat >conftest.$ac_ext <<_ACEOF
21565 /* confdefs.h. */
21566 _ACEOF
21567 cat confdefs.h >>conftest.$ac_ext
21568 cat >>conftest.$ac_ext <<_ACEOF
21569 /* end confdefs.h. */
21570 #include <math.h>
21571 #ifdef HAVE_IEEEFP_H
21572 #include <ieeefp.h>
21573 #endif
21576 main ()
21578 fabsl(0);
21580 return 0;
21582 _ACEOF
21583 rm -f conftest.$ac_objext
21584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21585 (eval $ac_compile) 2>conftest.er1
21586 ac_status=$?
21587 grep -v '^ *+' conftest.er1 >conftest.err
21588 rm -f conftest.er1
21589 cat conftest.err >&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); } &&
21592 { ac_try='test -z "$ac_cxx_werror_flag"
21593 || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try='test -s conftest.$ac_objext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 glibcxx_cv_func_fabsl_use=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21610 glibcxx_cv_func_fabsl_use=no
21612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21613 ac_ext=c
21614 ac_cpp='$CPP $CPPFLAGS'
21615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21624 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21626 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21628 for ac_func in fabsl
21630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21631 echo "$as_me:$LINENO: checking for $ac_func" >&5
21632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21633 if eval "test \"\${$as_ac_var+set}\" = set"; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21635 else
21636 if test x$gcc_no_link = xyes; then
21637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21639 { (exit 1); exit 1; }; }
21641 cat >conftest.$ac_ext <<_ACEOF
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21649 #define $ac_func innocuous_$ac_func
21651 /* System header to define __stub macros and hopefully few prototypes,
21652 which can conflict with char $ac_func (); below.
21653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21654 <limits.h> exists even on freestanding compilers. */
21656 #ifdef __STDC__
21657 # include <limits.h>
21658 #else
21659 # include <assert.h>
21660 #endif
21662 #undef $ac_func
21664 /* Override any gcc2 internal prototype to avoid an error. */
21665 #ifdef __cplusplus
21666 extern "C"
21668 #endif
21669 /* We use char because int might match the return type of a gcc2
21670 builtin and then its argument prototype would still apply. */
21671 char $ac_func ();
21672 /* The GNU C library defines this for functions which it implements
21673 to always fail with ENOSYS. Some functions are actually named
21674 something starting with __ and the normal name is an alias. */
21675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21676 choke me
21677 #else
21678 char (*f) () = $ac_func;
21679 #endif
21680 #ifdef __cplusplus
21682 #endif
21685 main ()
21687 return f != $ac_func;
21689 return 0;
21691 _ACEOF
21692 rm -f conftest.$ac_objext conftest$ac_exeext
21693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21694 (eval $ac_link) 2>conftest.er1
21695 ac_status=$?
21696 grep -v '^ *+' conftest.er1 >conftest.err
21697 rm -f conftest.er1
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } &&
21701 { ac_try='test -z "$ac_c_werror_flag"
21702 || test ! -s conftest.err'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; } &&
21708 { ac_try='test -s conftest$ac_exeext'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 eval "$as_ac_var=yes"
21715 else
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 eval "$as_ac_var=no"
21721 rm -f conftest.err conftest.$ac_objext \
21722 conftest$ac_exeext conftest.$ac_ext
21724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21726 if test `eval echo '${'$as_ac_var'}'` = yes; then
21727 cat >>confdefs.h <<_ACEOF
21728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21729 _ACEOF
21732 done
21734 else
21736 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21737 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21738 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21739 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 else
21745 ac_ext=cc
21746 ac_cpp='$CXXCPP $CPPFLAGS'
21747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h. */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 #include <math.h>
21758 #ifdef HAVE_IEEEFP_H
21759 #include <ieeefp.h>
21760 #endif
21763 main ()
21765 _fabsl(0);
21767 return 0;
21769 _ACEOF
21770 rm -f conftest.$ac_objext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21772 (eval $ac_compile) 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try='test -z "$ac_cxx_werror_flag"
21780 || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try='test -s conftest.$ac_objext'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21789 ac_status=$?
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 glibcxx_cv_func__fabsl_use=yes
21793 else
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21797 glibcxx_cv_func__fabsl_use=no
21799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21800 ac_ext=c
21801 ac_cpp='$CPP $CPPFLAGS'
21802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21811 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21813 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21815 for ac_func in _fabsl
21817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21818 echo "$as_me:$LINENO: checking for $ac_func" >&5
21819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21820 if eval "test \"\${$as_ac_var+set}\" = set"; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 else
21823 if test x$gcc_no_link = xyes; then
21824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21826 { (exit 1); exit 1; }; }
21828 cat >conftest.$ac_ext <<_ACEOF
21829 /* confdefs.h. */
21830 _ACEOF
21831 cat confdefs.h >>conftest.$ac_ext
21832 cat >>conftest.$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21836 #define $ac_func innocuous_$ac_func
21838 /* System header to define __stub macros and hopefully few prototypes,
21839 which can conflict with char $ac_func (); below.
21840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21841 <limits.h> exists even on freestanding compilers. */
21843 #ifdef __STDC__
21844 # include <limits.h>
21845 #else
21846 # include <assert.h>
21847 #endif
21849 #undef $ac_func
21851 /* Override any gcc2 internal prototype to avoid an error. */
21852 #ifdef __cplusplus
21853 extern "C"
21855 #endif
21856 /* We use char because int might match the return type of a gcc2
21857 builtin and then its argument prototype would still apply. */
21858 char $ac_func ();
21859 /* The GNU C library defines this for functions which it implements
21860 to always fail with ENOSYS. Some functions are actually named
21861 something starting with __ and the normal name is an alias. */
21862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21863 choke me
21864 #else
21865 char (*f) () = $ac_func;
21866 #endif
21867 #ifdef __cplusplus
21869 #endif
21872 main ()
21874 return f != $ac_func;
21876 return 0;
21878 _ACEOF
21879 rm -f conftest.$ac_objext conftest$ac_exeext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21881 (eval $ac_link) 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try='test -z "$ac_c_werror_flag"
21889 || test ! -s conftest.err'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try='test -s conftest$ac_exeext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21898 ac_status=$?
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 eval "$as_ac_var=yes"
21902 else
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21906 eval "$as_ac_var=no"
21908 rm -f conftest.err conftest.$ac_objext \
21909 conftest$ac_exeext conftest.$ac_ext
21911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21913 if test `eval echo '${'$as_ac_var'}'` = yes; then
21914 cat >>confdefs.h <<_ACEOF
21915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21916 _ACEOF
21919 done
21929 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21930 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21931 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21932 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 else
21938 ac_ext=cc
21939 ac_cpp='$CXXCPP $CPPFLAGS'
21940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21944 cat >conftest.$ac_ext <<_ACEOF
21945 /* confdefs.h. */
21946 _ACEOF
21947 cat confdefs.h >>conftest.$ac_ext
21948 cat >>conftest.$ac_ext <<_ACEOF
21949 /* end confdefs.h. */
21950 #include <math.h>
21952 main ()
21954 fmodl(0, 0);
21956 return 0;
21958 _ACEOF
21959 rm -f conftest.$ac_objext
21960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21961 (eval $ac_compile) 2>conftest.er1
21962 ac_status=$?
21963 grep -v '^ *+' conftest.er1 >conftest.err
21964 rm -f conftest.er1
21965 cat conftest.err >&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); } &&
21968 { ac_try='test -z "$ac_cxx_werror_flag"
21969 || test ! -s conftest.err'
21970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21971 (eval $ac_try) 2>&5
21972 ac_status=$?
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); }; } &&
21975 { ac_try='test -s conftest.$ac_objext'
21976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21977 (eval $ac_try) 2>&5
21978 ac_status=$?
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); }; }; then
21981 glibcxx_cv_func_fmodl_use=yes
21982 else
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21986 glibcxx_cv_func_fmodl_use=no
21988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21989 ac_ext=c
21990 ac_cpp='$CPP $CPPFLAGS'
21991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
22000 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
22002 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
22004 for ac_func in fmodl
22006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22007 echo "$as_me:$LINENO: checking for $ac_func" >&5
22008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22009 if eval "test \"\${$as_ac_var+set}\" = set"; then
22010 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 else
22012 if test x$gcc_no_link = xyes; then
22013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22015 { (exit 1); exit 1; }; }
22017 cat >conftest.$ac_ext <<_ACEOF
22018 /* confdefs.h. */
22019 _ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22025 #define $ac_func innocuous_$ac_func
22027 /* System header to define __stub macros and hopefully few prototypes,
22028 which can conflict with char $ac_func (); below.
22029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22030 <limits.h> exists even on freestanding compilers. */
22032 #ifdef __STDC__
22033 # include <limits.h>
22034 #else
22035 # include <assert.h>
22036 #endif
22038 #undef $ac_func
22040 /* Override any gcc2 internal prototype to avoid an error. */
22041 #ifdef __cplusplus
22042 extern "C"
22044 #endif
22045 /* We use char because int might match the return type of a gcc2
22046 builtin and then its argument prototype would still apply. */
22047 char $ac_func ();
22048 /* The GNU C library defines this for functions which it implements
22049 to always fail with ENOSYS. Some functions are actually named
22050 something starting with __ and the normal name is an alias. */
22051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22052 choke me
22053 #else
22054 char (*f) () = $ac_func;
22055 #endif
22056 #ifdef __cplusplus
22058 #endif
22061 main ()
22063 return f != $ac_func;
22065 return 0;
22067 _ACEOF
22068 rm -f conftest.$ac_objext conftest$ac_exeext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22070 (eval $ac_link) 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try='test -z "$ac_c_werror_flag"
22078 || test ! -s conftest.err'
22079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22080 (eval $ac_try) 2>&5
22081 ac_status=$?
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); }; } &&
22084 { ac_try='test -s conftest$ac_exeext'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22087 ac_status=$?
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; }; then
22090 eval "$as_ac_var=yes"
22091 else
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.$ac_ext >&5
22095 eval "$as_ac_var=no"
22097 rm -f conftest.err conftest.$ac_objext \
22098 conftest$ac_exeext conftest.$ac_ext
22100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22102 if test `eval echo '${'$as_ac_var'}'` = yes; then
22103 cat >>confdefs.h <<_ACEOF
22104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22105 _ACEOF
22108 done
22110 else
22112 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
22113 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
22114 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
22115 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
22116 echo $ECHO_N "(cached) $ECHO_C" >&6
22117 else
22121 ac_ext=cc
22122 ac_cpp='$CXXCPP $CPPFLAGS'
22123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22127 cat >conftest.$ac_ext <<_ACEOF
22128 /* confdefs.h. */
22129 _ACEOF
22130 cat confdefs.h >>conftest.$ac_ext
22131 cat >>conftest.$ac_ext <<_ACEOF
22132 /* end confdefs.h. */
22133 #include <math.h>
22135 main ()
22137 _fmodl(0, 0);
22139 return 0;
22141 _ACEOF
22142 rm -f conftest.$ac_objext
22143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22144 (eval $ac_compile) 2>conftest.er1
22145 ac_status=$?
22146 grep -v '^ *+' conftest.er1 >conftest.err
22147 rm -f conftest.er1
22148 cat conftest.err >&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } &&
22151 { ac_try='test -z "$ac_cxx_werror_flag"
22152 || test ! -s conftest.err'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22155 ac_status=$?
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; } &&
22158 { ac_try='test -s conftest.$ac_objext'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22161 ac_status=$?
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; }; then
22164 glibcxx_cv_func__fmodl_use=yes
22165 else
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22169 glibcxx_cv_func__fmodl_use=no
22171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22172 ac_ext=c
22173 ac_cpp='$CPP $CPPFLAGS'
22174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22183 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22185 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22187 for ac_func in _fmodl
22189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22190 echo "$as_me:$LINENO: checking for $ac_func" >&5
22191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22192 if eval "test \"\${$as_ac_var+set}\" = set"; then
22193 echo $ECHO_N "(cached) $ECHO_C" >&6
22194 else
22195 if test x$gcc_no_link = xyes; then
22196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22198 { (exit 1); exit 1; }; }
22200 cat >conftest.$ac_ext <<_ACEOF
22201 /* confdefs.h. */
22202 _ACEOF
22203 cat confdefs.h >>conftest.$ac_ext
22204 cat >>conftest.$ac_ext <<_ACEOF
22205 /* end confdefs.h. */
22206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22208 #define $ac_func innocuous_$ac_func
22210 /* System header to define __stub macros and hopefully few prototypes,
22211 which can conflict with char $ac_func (); below.
22212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22213 <limits.h> exists even on freestanding compilers. */
22215 #ifdef __STDC__
22216 # include <limits.h>
22217 #else
22218 # include <assert.h>
22219 #endif
22221 #undef $ac_func
22223 /* Override any gcc2 internal prototype to avoid an error. */
22224 #ifdef __cplusplus
22225 extern "C"
22227 #endif
22228 /* We use char because int might match the return type of a gcc2
22229 builtin and then its argument prototype would still apply. */
22230 char $ac_func ();
22231 /* The GNU C library defines this for functions which it implements
22232 to always fail with ENOSYS. Some functions are actually named
22233 something starting with __ and the normal name is an alias. */
22234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22235 choke me
22236 #else
22237 char (*f) () = $ac_func;
22238 #endif
22239 #ifdef __cplusplus
22241 #endif
22244 main ()
22246 return f != $ac_func;
22248 return 0;
22250 _ACEOF
22251 rm -f conftest.$ac_objext conftest$ac_exeext
22252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22253 (eval $ac_link) 2>conftest.er1
22254 ac_status=$?
22255 grep -v '^ *+' conftest.er1 >conftest.err
22256 rm -f conftest.er1
22257 cat conftest.err >&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); } &&
22260 { ac_try='test -z "$ac_c_werror_flag"
22261 || test ! -s conftest.err'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22264 ac_status=$?
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; } &&
22267 { ac_try='test -s conftest$ac_exeext'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22270 ac_status=$?
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; }; then
22273 eval "$as_ac_var=yes"
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22278 eval "$as_ac_var=no"
22280 rm -f conftest.err conftest.$ac_objext \
22281 conftest$ac_exeext conftest.$ac_ext
22283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22285 if test `eval echo '${'$as_ac_var'}'` = yes; then
22286 cat >>confdefs.h <<_ACEOF
22287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22288 _ACEOF
22291 done
22301 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22302 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22303 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22304 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22305 echo $ECHO_N "(cached) $ECHO_C" >&6
22306 else
22310 ac_ext=cc
22311 ac_cpp='$CXXCPP $CPPFLAGS'
22312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22316 cat >conftest.$ac_ext <<_ACEOF
22317 /* confdefs.h. */
22318 _ACEOF
22319 cat confdefs.h >>conftest.$ac_ext
22320 cat >>conftest.$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 #include <math.h>
22324 main ()
22326 frexpl(0, 0);
22328 return 0;
22330 _ACEOF
22331 rm -f conftest.$ac_objext
22332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22333 (eval $ac_compile) 2>conftest.er1
22334 ac_status=$?
22335 grep -v '^ *+' conftest.er1 >conftest.err
22336 rm -f conftest.er1
22337 cat conftest.err >&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } &&
22340 { ac_try='test -z "$ac_cxx_werror_flag"
22341 || test ! -s conftest.err'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22344 ac_status=$?
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; } &&
22347 { ac_try='test -s conftest.$ac_objext'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 glibcxx_cv_func_frexpl_use=yes
22354 else
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22358 glibcxx_cv_func_frexpl_use=no
22360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22361 ac_ext=c
22362 ac_cpp='$CPP $CPPFLAGS'
22363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22372 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22374 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22376 for ac_func in frexpl
22378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22379 echo "$as_me:$LINENO: checking for $ac_func" >&5
22380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22381 if eval "test \"\${$as_ac_var+set}\" = set"; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22383 else
22384 if test x$gcc_no_link = xyes; then
22385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22387 { (exit 1); exit 1; }; }
22389 cat >conftest.$ac_ext <<_ACEOF
22390 /* confdefs.h. */
22391 _ACEOF
22392 cat confdefs.h >>conftest.$ac_ext
22393 cat >>conftest.$ac_ext <<_ACEOF
22394 /* end confdefs.h. */
22395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22397 #define $ac_func innocuous_$ac_func
22399 /* System header to define __stub macros and hopefully few prototypes,
22400 which can conflict with char $ac_func (); below.
22401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22402 <limits.h> exists even on freestanding compilers. */
22404 #ifdef __STDC__
22405 # include <limits.h>
22406 #else
22407 # include <assert.h>
22408 #endif
22410 #undef $ac_func
22412 /* Override any gcc2 internal prototype to avoid an error. */
22413 #ifdef __cplusplus
22414 extern "C"
22416 #endif
22417 /* We use char because int might match the return type of a gcc2
22418 builtin and then its argument prototype would still apply. */
22419 char $ac_func ();
22420 /* The GNU C library defines this for functions which it implements
22421 to always fail with ENOSYS. Some functions are actually named
22422 something starting with __ and the normal name is an alias. */
22423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22424 choke me
22425 #else
22426 char (*f) () = $ac_func;
22427 #endif
22428 #ifdef __cplusplus
22430 #endif
22433 main ()
22435 return f != $ac_func;
22437 return 0;
22439 _ACEOF
22440 rm -f conftest.$ac_objext conftest$ac_exeext
22441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22442 (eval $ac_link) 2>conftest.er1
22443 ac_status=$?
22444 grep -v '^ *+' conftest.er1 >conftest.err
22445 rm -f conftest.er1
22446 cat conftest.err >&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } &&
22449 { ac_try='test -z "$ac_c_werror_flag"
22450 || test ! -s conftest.err'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; } &&
22456 { ac_try='test -s conftest$ac_exeext'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22459 ac_status=$?
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 eval "$as_ac_var=yes"
22463 else
22464 echo "$as_me: failed program was:" >&5
22465 sed 's/^/| /' conftest.$ac_ext >&5
22467 eval "$as_ac_var=no"
22469 rm -f conftest.err conftest.$ac_objext \
22470 conftest$ac_exeext conftest.$ac_ext
22472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22474 if test `eval echo '${'$as_ac_var'}'` = yes; then
22475 cat >>confdefs.h <<_ACEOF
22476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22477 _ACEOF
22480 done
22482 else
22484 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22485 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22486 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22487 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 else
22493 ac_ext=cc
22494 ac_cpp='$CXXCPP $CPPFLAGS'
22495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22499 cat >conftest.$ac_ext <<_ACEOF
22500 /* confdefs.h. */
22501 _ACEOF
22502 cat confdefs.h >>conftest.$ac_ext
22503 cat >>conftest.$ac_ext <<_ACEOF
22504 /* end confdefs.h. */
22505 #include <math.h>
22507 main ()
22509 _frexpl(0, 0);
22511 return 0;
22513 _ACEOF
22514 rm -f conftest.$ac_objext
22515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22516 (eval $ac_compile) 2>conftest.er1
22517 ac_status=$?
22518 grep -v '^ *+' conftest.er1 >conftest.err
22519 rm -f conftest.er1
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try='test -z "$ac_cxx_werror_flag"
22524 || test ! -s conftest.err'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; } &&
22530 { ac_try='test -s conftest.$ac_objext'
22531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532 (eval $ac_try) 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); }; }; then
22536 glibcxx_cv_func__frexpl_use=yes
22537 else
22538 echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22541 glibcxx_cv_func__frexpl_use=no
22543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22544 ac_ext=c
22545 ac_cpp='$CPP $CPPFLAGS'
22546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22555 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22557 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22559 for ac_func in _frexpl
22561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22562 echo "$as_me:$LINENO: checking for $ac_func" >&5
22563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22564 if eval "test \"\${$as_ac_var+set}\" = set"; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 else
22567 if test x$gcc_no_link = xyes; then
22568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22570 { (exit 1); exit 1; }; }
22572 cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h. */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22580 #define $ac_func innocuous_$ac_func
22582 /* System header to define __stub macros and hopefully few prototypes,
22583 which can conflict with char $ac_func (); below.
22584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22585 <limits.h> exists even on freestanding compilers. */
22587 #ifdef __STDC__
22588 # include <limits.h>
22589 #else
22590 # include <assert.h>
22591 #endif
22593 #undef $ac_func
22595 /* Override any gcc2 internal prototype to avoid an error. */
22596 #ifdef __cplusplus
22597 extern "C"
22599 #endif
22600 /* We use char because int might match the return type of a gcc2
22601 builtin and then its argument prototype would still apply. */
22602 char $ac_func ();
22603 /* The GNU C library defines this for functions which it implements
22604 to always fail with ENOSYS. Some functions are actually named
22605 something starting with __ and the normal name is an alias. */
22606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22607 choke me
22608 #else
22609 char (*f) () = $ac_func;
22610 #endif
22611 #ifdef __cplusplus
22613 #endif
22616 main ()
22618 return f != $ac_func;
22620 return 0;
22622 _ACEOF
22623 rm -f conftest.$ac_objext conftest$ac_exeext
22624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22625 (eval $ac_link) 2>conftest.er1
22626 ac_status=$?
22627 grep -v '^ *+' conftest.er1 >conftest.err
22628 rm -f conftest.er1
22629 cat conftest.err >&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } &&
22632 { ac_try='test -z "$ac_c_werror_flag"
22633 || test ! -s conftest.err'
22634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635 (eval $ac_try) 2>&5
22636 ac_status=$?
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; } &&
22639 { ac_try='test -s conftest$ac_exeext'
22640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641 (eval $ac_try) 2>&5
22642 ac_status=$?
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); }; }; then
22645 eval "$as_ac_var=yes"
22646 else
22647 echo "$as_me: failed program was:" >&5
22648 sed 's/^/| /' conftest.$ac_ext >&5
22650 eval "$as_ac_var=no"
22652 rm -f conftest.err conftest.$ac_objext \
22653 conftest$ac_exeext conftest.$ac_ext
22655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22657 if test `eval echo '${'$as_ac_var'}'` = yes; then
22658 cat >>confdefs.h <<_ACEOF
22659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22660 _ACEOF
22663 done
22673 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22674 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22675 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22676 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22682 ac_ext=cc
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22688 cat >conftest.$ac_ext <<_ACEOF
22689 /* confdefs.h. */
22690 _ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 #include <math.h>
22696 main ()
22698 hypotl(0, 0);
22700 return 0;
22702 _ACEOF
22703 rm -f conftest.$ac_objext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22705 (eval $ac_compile) 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try='test -z "$ac_cxx_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try='test -s conftest.$ac_objext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22722 ac_status=$?
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22725 glibcxx_cv_func_hypotl_use=yes
22726 else
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.$ac_ext >&5
22730 glibcxx_cv_func_hypotl_use=no
22732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22733 ac_ext=c
22734 ac_cpp='$CPP $CPPFLAGS'
22735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22744 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22746 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22748 for ac_func in hypotl
22750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22751 echo "$as_me:$LINENO: checking for $ac_func" >&5
22752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22753 if eval "test \"\${$as_ac_var+set}\" = set"; then
22754 echo $ECHO_N "(cached) $ECHO_C" >&6
22755 else
22756 if test x$gcc_no_link = xyes; then
22757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22759 { (exit 1); exit 1; }; }
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22769 #define $ac_func innocuous_$ac_func
22771 /* System header to define __stub macros and hopefully few prototypes,
22772 which can conflict with char $ac_func (); below.
22773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22774 <limits.h> exists even on freestanding compilers. */
22776 #ifdef __STDC__
22777 # include <limits.h>
22778 #else
22779 # include <assert.h>
22780 #endif
22782 #undef $ac_func
22784 /* Override any gcc2 internal prototype to avoid an error. */
22785 #ifdef __cplusplus
22786 extern "C"
22788 #endif
22789 /* We use char because int might match the return type of a gcc2
22790 builtin and then its argument prototype would still apply. */
22791 char $ac_func ();
22792 /* The GNU C library defines this for functions which it implements
22793 to always fail with ENOSYS. Some functions are actually named
22794 something starting with __ and the normal name is an alias. */
22795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22796 choke me
22797 #else
22798 char (*f) () = $ac_func;
22799 #endif
22800 #ifdef __cplusplus
22802 #endif
22805 main ()
22807 return f != $ac_func;
22809 return 0;
22811 _ACEOF
22812 rm -f conftest.$ac_objext conftest$ac_exeext
22813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22814 (eval $ac_link) 2>conftest.er1
22815 ac_status=$?
22816 grep -v '^ *+' conftest.er1 >conftest.err
22817 rm -f conftest.er1
22818 cat conftest.err >&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); } &&
22821 { ac_try='test -z "$ac_c_werror_flag"
22822 || test ! -s conftest.err'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22825 ac_status=$?
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; } &&
22828 { ac_try='test -s conftest$ac_exeext'
22829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830 (eval $ac_try) 2>&5
22831 ac_status=$?
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); }; }; then
22834 eval "$as_ac_var=yes"
22835 else
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.$ac_ext >&5
22839 eval "$as_ac_var=no"
22841 rm -f conftest.err conftest.$ac_objext \
22842 conftest$ac_exeext conftest.$ac_ext
22844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22846 if test `eval echo '${'$as_ac_var'}'` = yes; then
22847 cat >>confdefs.h <<_ACEOF
22848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22849 _ACEOF
22852 done
22854 else
22856 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22857 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22858 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22859 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22860 echo $ECHO_N "(cached) $ECHO_C" >&6
22861 else
22865 ac_ext=cc
22866 ac_cpp='$CXXCPP $CPPFLAGS'
22867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22871 cat >conftest.$ac_ext <<_ACEOF
22872 /* confdefs.h. */
22873 _ACEOF
22874 cat confdefs.h >>conftest.$ac_ext
22875 cat >>conftest.$ac_ext <<_ACEOF
22876 /* end confdefs.h. */
22877 #include <math.h>
22879 main ()
22881 _hypotl(0, 0);
22883 return 0;
22885 _ACEOF
22886 rm -f conftest.$ac_objext
22887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22888 (eval $ac_compile) 2>conftest.er1
22889 ac_status=$?
22890 grep -v '^ *+' conftest.er1 >conftest.err
22891 rm -f conftest.er1
22892 cat conftest.err >&5
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); } &&
22895 { ac_try='test -z "$ac_cxx_werror_flag"
22896 || test ! -s conftest.err'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22899 ac_status=$?
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; } &&
22902 { ac_try='test -s conftest.$ac_objext'
22903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904 (eval $ac_try) 2>&5
22905 ac_status=$?
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; }; then
22908 glibcxx_cv_func__hypotl_use=yes
22909 else
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22913 glibcxx_cv_func__hypotl_use=no
22915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22916 ac_ext=c
22917 ac_cpp='$CPP $CPPFLAGS'
22918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22927 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22929 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22931 for ac_func in _hypotl
22933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22934 echo "$as_me:$LINENO: checking for $ac_func" >&5
22935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22936 if eval "test \"\${$as_ac_var+set}\" = set"; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 else
22939 if test x$gcc_no_link = xyes; then
22940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22942 { (exit 1); exit 1; }; }
22944 cat >conftest.$ac_ext <<_ACEOF
22945 /* confdefs.h. */
22946 _ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22952 #define $ac_func innocuous_$ac_func
22954 /* System header to define __stub macros and hopefully few prototypes,
22955 which can conflict with char $ac_func (); below.
22956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22957 <limits.h> exists even on freestanding compilers. */
22959 #ifdef __STDC__
22960 # include <limits.h>
22961 #else
22962 # include <assert.h>
22963 #endif
22965 #undef $ac_func
22967 /* Override any gcc2 internal prototype to avoid an error. */
22968 #ifdef __cplusplus
22969 extern "C"
22971 #endif
22972 /* We use char because int might match the return type of a gcc2
22973 builtin and then its argument prototype would still apply. */
22974 char $ac_func ();
22975 /* The GNU C library defines this for functions which it implements
22976 to always fail with ENOSYS. Some functions are actually named
22977 something starting with __ and the normal name is an alias. */
22978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22979 choke me
22980 #else
22981 char (*f) () = $ac_func;
22982 #endif
22983 #ifdef __cplusplus
22985 #endif
22988 main ()
22990 return f != $ac_func;
22992 return 0;
22994 _ACEOF
22995 rm -f conftest.$ac_objext conftest$ac_exeext
22996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22997 (eval $ac_link) 2>conftest.er1
22998 ac_status=$?
22999 grep -v '^ *+' conftest.er1 >conftest.err
23000 rm -f conftest.er1
23001 cat conftest.err >&5
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); } &&
23004 { ac_try='test -z "$ac_c_werror_flag"
23005 || test ! -s conftest.err'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23008 ac_status=$?
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; } &&
23011 { ac_try='test -s conftest$ac_exeext'
23012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013 (eval $ac_try) 2>&5
23014 ac_status=$?
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; }; then
23017 eval "$as_ac_var=yes"
23018 else
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.$ac_ext >&5
23022 eval "$as_ac_var=no"
23024 rm -f conftest.err conftest.$ac_objext \
23025 conftest$ac_exeext conftest.$ac_ext
23027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23029 if test `eval echo '${'$as_ac_var'}'` = yes; then
23030 cat >>confdefs.h <<_ACEOF
23031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23032 _ACEOF
23035 done
23045 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
23046 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
23047 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
23048 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
23049 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 else
23054 ac_ext=cc
23055 ac_cpp='$CXXCPP $CPPFLAGS'
23056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 #include <math.h>
23068 main ()
23070 ldexpl(0, 0);
23072 return 0;
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077 (eval $ac_compile) 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } &&
23084 { ac_try='test -z "$ac_cxx_werror_flag"
23085 || test ! -s conftest.err'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; } &&
23091 { ac_try='test -s conftest.$ac_objext'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; }; then
23097 glibcxx_cv_func_ldexpl_use=yes
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23102 glibcxx_cv_func_ldexpl_use=no
23104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
23116 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
23118 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
23120 for ac_func in ldexpl
23122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23123 echo "$as_me:$LINENO: checking for $ac_func" >&5
23124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23125 if eval "test \"\${$as_ac_var+set}\" = set"; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23127 else
23128 if test x$gcc_no_link = xyes; then
23129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23131 { (exit 1); exit 1; }; }
23133 cat >conftest.$ac_ext <<_ACEOF
23134 /* confdefs.h. */
23135 _ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23141 #define $ac_func innocuous_$ac_func
23143 /* System header to define __stub macros and hopefully few prototypes,
23144 which can conflict with char $ac_func (); below.
23145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23146 <limits.h> exists even on freestanding compilers. */
23148 #ifdef __STDC__
23149 # include <limits.h>
23150 #else
23151 # include <assert.h>
23152 #endif
23154 #undef $ac_func
23156 /* Override any gcc2 internal prototype to avoid an error. */
23157 #ifdef __cplusplus
23158 extern "C"
23160 #endif
23161 /* We use char because int might match the return type of a gcc2
23162 builtin and then its argument prototype would still apply. */
23163 char $ac_func ();
23164 /* The GNU C library defines this for functions which it implements
23165 to always fail with ENOSYS. Some functions are actually named
23166 something starting with __ and the normal name is an alias. */
23167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23168 choke me
23169 #else
23170 char (*f) () = $ac_func;
23171 #endif
23172 #ifdef __cplusplus
23174 #endif
23177 main ()
23179 return f != $ac_func;
23181 return 0;
23183 _ACEOF
23184 rm -f conftest.$ac_objext conftest$ac_exeext
23185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23186 (eval $ac_link) 2>conftest.er1
23187 ac_status=$?
23188 grep -v '^ *+' conftest.er1 >conftest.err
23189 rm -f conftest.er1
23190 cat conftest.err >&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); } &&
23193 { ac_try='test -z "$ac_c_werror_flag"
23194 || test ! -s conftest.err'
23195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196 (eval $ac_try) 2>&5
23197 ac_status=$?
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; } &&
23200 { ac_try='test -s conftest$ac_exeext'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 eval "$as_ac_var=yes"
23207 else
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.$ac_ext >&5
23211 eval "$as_ac_var=no"
23213 rm -f conftest.err conftest.$ac_objext \
23214 conftest$ac_exeext conftest.$ac_ext
23216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23218 if test `eval echo '${'$as_ac_var'}'` = yes; then
23219 cat >>confdefs.h <<_ACEOF
23220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221 _ACEOF
23224 done
23226 else
23228 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23229 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23230 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23231 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23232 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 else
23237 ac_ext=cc
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 cat >conftest.$ac_ext <<_ACEOF
23244 /* confdefs.h. */
23245 _ACEOF
23246 cat confdefs.h >>conftest.$ac_ext
23247 cat >>conftest.$ac_ext <<_ACEOF
23248 /* end confdefs.h. */
23249 #include <math.h>
23251 main ()
23253 _ldexpl(0, 0);
23255 return 0;
23257 _ACEOF
23258 rm -f conftest.$ac_objext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23260 (eval $ac_compile) 2>conftest.er1
23261 ac_status=$?
23262 grep -v '^ *+' conftest.er1 >conftest.err
23263 rm -f conftest.er1
23264 cat conftest.err >&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } &&
23267 { ac_try='test -z "$ac_cxx_werror_flag"
23268 || test ! -s conftest.err'
23269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270 (eval $ac_try) 2>&5
23271 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; } &&
23274 { ac_try='test -s conftest.$ac_objext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 glibcxx_cv_func__ldexpl_use=yes
23281 else
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.$ac_ext >&5
23285 glibcxx_cv_func__ldexpl_use=no
23287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23299 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23301 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23303 for ac_func in _ldexpl
23305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23306 echo "$as_me:$LINENO: checking for $ac_func" >&5
23307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23308 if eval "test \"\${$as_ac_var+set}\" = set"; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 else
23311 if test x$gcc_no_link = xyes; then
23312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23314 { (exit 1); exit 1; }; }
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h. */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23324 #define $ac_func innocuous_$ac_func
23326 /* System header to define __stub macros and hopefully few prototypes,
23327 which can conflict with char $ac_func (); below.
23328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23329 <limits.h> exists even on freestanding compilers. */
23331 #ifdef __STDC__
23332 # include <limits.h>
23333 #else
23334 # include <assert.h>
23335 #endif
23337 #undef $ac_func
23339 /* Override any gcc2 internal prototype to avoid an error. */
23340 #ifdef __cplusplus
23341 extern "C"
23343 #endif
23344 /* We use char because int might match the return type of a gcc2
23345 builtin and then its argument prototype would still apply. */
23346 char $ac_func ();
23347 /* The GNU C library defines this for functions which it implements
23348 to always fail with ENOSYS. Some functions are actually named
23349 something starting with __ and the normal name is an alias. */
23350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23351 choke me
23352 #else
23353 char (*f) () = $ac_func;
23354 #endif
23355 #ifdef __cplusplus
23357 #endif
23360 main ()
23362 return f != $ac_func;
23364 return 0;
23366 _ACEOF
23367 rm -f conftest.$ac_objext conftest$ac_exeext
23368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23369 (eval $ac_link) 2>conftest.er1
23370 ac_status=$?
23371 grep -v '^ *+' conftest.er1 >conftest.err
23372 rm -f conftest.er1
23373 cat conftest.err >&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); } &&
23376 { ac_try='test -z "$ac_c_werror_flag"
23377 || test ! -s conftest.err'
23378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23379 (eval $ac_try) 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; } &&
23383 { ac_try='test -s conftest$ac_exeext'
23384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385 (eval $ac_try) 2>&5
23386 ac_status=$?
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); }; }; then
23389 eval "$as_ac_var=yes"
23390 else
23391 echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23394 eval "$as_ac_var=no"
23396 rm -f conftest.err conftest.$ac_objext \
23397 conftest$ac_exeext conftest.$ac_ext
23399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23401 if test `eval echo '${'$as_ac_var'}'` = yes; then
23402 cat >>confdefs.h <<_ACEOF
23403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23404 _ACEOF
23407 done
23417 echo "$as_me:$LINENO: checking for logl declaration" >&5
23418 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23419 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23420 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23421 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 else
23426 ac_ext=cc
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <math.h>
23439 #ifdef HAVE_IEEEFP_H
23440 #include <ieeefp.h>
23441 #endif
23444 main ()
23446 logl(0);
23448 return 0;
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23453 (eval $ac_compile) 2>conftest.er1
23454 ac_status=$?
23455 grep -v '^ *+' conftest.er1 >conftest.err
23456 rm -f conftest.er1
23457 cat conftest.err >&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); } &&
23460 { ac_try='test -z "$ac_cxx_werror_flag"
23461 || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try='test -s conftest.$ac_objext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 glibcxx_cv_func_logl_use=yes
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 glibcxx_cv_func_logl_use=no
23480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23481 ac_ext=c
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23492 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23494 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23496 for ac_func in logl
23498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23499 echo "$as_me:$LINENO: checking for $ac_func" >&5
23500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23501 if eval "test \"\${$as_ac_var+set}\" = set"; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 else
23504 if test x$gcc_no_link = xyes; then
23505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23507 { (exit 1); exit 1; }; }
23509 cat >conftest.$ac_ext <<_ACEOF
23510 /* confdefs.h. */
23511 _ACEOF
23512 cat confdefs.h >>conftest.$ac_ext
23513 cat >>conftest.$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23517 #define $ac_func innocuous_$ac_func
23519 /* System header to define __stub macros and hopefully few prototypes,
23520 which can conflict with char $ac_func (); below.
23521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23522 <limits.h> exists even on freestanding compilers. */
23524 #ifdef __STDC__
23525 # include <limits.h>
23526 #else
23527 # include <assert.h>
23528 #endif
23530 #undef $ac_func
23532 /* Override any gcc2 internal prototype to avoid an error. */
23533 #ifdef __cplusplus
23534 extern "C"
23536 #endif
23537 /* We use char because int might match the return type of a gcc2
23538 builtin and then its argument prototype would still apply. */
23539 char $ac_func ();
23540 /* The GNU C library defines this for functions which it implements
23541 to always fail with ENOSYS. Some functions are actually named
23542 something starting with __ and the normal name is an alias. */
23543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23544 choke me
23545 #else
23546 char (*f) () = $ac_func;
23547 #endif
23548 #ifdef __cplusplus
23550 #endif
23553 main ()
23555 return f != $ac_func;
23557 return 0;
23559 _ACEOF
23560 rm -f conftest.$ac_objext conftest$ac_exeext
23561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23562 (eval $ac_link) 2>conftest.er1
23563 ac_status=$?
23564 grep -v '^ *+' conftest.er1 >conftest.err
23565 rm -f conftest.er1
23566 cat conftest.err >&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); } &&
23569 { ac_try='test -z "$ac_c_werror_flag"
23570 || test ! -s conftest.err'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; } &&
23576 { ac_try='test -s conftest$ac_exeext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23579 ac_status=$?
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23582 eval "$as_ac_var=yes"
23583 else
23584 echo "$as_me: failed program was:" >&5
23585 sed 's/^/| /' conftest.$ac_ext >&5
23587 eval "$as_ac_var=no"
23589 rm -f conftest.err conftest.$ac_objext \
23590 conftest$ac_exeext conftest.$ac_ext
23592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23594 if test `eval echo '${'$as_ac_var'}'` = yes; then
23595 cat >>confdefs.h <<_ACEOF
23596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23597 _ACEOF
23600 done
23602 else
23604 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23605 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23606 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23607 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 else
23613 ac_ext=cc
23614 ac_cpp='$CXXCPP $CPPFLAGS'
23615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23619 cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h. */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23631 main ()
23633 _logl(0);
23635 return 0;
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try='test -z "$ac_cxx_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 glibcxx_cv_func__logl_use=yes
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23665 glibcxx_cv_func__logl_use=no
23667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668 ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23679 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23681 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23683 for ac_func in _logl
23685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23686 echo "$as_me:$LINENO: checking for $ac_func" >&5
23687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23688 if eval "test \"\${$as_ac_var+set}\" = set"; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691 if test x$gcc_no_link = xyes; then
23692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23694 { (exit 1); exit 1; }; }
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23704 #define $ac_func innocuous_$ac_func
23706 /* System header to define __stub macros and hopefully few prototypes,
23707 which can conflict with char $ac_func (); below.
23708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23709 <limits.h> exists even on freestanding compilers. */
23711 #ifdef __STDC__
23712 # include <limits.h>
23713 #else
23714 # include <assert.h>
23715 #endif
23717 #undef $ac_func
23719 /* Override any gcc2 internal prototype to avoid an error. */
23720 #ifdef __cplusplus
23721 extern "C"
23723 #endif
23724 /* We use char because int might match the return type of a gcc2
23725 builtin and then its argument prototype would still apply. */
23726 char $ac_func ();
23727 /* The GNU C library defines this for functions which it implements
23728 to always fail with ENOSYS. Some functions are actually named
23729 something starting with __ and the normal name is an alias. */
23730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23731 choke me
23732 #else
23733 char (*f) () = $ac_func;
23734 #endif
23735 #ifdef __cplusplus
23737 #endif
23740 main ()
23742 return f != $ac_func;
23744 return 0;
23746 _ACEOF
23747 rm -f conftest.$ac_objext conftest$ac_exeext
23748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23749 (eval $ac_link) 2>conftest.er1
23750 ac_status=$?
23751 grep -v '^ *+' conftest.er1 >conftest.err
23752 rm -f conftest.er1
23753 cat conftest.err >&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try='test -z "$ac_c_werror_flag"
23757 || test ! -s conftest.err'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23760 ac_status=$?
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; } &&
23763 { ac_try='test -s conftest$ac_exeext'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; }; then
23769 eval "$as_ac_var=yes"
23770 else
23771 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5
23774 eval "$as_ac_var=no"
23776 rm -f conftest.err conftest.$ac_objext \
23777 conftest$ac_exeext conftest.$ac_ext
23779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23781 if test `eval echo '${'$as_ac_var'}'` = yes; then
23782 cat >>confdefs.h <<_ACEOF
23783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23784 _ACEOF
23787 done
23797 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23798 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23799 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23800 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 else
23806 ac_ext=cc
23807 ac_cpp='$CXXCPP $CPPFLAGS'
23808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23812 cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h. */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818 #include <math.h>
23819 #ifdef HAVE_IEEEFP_H
23820 #include <ieeefp.h>
23821 #endif
23824 main ()
23826 log10l(0);
23828 return 0;
23830 _ACEOF
23831 rm -f conftest.$ac_objext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23833 (eval $ac_compile) 2>conftest.er1
23834 ac_status=$?
23835 grep -v '^ *+' conftest.er1 >conftest.err
23836 rm -f conftest.er1
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } &&
23840 { ac_try='test -z "$ac_cxx_werror_flag"
23841 || test ! -s conftest.err'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; } &&
23847 { ac_try='test -s conftest.$ac_objext'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849 (eval $ac_try) 2>&5
23850 ac_status=$?
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 glibcxx_cv_func_log10l_use=yes
23854 else
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23858 glibcxx_cv_func_log10l_use=no
23860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23861 ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23872 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23874 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23876 for ac_func in log10l
23878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23879 echo "$as_me:$LINENO: checking for $ac_func" >&5
23880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23881 if eval "test \"\${$as_ac_var+set}\" = set"; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23883 else
23884 if test x$gcc_no_link = xyes; then
23885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23887 { (exit 1); exit 1; }; }
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23897 #define $ac_func innocuous_$ac_func
23899 /* System header to define __stub macros and hopefully few prototypes,
23900 which can conflict with char $ac_func (); below.
23901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23902 <limits.h> exists even on freestanding compilers. */
23904 #ifdef __STDC__
23905 # include <limits.h>
23906 #else
23907 # include <assert.h>
23908 #endif
23910 #undef $ac_func
23912 /* Override any gcc2 internal prototype to avoid an error. */
23913 #ifdef __cplusplus
23914 extern "C"
23916 #endif
23917 /* We use char because int might match the return type of a gcc2
23918 builtin and then its argument prototype would still apply. */
23919 char $ac_func ();
23920 /* The GNU C library defines this for functions which it implements
23921 to always fail with ENOSYS. Some functions are actually named
23922 something starting with __ and the normal name is an alias. */
23923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23924 choke me
23925 #else
23926 char (*f) () = $ac_func;
23927 #endif
23928 #ifdef __cplusplus
23930 #endif
23933 main ()
23935 return f != $ac_func;
23937 return 0;
23939 _ACEOF
23940 rm -f conftest.$ac_objext conftest$ac_exeext
23941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23942 (eval $ac_link) 2>conftest.er1
23943 ac_status=$?
23944 grep -v '^ *+' conftest.er1 >conftest.err
23945 rm -f conftest.er1
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } &&
23949 { ac_try='test -z "$ac_c_werror_flag"
23950 || test ! -s conftest.err'
23951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23952 (eval $ac_try) 2>&5
23953 ac_status=$?
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); }; } &&
23956 { ac_try='test -s conftest$ac_exeext'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23959 ac_status=$?
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; }; then
23962 eval "$as_ac_var=yes"
23963 else
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23967 eval "$as_ac_var=no"
23969 rm -f conftest.err conftest.$ac_objext \
23970 conftest$ac_exeext conftest.$ac_ext
23972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23974 if test `eval echo '${'$as_ac_var'}'` = yes; then
23975 cat >>confdefs.h <<_ACEOF
23976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23977 _ACEOF
23980 done
23982 else
23984 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23985 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23986 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23987 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23988 echo $ECHO_N "(cached) $ECHO_C" >&6
23989 else
23993 ac_ext=cc
23994 ac_cpp='$CXXCPP $CPPFLAGS'
23995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23999 cat >conftest.$ac_ext <<_ACEOF
24000 /* confdefs.h. */
24001 _ACEOF
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 #include <math.h>
24006 #ifdef HAVE_IEEEFP_H
24007 #include <ieeefp.h>
24008 #endif
24011 main ()
24013 _log10l(0);
24015 return 0;
24017 _ACEOF
24018 rm -f conftest.$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_cxx_werror_flag"
24028 || test ! -s conftest.err'
24029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24030 (eval $ac_try) 2>&5
24031 ac_status=$?
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); }; } &&
24034 { ac_try='test -s conftest.$ac_objext'
24035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24036 (eval $ac_try) 2>&5
24037 ac_status=$?
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); }; }; then
24040 glibcxx_cv_func__log10l_use=yes
24041 else
24042 echo "$as_me: failed program was:" >&5
24043 sed 's/^/| /' conftest.$ac_ext >&5
24045 glibcxx_cv_func__log10l_use=no
24047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
24059 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
24061 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24063 for ac_func in _log10l
24065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24066 echo "$as_me:$LINENO: checking for $ac_func" >&5
24067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24068 if eval "test \"\${$as_ac_var+set}\" = set"; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24070 else
24071 if test x$gcc_no_link = xyes; then
24072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24074 { (exit 1); exit 1; }; }
24076 cat >conftest.$ac_ext <<_ACEOF
24077 /* confdefs.h. */
24078 _ACEOF
24079 cat confdefs.h >>conftest.$ac_ext
24080 cat >>conftest.$ac_ext <<_ACEOF
24081 /* end confdefs.h. */
24082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24084 #define $ac_func innocuous_$ac_func
24086 /* System header to define __stub macros and hopefully few prototypes,
24087 which can conflict with char $ac_func (); below.
24088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24089 <limits.h> exists even on freestanding compilers. */
24091 #ifdef __STDC__
24092 # include <limits.h>
24093 #else
24094 # include <assert.h>
24095 #endif
24097 #undef $ac_func
24099 /* Override any gcc2 internal prototype to avoid an error. */
24100 #ifdef __cplusplus
24101 extern "C"
24103 #endif
24104 /* We use char because int might match the return type of a gcc2
24105 builtin and then its argument prototype would still apply. */
24106 char $ac_func ();
24107 /* The GNU C library defines this for functions which it implements
24108 to always fail with ENOSYS. Some functions are actually named
24109 something starting with __ and the normal name is an alias. */
24110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24111 choke me
24112 #else
24113 char (*f) () = $ac_func;
24114 #endif
24115 #ifdef __cplusplus
24117 #endif
24120 main ()
24122 return f != $ac_func;
24124 return 0;
24126 _ACEOF
24127 rm -f conftest.$ac_objext conftest$ac_exeext
24128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24129 (eval $ac_link) 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } &&
24136 { ac_try='test -z "$ac_c_werror_flag"
24137 || test ! -s conftest.err'
24138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24139 (eval $ac_try) 2>&5
24140 ac_status=$?
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); }; } &&
24143 { ac_try='test -s conftest$ac_exeext'
24144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145 (eval $ac_try) 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; }; then
24149 eval "$as_ac_var=yes"
24150 else
24151 echo "$as_me: failed program was:" >&5
24152 sed 's/^/| /' conftest.$ac_ext >&5
24154 eval "$as_ac_var=no"
24156 rm -f conftest.err conftest.$ac_objext \
24157 conftest$ac_exeext conftest.$ac_ext
24159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24161 if test `eval echo '${'$as_ac_var'}'` = yes; then
24162 cat >>confdefs.h <<_ACEOF
24163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24164 _ACEOF
24167 done
24177 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24178 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24179 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24180 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 else
24186 ac_ext=cc
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24192 cat >conftest.$ac_ext <<_ACEOF
24193 /* confdefs.h. */
24194 _ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198 #include <math.h>
24200 main ()
24202 modfl(0, 0);
24204 return 0;
24206 _ACEOF
24207 rm -f conftest.$ac_objext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24209 (eval $ac_compile) 2>conftest.er1
24210 ac_status=$?
24211 grep -v '^ *+' conftest.er1 >conftest.err
24212 rm -f conftest.er1
24213 cat conftest.err >&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try='test -z "$ac_cxx_werror_flag"
24217 || test ! -s conftest.err'
24218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24219 (eval $ac_try) 2>&5
24220 ac_status=$?
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); }; } &&
24223 { ac_try='test -s conftest.$ac_objext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24226 ac_status=$?
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229 glibcxx_cv_func_modfl_use=yes
24230 else
24231 echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.$ac_ext >&5
24234 glibcxx_cv_func_modfl_use=no
24236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24237 ac_ext=c
24238 ac_cpp='$CPP $CPPFLAGS'
24239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24248 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24250 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24252 for ac_func in modfl
24254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24255 echo "$as_me:$LINENO: checking for $ac_func" >&5
24256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24257 if eval "test \"\${$as_ac_var+set}\" = set"; then
24258 echo $ECHO_N "(cached) $ECHO_C" >&6
24259 else
24260 if test x$gcc_no_link = xyes; then
24261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24263 { (exit 1); exit 1; }; }
24265 cat >conftest.$ac_ext <<_ACEOF
24266 /* confdefs.h. */
24267 _ACEOF
24268 cat confdefs.h >>conftest.$ac_ext
24269 cat >>conftest.$ac_ext <<_ACEOF
24270 /* end confdefs.h. */
24271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24273 #define $ac_func innocuous_$ac_func
24275 /* System header to define __stub macros and hopefully few prototypes,
24276 which can conflict with char $ac_func (); below.
24277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24278 <limits.h> exists even on freestanding compilers. */
24280 #ifdef __STDC__
24281 # include <limits.h>
24282 #else
24283 # include <assert.h>
24284 #endif
24286 #undef $ac_func
24288 /* Override any gcc2 internal prototype to avoid an error. */
24289 #ifdef __cplusplus
24290 extern "C"
24292 #endif
24293 /* We use char because int might match the return type of a gcc2
24294 builtin and then its argument prototype would still apply. */
24295 char $ac_func ();
24296 /* The GNU C library defines this for functions which it implements
24297 to always fail with ENOSYS. Some functions are actually named
24298 something starting with __ and the normal name is an alias. */
24299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24300 choke me
24301 #else
24302 char (*f) () = $ac_func;
24303 #endif
24304 #ifdef __cplusplus
24306 #endif
24309 main ()
24311 return f != $ac_func;
24313 return 0;
24315 _ACEOF
24316 rm -f conftest.$ac_objext conftest$ac_exeext
24317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24318 (eval $ac_link) 2>conftest.er1
24319 ac_status=$?
24320 grep -v '^ *+' conftest.er1 >conftest.err
24321 rm -f conftest.er1
24322 cat conftest.err >&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); } &&
24325 { ac_try='test -z "$ac_c_werror_flag"
24326 || test ! -s conftest.err'
24327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24328 (eval $ac_try) 2>&5
24329 ac_status=$?
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); }; } &&
24332 { ac_try='test -s conftest$ac_exeext'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24335 ac_status=$?
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; }; then
24338 eval "$as_ac_var=yes"
24339 else
24340 echo "$as_me: failed program was:" >&5
24341 sed 's/^/| /' conftest.$ac_ext >&5
24343 eval "$as_ac_var=no"
24345 rm -f conftest.err conftest.$ac_objext \
24346 conftest$ac_exeext conftest.$ac_ext
24348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24350 if test `eval echo '${'$as_ac_var'}'` = yes; then
24351 cat >>confdefs.h <<_ACEOF
24352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24353 _ACEOF
24356 done
24358 else
24360 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24361 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24362 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24363 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24364 echo $ECHO_N "(cached) $ECHO_C" >&6
24365 else
24369 ac_ext=cc
24370 ac_cpp='$CXXCPP $CPPFLAGS'
24371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24375 cat >conftest.$ac_ext <<_ACEOF
24376 /* confdefs.h. */
24377 _ACEOF
24378 cat confdefs.h >>conftest.$ac_ext
24379 cat >>conftest.$ac_ext <<_ACEOF
24380 /* end confdefs.h. */
24381 #include <math.h>
24383 main ()
24385 _modfl(0, 0);
24387 return 0;
24389 _ACEOF
24390 rm -f conftest.$ac_objext
24391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24392 (eval $ac_compile) 2>conftest.er1
24393 ac_status=$?
24394 grep -v '^ *+' conftest.er1 >conftest.err
24395 rm -f conftest.er1
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } &&
24399 { ac_try='test -z "$ac_cxx_werror_flag"
24400 || test ! -s conftest.err'
24401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24402 (eval $ac_try) 2>&5
24403 ac_status=$?
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); }; } &&
24406 { ac_try='test -s conftest.$ac_objext'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24409 ac_status=$?
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24412 glibcxx_cv_func__modfl_use=yes
24413 else
24414 echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.$ac_ext >&5
24417 glibcxx_cv_func__modfl_use=no
24419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24420 ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24431 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24433 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24435 for ac_func in _modfl
24437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24438 echo "$as_me:$LINENO: checking for $ac_func" >&5
24439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24440 if eval "test \"\${$as_ac_var+set}\" = set"; then
24441 echo $ECHO_N "(cached) $ECHO_C" >&6
24442 else
24443 if test x$gcc_no_link = xyes; then
24444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24446 { (exit 1); exit 1; }; }
24448 cat >conftest.$ac_ext <<_ACEOF
24449 /* confdefs.h. */
24450 _ACEOF
24451 cat confdefs.h >>conftest.$ac_ext
24452 cat >>conftest.$ac_ext <<_ACEOF
24453 /* end confdefs.h. */
24454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24456 #define $ac_func innocuous_$ac_func
24458 /* System header to define __stub macros and hopefully few prototypes,
24459 which can conflict with char $ac_func (); below.
24460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24461 <limits.h> exists even on freestanding compilers. */
24463 #ifdef __STDC__
24464 # include <limits.h>
24465 #else
24466 # include <assert.h>
24467 #endif
24469 #undef $ac_func
24471 /* Override any gcc2 internal prototype to avoid an error. */
24472 #ifdef __cplusplus
24473 extern "C"
24475 #endif
24476 /* We use char because int might match the return type of a gcc2
24477 builtin and then its argument prototype would still apply. */
24478 char $ac_func ();
24479 /* The GNU C library defines this for functions which it implements
24480 to always fail with ENOSYS. Some functions are actually named
24481 something starting with __ and the normal name is an alias. */
24482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24483 choke me
24484 #else
24485 char (*f) () = $ac_func;
24486 #endif
24487 #ifdef __cplusplus
24489 #endif
24492 main ()
24494 return f != $ac_func;
24496 return 0;
24498 _ACEOF
24499 rm -f conftest.$ac_objext conftest$ac_exeext
24500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24501 (eval $ac_link) 2>conftest.er1
24502 ac_status=$?
24503 grep -v '^ *+' conftest.er1 >conftest.err
24504 rm -f conftest.er1
24505 cat conftest.err >&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); } &&
24508 { ac_try='test -z "$ac_c_werror_flag"
24509 || test ! -s conftest.err'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; } &&
24515 { ac_try='test -s conftest$ac_exeext'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24518 ac_status=$?
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; }; then
24521 eval "$as_ac_var=yes"
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24526 eval "$as_ac_var=no"
24528 rm -f conftest.err conftest.$ac_objext \
24529 conftest$ac_exeext conftest.$ac_ext
24531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24533 if test `eval echo '${'$as_ac_var'}'` = yes; then
24534 cat >>confdefs.h <<_ACEOF
24535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24536 _ACEOF
24539 done
24549 echo "$as_me:$LINENO: checking for powl declaration" >&5
24550 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24551 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24552 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 else
24558 ac_ext=cc
24559 ac_cpp='$CXXCPP $CPPFLAGS'
24560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24564 cat >conftest.$ac_ext <<_ACEOF
24565 /* confdefs.h. */
24566 _ACEOF
24567 cat confdefs.h >>conftest.$ac_ext
24568 cat >>conftest.$ac_ext <<_ACEOF
24569 /* end confdefs.h. */
24570 #include <math.h>
24572 main ()
24574 powl(0, 0);
24576 return 0;
24578 _ACEOF
24579 rm -f conftest.$ac_objext
24580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24581 (eval $ac_compile) 2>conftest.er1
24582 ac_status=$?
24583 grep -v '^ *+' conftest.er1 >conftest.err
24584 rm -f conftest.er1
24585 cat conftest.err >&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } &&
24588 { ac_try='test -z "$ac_cxx_werror_flag"
24589 || test ! -s conftest.err'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24592 ac_status=$?
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; } &&
24595 { ac_try='test -s conftest.$ac_objext'
24596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24597 (eval $ac_try) 2>&5
24598 ac_status=$?
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); }; }; then
24601 glibcxx_cv_func_powl_use=yes
24602 else
24603 echo "$as_me: failed program was:" >&5
24604 sed 's/^/| /' conftest.$ac_ext >&5
24606 glibcxx_cv_func_powl_use=no
24608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24609 ac_ext=c
24610 ac_cpp='$CPP $CPPFLAGS'
24611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24620 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24622 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24624 for ac_func in powl
24626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24627 echo "$as_me:$LINENO: checking for $ac_func" >&5
24628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24629 if eval "test \"\${$as_ac_var+set}\" = set"; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24631 else
24632 if test x$gcc_no_link = xyes; then
24633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24635 { (exit 1); exit 1; }; }
24637 cat >conftest.$ac_ext <<_ACEOF
24638 /* confdefs.h. */
24639 _ACEOF
24640 cat confdefs.h >>conftest.$ac_ext
24641 cat >>conftest.$ac_ext <<_ACEOF
24642 /* end confdefs.h. */
24643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24645 #define $ac_func innocuous_$ac_func
24647 /* System header to define __stub macros and hopefully few prototypes,
24648 which can conflict with char $ac_func (); below.
24649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24650 <limits.h> exists even on freestanding compilers. */
24652 #ifdef __STDC__
24653 # include <limits.h>
24654 #else
24655 # include <assert.h>
24656 #endif
24658 #undef $ac_func
24660 /* Override any gcc2 internal prototype to avoid an error. */
24661 #ifdef __cplusplus
24662 extern "C"
24664 #endif
24665 /* We use char because int might match the return type of a gcc2
24666 builtin and then its argument prototype would still apply. */
24667 char $ac_func ();
24668 /* The GNU C library defines this for functions which it implements
24669 to always fail with ENOSYS. Some functions are actually named
24670 something starting with __ and the normal name is an alias. */
24671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24672 choke me
24673 #else
24674 char (*f) () = $ac_func;
24675 #endif
24676 #ifdef __cplusplus
24678 #endif
24681 main ()
24683 return f != $ac_func;
24685 return 0;
24687 _ACEOF
24688 rm -f conftest.$ac_objext conftest$ac_exeext
24689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24690 (eval $ac_link) 2>conftest.er1
24691 ac_status=$?
24692 grep -v '^ *+' conftest.er1 >conftest.err
24693 rm -f conftest.er1
24694 cat conftest.err >&5
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); } &&
24697 { ac_try='test -z "$ac_c_werror_flag"
24698 || test ! -s conftest.err'
24699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700 (eval $ac_try) 2>&5
24701 ac_status=$?
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); }; } &&
24704 { ac_try='test -s conftest$ac_exeext'
24705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24706 (eval $ac_try) 2>&5
24707 ac_status=$?
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); }; }; then
24710 eval "$as_ac_var=yes"
24711 else
24712 echo "$as_me: failed program was:" >&5
24713 sed 's/^/| /' conftest.$ac_ext >&5
24715 eval "$as_ac_var=no"
24717 rm -f conftest.err conftest.$ac_objext \
24718 conftest$ac_exeext conftest.$ac_ext
24720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24722 if test `eval echo '${'$as_ac_var'}'` = yes; then
24723 cat >>confdefs.h <<_ACEOF
24724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24725 _ACEOF
24728 done
24730 else
24732 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24733 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24734 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24735 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 else
24741 ac_ext=cc
24742 ac_cpp='$CXXCPP $CPPFLAGS'
24743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24747 cat >conftest.$ac_ext <<_ACEOF
24748 /* confdefs.h. */
24749 _ACEOF
24750 cat confdefs.h >>conftest.$ac_ext
24751 cat >>conftest.$ac_ext <<_ACEOF
24752 /* end confdefs.h. */
24753 #include <math.h>
24755 main ()
24757 _powl(0, 0);
24759 return 0;
24761 _ACEOF
24762 rm -f conftest.$ac_objext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24764 (eval $ac_compile) 2>conftest.er1
24765 ac_status=$?
24766 grep -v '^ *+' conftest.er1 >conftest.err
24767 rm -f conftest.er1
24768 cat conftest.err >&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } &&
24771 { ac_try='test -z "$ac_cxx_werror_flag"
24772 || test ! -s conftest.err'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24775 ac_status=$?
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; } &&
24778 { ac_try='test -s conftest.$ac_objext'
24779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780 (eval $ac_try) 2>&5
24781 ac_status=$?
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; }; then
24784 glibcxx_cv_func__powl_use=yes
24785 else
24786 echo "$as_me: failed program was:" >&5
24787 sed 's/^/| /' conftest.$ac_ext >&5
24789 glibcxx_cv_func__powl_use=no
24791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24792 ac_ext=c
24793 ac_cpp='$CPP $CPPFLAGS'
24794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24803 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24805 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24807 for ac_func in _powl
24809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24810 echo "$as_me:$LINENO: checking for $ac_func" >&5
24811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24812 if eval "test \"\${$as_ac_var+set}\" = set"; then
24813 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 else
24815 if test x$gcc_no_link = xyes; then
24816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24818 { (exit 1); exit 1; }; }
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h. */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24828 #define $ac_func innocuous_$ac_func
24830 /* System header to define __stub macros and hopefully few prototypes,
24831 which can conflict with char $ac_func (); below.
24832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24833 <limits.h> exists even on freestanding compilers. */
24835 #ifdef __STDC__
24836 # include <limits.h>
24837 #else
24838 # include <assert.h>
24839 #endif
24841 #undef $ac_func
24843 /* Override any gcc2 internal prototype to avoid an error. */
24844 #ifdef __cplusplus
24845 extern "C"
24847 #endif
24848 /* We use char because int might match the return type of a gcc2
24849 builtin and then its argument prototype would still apply. */
24850 char $ac_func ();
24851 /* The GNU C library defines this for functions which it implements
24852 to always fail with ENOSYS. Some functions are actually named
24853 something starting with __ and the normal name is an alias. */
24854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24855 choke me
24856 #else
24857 char (*f) () = $ac_func;
24858 #endif
24859 #ifdef __cplusplus
24861 #endif
24864 main ()
24866 return f != $ac_func;
24868 return 0;
24870 _ACEOF
24871 rm -f conftest.$ac_objext conftest$ac_exeext
24872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24873 (eval $ac_link) 2>conftest.er1
24874 ac_status=$?
24875 grep -v '^ *+' conftest.er1 >conftest.err
24876 rm -f conftest.er1
24877 cat conftest.err >&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } &&
24880 { ac_try='test -z "$ac_c_werror_flag"
24881 || test ! -s conftest.err'
24882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24883 (eval $ac_try) 2>&5
24884 ac_status=$?
24885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24886 (exit $ac_status); }; } &&
24887 { ac_try='test -s conftest$ac_exeext'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24890 ac_status=$?
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; }; then
24893 eval "$as_ac_var=yes"
24894 else
24895 echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.$ac_ext >&5
24898 eval "$as_ac_var=no"
24900 rm -f conftest.err conftest.$ac_objext \
24901 conftest$ac_exeext conftest.$ac_ext
24903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24905 if test `eval echo '${'$as_ac_var'}'` = yes; then
24906 cat >>confdefs.h <<_ACEOF
24907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24908 _ACEOF
24911 done
24921 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24922 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24923 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24924 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24925 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 else
24930 ac_ext=cc
24931 ac_cpp='$CXXCPP $CPPFLAGS'
24932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24936 cat >conftest.$ac_ext <<_ACEOF
24937 /* confdefs.h. */
24938 _ACEOF
24939 cat confdefs.h >>conftest.$ac_ext
24940 cat >>conftest.$ac_ext <<_ACEOF
24941 /* end confdefs.h. */
24942 #include <math.h>
24943 #ifdef HAVE_IEEEFP_H
24944 #include <ieeefp.h>
24945 #endif
24948 main ()
24950 sqrtl(0);
24952 return 0;
24954 _ACEOF
24955 rm -f conftest.$ac_objext
24956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24957 (eval $ac_compile) 2>conftest.er1
24958 ac_status=$?
24959 grep -v '^ *+' conftest.er1 >conftest.err
24960 rm -f conftest.er1
24961 cat conftest.err >&5
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); } &&
24964 { ac_try='test -z "$ac_cxx_werror_flag"
24965 || test ! -s conftest.err'
24966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967 (eval $ac_try) 2>&5
24968 ac_status=$?
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; } &&
24971 { ac_try='test -s conftest.$ac_objext'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24974 ac_status=$?
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; }; then
24977 glibcxx_cv_func_sqrtl_use=yes
24978 else
24979 echo "$as_me: failed program was:" >&5
24980 sed 's/^/| /' conftest.$ac_ext >&5
24982 glibcxx_cv_func_sqrtl_use=no
24984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24985 ac_ext=c
24986 ac_cpp='$CPP $CPPFLAGS'
24987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24996 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24998 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25000 for ac_func in sqrtl
25002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25003 echo "$as_me:$LINENO: checking for $ac_func" >&5
25004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25005 if eval "test \"\${$as_ac_var+set}\" = set"; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25007 else
25008 if test x$gcc_no_link = xyes; then
25009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25011 { (exit 1); exit 1; }; }
25013 cat >conftest.$ac_ext <<_ACEOF
25014 /* confdefs.h. */
25015 _ACEOF
25016 cat confdefs.h >>conftest.$ac_ext
25017 cat >>conftest.$ac_ext <<_ACEOF
25018 /* end confdefs.h. */
25019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25021 #define $ac_func innocuous_$ac_func
25023 /* System header to define __stub macros and hopefully few prototypes,
25024 which can conflict with char $ac_func (); below.
25025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25026 <limits.h> exists even on freestanding compilers. */
25028 #ifdef __STDC__
25029 # include <limits.h>
25030 #else
25031 # include <assert.h>
25032 #endif
25034 #undef $ac_func
25036 /* Override any gcc2 internal prototype to avoid an error. */
25037 #ifdef __cplusplus
25038 extern "C"
25040 #endif
25041 /* We use char because int might match the return type of a gcc2
25042 builtin and then its argument prototype would still apply. */
25043 char $ac_func ();
25044 /* The GNU C library defines this for functions which it implements
25045 to always fail with ENOSYS. Some functions are actually named
25046 something starting with __ and the normal name is an alias. */
25047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25048 choke me
25049 #else
25050 char (*f) () = $ac_func;
25051 #endif
25052 #ifdef __cplusplus
25054 #endif
25057 main ()
25059 return f != $ac_func;
25061 return 0;
25063 _ACEOF
25064 rm -f conftest.$ac_objext conftest$ac_exeext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25066 (eval $ac_link) 2>conftest.er1
25067 ac_status=$?
25068 grep -v '^ *+' conftest.er1 >conftest.err
25069 rm -f conftest.er1
25070 cat conftest.err >&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try='test -z "$ac_c_werror_flag"
25074 || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25077 ac_status=$?
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try='test -s conftest$ac_exeext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25083 ac_status=$?
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 eval "$as_ac_var=yes"
25087 else
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.$ac_ext >&5
25091 eval "$as_ac_var=no"
25093 rm -f conftest.err conftest.$ac_objext \
25094 conftest$ac_exeext conftest.$ac_ext
25096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25098 if test `eval echo '${'$as_ac_var'}'` = yes; then
25099 cat >>confdefs.h <<_ACEOF
25100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25101 _ACEOF
25104 done
25106 else
25108 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
25109 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
25110 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25111 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 else
25117 ac_ext=cc
25118 ac_cpp='$CXXCPP $CPPFLAGS'
25119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25123 cat >conftest.$ac_ext <<_ACEOF
25124 /* confdefs.h. */
25125 _ACEOF
25126 cat confdefs.h >>conftest.$ac_ext
25127 cat >>conftest.$ac_ext <<_ACEOF
25128 /* end confdefs.h. */
25129 #include <math.h>
25130 #ifdef HAVE_IEEEFP_H
25131 #include <ieeefp.h>
25132 #endif
25135 main ()
25137 _sqrtl(0);
25139 return 0;
25141 _ACEOF
25142 rm -f conftest.$ac_objext
25143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25144 (eval $ac_compile) 2>conftest.er1
25145 ac_status=$?
25146 grep -v '^ *+' conftest.er1 >conftest.err
25147 rm -f conftest.er1
25148 cat conftest.err >&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); } &&
25151 { ac_try='test -z "$ac_cxx_werror_flag"
25152 || test ! -s conftest.err'
25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154 (eval $ac_try) 2>&5
25155 ac_status=$?
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); }; } &&
25158 { ac_try='test -s conftest.$ac_objext'
25159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25160 (eval $ac_try) 2>&5
25161 ac_status=$?
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); }; }; then
25164 glibcxx_cv_func__sqrtl_use=yes
25165 else
25166 echo "$as_me: failed program was:" >&5
25167 sed 's/^/| /' conftest.$ac_ext >&5
25169 glibcxx_cv_func__sqrtl_use=no
25171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25172 ac_ext=c
25173 ac_cpp='$CPP $CPPFLAGS'
25174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25183 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25185 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25187 for ac_func in _sqrtl
25189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25190 echo "$as_me:$LINENO: checking for $ac_func" >&5
25191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25192 if eval "test \"\${$as_ac_var+set}\" = set"; then
25193 echo $ECHO_N "(cached) $ECHO_C" >&6
25194 else
25195 if test x$gcc_no_link = xyes; then
25196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25198 { (exit 1); exit 1; }; }
25200 cat >conftest.$ac_ext <<_ACEOF
25201 /* confdefs.h. */
25202 _ACEOF
25203 cat confdefs.h >>conftest.$ac_ext
25204 cat >>conftest.$ac_ext <<_ACEOF
25205 /* end confdefs.h. */
25206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25208 #define $ac_func innocuous_$ac_func
25210 /* System header to define __stub macros and hopefully few prototypes,
25211 which can conflict with char $ac_func (); below.
25212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25213 <limits.h> exists even on freestanding compilers. */
25215 #ifdef __STDC__
25216 # include <limits.h>
25217 #else
25218 # include <assert.h>
25219 #endif
25221 #undef $ac_func
25223 /* Override any gcc2 internal prototype to avoid an error. */
25224 #ifdef __cplusplus
25225 extern "C"
25227 #endif
25228 /* We use char because int might match the return type of a gcc2
25229 builtin and then its argument prototype would still apply. */
25230 char $ac_func ();
25231 /* The GNU C library defines this for functions which it implements
25232 to always fail with ENOSYS. Some functions are actually named
25233 something starting with __ and the normal name is an alias. */
25234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25235 choke me
25236 #else
25237 char (*f) () = $ac_func;
25238 #endif
25239 #ifdef __cplusplus
25241 #endif
25244 main ()
25246 return f != $ac_func;
25248 return 0;
25250 _ACEOF
25251 rm -f conftest.$ac_objext conftest$ac_exeext
25252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25253 (eval $ac_link) 2>conftest.er1
25254 ac_status=$?
25255 grep -v '^ *+' conftest.er1 >conftest.err
25256 rm -f conftest.er1
25257 cat conftest.err >&5
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); } &&
25260 { ac_try='test -z "$ac_c_werror_flag"
25261 || test ! -s conftest.err'
25262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25263 (eval $ac_try) 2>&5
25264 ac_status=$?
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); }; } &&
25267 { ac_try='test -s conftest$ac_exeext'
25268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25269 (eval $ac_try) 2>&5
25270 ac_status=$?
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); }; }; then
25273 eval "$as_ac_var=yes"
25274 else
25275 echo "$as_me: failed program was:" >&5
25276 sed 's/^/| /' conftest.$ac_ext >&5
25278 eval "$as_ac_var=no"
25280 rm -f conftest.err conftest.$ac_objext \
25281 conftest$ac_exeext conftest.$ac_ext
25283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25285 if test `eval echo '${'$as_ac_var'}'` = yes; then
25286 cat >>confdefs.h <<_ACEOF
25287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25288 _ACEOF
25291 done
25301 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25302 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25303 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25304 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25305 echo $ECHO_N "(cached) $ECHO_C" >&6
25306 else
25310 ac_ext=cc
25311 ac_cpp='$CXXCPP $CPPFLAGS'
25312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316 cat >conftest.$ac_ext <<_ACEOF
25317 /* confdefs.h. */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h. */
25322 #include <math.h>
25324 main ()
25326 sincosl(0, 0, 0);
25328 return 0;
25330 _ACEOF
25331 rm -f conftest.$ac_objext
25332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25333 (eval $ac_compile) 2>conftest.er1
25334 ac_status=$?
25335 grep -v '^ *+' conftest.er1 >conftest.err
25336 rm -f conftest.er1
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } &&
25340 { ac_try='test -z "$ac_cxx_werror_flag"
25341 || test ! -s conftest.err'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25344 ac_status=$?
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; } &&
25347 { ac_try='test -s conftest.$ac_objext'
25348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25349 (eval $ac_try) 2>&5
25350 ac_status=$?
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; }; then
25353 glibcxx_cv_func_sincosl_use=yes
25354 else
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25358 glibcxx_cv_func_sincosl_use=no
25360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25372 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25374 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25376 for ac_func in sincosl
25378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25379 echo "$as_me:$LINENO: checking for $ac_func" >&5
25380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25381 if eval "test \"\${$as_ac_var+set}\" = set"; then
25382 echo $ECHO_N "(cached) $ECHO_C" >&6
25383 else
25384 if test x$gcc_no_link = xyes; then
25385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25387 { (exit 1); exit 1; }; }
25389 cat >conftest.$ac_ext <<_ACEOF
25390 /* confdefs.h. */
25391 _ACEOF
25392 cat confdefs.h >>conftest.$ac_ext
25393 cat >>conftest.$ac_ext <<_ACEOF
25394 /* end confdefs.h. */
25395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25397 #define $ac_func innocuous_$ac_func
25399 /* System header to define __stub macros and hopefully few prototypes,
25400 which can conflict with char $ac_func (); below.
25401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25402 <limits.h> exists even on freestanding compilers. */
25404 #ifdef __STDC__
25405 # include <limits.h>
25406 #else
25407 # include <assert.h>
25408 #endif
25410 #undef $ac_func
25412 /* Override any gcc2 internal prototype to avoid an error. */
25413 #ifdef __cplusplus
25414 extern "C"
25416 #endif
25417 /* We use char because int might match the return type of a gcc2
25418 builtin and then its argument prototype would still apply. */
25419 char $ac_func ();
25420 /* The GNU C library defines this for functions which it implements
25421 to always fail with ENOSYS. Some functions are actually named
25422 something starting with __ and the normal name is an alias. */
25423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25424 choke me
25425 #else
25426 char (*f) () = $ac_func;
25427 #endif
25428 #ifdef __cplusplus
25430 #endif
25433 main ()
25435 return f != $ac_func;
25437 return 0;
25439 _ACEOF
25440 rm -f conftest.$ac_objext conftest$ac_exeext
25441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25442 (eval $ac_link) 2>conftest.er1
25443 ac_status=$?
25444 grep -v '^ *+' conftest.er1 >conftest.err
25445 rm -f conftest.er1
25446 cat conftest.err >&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } &&
25449 { ac_try='test -z "$ac_c_werror_flag"
25450 || test ! -s conftest.err'
25451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452 (eval $ac_try) 2>&5
25453 ac_status=$?
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); }; } &&
25456 { ac_try='test -s conftest$ac_exeext'
25457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25458 (eval $ac_try) 2>&5
25459 ac_status=$?
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); }; }; then
25462 eval "$as_ac_var=yes"
25463 else
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.$ac_ext >&5
25467 eval "$as_ac_var=no"
25469 rm -f conftest.err conftest.$ac_objext \
25470 conftest$ac_exeext conftest.$ac_ext
25472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25474 if test `eval echo '${'$as_ac_var'}'` = yes; then
25475 cat >>confdefs.h <<_ACEOF
25476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25477 _ACEOF
25480 done
25482 else
25484 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25485 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25486 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25487 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25488 echo $ECHO_N "(cached) $ECHO_C" >&6
25489 else
25493 ac_ext=cc
25494 ac_cpp='$CXXCPP $CPPFLAGS'
25495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25499 cat >conftest.$ac_ext <<_ACEOF
25500 /* confdefs.h. */
25501 _ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505 #include <math.h>
25507 main ()
25509 _sincosl(0, 0, 0);
25511 return 0;
25513 _ACEOF
25514 rm -f conftest.$ac_objext
25515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25516 (eval $ac_compile) 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -z "$ac_cxx_werror_flag"
25524 || test ! -s conftest.err'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; } &&
25530 { ac_try='test -s conftest.$ac_objext'
25531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25532 (eval $ac_try) 2>&5
25533 ac_status=$?
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); }; }; then
25536 glibcxx_cv_func__sincosl_use=yes
25537 else
25538 echo "$as_me: failed program was:" >&5
25539 sed 's/^/| /' conftest.$ac_ext >&5
25541 glibcxx_cv_func__sincosl_use=no
25543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25544 ac_ext=c
25545 ac_cpp='$CPP $CPPFLAGS'
25546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25555 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25557 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25559 for ac_func in _sincosl
25561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25562 echo "$as_me:$LINENO: checking for $ac_func" >&5
25563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25564 if eval "test \"\${$as_ac_var+set}\" = set"; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567 if test x$gcc_no_link = xyes; then
25568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25570 { (exit 1); exit 1; }; }
25572 cat >conftest.$ac_ext <<_ACEOF
25573 /* confdefs.h. */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25580 #define $ac_func innocuous_$ac_func
25582 /* System header to define __stub macros and hopefully few prototypes,
25583 which can conflict with char $ac_func (); below.
25584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25585 <limits.h> exists even on freestanding compilers. */
25587 #ifdef __STDC__
25588 # include <limits.h>
25589 #else
25590 # include <assert.h>
25591 #endif
25593 #undef $ac_func
25595 /* Override any gcc2 internal prototype to avoid an error. */
25596 #ifdef __cplusplus
25597 extern "C"
25599 #endif
25600 /* We use char because int might match the return type of a gcc2
25601 builtin and then its argument prototype would still apply. */
25602 char $ac_func ();
25603 /* The GNU C library defines this for functions which it implements
25604 to always fail with ENOSYS. Some functions are actually named
25605 something starting with __ and the normal name is an alias. */
25606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25607 choke me
25608 #else
25609 char (*f) () = $ac_func;
25610 #endif
25611 #ifdef __cplusplus
25613 #endif
25616 main ()
25618 return f != $ac_func;
25620 return 0;
25622 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try='test -z "$ac_c_werror_flag"
25633 || test ! -s conftest.err'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; } &&
25639 { ac_try='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645 eval "$as_ac_var=yes"
25646 else
25647 echo "$as_me: failed program was:" >&5
25648 sed 's/^/| /' conftest.$ac_ext >&5
25650 eval "$as_ac_var=no"
25652 rm -f conftest.err conftest.$ac_objext \
25653 conftest$ac_exeext conftest.$ac_ext
25655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25657 if test `eval echo '${'$as_ac_var'}'` = yes; then
25658 cat >>confdefs.h <<_ACEOF
25659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25660 _ACEOF
25663 done
25673 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25674 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25675 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25676 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 else
25682 ac_ext=cc
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25688 cat >conftest.$ac_ext <<_ACEOF
25689 /* confdefs.h. */
25690 _ACEOF
25691 cat confdefs.h >>conftest.$ac_ext
25692 cat >>conftest.$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 #include <math.h>
25695 #ifdef HAVE_IEEEFP_H
25696 #include <ieeefp.h>
25697 #endif
25700 main ()
25702 finitel(0);
25704 return 0;
25706 _ACEOF
25707 rm -f conftest.$ac_objext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25709 (eval $ac_compile) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try='test -z "$ac_cxx_werror_flag"
25717 || test ! -s conftest.err'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25720 ac_status=$?
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; } &&
25723 { ac_try='test -s conftest.$ac_objext'
25724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725 (eval $ac_try) 2>&5
25726 ac_status=$?
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); }; }; then
25729 glibcxx_cv_func_finitel_use=yes
25730 else
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25734 glibcxx_cv_func_finitel_use=no
25736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25737 ac_ext=c
25738 ac_cpp='$CPP $CPPFLAGS'
25739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25748 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25750 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25752 for ac_func in finitel
25754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25755 echo "$as_me:$LINENO: checking for $ac_func" >&5
25756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25757 if eval "test \"\${$as_ac_var+set}\" = set"; then
25758 echo $ECHO_N "(cached) $ECHO_C" >&6
25759 else
25760 if test x$gcc_no_link = xyes; then
25761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25763 { (exit 1); exit 1; }; }
25765 cat >conftest.$ac_ext <<_ACEOF
25766 /* confdefs.h. */
25767 _ACEOF
25768 cat confdefs.h >>conftest.$ac_ext
25769 cat >>conftest.$ac_ext <<_ACEOF
25770 /* end confdefs.h. */
25771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25773 #define $ac_func innocuous_$ac_func
25775 /* System header to define __stub macros and hopefully few prototypes,
25776 which can conflict with char $ac_func (); below.
25777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25778 <limits.h> exists even on freestanding compilers. */
25780 #ifdef __STDC__
25781 # include <limits.h>
25782 #else
25783 # include <assert.h>
25784 #endif
25786 #undef $ac_func
25788 /* Override any gcc2 internal prototype to avoid an error. */
25789 #ifdef __cplusplus
25790 extern "C"
25792 #endif
25793 /* We use char because int might match the return type of a gcc2
25794 builtin and then its argument prototype would still apply. */
25795 char $ac_func ();
25796 /* The GNU C library defines this for functions which it implements
25797 to always fail with ENOSYS. Some functions are actually named
25798 something starting with __ and the normal name is an alias. */
25799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25800 choke me
25801 #else
25802 char (*f) () = $ac_func;
25803 #endif
25804 #ifdef __cplusplus
25806 #endif
25809 main ()
25811 return f != $ac_func;
25813 return 0;
25815 _ACEOF
25816 rm -f conftest.$ac_objext conftest$ac_exeext
25817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25818 (eval $ac_link) 2>conftest.er1
25819 ac_status=$?
25820 grep -v '^ *+' conftest.er1 >conftest.err
25821 rm -f conftest.er1
25822 cat conftest.err >&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } &&
25825 { ac_try='test -z "$ac_c_werror_flag"
25826 || test ! -s conftest.err'
25827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25828 (eval $ac_try) 2>&5
25829 ac_status=$?
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); }; } &&
25832 { ac_try='test -s conftest$ac_exeext'
25833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 (eval $ac_try) 2>&5
25835 ac_status=$?
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); }; }; then
25838 eval "$as_ac_var=yes"
25839 else
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.$ac_ext >&5
25843 eval "$as_ac_var=no"
25845 rm -f conftest.err conftest.$ac_objext \
25846 conftest$ac_exeext conftest.$ac_ext
25848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25850 if test `eval echo '${'$as_ac_var'}'` = yes; then
25851 cat >>confdefs.h <<_ACEOF
25852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25853 _ACEOF
25856 done
25858 else
25860 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25861 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25862 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25863 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25865 else
25869 ac_ext=cc
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 #include <math.h>
25882 #ifdef HAVE_IEEEFP_H
25883 #include <ieeefp.h>
25884 #endif
25887 main ()
25889 _finitel(0);
25891 return 0;
25893 _ACEOF
25894 rm -f conftest.$ac_objext
25895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25896 (eval $ac_compile) 2>conftest.er1
25897 ac_status=$?
25898 grep -v '^ *+' conftest.er1 >conftest.err
25899 rm -f conftest.er1
25900 cat conftest.err >&5
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); } &&
25903 { ac_try='test -z "$ac_cxx_werror_flag"
25904 || test ! -s conftest.err'
25905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25906 (eval $ac_try) 2>&5
25907 ac_status=$?
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); }; } &&
25910 { ac_try='test -s conftest.$ac_objext'
25911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25912 (eval $ac_try) 2>&5
25913 ac_status=$?
25914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915 (exit $ac_status); }; }; then
25916 glibcxx_cv_func__finitel_use=yes
25917 else
25918 echo "$as_me: failed program was:" >&5
25919 sed 's/^/| /' conftest.$ac_ext >&5
25921 glibcxx_cv_func__finitel_use=no
25923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25924 ac_ext=c
25925 ac_cpp='$CPP $CPPFLAGS'
25926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25935 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25937 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25939 for ac_func in _finitel
25941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25942 echo "$as_me:$LINENO: checking for $ac_func" >&5
25943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25944 if eval "test \"\${$as_ac_var+set}\" = set"; then
25945 echo $ECHO_N "(cached) $ECHO_C" >&6
25946 else
25947 if test x$gcc_no_link = xyes; then
25948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25950 { (exit 1); exit 1; }; }
25952 cat >conftest.$ac_ext <<_ACEOF
25953 /* confdefs.h. */
25954 _ACEOF
25955 cat confdefs.h >>conftest.$ac_ext
25956 cat >>conftest.$ac_ext <<_ACEOF
25957 /* end confdefs.h. */
25958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25960 #define $ac_func innocuous_$ac_func
25962 /* System header to define __stub macros and hopefully few prototypes,
25963 which can conflict with char $ac_func (); below.
25964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25965 <limits.h> exists even on freestanding compilers. */
25967 #ifdef __STDC__
25968 # include <limits.h>
25969 #else
25970 # include <assert.h>
25971 #endif
25973 #undef $ac_func
25975 /* Override any gcc2 internal prototype to avoid an error. */
25976 #ifdef __cplusplus
25977 extern "C"
25979 #endif
25980 /* We use char because int might match the return type of a gcc2
25981 builtin and then its argument prototype would still apply. */
25982 char $ac_func ();
25983 /* The GNU C library defines this for functions which it implements
25984 to always fail with ENOSYS. Some functions are actually named
25985 something starting with __ and the normal name is an alias. */
25986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25987 choke me
25988 #else
25989 char (*f) () = $ac_func;
25990 #endif
25991 #ifdef __cplusplus
25993 #endif
25996 main ()
25998 return f != $ac_func;
26000 return 0;
26002 _ACEOF
26003 rm -f conftest.$ac_objext conftest$ac_exeext
26004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26005 (eval $ac_link) 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } &&
26012 { ac_try='test -z "$ac_c_werror_flag"
26013 || test ! -s conftest.err'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; } &&
26019 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26025 eval "$as_ac_var=yes"
26026 else
26027 echo "$as_me: failed program was:" >&5
26028 sed 's/^/| /' conftest.$ac_ext >&5
26030 eval "$as_ac_var=no"
26032 rm -f conftest.err conftest.$ac_objext \
26033 conftest$ac_exeext conftest.$ac_ext
26035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26037 if test `eval echo '${'$as_ac_var'}'` = yes; then
26038 cat >>confdefs.h <<_ACEOF
26039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26040 _ACEOF
26043 done
26052 LIBS="$ac_save_LIBS"
26053 CXXFLAGS="$ac_save_CXXFLAGS"
26057 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
26058 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
26059 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
26060 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 else
26066 ac_ext=cc
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078 #include <math.h>
26080 main ()
26082 __builtin_abs(0);
26084 return 0;
26086 _ACEOF
26087 rm -f conftest.$ac_objext
26088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26089 (eval $ac_compile) 2>conftest.er1
26090 ac_status=$?
26091 grep -v '^ *+' conftest.er1 >conftest.err
26092 rm -f conftest.er1
26093 cat conftest.err >&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); } &&
26096 { ac_try='test -z "$ac_cxx_werror_flag"
26097 || test ! -s conftest.err'
26098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26099 (eval $ac_try) 2>&5
26100 ac_status=$?
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); }; } &&
26103 { ac_try='test -s conftest.$ac_objext'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; }; then
26109 glibcxx_cv_func___builtin_abs_use=yes
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26114 glibcxx_cv_func___builtin_abs_use=no
26116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26117 ac_ext=c
26118 ac_cpp='$CPP $CPPFLAGS'
26119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26127 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
26128 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
26129 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
26130 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
26131 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
26132 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
26133 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 else
26137 if test x$gcc_no_link = xyes; then
26138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26140 { (exit 1); exit 1; }; }
26142 cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h. */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <math.h>
26150 main ()
26152 __builtin_abs(0);
26154 return 0;
26156 _ACEOF
26157 rm -f conftest.$ac_objext conftest$ac_exeext
26158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26159 (eval $ac_link) 2>conftest.er1
26160 ac_status=$?
26161 grep -v '^ *+' conftest.er1 >conftest.err
26162 rm -f conftest.er1
26163 cat conftest.err >&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); } &&
26166 { ac_try='test -z "$ac_c_werror_flag"
26167 || test ! -s conftest.err'
26168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26169 (eval $ac_try) 2>&5
26170 ac_status=$?
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); }; } &&
26173 { ac_try='test -s conftest$ac_exeext'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; }; then
26179 glibcxx_cv_func___builtin_abs_link=yes
26180 else
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26184 glibcxx_cv_func___builtin_abs_link=no
26186 rm -f conftest.err conftest.$ac_objext \
26187 conftest$ac_exeext conftest.$ac_ext
26192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26193 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26195 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26197 cat >>confdefs.h <<\_ACEOF
26198 #define HAVE___BUILTIN_ABS 1
26199 _ACEOF
26206 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26207 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26208 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26209 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26210 echo $ECHO_N "(cached) $ECHO_C" >&6
26211 else
26215 ac_ext=cc
26216 ac_cpp='$CXXCPP $CPPFLAGS'
26217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26221 cat >conftest.$ac_ext <<_ACEOF
26222 /* confdefs.h. */
26223 _ACEOF
26224 cat confdefs.h >>conftest.$ac_ext
26225 cat >>conftest.$ac_ext <<_ACEOF
26226 /* end confdefs.h. */
26227 #include <math.h>
26229 main ()
26231 __builtin_fabsf(0);
26233 return 0;
26235 _ACEOF
26236 rm -f conftest.$ac_objext
26237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26238 (eval $ac_compile) 2>conftest.er1
26239 ac_status=$?
26240 grep -v '^ *+' conftest.er1 >conftest.err
26241 rm -f conftest.er1
26242 cat conftest.err >&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } &&
26245 { ac_try='test -z "$ac_cxx_werror_flag"
26246 || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try='test -s conftest.$ac_objext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 glibcxx_cv_func___builtin_fabsf_use=yes
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26263 glibcxx_cv_func___builtin_fabsf_use=no
26265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26266 ac_ext=c
26267 ac_cpp='$CPP $CPPFLAGS'
26268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26276 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26277 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26278 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26279 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26280 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26281 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26282 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26284 else
26286 if test x$gcc_no_link = xyes; then
26287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26289 { (exit 1); exit 1; }; }
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <math.h>
26299 main ()
26301 __builtin_fabsf(0);
26303 return 0;
26305 _ACEOF
26306 rm -f conftest.$ac_objext conftest$ac_exeext
26307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26308 (eval $ac_link) 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } &&
26315 { ac_try='test -z "$ac_c_werror_flag"
26316 || test ! -s conftest.err'
26317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26318 (eval $ac_try) 2>&5
26319 ac_status=$?
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); }; } &&
26322 { ac_try='test -s conftest$ac_exeext'
26323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324 (eval $ac_try) 2>&5
26325 ac_status=$?
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); }; }; then
26328 glibcxx_cv_func___builtin_fabsf_link=yes
26329 else
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26333 glibcxx_cv_func___builtin_fabsf_link=no
26335 rm -f conftest.err conftest.$ac_objext \
26336 conftest$ac_exeext conftest.$ac_ext
26341 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26342 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26344 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26346 cat >>confdefs.h <<\_ACEOF
26347 #define HAVE___BUILTIN_FABSF 1
26348 _ACEOF
26355 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26356 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26357 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26358 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26359 echo $ECHO_N "(cached) $ECHO_C" >&6
26360 else
26364 ac_ext=cc
26365 ac_cpp='$CXXCPP $CPPFLAGS'
26366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 #include <math.h>
26378 main ()
26380 __builtin_fabs(0);
26382 return 0;
26384 _ACEOF
26385 rm -f conftest.$ac_objext
26386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26387 (eval $ac_compile) 2>conftest.er1
26388 ac_status=$?
26389 grep -v '^ *+' conftest.er1 >conftest.err
26390 rm -f conftest.er1
26391 cat conftest.err >&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } &&
26394 { ac_try='test -z "$ac_cxx_werror_flag"
26395 || test ! -s conftest.err'
26396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26397 (eval $ac_try) 2>&5
26398 ac_status=$?
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); }; } &&
26401 { ac_try='test -s conftest.$ac_objext'
26402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403 (eval $ac_try) 2>&5
26404 ac_status=$?
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); }; }; then
26407 glibcxx_cv_func___builtin_fabs_use=yes
26408 else
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26412 glibcxx_cv_func___builtin_fabs_use=no
26414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26415 ac_ext=c
26416 ac_cpp='$CPP $CPPFLAGS'
26417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26425 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26426 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26427 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26428 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26429 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26430 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26431 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26432 echo $ECHO_N "(cached) $ECHO_C" >&6
26433 else
26435 if test x$gcc_no_link = xyes; then
26436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26438 { (exit 1); exit 1; }; }
26440 cat >conftest.$ac_ext <<_ACEOF
26441 /* confdefs.h. */
26442 _ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26446 #include <math.h>
26448 main ()
26450 __builtin_fabs(0);
26452 return 0;
26454 _ACEOF
26455 rm -f conftest.$ac_objext conftest$ac_exeext
26456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26457 (eval $ac_link) 2>conftest.er1
26458 ac_status=$?
26459 grep -v '^ *+' conftest.er1 >conftest.err
26460 rm -f conftest.er1
26461 cat conftest.err >&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); } &&
26464 { ac_try='test -z "$ac_c_werror_flag"
26465 || test ! -s conftest.err'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26468 ac_status=$?
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; } &&
26471 { ac_try='test -s conftest$ac_exeext'
26472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473 (eval $ac_try) 2>&5
26474 ac_status=$?
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); }; }; then
26477 glibcxx_cv_func___builtin_fabs_link=yes
26478 else
26479 echo "$as_me: failed program was:" >&5
26480 sed 's/^/| /' conftest.$ac_ext >&5
26482 glibcxx_cv_func___builtin_fabs_link=no
26484 rm -f conftest.err conftest.$ac_objext \
26485 conftest$ac_exeext conftest.$ac_ext
26490 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26491 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26493 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26495 cat >>confdefs.h <<\_ACEOF
26496 #define HAVE___BUILTIN_FABS 1
26497 _ACEOF
26504 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26505 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26506 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26507 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26513 ac_ext=cc
26514 ac_cpp='$CXXCPP $CPPFLAGS'
26515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525 #include <math.h>
26527 main ()
26529 __builtin_fabsl(0);
26531 return 0;
26533 _ACEOF
26534 rm -f conftest.$ac_objext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26536 (eval $ac_compile) 2>conftest.er1
26537 ac_status=$?
26538 grep -v '^ *+' conftest.er1 >conftest.err
26539 rm -f conftest.er1
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try='test -z "$ac_cxx_werror_flag"
26544 || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26547 ac_status=$?
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try='test -s conftest.$ac_objext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26553 ac_status=$?
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 glibcxx_cv_func___builtin_fabsl_use=yes
26557 else
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26561 glibcxx_cv_func___builtin_fabsl_use=no
26563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26564 ac_ext=c
26565 ac_cpp='$CPP $CPPFLAGS'
26566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26574 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26575 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26576 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26577 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26578 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26579 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26580 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26581 echo $ECHO_N "(cached) $ECHO_C" >&6
26582 else
26584 if test x$gcc_no_link = xyes; then
26585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26587 { (exit 1); exit 1; }; }
26589 cat >conftest.$ac_ext <<_ACEOF
26590 /* confdefs.h. */
26591 _ACEOF
26592 cat confdefs.h >>conftest.$ac_ext
26593 cat >>conftest.$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595 #include <math.h>
26597 main ()
26599 __builtin_fabsl(0);
26601 return 0;
26603 _ACEOF
26604 rm -f conftest.$ac_objext conftest$ac_exeext
26605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26606 (eval $ac_link) 2>conftest.er1
26607 ac_status=$?
26608 grep -v '^ *+' conftest.er1 >conftest.err
26609 rm -f conftest.er1
26610 cat conftest.err >&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); } &&
26613 { ac_try='test -z "$ac_c_werror_flag"
26614 || test ! -s conftest.err'
26615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616 (eval $ac_try) 2>&5
26617 ac_status=$?
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); }; } &&
26620 { ac_try='test -s conftest$ac_exeext'
26621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26622 (eval $ac_try) 2>&5
26623 ac_status=$?
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); }; }; then
26626 glibcxx_cv_func___builtin_fabsl_link=yes
26627 else
26628 echo "$as_me: failed program was:" >&5
26629 sed 's/^/| /' conftest.$ac_ext >&5
26631 glibcxx_cv_func___builtin_fabsl_link=no
26633 rm -f conftest.err conftest.$ac_objext \
26634 conftest$ac_exeext conftest.$ac_ext
26639 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26640 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26642 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26644 cat >>confdefs.h <<\_ACEOF
26645 #define HAVE___BUILTIN_FABSL 1
26646 _ACEOF
26653 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26654 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26655 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26656 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26657 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 else
26662 ac_ext=cc
26663 ac_cpp='$CXXCPP $CPPFLAGS'
26664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26668 cat >conftest.$ac_ext <<_ACEOF
26669 /* confdefs.h. */
26670 _ACEOF
26671 cat confdefs.h >>conftest.$ac_ext
26672 cat >>conftest.$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26674 #include <math.h>
26676 main ()
26678 __builtin_labs(0);
26680 return 0;
26682 _ACEOF
26683 rm -f conftest.$ac_objext
26684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26685 (eval $ac_compile) 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } &&
26692 { ac_try='test -z "$ac_cxx_werror_flag"
26693 || test ! -s conftest.err'
26694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26695 (eval $ac_try) 2>&5
26696 ac_status=$?
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); }; } &&
26699 { ac_try='test -s conftest.$ac_objext'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26702 ac_status=$?
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; }; then
26705 glibcxx_cv_func___builtin_labs_use=yes
26706 else
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.$ac_ext >&5
26710 glibcxx_cv_func___builtin_labs_use=no
26712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26713 ac_ext=c
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26723 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26724 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26725 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26726 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26727 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26728 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26729 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26730 echo $ECHO_N "(cached) $ECHO_C" >&6
26731 else
26733 if test x$gcc_no_link = xyes; then
26734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26736 { (exit 1); exit 1; }; }
26738 cat >conftest.$ac_ext <<_ACEOF
26739 /* confdefs.h. */
26740 _ACEOF
26741 cat confdefs.h >>conftest.$ac_ext
26742 cat >>conftest.$ac_ext <<_ACEOF
26743 /* end confdefs.h. */
26744 #include <math.h>
26746 main ()
26748 __builtin_labs(0);
26750 return 0;
26752 _ACEOF
26753 rm -f conftest.$ac_objext conftest$ac_exeext
26754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26755 (eval $ac_link) 2>conftest.er1
26756 ac_status=$?
26757 grep -v '^ *+' conftest.er1 >conftest.err
26758 rm -f conftest.er1
26759 cat conftest.err >&5
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); } &&
26762 { ac_try='test -z "$ac_c_werror_flag"
26763 || test ! -s conftest.err'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; } &&
26769 { ac_try='test -s conftest$ac_exeext'
26770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26771 (eval $ac_try) 2>&5
26772 ac_status=$?
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); }; }; then
26775 glibcxx_cv_func___builtin_labs_link=yes
26776 else
26777 echo "$as_me: failed program was:" >&5
26778 sed 's/^/| /' conftest.$ac_ext >&5
26780 glibcxx_cv_func___builtin_labs_link=no
26782 rm -f conftest.err conftest.$ac_objext \
26783 conftest$ac_exeext conftest.$ac_ext
26788 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26789 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26791 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26793 cat >>confdefs.h <<\_ACEOF
26794 #define HAVE___BUILTIN_LABS 1
26795 _ACEOF
26803 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26804 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26805 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26806 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26808 else
26812 ac_ext=cc
26813 ac_cpp='$CXXCPP $CPPFLAGS'
26814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26818 cat >conftest.$ac_ext <<_ACEOF
26819 /* confdefs.h. */
26820 _ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824 #include <math.h>
26826 main ()
26828 __builtin_sqrtf(0);
26830 return 0;
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835 (eval $ac_compile) 2>conftest.er1
26836 ac_status=$?
26837 grep -v '^ *+' conftest.er1 >conftest.err
26838 rm -f conftest.er1
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } &&
26842 { ac_try='test -z "$ac_cxx_werror_flag"
26843 || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26846 ac_status=$?
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try='test -s conftest.$ac_objext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 glibcxx_cv_func___builtin_sqrtf_use=yes
26856 else
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26860 glibcxx_cv_func___builtin_sqrtf_use=no
26862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26863 ac_ext=c
26864 ac_cpp='$CPP $CPPFLAGS'
26865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26873 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26874 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26875 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26876 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26877 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26878 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26879 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26880 echo $ECHO_N "(cached) $ECHO_C" >&6
26881 else
26883 if test x$gcc_no_link = xyes; then
26884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26886 { (exit 1); exit 1; }; }
26888 cat >conftest.$ac_ext <<_ACEOF
26889 /* confdefs.h. */
26890 _ACEOF
26891 cat confdefs.h >>conftest.$ac_ext
26892 cat >>conftest.$ac_ext <<_ACEOF
26893 /* end confdefs.h. */
26894 #include <math.h>
26896 main ()
26898 __builtin_sqrtf(0);
26900 return 0;
26902 _ACEOF
26903 rm -f conftest.$ac_objext conftest$ac_exeext
26904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26905 (eval $ac_link) 2>conftest.er1
26906 ac_status=$?
26907 grep -v '^ *+' conftest.er1 >conftest.err
26908 rm -f conftest.er1
26909 cat conftest.err >&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } &&
26912 { ac_try='test -z "$ac_c_werror_flag"
26913 || test ! -s conftest.err'
26914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915 (eval $ac_try) 2>&5
26916 ac_status=$?
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); }; } &&
26919 { ac_try='test -s conftest$ac_exeext'
26920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921 (eval $ac_try) 2>&5
26922 ac_status=$?
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); }; }; then
26925 glibcxx_cv_func___builtin_sqrtf_link=yes
26926 else
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26930 glibcxx_cv_func___builtin_sqrtf_link=no
26932 rm -f conftest.err conftest.$ac_objext \
26933 conftest$ac_exeext conftest.$ac_ext
26938 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26939 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26941 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26943 cat >>confdefs.h <<\_ACEOF
26944 #define HAVE___BUILTIN_SQRTF 1
26945 _ACEOF
26952 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26953 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26954 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26955 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26956 echo $ECHO_N "(cached) $ECHO_C" >&6
26957 else
26961 ac_ext=cc
26962 ac_cpp='$CXXCPP $CPPFLAGS'
26963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26967 cat >conftest.$ac_ext <<_ACEOF
26968 /* confdefs.h. */
26969 _ACEOF
26970 cat confdefs.h >>conftest.$ac_ext
26971 cat >>conftest.$ac_ext <<_ACEOF
26972 /* end confdefs.h. */
26973 #include <math.h>
26975 main ()
26977 __builtin_sqrt(0);
26979 return 0;
26981 _ACEOF
26982 rm -f conftest.$ac_objext
26983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26984 (eval $ac_compile) 2>conftest.er1
26985 ac_status=$?
26986 grep -v '^ *+' conftest.er1 >conftest.err
26987 rm -f conftest.er1
26988 cat conftest.err >&5
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); } &&
26991 { ac_try='test -z "$ac_cxx_werror_flag"
26992 || test ! -s conftest.err'
26993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26994 (eval $ac_try) 2>&5
26995 ac_status=$?
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); }; } &&
26998 { ac_try='test -s conftest.$ac_objext'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27001 ac_status=$?
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; }; then
27004 glibcxx_cv_func___builtin_sqrt_use=yes
27005 else
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.$ac_ext >&5
27009 glibcxx_cv_func___builtin_sqrt_use=no
27011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27012 ac_ext=c
27013 ac_cpp='$CPP $CPPFLAGS'
27014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27022 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
27023 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
27024 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
27025 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
27026 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
27027 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
27028 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 else
27032 if test x$gcc_no_link = xyes; then
27033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27035 { (exit 1); exit 1; }; }
27037 cat >conftest.$ac_ext <<_ACEOF
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 #include <math.h>
27045 main ()
27047 __builtin_sqrt(0);
27049 return 0;
27051 _ACEOF
27052 rm -f conftest.$ac_objext conftest$ac_exeext
27053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27054 (eval $ac_link) 2>conftest.er1
27055 ac_status=$?
27056 grep -v '^ *+' conftest.er1 >conftest.err
27057 rm -f conftest.er1
27058 cat conftest.err >&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); } &&
27061 { ac_try='test -z "$ac_c_werror_flag"
27062 || test ! -s conftest.err'
27063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064 (eval $ac_try) 2>&5
27065 ac_status=$?
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); }; } &&
27068 { ac_try='test -s conftest$ac_exeext'
27069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27070 (eval $ac_try) 2>&5
27071 ac_status=$?
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); }; }; then
27074 glibcxx_cv_func___builtin_sqrt_link=yes
27075 else
27076 echo "$as_me: failed program was:" >&5
27077 sed 's/^/| /' conftest.$ac_ext >&5
27079 glibcxx_cv_func___builtin_sqrt_link=no
27081 rm -f conftest.err conftest.$ac_objext \
27082 conftest$ac_exeext conftest.$ac_ext
27087 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
27088 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
27090 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
27092 cat >>confdefs.h <<\_ACEOF
27093 #define HAVE___BUILTIN_SQRT 1
27094 _ACEOF
27101 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
27102 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
27103 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
27104 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
27105 echo $ECHO_N "(cached) $ECHO_C" >&6
27106 else
27110 ac_ext=cc
27111 ac_cpp='$CXXCPP $CPPFLAGS'
27112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27116 cat >conftest.$ac_ext <<_ACEOF
27117 /* confdefs.h. */
27118 _ACEOF
27119 cat confdefs.h >>conftest.$ac_ext
27120 cat >>conftest.$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27122 #include <math.h>
27124 main ()
27126 __builtin_sqrtl(0);
27128 return 0;
27130 _ACEOF
27131 rm -f conftest.$ac_objext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27133 (eval $ac_compile) 2>conftest.er1
27134 ac_status=$?
27135 grep -v '^ *+' conftest.er1 >conftest.err
27136 rm -f conftest.er1
27137 cat conftest.err >&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try='test -z "$ac_cxx_werror_flag"
27141 || test ! -s conftest.err'
27142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27143 (eval $ac_try) 2>&5
27144 ac_status=$?
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); }; } &&
27147 { ac_try='test -s conftest.$ac_objext'
27148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149 (eval $ac_try) 2>&5
27150 ac_status=$?
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); }; }; then
27153 glibcxx_cv_func___builtin_sqrtl_use=yes
27154 else
27155 echo "$as_me: failed program was:" >&5
27156 sed 's/^/| /' conftest.$ac_ext >&5
27158 glibcxx_cv_func___builtin_sqrtl_use=no
27160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27161 ac_ext=c
27162 ac_cpp='$CPP $CPPFLAGS'
27163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27172 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27173 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27174 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27175 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27176 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27177 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27178 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 else
27181 if test x$gcc_no_link = xyes; then
27182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27184 { (exit 1); exit 1; }; }
27186 cat >conftest.$ac_ext <<_ACEOF
27187 /* confdefs.h. */
27188 _ACEOF
27189 cat confdefs.h >>conftest.$ac_ext
27190 cat >>conftest.$ac_ext <<_ACEOF
27191 /* end confdefs.h. */
27192 #include <math.h>
27194 main ()
27196 __builtin_sqrtl(0);
27198 return 0;
27200 _ACEOF
27201 rm -f conftest.$ac_objext conftest$ac_exeext
27202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27203 (eval $ac_link) 2>conftest.er1
27204 ac_status=$?
27205 grep -v '^ *+' conftest.er1 >conftest.err
27206 rm -f conftest.er1
27207 cat conftest.err >&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } &&
27210 { ac_try='test -z "$ac_c_werror_flag"
27211 || test ! -s conftest.err'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; } &&
27217 { ac_try='test -s conftest$ac_exeext'
27218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219 (eval $ac_try) 2>&5
27220 ac_status=$?
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); }; }; then
27223 glibcxx_cv_func___builtin_sqrtl_link=yes
27224 else
27225 echo "$as_me: failed program was:" >&5
27226 sed 's/^/| /' conftest.$ac_ext >&5
27228 glibcxx_cv_func___builtin_sqrtl_link=no
27230 rm -f conftest.err conftest.$ac_objext \
27231 conftest$ac_exeext conftest.$ac_ext
27236 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27237 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27239 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27241 cat >>confdefs.h <<\_ACEOF
27242 #define HAVE___BUILTIN_SQRTL 1
27243 _ACEOF
27251 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27252 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27253 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27254 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27255 echo $ECHO_N "(cached) $ECHO_C" >&6
27256 else
27260 ac_ext=cc
27261 ac_cpp='$CXXCPP $CPPFLAGS'
27262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27266 cat >conftest.$ac_ext <<_ACEOF
27267 /* confdefs.h. */
27268 _ACEOF
27269 cat confdefs.h >>conftest.$ac_ext
27270 cat >>conftest.$ac_ext <<_ACEOF
27271 /* end confdefs.h. */
27272 #include <math.h>
27274 main ()
27276 __builtin_sinf(0);
27278 return 0;
27280 _ACEOF
27281 rm -f conftest.$ac_objext
27282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27283 (eval $ac_compile) 2>conftest.er1
27284 ac_status=$?
27285 grep -v '^ *+' conftest.er1 >conftest.err
27286 rm -f conftest.er1
27287 cat conftest.err >&5
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } &&
27290 { ac_try='test -z "$ac_cxx_werror_flag"
27291 || test ! -s conftest.err'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27294 ac_status=$?
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; } &&
27297 { ac_try='test -s conftest.$ac_objext'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27300 ac_status=$?
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 glibcxx_cv_func___builtin_sinf_use=yes
27304 else
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.$ac_ext >&5
27308 glibcxx_cv_func___builtin_sinf_use=no
27310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27311 ac_ext=c
27312 ac_cpp='$CPP $CPPFLAGS'
27313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27321 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27322 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27323 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27324 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27325 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27326 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27327 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27329 else
27331 if test x$gcc_no_link = xyes; then
27332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27334 { (exit 1); exit 1; }; }
27336 cat >conftest.$ac_ext <<_ACEOF
27337 /* confdefs.h. */
27338 _ACEOF
27339 cat confdefs.h >>conftest.$ac_ext
27340 cat >>conftest.$ac_ext <<_ACEOF
27341 /* end confdefs.h. */
27342 #include <math.h>
27344 main ()
27346 __builtin_sinf(0);
27348 return 0;
27350 _ACEOF
27351 rm -f conftest.$ac_objext conftest$ac_exeext
27352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27353 (eval $ac_link) 2>conftest.er1
27354 ac_status=$?
27355 grep -v '^ *+' conftest.er1 >conftest.err
27356 rm -f conftest.er1
27357 cat conftest.err >&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } &&
27360 { ac_try='test -z "$ac_c_werror_flag"
27361 || test ! -s conftest.err'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27364 ac_status=$?
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try='test -s conftest$ac_exeext'
27368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27369 (eval $ac_try) 2>&5
27370 ac_status=$?
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; }; then
27373 glibcxx_cv_func___builtin_sinf_link=yes
27374 else
27375 echo "$as_me: failed program was:" >&5
27376 sed 's/^/| /' conftest.$ac_ext >&5
27378 glibcxx_cv_func___builtin_sinf_link=no
27380 rm -f conftest.err conftest.$ac_objext \
27381 conftest$ac_exeext conftest.$ac_ext
27386 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27387 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27389 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27391 cat >>confdefs.h <<\_ACEOF
27392 #define HAVE___BUILTIN_SINF 1
27393 _ACEOF
27400 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27401 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27402 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27403 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 else
27409 ac_ext=cc
27410 ac_cpp='$CXXCPP $CPPFLAGS'
27411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27415 cat >conftest.$ac_ext <<_ACEOF
27416 /* confdefs.h. */
27417 _ACEOF
27418 cat confdefs.h >>conftest.$ac_ext
27419 cat >>conftest.$ac_ext <<_ACEOF
27420 /* end confdefs.h. */
27421 #include <math.h>
27423 main ()
27425 __builtin_sin(0);
27427 return 0;
27429 _ACEOF
27430 rm -f conftest.$ac_objext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27432 (eval $ac_compile) 2>conftest.er1
27433 ac_status=$?
27434 grep -v '^ *+' conftest.er1 >conftest.err
27435 rm -f conftest.er1
27436 cat conftest.err >&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try='test -z "$ac_cxx_werror_flag"
27440 || test ! -s conftest.err'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27443 ac_status=$?
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; } &&
27446 { ac_try='test -s conftest.$ac_objext'
27447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448 (eval $ac_try) 2>&5
27449 ac_status=$?
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); }; }; then
27452 glibcxx_cv_func___builtin_sin_use=yes
27453 else
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27457 glibcxx_cv_func___builtin_sin_use=no
27459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27460 ac_ext=c
27461 ac_cpp='$CPP $CPPFLAGS'
27462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27470 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27471 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27472 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27473 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27474 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27475 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27476 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27477 echo $ECHO_N "(cached) $ECHO_C" >&6
27478 else
27480 if test x$gcc_no_link = xyes; then
27481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27483 { (exit 1); exit 1; }; }
27485 cat >conftest.$ac_ext <<_ACEOF
27486 /* confdefs.h. */
27487 _ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491 #include <math.h>
27493 main ()
27495 __builtin_sin(0);
27497 return 0;
27499 _ACEOF
27500 rm -f conftest.$ac_objext conftest$ac_exeext
27501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27502 (eval $ac_link) 2>conftest.er1
27503 ac_status=$?
27504 grep -v '^ *+' conftest.er1 >conftest.err
27505 rm -f conftest.er1
27506 cat conftest.err >&5
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); } &&
27509 { ac_try='test -z "$ac_c_werror_flag"
27510 || test ! -s conftest.err'
27511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27512 (eval $ac_try) 2>&5
27513 ac_status=$?
27514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27515 (exit $ac_status); }; } &&
27516 { ac_try='test -s conftest$ac_exeext'
27517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518 (eval $ac_try) 2>&5
27519 ac_status=$?
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); }; }; then
27522 glibcxx_cv_func___builtin_sin_link=yes
27523 else
27524 echo "$as_me: failed program was:" >&5
27525 sed 's/^/| /' conftest.$ac_ext >&5
27527 glibcxx_cv_func___builtin_sin_link=no
27529 rm -f conftest.err conftest.$ac_objext \
27530 conftest$ac_exeext conftest.$ac_ext
27535 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27536 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27538 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27540 cat >>confdefs.h <<\_ACEOF
27541 #define HAVE___BUILTIN_SIN 1
27542 _ACEOF
27549 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27550 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27551 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27552 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27553 echo $ECHO_N "(cached) $ECHO_C" >&6
27554 else
27558 ac_ext=cc
27559 ac_cpp='$CXXCPP $CPPFLAGS'
27560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27564 cat >conftest.$ac_ext <<_ACEOF
27565 /* confdefs.h. */
27566 _ACEOF
27567 cat confdefs.h >>conftest.$ac_ext
27568 cat >>conftest.$ac_ext <<_ACEOF
27569 /* end confdefs.h. */
27570 #include <math.h>
27572 main ()
27574 __builtin_sinl(0);
27576 return 0;
27578 _ACEOF
27579 rm -f conftest.$ac_objext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27581 (eval $ac_compile) 2>conftest.er1
27582 ac_status=$?
27583 grep -v '^ *+' conftest.er1 >conftest.err
27584 rm -f conftest.er1
27585 cat conftest.err >&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); } &&
27588 { ac_try='test -z "$ac_cxx_werror_flag"
27589 || test ! -s conftest.err'
27590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27591 (eval $ac_try) 2>&5
27592 ac_status=$?
27593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27594 (exit $ac_status); }; } &&
27595 { ac_try='test -s conftest.$ac_objext'
27596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597 (eval $ac_try) 2>&5
27598 ac_status=$?
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); }; }; then
27601 glibcxx_cv_func___builtin_sinl_use=yes
27602 else
27603 echo "$as_me: failed program was:" >&5
27604 sed 's/^/| /' conftest.$ac_ext >&5
27606 glibcxx_cv_func___builtin_sinl_use=no
27608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27609 ac_ext=c
27610 ac_cpp='$CPP $CPPFLAGS'
27611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27621 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27622 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27623 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27624 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27625 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27626 echo $ECHO_N "(cached) $ECHO_C" >&6
27627 else
27629 if test x$gcc_no_link = xyes; then
27630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27632 { (exit 1); exit 1; }; }
27634 cat >conftest.$ac_ext <<_ACEOF
27635 /* confdefs.h. */
27636 _ACEOF
27637 cat confdefs.h >>conftest.$ac_ext
27638 cat >>conftest.$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27640 #include <math.h>
27642 main ()
27644 __builtin_sinl(0);
27646 return 0;
27648 _ACEOF
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27651 (eval $ac_link) 2>conftest.er1
27652 ac_status=$?
27653 grep -v '^ *+' conftest.er1 >conftest.err
27654 rm -f conftest.er1
27655 cat conftest.err >&5
27656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 (exit $ac_status); } &&
27658 { ac_try='test -z "$ac_c_werror_flag"
27659 || test ! -s conftest.err'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; } &&
27665 { ac_try='test -s conftest$ac_exeext'
27666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27667 (eval $ac_try) 2>&5
27668 ac_status=$?
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); }; }; then
27671 glibcxx_cv_func___builtin_sinl_link=yes
27672 else
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27676 glibcxx_cv_func___builtin_sinl_link=no
27678 rm -f conftest.err conftest.$ac_objext \
27679 conftest$ac_exeext conftest.$ac_ext
27684 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27685 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27687 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27689 cat >>confdefs.h <<\_ACEOF
27690 #define HAVE___BUILTIN_SINL 1
27691 _ACEOF
27699 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27700 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27701 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27702 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27704 else
27708 ac_ext=cc
27709 ac_cpp='$CXXCPP $CPPFLAGS'
27710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27714 cat >conftest.$ac_ext <<_ACEOF
27715 /* confdefs.h. */
27716 _ACEOF
27717 cat confdefs.h >>conftest.$ac_ext
27718 cat >>conftest.$ac_ext <<_ACEOF
27719 /* end confdefs.h. */
27720 #include <math.h>
27722 main ()
27724 __builtin_cosf(0);
27726 return 0;
27728 _ACEOF
27729 rm -f conftest.$ac_objext
27730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27731 (eval $ac_compile) 2>conftest.er1
27732 ac_status=$?
27733 grep -v '^ *+' conftest.er1 >conftest.err
27734 rm -f conftest.er1
27735 cat conftest.err >&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); } &&
27738 { ac_try='test -z "$ac_cxx_werror_flag"
27739 || test ! -s conftest.err'
27740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27741 (eval $ac_try) 2>&5
27742 ac_status=$?
27743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27744 (exit $ac_status); }; } &&
27745 { ac_try='test -s conftest.$ac_objext'
27746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27747 (eval $ac_try) 2>&5
27748 ac_status=$?
27749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27750 (exit $ac_status); }; }; then
27751 glibcxx_cv_func___builtin_cosf_use=yes
27752 else
27753 echo "$as_me: failed program was:" >&5
27754 sed 's/^/| /' conftest.$ac_ext >&5
27756 glibcxx_cv_func___builtin_cosf_use=no
27758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27759 ac_ext=c
27760 ac_cpp='$CPP $CPPFLAGS'
27761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27770 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27771 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27772 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27773 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27774 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27775 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27776 echo $ECHO_N "(cached) $ECHO_C" >&6
27777 else
27779 if test x$gcc_no_link = xyes; then
27780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27782 { (exit 1); exit 1; }; }
27784 cat >conftest.$ac_ext <<_ACEOF
27785 /* confdefs.h. */
27786 _ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790 #include <math.h>
27792 main ()
27794 __builtin_cosf(0);
27796 return 0;
27798 _ACEOF
27799 rm -f conftest.$ac_objext conftest$ac_exeext
27800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27801 (eval $ac_link) 2>conftest.er1
27802 ac_status=$?
27803 grep -v '^ *+' conftest.er1 >conftest.err
27804 rm -f conftest.er1
27805 cat conftest.err >&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); } &&
27808 { ac_try='test -z "$ac_c_werror_flag"
27809 || test ! -s conftest.err'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; } &&
27815 { ac_try='test -s conftest$ac_exeext'
27816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27817 (eval $ac_try) 2>&5
27818 ac_status=$?
27819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27820 (exit $ac_status); }; }; then
27821 glibcxx_cv_func___builtin_cosf_link=yes
27822 else
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27826 glibcxx_cv_func___builtin_cosf_link=no
27828 rm -f conftest.err conftest.$ac_objext \
27829 conftest$ac_exeext conftest.$ac_ext
27834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27835 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27837 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27839 cat >>confdefs.h <<\_ACEOF
27840 #define HAVE___BUILTIN_COSF 1
27841 _ACEOF
27848 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27849 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27850 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27851 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27852 echo $ECHO_N "(cached) $ECHO_C" >&6
27853 else
27857 ac_ext=cc
27858 ac_cpp='$CXXCPP $CPPFLAGS'
27859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27863 cat >conftest.$ac_ext <<_ACEOF
27864 /* confdefs.h. */
27865 _ACEOF
27866 cat confdefs.h >>conftest.$ac_ext
27867 cat >>conftest.$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 #include <math.h>
27871 main ()
27873 __builtin_cos(0);
27875 return 0;
27877 _ACEOF
27878 rm -f conftest.$ac_objext
27879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27880 (eval $ac_compile) 2>conftest.er1
27881 ac_status=$?
27882 grep -v '^ *+' conftest.er1 >conftest.err
27883 rm -f conftest.er1
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } &&
27887 { ac_try='test -z "$ac_cxx_werror_flag"
27888 || test ! -s conftest.err'
27889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890 (eval $ac_try) 2>&5
27891 ac_status=$?
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); }; } &&
27894 { ac_try='test -s conftest.$ac_objext'
27895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27896 (eval $ac_try) 2>&5
27897 ac_status=$?
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); }; }; then
27900 glibcxx_cv_func___builtin_cos_use=yes
27901 else
27902 echo "$as_me: failed program was:" >&5
27903 sed 's/^/| /' conftest.$ac_ext >&5
27905 glibcxx_cv_func___builtin_cos_use=no
27907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27908 ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27919 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27920 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27921 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27922 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27923 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27924 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27925 echo $ECHO_N "(cached) $ECHO_C" >&6
27926 else
27928 if test x$gcc_no_link = xyes; then
27929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27931 { (exit 1); exit 1; }; }
27933 cat >conftest.$ac_ext <<_ACEOF
27934 /* confdefs.h. */
27935 _ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939 #include <math.h>
27941 main ()
27943 __builtin_cos(0);
27945 return 0;
27947 _ACEOF
27948 rm -f conftest.$ac_objext conftest$ac_exeext
27949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27950 (eval $ac_link) 2>conftest.er1
27951 ac_status=$?
27952 grep -v '^ *+' conftest.er1 >conftest.err
27953 rm -f conftest.er1
27954 cat conftest.err >&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -z "$ac_c_werror_flag"
27958 || test ! -s conftest.err'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 glibcxx_cv_func___builtin_cos_link=yes
27971 else
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27975 glibcxx_cv_func___builtin_cos_link=no
27977 rm -f conftest.err conftest.$ac_objext \
27978 conftest$ac_exeext conftest.$ac_ext
27983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27984 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27986 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27988 cat >>confdefs.h <<\_ACEOF
27989 #define HAVE___BUILTIN_COS 1
27990 _ACEOF
27997 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27998 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27999 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
28000 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
28001 echo $ECHO_N "(cached) $ECHO_C" >&6
28002 else
28006 ac_ext=cc
28007 ac_cpp='$CXXCPP $CPPFLAGS'
28008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
28018 #include <math.h>
28020 main ()
28022 __builtin_cosl(0);
28024 return 0;
28026 _ACEOF
28027 rm -f conftest.$ac_objext
28028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28029 (eval $ac_compile) 2>conftest.er1
28030 ac_status=$?
28031 grep -v '^ *+' conftest.er1 >conftest.err
28032 rm -f conftest.er1
28033 cat conftest.err >&5
28034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035 (exit $ac_status); } &&
28036 { ac_try='test -z "$ac_cxx_werror_flag"
28037 || test ! -s conftest.err'
28038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039 (eval $ac_try) 2>&5
28040 ac_status=$?
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); }; } &&
28043 { ac_try='test -s conftest.$ac_objext'
28044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28045 (eval $ac_try) 2>&5
28046 ac_status=$?
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; }; then
28049 glibcxx_cv_func___builtin_cosl_use=yes
28050 else
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28054 glibcxx_cv_func___builtin_cosl_use=no
28056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28057 ac_ext=c
28058 ac_cpp='$CPP $CPPFLAGS'
28059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28067 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
28068 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
28069 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
28070 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
28071 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
28072 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
28073 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
28074 echo $ECHO_N "(cached) $ECHO_C" >&6
28075 else
28077 if test x$gcc_no_link = xyes; then
28078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28080 { (exit 1); exit 1; }; }
28082 cat >conftest.$ac_ext <<_ACEOF
28083 /* confdefs.h. */
28084 _ACEOF
28085 cat confdefs.h >>conftest.$ac_ext
28086 cat >>conftest.$ac_ext <<_ACEOF
28087 /* end confdefs.h. */
28088 #include <math.h>
28090 main ()
28092 __builtin_cosl(0);
28094 return 0;
28096 _ACEOF
28097 rm -f conftest.$ac_objext conftest$ac_exeext
28098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28099 (eval $ac_link) 2>conftest.er1
28100 ac_status=$?
28101 grep -v '^ *+' conftest.er1 >conftest.err
28102 rm -f conftest.er1
28103 cat conftest.err >&5
28104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28105 (exit $ac_status); } &&
28106 { ac_try='test -z "$ac_c_werror_flag"
28107 || test ! -s conftest.err'
28108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28109 (eval $ac_try) 2>&5
28110 ac_status=$?
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); }; } &&
28113 { ac_try='test -s conftest$ac_exeext'
28114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28115 (eval $ac_try) 2>&5
28116 ac_status=$?
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); }; }; then
28119 glibcxx_cv_func___builtin_cosl_link=yes
28120 else
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28124 glibcxx_cv_func___builtin_cosl_link=no
28126 rm -f conftest.err conftest.$ac_objext \
28127 conftest$ac_exeext conftest.$ac_ext
28132 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
28133 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
28135 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
28137 cat >>confdefs.h <<\_ACEOF
28138 #define HAVE___BUILTIN_COSL 1
28139 _ACEOF
28148 echo "$as_me:$LINENO: checking for main in -lm" >&5
28149 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28150 if test "${ac_cv_lib_m_main+set}" = set; then
28151 echo $ECHO_N "(cached) $ECHO_C" >&6
28152 else
28153 ac_check_lib_save_LIBS=$LIBS
28154 LIBS="-lm $LIBS"
28155 if test x$gcc_no_link = xyes; then
28156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28158 { (exit 1); exit 1; }; }
28160 cat >conftest.$ac_ext <<_ACEOF
28161 /* confdefs.h. */
28162 _ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28169 main ()
28171 main ();
28173 return 0;
28175 _ACEOF
28176 rm -f conftest.$ac_objext conftest$ac_exeext
28177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28178 (eval $ac_link) 2>conftest.er1
28179 ac_status=$?
28180 grep -v '^ *+' conftest.er1 >conftest.err
28181 rm -f conftest.er1
28182 cat conftest.err >&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); } &&
28185 { ac_try='test -z "$ac_c_werror_flag"
28186 || test ! -s conftest.err'
28187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28188 (eval $ac_try) 2>&5
28189 ac_status=$?
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); }; } &&
28192 { ac_try='test -s conftest$ac_exeext'
28193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28194 (eval $ac_try) 2>&5
28195 ac_status=$?
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; }; then
28198 ac_cv_lib_m_main=yes
28199 else
28200 echo "$as_me: failed program was:" >&5
28201 sed 's/^/| /' conftest.$ac_ext >&5
28203 ac_cv_lib_m_main=no
28205 rm -f conftest.err conftest.$ac_objext \
28206 conftest$ac_exeext conftest.$ac_ext
28207 LIBS=$ac_check_lib_save_LIBS
28209 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28210 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28211 if test $ac_cv_lib_m_main = yes; then
28212 cat >>confdefs.h <<_ACEOF
28213 #define HAVE_LIBM 1
28214 _ACEOF
28216 LIBS="-lm $LIBS"
28221 for ac_func in copysignf
28223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28224 echo "$as_me:$LINENO: checking for $ac_func" >&5
28225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28226 if eval "test \"\${$as_ac_var+set}\" = set"; then
28227 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 else
28229 if test x$gcc_no_link = xyes; then
28230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28232 { (exit 1); exit 1; }; }
28234 cat >conftest.$ac_ext <<_ACEOF
28235 /* confdefs.h. */
28236 _ACEOF
28237 cat confdefs.h >>conftest.$ac_ext
28238 cat >>conftest.$ac_ext <<_ACEOF
28239 /* end confdefs.h. */
28240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28242 #define $ac_func innocuous_$ac_func
28244 /* System header to define __stub macros and hopefully few prototypes,
28245 which can conflict with char $ac_func (); below.
28246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28247 <limits.h> exists even on freestanding compilers. */
28249 #ifdef __STDC__
28250 # include <limits.h>
28251 #else
28252 # include <assert.h>
28253 #endif
28255 #undef $ac_func
28257 /* Override any gcc2 internal prototype to avoid an error. */
28258 #ifdef __cplusplus
28259 extern "C"
28261 #endif
28262 /* We use char because int might match the return type of a gcc2
28263 builtin and then its argument prototype would still apply. */
28264 char $ac_func ();
28265 /* The GNU C library defines this for functions which it implements
28266 to always fail with ENOSYS. Some functions are actually named
28267 something starting with __ and the normal name is an alias. */
28268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28269 choke me
28270 #else
28271 char (*f) () = $ac_func;
28272 #endif
28273 #ifdef __cplusplus
28275 #endif
28278 main ()
28280 return f != $ac_func;
28282 return 0;
28284 _ACEOF
28285 rm -f conftest.$ac_objext conftest$ac_exeext
28286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28287 (eval $ac_link) 2>conftest.er1
28288 ac_status=$?
28289 grep -v '^ *+' conftest.er1 >conftest.err
28290 rm -f conftest.er1
28291 cat conftest.err >&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); } &&
28294 { ac_try='test -z "$ac_c_werror_flag"
28295 || test ! -s conftest.err'
28296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28297 (eval $ac_try) 2>&5
28298 ac_status=$?
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); }; } &&
28301 { ac_try='test -s conftest$ac_exeext'
28302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28303 (eval $ac_try) 2>&5
28304 ac_status=$?
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); }; }; then
28307 eval "$as_ac_var=yes"
28308 else
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.$ac_ext >&5
28312 eval "$as_ac_var=no"
28314 rm -f conftest.err conftest.$ac_objext \
28315 conftest$ac_exeext conftest.$ac_ext
28317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28319 if test `eval echo '${'$as_ac_var'}'` = yes; then
28320 cat >>confdefs.h <<_ACEOF
28321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28322 _ACEOF
28324 else
28325 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28327 done
28331 for ac_func in __signbit
28333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28334 echo "$as_me:$LINENO: checking for $ac_func" >&5
28335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28336 if eval "test \"\${$as_ac_var+set}\" = set"; then
28337 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 else
28339 if test x$gcc_no_link = xyes; then
28340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28342 { (exit 1); exit 1; }; }
28344 cat >conftest.$ac_ext <<_ACEOF
28345 /* confdefs.h. */
28346 _ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28352 #define $ac_func innocuous_$ac_func
28354 /* System header to define __stub macros and hopefully few prototypes,
28355 which can conflict with char $ac_func (); below.
28356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28357 <limits.h> exists even on freestanding compilers. */
28359 #ifdef __STDC__
28360 # include <limits.h>
28361 #else
28362 # include <assert.h>
28363 #endif
28365 #undef $ac_func
28367 /* Override any gcc2 internal prototype to avoid an error. */
28368 #ifdef __cplusplus
28369 extern "C"
28371 #endif
28372 /* We use char because int might match the return type of a gcc2
28373 builtin and then its argument prototype would still apply. */
28374 char $ac_func ();
28375 /* The GNU C library defines this for functions which it implements
28376 to always fail with ENOSYS. Some functions are actually named
28377 something starting with __ and the normal name is an alias. */
28378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28379 choke me
28380 #else
28381 char (*f) () = $ac_func;
28382 #endif
28383 #ifdef __cplusplus
28385 #endif
28388 main ()
28390 return f != $ac_func;
28392 return 0;
28394 _ACEOF
28395 rm -f conftest.$ac_objext conftest$ac_exeext
28396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28397 (eval $ac_link) 2>conftest.er1
28398 ac_status=$?
28399 grep -v '^ *+' conftest.er1 >conftest.err
28400 rm -f conftest.er1
28401 cat conftest.err >&5
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); } &&
28404 { ac_try='test -z "$ac_c_werror_flag"
28405 || test ! -s conftest.err'
28406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407 (eval $ac_try) 2>&5
28408 ac_status=$?
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); }; } &&
28411 { ac_try='test -s conftest$ac_exeext'
28412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28413 (eval $ac_try) 2>&5
28414 ac_status=$?
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); }; }; then
28417 eval "$as_ac_var=yes"
28418 else
28419 echo "$as_me: failed program was:" >&5
28420 sed 's/^/| /' conftest.$ac_ext >&5
28422 eval "$as_ac_var=no"
28424 rm -f conftest.err conftest.$ac_objext \
28425 conftest$ac_exeext conftest.$ac_ext
28427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28429 if test `eval echo '${'$as_ac_var'}'` = yes; then
28430 cat >>confdefs.h <<_ACEOF
28431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28432 _ACEOF
28434 else
28435 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28437 done
28441 for ac_func in __signbitf
28443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28444 echo "$as_me:$LINENO: checking for $ac_func" >&5
28445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28446 if eval "test \"\${$as_ac_var+set}\" = set"; then
28447 echo $ECHO_N "(cached) $ECHO_C" >&6
28448 else
28449 if test x$gcc_no_link = xyes; then
28450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28452 { (exit 1); exit 1; }; }
28454 cat >conftest.$ac_ext <<_ACEOF
28455 /* confdefs.h. */
28456 _ACEOF
28457 cat confdefs.h >>conftest.$ac_ext
28458 cat >>conftest.$ac_ext <<_ACEOF
28459 /* end confdefs.h. */
28460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28462 #define $ac_func innocuous_$ac_func
28464 /* System header to define __stub macros and hopefully few prototypes,
28465 which can conflict with char $ac_func (); below.
28466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28467 <limits.h> exists even on freestanding compilers. */
28469 #ifdef __STDC__
28470 # include <limits.h>
28471 #else
28472 # include <assert.h>
28473 #endif
28475 #undef $ac_func
28477 /* Override any gcc2 internal prototype to avoid an error. */
28478 #ifdef __cplusplus
28479 extern "C"
28481 #endif
28482 /* We use char because int might match the return type of a gcc2
28483 builtin and then its argument prototype would still apply. */
28484 char $ac_func ();
28485 /* The GNU C library defines this for functions which it implements
28486 to always fail with ENOSYS. Some functions are actually named
28487 something starting with __ and the normal name is an alias. */
28488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28489 choke me
28490 #else
28491 char (*f) () = $ac_func;
28492 #endif
28493 #ifdef __cplusplus
28495 #endif
28498 main ()
28500 return f != $ac_func;
28502 return 0;
28504 _ACEOF
28505 rm -f conftest.$ac_objext conftest$ac_exeext
28506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28507 (eval $ac_link) 2>conftest.er1
28508 ac_status=$?
28509 grep -v '^ *+' conftest.er1 >conftest.err
28510 rm -f conftest.er1
28511 cat conftest.err >&5
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } &&
28514 { ac_try='test -z "$ac_c_werror_flag"
28515 || test ! -s conftest.err'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; } &&
28521 { ac_try='test -s conftest$ac_exeext'
28522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28523 (eval $ac_try) 2>&5
28524 ac_status=$?
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); }; }; then
28527 eval "$as_ac_var=yes"
28528 else
28529 echo "$as_me: failed program was:" >&5
28530 sed 's/^/| /' conftest.$ac_ext >&5
28532 eval "$as_ac_var=no"
28534 rm -f conftest.err conftest.$ac_objext \
28535 conftest$ac_exeext conftest.$ac_ext
28537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28539 if test `eval echo '${'$as_ac_var'}'` = yes; then
28540 cat >>confdefs.h <<_ACEOF
28541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28542 _ACEOF
28544 else
28545 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28547 done
28550 if test x$ac_cv_func_copysignl = x"yes"; then
28552 for ac_func in __signbitl
28554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28555 echo "$as_me:$LINENO: checking for $ac_func" >&5
28556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28557 if eval "test \"\${$as_ac_var+set}\" = set"; then
28558 echo $ECHO_N "(cached) $ECHO_C" >&6
28559 else
28560 if test x$gcc_no_link = xyes; then
28561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28563 { (exit 1); exit 1; }; }
28565 cat >conftest.$ac_ext <<_ACEOF
28566 /* confdefs.h. */
28567 _ACEOF
28568 cat confdefs.h >>conftest.$ac_ext
28569 cat >>conftest.$ac_ext <<_ACEOF
28570 /* end confdefs.h. */
28571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28573 #define $ac_func innocuous_$ac_func
28575 /* System header to define __stub macros and hopefully few prototypes,
28576 which can conflict with char $ac_func (); below.
28577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28578 <limits.h> exists even on freestanding compilers. */
28580 #ifdef __STDC__
28581 # include <limits.h>
28582 #else
28583 # include <assert.h>
28584 #endif
28586 #undef $ac_func
28588 /* Override any gcc2 internal prototype to avoid an error. */
28589 #ifdef __cplusplus
28590 extern "C"
28592 #endif
28593 /* We use char because int might match the return type of a gcc2
28594 builtin and then its argument prototype would still apply. */
28595 char $ac_func ();
28596 /* The GNU C library defines this for functions which it implements
28597 to always fail with ENOSYS. Some functions are actually named
28598 something starting with __ and the normal name is an alias. */
28599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28600 choke me
28601 #else
28602 char (*f) () = $ac_func;
28603 #endif
28604 #ifdef __cplusplus
28606 #endif
28609 main ()
28611 return f != $ac_func;
28613 return 0;
28615 _ACEOF
28616 rm -f conftest.$ac_objext conftest$ac_exeext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618 (eval $ac_link) 2>conftest.er1
28619 ac_status=$?
28620 grep -v '^ *+' conftest.er1 >conftest.err
28621 rm -f conftest.er1
28622 cat conftest.err >&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try='test -z "$ac_c_werror_flag"
28626 || test ! -s conftest.err'
28627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628 (eval $ac_try) 2>&5
28629 ac_status=$?
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); }; } &&
28632 { ac_try='test -s conftest$ac_exeext'
28633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28634 (eval $ac_try) 2>&5
28635 ac_status=$?
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); }; }; then
28638 eval "$as_ac_var=yes"
28639 else
28640 echo "$as_me: failed program was:" >&5
28641 sed 's/^/| /' conftest.$ac_ext >&5
28643 eval "$as_ac_var=no"
28645 rm -f conftest.err conftest.$ac_objext \
28646 conftest$ac_exeext conftest.$ac_ext
28648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28650 if test `eval echo '${'$as_ac_var'}'` = yes; then
28651 cat >>confdefs.h <<_ACEOF
28652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28653 _ACEOF
28655 else
28656 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28658 done
28662 # Used in libmath/Makefile.am.
28663 if test -n "$LIBMATHOBJS"; then
28664 need_libmath=yes
28670 enable_iconv=no
28671 # Only continue checking if the ISO C99 headers exist and support is on.
28672 if test x"$enable_wchar_t" = xyes; then
28674 # Use iconv for wchar_t to char conversions. As such, check for
28675 # X/Open Portability Guide, version 2 features (XPG2).
28676 if test "${ac_cv_header_iconv_h+set}" = set; then
28677 echo "$as_me:$LINENO: checking for iconv.h" >&5
28678 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28679 if test "${ac_cv_header_iconv_h+set}" = set; then
28680 echo $ECHO_N "(cached) $ECHO_C" >&6
28682 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28683 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28684 else
28685 # Is the header compilable?
28686 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28687 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28688 cat >conftest.$ac_ext <<_ACEOF
28689 /* confdefs.h. */
28690 _ACEOF
28691 cat confdefs.h >>conftest.$ac_ext
28692 cat >>conftest.$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28694 $ac_includes_default
28695 #include <iconv.h>
28696 _ACEOF
28697 rm -f conftest.$ac_objext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28699 (eval $ac_compile) 2>conftest.er1
28700 ac_status=$?
28701 grep -v '^ *+' conftest.er1 >conftest.err
28702 rm -f conftest.er1
28703 cat conftest.err >&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try='test -z "$ac_c_werror_flag"
28707 || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28710 ac_status=$?
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try='test -s conftest.$ac_objext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28716 ac_status=$?
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28719 ac_header_compiler=yes
28720 else
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.$ac_ext >&5
28724 ac_header_compiler=no
28726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28728 echo "${ECHO_T}$ac_header_compiler" >&6
28730 # Is the header present?
28731 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28732 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28733 cat >conftest.$ac_ext <<_ACEOF
28734 /* confdefs.h. */
28735 _ACEOF
28736 cat confdefs.h >>conftest.$ac_ext
28737 cat >>conftest.$ac_ext <<_ACEOF
28738 /* end confdefs.h. */
28739 #include <iconv.h>
28740 _ACEOF
28741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28743 ac_status=$?
28744 grep -v '^ *+' conftest.er1 >conftest.err
28745 rm -f conftest.er1
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } >/dev/null; then
28749 if test -s conftest.err; then
28750 ac_cpp_err=$ac_c_preproc_warn_flag
28751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28752 else
28753 ac_cpp_err=
28755 else
28756 ac_cpp_err=yes
28758 if test -z "$ac_cpp_err"; then
28759 ac_header_preproc=yes
28760 else
28761 echo "$as_me: failed program was:" >&5
28762 sed 's/^/| /' conftest.$ac_ext >&5
28764 ac_header_preproc=no
28766 rm -f conftest.err conftest.$ac_ext
28767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28768 echo "${ECHO_T}$ac_header_preproc" >&6
28770 # So? What about this header?
28771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28772 yes:no: )
28773 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28774 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28775 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28776 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28777 ac_header_preproc=yes
28779 no:yes:* )
28780 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28781 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28782 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28783 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28784 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28785 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28786 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28787 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28788 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28789 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28790 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28791 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28793 cat <<\_ASBOX
28794 ## ----------------------------------------- ##
28795 ## Report this to the package-unused lists. ##
28796 ## ----------------------------------------- ##
28797 _ASBOX
28799 sed "s/^/$as_me: WARNING: /" >&2
28801 esac
28802 echo "$as_me:$LINENO: checking for iconv.h" >&5
28803 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28804 if test "${ac_cv_header_iconv_h+set}" = set; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807 ac_cv_header_iconv_h=$ac_header_preproc
28809 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28810 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28813 if test $ac_cv_header_iconv_h = yes; then
28814 ac_has_iconv_h=yes
28815 else
28816 ac_has_iconv_h=no
28820 if test "${ac_cv_header_langinfo_h+set}" = set; then
28821 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28822 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28823 if test "${ac_cv_header_langinfo_h+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28827 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28828 else
28829 # Is the header compilable?
28830 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28831 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28832 cat >conftest.$ac_ext <<_ACEOF
28833 /* confdefs.h. */
28834 _ACEOF
28835 cat confdefs.h >>conftest.$ac_ext
28836 cat >>conftest.$ac_ext <<_ACEOF
28837 /* end confdefs.h. */
28838 $ac_includes_default
28839 #include <langinfo.h>
28840 _ACEOF
28841 rm -f conftest.$ac_objext
28842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28843 (eval $ac_compile) 2>conftest.er1
28844 ac_status=$?
28845 grep -v '^ *+' conftest.er1 >conftest.err
28846 rm -f conftest.er1
28847 cat conftest.err >&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); } &&
28850 { ac_try='test -z "$ac_c_werror_flag"
28851 || test ! -s conftest.err'
28852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853 (eval $ac_try) 2>&5
28854 ac_status=$?
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); }; } &&
28857 { ac_try='test -s conftest.$ac_objext'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; }; then
28863 ac_header_compiler=yes
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28868 ac_header_compiler=no
28870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28872 echo "${ECHO_T}$ac_header_compiler" >&6
28874 # Is the header present?
28875 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28876 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28877 cat >conftest.$ac_ext <<_ACEOF
28878 /* confdefs.h. */
28879 _ACEOF
28880 cat confdefs.h >>conftest.$ac_ext
28881 cat >>conftest.$ac_ext <<_ACEOF
28882 /* end confdefs.h. */
28883 #include <langinfo.h>
28884 _ACEOF
28885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28887 ac_status=$?
28888 grep -v '^ *+' conftest.er1 >conftest.err
28889 rm -f conftest.er1
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } >/dev/null; then
28893 if test -s conftest.err; then
28894 ac_cpp_err=$ac_c_preproc_warn_flag
28895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28896 else
28897 ac_cpp_err=
28899 else
28900 ac_cpp_err=yes
28902 if test -z "$ac_cpp_err"; then
28903 ac_header_preproc=yes
28904 else
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28908 ac_header_preproc=no
28910 rm -f conftest.err conftest.$ac_ext
28911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28912 echo "${ECHO_T}$ac_header_preproc" >&6
28914 # So? What about this header?
28915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28916 yes:no: )
28917 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28918 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28919 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28920 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28921 ac_header_preproc=yes
28923 no:yes:* )
28924 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28925 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28926 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28927 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28928 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28929 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28930 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28931 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28932 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28933 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28934 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28935 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28937 cat <<\_ASBOX
28938 ## ----------------------------------------- ##
28939 ## Report this to the package-unused lists. ##
28940 ## ----------------------------------------- ##
28941 _ASBOX
28943 sed "s/^/$as_me: WARNING: /" >&2
28945 esac
28946 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28947 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28948 if test "${ac_cv_header_langinfo_h+set}" = set; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951 ac_cv_header_langinfo_h=$ac_header_preproc
28953 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28954 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28957 if test $ac_cv_header_langinfo_h = yes; then
28958 ac_has_langinfo_h=yes
28959 else
28960 ac_has_langinfo_h=no
28965 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28966 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28967 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28968 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28969 echo $ECHO_N "(cached) $ECHO_C" >&6
28970 else
28971 ac_check_lib_save_LIBS=$LIBS
28972 LIBS="-liconv $LIBS"
28973 if test x$gcc_no_link = xyes; then
28974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28976 { (exit 1); exit 1; }; }
28978 cat >conftest.$ac_ext <<_ACEOF
28979 /* confdefs.h. */
28980 _ACEOF
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28985 /* Override any gcc2 internal prototype to avoid an error. */
28986 #ifdef __cplusplus
28987 extern "C"
28988 #endif
28989 /* We use char because int might match the return type of a gcc2
28990 builtin and then its argument prototype would still apply. */
28991 char iconv ();
28993 main ()
28995 iconv ();
28997 return 0;
28999 _ACEOF
29000 rm -f conftest.$ac_objext conftest$ac_exeext
29001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29002 (eval $ac_link) 2>conftest.er1
29003 ac_status=$?
29004 grep -v '^ *+' conftest.er1 >conftest.err
29005 rm -f conftest.er1
29006 cat conftest.err >&5
29007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 (exit $ac_status); } &&
29009 { ac_try='test -z "$ac_c_werror_flag"
29010 || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29013 ac_status=$?
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try='test -s conftest$ac_exeext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29019 ac_status=$?
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 ac_cv_lib_iconv_iconv=yes
29023 else
29024 echo "$as_me: failed program was:" >&5
29025 sed 's/^/| /' conftest.$ac_ext >&5
29027 ac_cv_lib_iconv_iconv=no
29029 rm -f conftest.err conftest.$ac_objext \
29030 conftest$ac_exeext conftest.$ac_ext
29031 LIBS=$ac_check_lib_save_LIBS
29033 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29034 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29035 if test $ac_cv_lib_iconv_iconv = yes; then
29036 LIBICONV="-liconv"
29039 ac_save_LIBS="$LIBS"
29040 LIBS="$LIBS $LIBICONV"
29047 for ac_func in iconv_open iconv_close iconv nl_langinfo
29049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29050 echo "$as_me:$LINENO: checking for $ac_func" >&5
29051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29052 if eval "test \"\${$as_ac_var+set}\" = set"; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 else
29055 if test x$gcc_no_link = xyes; then
29056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29058 { (exit 1); exit 1; }; }
29060 cat >conftest.$ac_ext <<_ACEOF
29061 /* confdefs.h. */
29062 _ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29068 #define $ac_func innocuous_$ac_func
29070 /* System header to define __stub macros and hopefully few prototypes,
29071 which can conflict with char $ac_func (); below.
29072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29073 <limits.h> exists even on freestanding compilers. */
29075 #ifdef __STDC__
29076 # include <limits.h>
29077 #else
29078 # include <assert.h>
29079 #endif
29081 #undef $ac_func
29083 /* Override any gcc2 internal prototype to avoid an error. */
29084 #ifdef __cplusplus
29085 extern "C"
29087 #endif
29088 /* We use char because int might match the return type of a gcc2
29089 builtin and then its argument prototype would still apply. */
29090 char $ac_func ();
29091 /* The GNU C library defines this for functions which it implements
29092 to always fail with ENOSYS. Some functions are actually named
29093 something starting with __ and the normal name is an alias. */
29094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29095 choke me
29096 #else
29097 char (*f) () = $ac_func;
29098 #endif
29099 #ifdef __cplusplus
29101 #endif
29104 main ()
29106 return f != $ac_func;
29108 return 0;
29110 _ACEOF
29111 rm -f conftest.$ac_objext conftest$ac_exeext
29112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29113 (eval $ac_link) 2>conftest.er1
29114 ac_status=$?
29115 grep -v '^ *+' conftest.er1 >conftest.err
29116 rm -f conftest.er1
29117 cat conftest.err >&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); } &&
29120 { ac_try='test -z "$ac_c_werror_flag"
29121 || test ! -s conftest.err'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29124 ac_status=$?
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; } &&
29127 { ac_try='test -s conftest$ac_exeext'
29128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129 (eval $ac_try) 2>&5
29130 ac_status=$?
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); }; }; then
29133 eval "$as_ac_var=yes"
29134 else
29135 echo "$as_me: failed program was:" >&5
29136 sed 's/^/| /' conftest.$ac_ext >&5
29138 eval "$as_ac_var=no"
29140 rm -f conftest.err conftest.$ac_objext \
29141 conftest$ac_exeext conftest.$ac_ext
29143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29145 if test `eval echo '${'$as_ac_var'}'` = yes; then
29146 cat >>confdefs.h <<_ACEOF
29147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29148 _ACEOF
29149 ac_XPG2funcs=yes
29150 else
29151 ac_XPG2funcs=no
29153 done
29156 LIBS="$ac_save_LIBS"
29158 if test x"$ac_has_iconv_h" = xyes &&
29159 test x"$ac_has_langinfo_h" = xyes &&
29160 test x"$ac_XPG2funcs" = xyes;
29161 then
29163 cat >>confdefs.h <<\_ACEOF
29164 #define _GLIBCXX_USE_ICONV 1
29165 _ACEOF
29167 enable_iconv=yes
29170 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
29171 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
29172 echo "$as_me:$LINENO: result: $enable_iconv" >&5
29173 echo "${ECHO_T}$enable_iconv" >&6
29176 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29177 ac_save_CXXFLAGS="$CXXFLAGS"
29178 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29181 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29182 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29183 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29184 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29185 echo $ECHO_N "(cached) $ECHO_C" >&6
29186 else
29190 ac_ext=cc
29191 ac_cpp='$CXXCPP $CPPFLAGS'
29192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29196 cat >conftest.$ac_ext <<_ACEOF
29197 /* confdefs.h. */
29198 _ACEOF
29199 cat confdefs.h >>conftest.$ac_ext
29200 cat >>conftest.$ac_ext <<_ACEOF
29201 /* end confdefs.h. */
29202 #include <stdlib.h>
29204 main ()
29206 strtold(0, 0);
29208 return 0;
29210 _ACEOF
29211 rm -f conftest.$ac_objext
29212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29213 (eval $ac_compile) 2>conftest.er1
29214 ac_status=$?
29215 grep -v '^ *+' conftest.er1 >conftest.err
29216 rm -f conftest.er1
29217 cat conftest.err >&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); } &&
29220 { ac_try='test -z "$ac_cxx_werror_flag"
29221 || test ! -s conftest.err'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29224 ac_status=$?
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; } &&
29227 { ac_try='test -s conftest.$ac_objext'
29228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29229 (eval $ac_try) 2>&5
29230 ac_status=$?
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); }; }; then
29233 glibcxx_cv_func_strtold_use=yes
29234 else
29235 echo "$as_me: failed program was:" >&5
29236 sed 's/^/| /' conftest.$ac_ext >&5
29238 glibcxx_cv_func_strtold_use=no
29240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29241 ac_ext=c
29242 ac_cpp='$CPP $CPPFLAGS'
29243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29252 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29253 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29255 for ac_func in strtold
29257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29258 echo "$as_me:$LINENO: checking for $ac_func" >&5
29259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29260 if eval "test \"\${$as_ac_var+set}\" = set"; then
29261 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 else
29263 if test x$gcc_no_link = xyes; then
29264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29266 { (exit 1); exit 1; }; }
29268 cat >conftest.$ac_ext <<_ACEOF
29269 /* confdefs.h. */
29270 _ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29276 #define $ac_func innocuous_$ac_func
29278 /* System header to define __stub macros and hopefully few prototypes,
29279 which can conflict with char $ac_func (); below.
29280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29281 <limits.h> exists even on freestanding compilers. */
29283 #ifdef __STDC__
29284 # include <limits.h>
29285 #else
29286 # include <assert.h>
29287 #endif
29289 #undef $ac_func
29291 /* Override any gcc2 internal prototype to avoid an error. */
29292 #ifdef __cplusplus
29293 extern "C"
29295 #endif
29296 /* We use char because int might match the return type of a gcc2
29297 builtin and then its argument prototype would still apply. */
29298 char $ac_func ();
29299 /* The GNU C library defines this for functions which it implements
29300 to always fail with ENOSYS. Some functions are actually named
29301 something starting with __ and the normal name is an alias. */
29302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29303 choke me
29304 #else
29305 char (*f) () = $ac_func;
29306 #endif
29307 #ifdef __cplusplus
29309 #endif
29312 main ()
29314 return f != $ac_func;
29316 return 0;
29318 _ACEOF
29319 rm -f conftest.$ac_objext conftest$ac_exeext
29320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29321 (eval $ac_link) 2>conftest.er1
29322 ac_status=$?
29323 grep -v '^ *+' conftest.er1 >conftest.err
29324 rm -f conftest.er1
29325 cat conftest.err >&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); } &&
29328 { ac_try='test -z "$ac_c_werror_flag"
29329 || test ! -s conftest.err'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29332 ac_status=$?
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; } &&
29335 { ac_try='test -s conftest$ac_exeext'
29336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29337 (eval $ac_try) 2>&5
29338 ac_status=$?
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); }; }; then
29341 eval "$as_ac_var=yes"
29342 else
29343 echo "$as_me: failed program was:" >&5
29344 sed 's/^/| /' conftest.$ac_ext >&5
29346 eval "$as_ac_var=no"
29348 rm -f conftest.err conftest.$ac_objext \
29349 conftest$ac_exeext conftest.$ac_ext
29351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29353 if test `eval echo '${'$as_ac_var'}'` = yes; then
29354 cat >>confdefs.h <<_ACEOF
29355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29356 _ACEOF
29359 done
29367 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29368 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29369 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29370 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29371 echo $ECHO_N "(cached) $ECHO_C" >&6
29372 else
29376 ac_ext=cc
29377 ac_cpp='$CXXCPP $CPPFLAGS'
29378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29382 cat >conftest.$ac_ext <<_ACEOF
29383 /* confdefs.h. */
29384 _ACEOF
29385 cat confdefs.h >>conftest.$ac_ext
29386 cat >>conftest.$ac_ext <<_ACEOF
29387 /* end confdefs.h. */
29388 #include <stdlib.h>
29390 main ()
29392 strtof(0, 0);
29394 return 0;
29396 _ACEOF
29397 rm -f conftest.$ac_objext
29398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29399 (eval $ac_compile) 2>conftest.er1
29400 ac_status=$?
29401 grep -v '^ *+' conftest.er1 >conftest.err
29402 rm -f conftest.er1
29403 cat conftest.err >&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } &&
29406 { ac_try='test -z "$ac_cxx_werror_flag"
29407 || test ! -s conftest.err'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29410 ac_status=$?
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; } &&
29413 { ac_try='test -s conftest.$ac_objext'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29416 ac_status=$?
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; }; then
29419 glibcxx_cv_func_strtof_use=yes
29420 else
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29424 glibcxx_cv_func_strtof_use=no
29426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29427 ac_ext=c
29428 ac_cpp='$CPP $CPPFLAGS'
29429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29438 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29439 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29441 for ac_func in strtof
29443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29444 echo "$as_me:$LINENO: checking for $ac_func" >&5
29445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29446 if eval "test \"\${$as_ac_var+set}\" = set"; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29448 else
29449 if test x$gcc_no_link = xyes; then
29450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29452 { (exit 1); exit 1; }; }
29454 cat >conftest.$ac_ext <<_ACEOF
29455 /* confdefs.h. */
29456 _ACEOF
29457 cat confdefs.h >>conftest.$ac_ext
29458 cat >>conftest.$ac_ext <<_ACEOF
29459 /* end confdefs.h. */
29460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29462 #define $ac_func innocuous_$ac_func
29464 /* System header to define __stub macros and hopefully few prototypes,
29465 which can conflict with char $ac_func (); below.
29466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29467 <limits.h> exists even on freestanding compilers. */
29469 #ifdef __STDC__
29470 # include <limits.h>
29471 #else
29472 # include <assert.h>
29473 #endif
29475 #undef $ac_func
29477 /* Override any gcc2 internal prototype to avoid an error. */
29478 #ifdef __cplusplus
29479 extern "C"
29481 #endif
29482 /* We use char because int might match the return type of a gcc2
29483 builtin and then its argument prototype would still apply. */
29484 char $ac_func ();
29485 /* The GNU C library defines this for functions which it implements
29486 to always fail with ENOSYS. Some functions are actually named
29487 something starting with __ and the normal name is an alias. */
29488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29489 choke me
29490 #else
29491 char (*f) () = $ac_func;
29492 #endif
29493 #ifdef __cplusplus
29495 #endif
29498 main ()
29500 return f != $ac_func;
29502 return 0;
29504 _ACEOF
29505 rm -f conftest.$ac_objext conftest$ac_exeext
29506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29507 (eval $ac_link) 2>conftest.er1
29508 ac_status=$?
29509 grep -v '^ *+' conftest.er1 >conftest.err
29510 rm -f conftest.er1
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } &&
29514 { ac_try='test -z "$ac_c_werror_flag"
29515 || test ! -s conftest.err'
29516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517 (eval $ac_try) 2>&5
29518 ac_status=$?
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; } &&
29521 { ac_try='test -s conftest$ac_exeext'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; }; then
29527 eval "$as_ac_var=yes"
29528 else
29529 echo "$as_me: failed program was:" >&5
29530 sed 's/^/| /' conftest.$ac_ext >&5
29532 eval "$as_ac_var=no"
29534 rm -f conftest.err conftest.$ac_objext \
29535 conftest$ac_exeext conftest.$ac_ext
29537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29539 if test `eval echo '${'$as_ac_var'}'` = yes; then
29540 cat >>confdefs.h <<_ACEOF
29541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29542 _ACEOF
29545 done
29553 CXXFLAGS="$ac_save_CXXFLAGS"
29556 # For showmanyc_helper().
29559 for ac_header in sys/ioctl.h sys/filio.h
29561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29563 echo "$as_me:$LINENO: checking for $ac_header" >&5
29564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29570 else
29571 # Is the header compilable?
29572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29574 cat >conftest.$ac_ext <<_ACEOF
29575 /* confdefs.h. */
29576 _ACEOF
29577 cat confdefs.h >>conftest.$ac_ext
29578 cat >>conftest.$ac_ext <<_ACEOF
29579 /* end confdefs.h. */
29580 $ac_includes_default
29581 #include <$ac_header>
29582 _ACEOF
29583 rm -f conftest.$ac_objext
29584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29585 (eval $ac_compile) 2>conftest.er1
29586 ac_status=$?
29587 grep -v '^ *+' conftest.er1 >conftest.err
29588 rm -f conftest.er1
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } &&
29592 { ac_try='test -z "$ac_c_werror_flag"
29593 || test ! -s conftest.err'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29596 ac_status=$?
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; } &&
29599 { ac_try='test -s conftest.$ac_objext'
29600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29601 (eval $ac_try) 2>&5
29602 ac_status=$?
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); }; }; then
29605 ac_header_compiler=yes
29606 else
29607 echo "$as_me: failed program was:" >&5
29608 sed 's/^/| /' conftest.$ac_ext >&5
29610 ac_header_compiler=no
29612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29614 echo "${ECHO_T}$ac_header_compiler" >&6
29616 # Is the header present?
29617 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29618 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29619 cat >conftest.$ac_ext <<_ACEOF
29620 /* confdefs.h. */
29621 _ACEOF
29622 cat confdefs.h >>conftest.$ac_ext
29623 cat >>conftest.$ac_ext <<_ACEOF
29624 /* end confdefs.h. */
29625 #include <$ac_header>
29626 _ACEOF
29627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29629 ac_status=$?
29630 grep -v '^ *+' conftest.er1 >conftest.err
29631 rm -f conftest.er1
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } >/dev/null; then
29635 if test -s conftest.err; then
29636 ac_cpp_err=$ac_c_preproc_warn_flag
29637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29638 else
29639 ac_cpp_err=
29641 else
29642 ac_cpp_err=yes
29644 if test -z "$ac_cpp_err"; then
29645 ac_header_preproc=yes
29646 else
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.$ac_ext >&5
29650 ac_header_preproc=no
29652 rm -f conftest.err conftest.$ac_ext
29653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29654 echo "${ECHO_T}$ac_header_preproc" >&6
29656 # So? What about this header?
29657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29658 yes:no: )
29659 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29660 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29662 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29663 ac_header_preproc=yes
29665 no:yes:* )
29666 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29668 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29670 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29671 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29672 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29673 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29675 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29676 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29677 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29679 cat <<\_ASBOX
29680 ## ----------------------------------------- ##
29681 ## Report this to the package-unused lists. ##
29682 ## ----------------------------------------- ##
29683 _ASBOX
29685 sed "s/^/$as_me: WARNING: /" >&2
29687 esac
29688 echo "$as_me:$LINENO: checking for $ac_header" >&5
29689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29692 else
29693 eval "$as_ac_Header=\$ac_header_preproc"
29695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29700 cat >>confdefs.h <<_ACEOF
29701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29702 _ACEOF
29706 done
29709 echo "$as_me:$LINENO: checking for poll" >&5
29710 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29711 if test "${glibcxx_cv_POLL+set}" = set; then
29712 echo $ECHO_N "(cached) $ECHO_C" >&6
29713 else
29715 if test x$gcc_no_link = xyes; then
29716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29718 { (exit 1); exit 1; }; }
29720 cat >conftest.$ac_ext <<_ACEOF
29721 /* confdefs.h. */
29722 _ACEOF
29723 cat confdefs.h >>conftest.$ac_ext
29724 cat >>conftest.$ac_ext <<_ACEOF
29725 /* end confdefs.h. */
29726 #include <poll.h>
29728 main ()
29730 struct pollfd pfd[1];
29731 pfd[0].events = POLLIN;
29732 poll(pfd, 1, 0);
29734 return 0;
29736 _ACEOF
29737 rm -f conftest.$ac_objext conftest$ac_exeext
29738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29739 (eval $ac_link) 2>conftest.er1
29740 ac_status=$?
29741 grep -v '^ *+' conftest.er1 >conftest.err
29742 rm -f conftest.er1
29743 cat conftest.err >&5
29744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29745 (exit $ac_status); } &&
29746 { ac_try='test -z "$ac_c_werror_flag"
29747 || test ! -s conftest.err'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29750 ac_status=$?
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; } &&
29753 { ac_try='test -s conftest$ac_exeext'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29756 ac_status=$?
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; }; then
29759 glibcxx_cv_POLL=yes
29760 else
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.$ac_ext >&5
29764 glibcxx_cv_POLL=no
29766 rm -f conftest.err conftest.$ac_objext \
29767 conftest$ac_exeext conftest.$ac_ext
29771 if test $glibcxx_cv_POLL = yes; then
29773 cat >>confdefs.h <<\_ACEOF
29774 #define HAVE_POLL 1
29775 _ACEOF
29778 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29779 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29782 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29783 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29784 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29785 echo $ECHO_N "(cached) $ECHO_C" >&6
29786 else
29788 if test x$gcc_no_link = xyes; then
29789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29791 { (exit 1); exit 1; }; }
29793 cat >conftest.$ac_ext <<_ACEOF
29794 /* confdefs.h. */
29795 _ACEOF
29796 cat confdefs.h >>conftest.$ac_ext
29797 cat >>conftest.$ac_ext <<_ACEOF
29798 /* end confdefs.h. */
29799 #include <sys/stat.h>
29801 main ()
29803 struct stat buffer;
29804 fstat(0, &buffer);
29805 S_ISREG(buffer.st_mode);
29807 return 0;
29809 _ACEOF
29810 rm -f conftest.$ac_objext conftest$ac_exeext
29811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29812 (eval $ac_link) 2>conftest.er1
29813 ac_status=$?
29814 grep -v '^ *+' conftest.er1 >conftest.err
29815 rm -f conftest.er1
29816 cat conftest.err >&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); } &&
29819 { ac_try='test -z "$ac_c_werror_flag"
29820 || test ! -s conftest.err'
29821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29822 (eval $ac_try) 2>&5
29823 ac_status=$?
29824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29825 (exit $ac_status); }; } &&
29826 { ac_try='test -s conftest$ac_exeext'
29827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29828 (eval $ac_try) 2>&5
29829 ac_status=$?
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); }; }; then
29832 glibcxx_cv_S_ISREG=yes
29833 else
29834 echo "$as_me: failed program was:" >&5
29835 sed 's/^/| /' conftest.$ac_ext >&5
29837 glibcxx_cv_S_ISREG=no
29839 rm -f conftest.err conftest.$ac_objext \
29840 conftest$ac_exeext conftest.$ac_ext
29844 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29845 echo $ECHO_N "(cached) $ECHO_C" >&6
29846 else
29848 if test x$gcc_no_link = xyes; then
29849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29851 { (exit 1); exit 1; }; }
29853 cat >conftest.$ac_ext <<_ACEOF
29854 /* confdefs.h. */
29855 _ACEOF
29856 cat confdefs.h >>conftest.$ac_ext
29857 cat >>conftest.$ac_ext <<_ACEOF
29858 /* end confdefs.h. */
29859 #include <sys/stat.h>
29861 main ()
29863 struct stat buffer;
29864 fstat(0, &buffer);
29865 S_IFREG & buffer.st_mode;
29867 return 0;
29869 _ACEOF
29870 rm -f conftest.$ac_objext conftest$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>conftest.er1
29873 ac_status=$?
29874 grep -v '^ *+' conftest.er1 >conftest.err
29875 rm -f conftest.er1
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try='test -z "$ac_c_werror_flag"
29880 || test ! -s conftest.err'
29881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29882 (eval $ac_try) 2>&5
29883 ac_status=$?
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; } &&
29886 { ac_try='test -s conftest$ac_exeext'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; }; then
29892 glibcxx_cv_S_IFREG=yes
29893 else
29894 echo "$as_me: failed program was:" >&5
29895 sed 's/^/| /' conftest.$ac_ext >&5
29897 glibcxx_cv_S_IFREG=no
29899 rm -f conftest.err conftest.$ac_objext \
29900 conftest$ac_exeext conftest.$ac_ext
29904 res=no
29905 if test $glibcxx_cv_S_ISREG = yes; then
29907 cat >>confdefs.h <<\_ACEOF
29908 #define HAVE_S_ISREG 1
29909 _ACEOF
29911 res=S_ISREG
29912 elif test $glibcxx_cv_S_IFREG = yes; then
29914 cat >>confdefs.h <<\_ACEOF
29915 #define HAVE_S_IFREG 1
29916 _ACEOF
29918 res=S_IFREG
29920 echo "$as_me:$LINENO: result: $res" >&5
29921 echo "${ECHO_T}$res" >&6
29924 # For xsputn_2().
29926 for ac_header in sys/uio.h
29928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29930 echo "$as_me:$LINENO: checking for $ac_header" >&5
29931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29937 else
29938 # Is the header compilable?
29939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29941 cat >conftest.$ac_ext <<_ACEOF
29942 /* confdefs.h. */
29943 _ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947 $ac_includes_default
29948 #include <$ac_header>
29949 _ACEOF
29950 rm -f conftest.$ac_objext
29951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29952 (eval $ac_compile) 2>conftest.er1
29953 ac_status=$?
29954 grep -v '^ *+' conftest.er1 >conftest.err
29955 rm -f conftest.er1
29956 cat conftest.err >&5
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try='test -z "$ac_c_werror_flag"
29960 || test ! -s conftest.err'
29961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29962 (eval $ac_try) 2>&5
29963 ac_status=$?
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); }; } &&
29966 { ac_try='test -s conftest.$ac_objext'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29969 ac_status=$?
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; }; then
29972 ac_header_compiler=yes
29973 else
29974 echo "$as_me: failed program was:" >&5
29975 sed 's/^/| /' conftest.$ac_ext >&5
29977 ac_header_compiler=no
29979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29981 echo "${ECHO_T}$ac_header_compiler" >&6
29983 # Is the header present?
29984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29986 cat >conftest.$ac_ext <<_ACEOF
29987 /* confdefs.h. */
29988 _ACEOF
29989 cat confdefs.h >>conftest.$ac_ext
29990 cat >>conftest.$ac_ext <<_ACEOF
29991 /* end confdefs.h. */
29992 #include <$ac_header>
29993 _ACEOF
29994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29996 ac_status=$?
29997 grep -v '^ *+' conftest.er1 >conftest.err
29998 rm -f conftest.er1
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } >/dev/null; then
30002 if test -s conftest.err; then
30003 ac_cpp_err=$ac_c_preproc_warn_flag
30004 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30005 else
30006 ac_cpp_err=
30008 else
30009 ac_cpp_err=yes
30011 if test -z "$ac_cpp_err"; then
30012 ac_header_preproc=yes
30013 else
30014 echo "$as_me: failed program was:" >&5
30015 sed 's/^/| /' conftest.$ac_ext >&5
30017 ac_header_preproc=no
30019 rm -f conftest.err conftest.$ac_ext
30020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30021 echo "${ECHO_T}$ac_header_preproc" >&6
30023 # So? What about this header?
30024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30025 yes:no: )
30026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30030 ac_header_preproc=yes
30032 no:yes:* )
30033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30046 cat <<\_ASBOX
30047 ## ----------------------------------------- ##
30048 ## Report this to the package-unused lists. ##
30049 ## ----------------------------------------- ##
30050 _ASBOX
30052 sed "s/^/$as_me: WARNING: /" >&2
30054 esac
30055 echo "$as_me:$LINENO: checking for $ac_header" >&5
30056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30058 echo $ECHO_N "(cached) $ECHO_C" >&6
30059 else
30060 eval "$as_ac_Header=\$ac_header_preproc"
30062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30067 cat >>confdefs.h <<_ACEOF
30068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30069 _ACEOF
30073 done
30076 echo "$as_me:$LINENO: checking for writev" >&5
30077 echo $ECHO_N "checking for writev... $ECHO_C" >&6
30078 if test "${glibcxx_cv_WRITEV+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30082 if test x$gcc_no_link = xyes; then
30083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30085 { (exit 1); exit 1; }; }
30087 cat >conftest.$ac_ext <<_ACEOF
30088 /* confdefs.h. */
30089 _ACEOF
30090 cat confdefs.h >>conftest.$ac_ext
30091 cat >>conftest.$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 #include <sys/uio.h>
30095 main ()
30097 struct iovec iov[2];
30098 writev(0, iov, 0);
30100 return 0;
30102 _ACEOF
30103 rm -f conftest.$ac_objext conftest$ac_exeext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30105 (eval $ac_link) 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag"
30113 || test ! -s conftest.err'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; } &&
30119 { ac_try='test -s conftest$ac_exeext'
30120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121 (eval $ac_try) 2>&5
30122 ac_status=$?
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); }; }; then
30125 glibcxx_cv_WRITEV=yes
30126 else
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30130 glibcxx_cv_WRITEV=no
30132 rm -f conftest.err conftest.$ac_objext \
30133 conftest$ac_exeext conftest.$ac_ext
30137 if test $glibcxx_cv_WRITEV = yes; then
30139 cat >>confdefs.h <<\_ACEOF
30140 #define HAVE_WRITEV 1
30141 _ACEOF
30144 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
30145 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
30148 # For the __streamoff_base_type typedef.
30150 echo "$as_me:$LINENO: checking for int64_t" >&5
30151 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
30152 if test "${glibcxx_cv_INT64_T+set}" = set; then
30153 echo $ECHO_N "(cached) $ECHO_C" >&6
30154 else
30156 cat >conftest.$ac_ext <<_ACEOF
30157 /* confdefs.h. */
30158 _ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162 #include <stdint.h>
30164 main ()
30166 int64_t var;
30168 return 0;
30170 _ACEOF
30171 rm -f conftest.$ac_objext
30172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30173 (eval $ac_compile) 2>conftest.er1
30174 ac_status=$?
30175 grep -v '^ *+' conftest.er1 >conftest.err
30176 rm -f conftest.er1
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } &&
30180 { ac_try='test -z "$ac_c_werror_flag"
30181 || test ! -s conftest.err'
30182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30183 (eval $ac_try) 2>&5
30184 ac_status=$?
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); }; } &&
30187 { ac_try='test -s conftest.$ac_objext'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30190 ac_status=$?
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; }; then
30193 glibcxx_cv_INT64_T=yes
30194 else
30195 echo "$as_me: failed program was:" >&5
30196 sed 's/^/| /' conftest.$ac_ext >&5
30198 glibcxx_cv_INT64_T=no
30200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30204 if test $glibcxx_cv_INT64_T = yes; then
30206 cat >>confdefs.h <<\_ACEOF
30207 #define HAVE_INT64_T 1
30208 _ACEOF
30211 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
30212 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
30215 # For LFS support.
30219 ac_ext=cc
30220 ac_cpp='$CXXCPP $CPPFLAGS'
30221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30225 ac_save_CXXFLAGS="$CXXFLAGS"
30226 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30227 echo "$as_me:$LINENO: checking for LFS support" >&5
30228 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
30229 if test "${glibcxx_cv_LFS+set}" = set; then
30230 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 else
30233 if test x$gcc_no_link = xyes; then
30234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30236 { (exit 1); exit 1; }; }
30238 cat >conftest.$ac_ext <<_ACEOF
30239 /* confdefs.h. */
30240 _ACEOF
30241 cat confdefs.h >>conftest.$ac_ext
30242 cat >>conftest.$ac_ext <<_ACEOF
30243 /* end confdefs.h. */
30244 #include <unistd.h>
30245 #include <stdio.h>
30246 #include <sys/stat.h>
30249 main ()
30251 FILE* fp;
30252 fopen64("t", "w");
30253 fseeko64(fp, 0, SEEK_CUR);
30254 ftello64(fp);
30255 lseek64(1, 0, SEEK_CUR);
30256 struct stat64 buf;
30257 fstat64(1, &buf);
30259 return 0;
30261 _ACEOF
30262 rm -f conftest.$ac_objext conftest$ac_exeext
30263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30264 (eval $ac_link) 2>conftest.er1
30265 ac_status=$?
30266 grep -v '^ *+' conftest.er1 >conftest.err
30267 rm -f conftest.er1
30268 cat conftest.err >&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } &&
30271 { ac_try='test -z "$ac_cxx_werror_flag"
30272 || test ! -s conftest.err'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30275 ac_status=$?
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; } &&
30278 { ac_try='test -s conftest$ac_exeext'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30281 ac_status=$?
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; }; then
30284 glibcxx_cv_LFS=yes
30285 else
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.$ac_ext >&5
30289 glibcxx_cv_LFS=no
30291 rm -f conftest.err conftest.$ac_objext \
30292 conftest$ac_exeext conftest.$ac_ext
30296 if test $glibcxx_cv_LFS = yes; then
30298 cat >>confdefs.h <<\_ACEOF
30299 #define _GLIBCXX_USE_LFS 1
30300 _ACEOF
30303 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
30304 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
30305 CXXFLAGS="$ac_save_CXXFLAGS"
30306 ac_ext=c
30307 ac_cpp='$CPP $CPPFLAGS'
30308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30314 # For C99 support to TR1.
30319 ac_ext=cc
30320 ac_cpp='$CXXCPP $CPPFLAGS'
30321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30326 # Check for the existence of <complex.h> complex math functions used
30327 # by tr1/complex.
30329 for ac_header in complex.h
30331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30333 echo "$as_me:$LINENO: checking for $ac_header" >&5
30334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30340 else
30341 # Is the header compilable?
30342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30344 cat >conftest.$ac_ext <<_ACEOF
30345 /* confdefs.h. */
30346 _ACEOF
30347 cat confdefs.h >>conftest.$ac_ext
30348 cat >>conftest.$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30350 $ac_includes_default
30351 #include <$ac_header>
30352 _ACEOF
30353 rm -f conftest.$ac_objext
30354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30355 (eval $ac_compile) 2>conftest.er1
30356 ac_status=$?
30357 grep -v '^ *+' conftest.er1 >conftest.err
30358 rm -f conftest.er1
30359 cat conftest.err >&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); } &&
30362 { ac_try='test -z "$ac_cxx_werror_flag"
30363 || test ! -s conftest.err'
30364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30365 (eval $ac_try) 2>&5
30366 ac_status=$?
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; } &&
30369 { ac_try='test -s conftest.$ac_objext'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30372 ac_status=$?
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; }; then
30375 ac_header_compiler=yes
30376 else
30377 echo "$as_me: failed program was:" >&5
30378 sed 's/^/| /' conftest.$ac_ext >&5
30380 ac_header_compiler=no
30382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30384 echo "${ECHO_T}$ac_header_compiler" >&6
30386 # Is the header present?
30387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30389 cat >conftest.$ac_ext <<_ACEOF
30390 /* confdefs.h. */
30391 _ACEOF
30392 cat confdefs.h >>conftest.$ac_ext
30393 cat >>conftest.$ac_ext <<_ACEOF
30394 /* end confdefs.h. */
30395 #include <$ac_header>
30396 _ACEOF
30397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30399 ac_status=$?
30400 grep -v '^ *+' conftest.er1 >conftest.err
30401 rm -f conftest.er1
30402 cat conftest.err >&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); } >/dev/null; then
30405 if test -s conftest.err; then
30406 ac_cpp_err=$ac_cxx_preproc_warn_flag
30407 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30408 else
30409 ac_cpp_err=
30411 else
30412 ac_cpp_err=yes
30414 if test -z "$ac_cpp_err"; then
30415 ac_header_preproc=yes
30416 else
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.$ac_ext >&5
30420 ac_header_preproc=no
30422 rm -f conftest.err conftest.$ac_ext
30423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30424 echo "${ECHO_T}$ac_header_preproc" >&6
30426 # So? What about this header?
30427 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30428 yes:no: )
30429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30432 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30433 ac_header_preproc=yes
30435 no:yes:* )
30436 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30438 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30440 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30441 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30442 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30443 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30444 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30446 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30447 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30449 cat <<\_ASBOX
30450 ## ----------------------------------------- ##
30451 ## Report this to the package-unused lists. ##
30452 ## ----------------------------------------- ##
30453 _ASBOX
30455 sed "s/^/$as_me: WARNING: /" >&2
30457 esac
30458 echo "$as_me:$LINENO: checking for $ac_header" >&5
30459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 else
30463 eval "$as_ac_Header=\$ac_header_preproc"
30465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30470 cat >>confdefs.h <<_ACEOF
30471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30472 _ACEOF
30473 ac_has_complex_h=yes
30474 else
30475 ac_has_complex_h=no
30478 done
30480 ac_c99_complex_tr1=no;
30481 if test x"$ac_has_complex_h" = x"yes"; then
30482 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
30483 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
30484 cat >conftest.$ac_ext <<_ACEOF
30485 /* confdefs.h. */
30486 _ACEOF
30487 cat confdefs.h >>conftest.$ac_ext
30488 cat >>conftest.$ac_ext <<_ACEOF
30489 /* end confdefs.h. */
30490 #include <complex.h>
30492 main ()
30494 typedef __complex__ float float_type; float_type tmpf;
30495 cacosf(tmpf);
30496 casinf(tmpf);
30497 catanf(tmpf);
30498 cacoshf(tmpf);
30499 casinhf(tmpf);
30500 catanhf(tmpf);
30501 typedef __complex__ double double_type; double_type tmpd;
30502 cacos(tmpd);
30503 casin(tmpd);
30504 catan(tmpd);
30505 cacosh(tmpd);
30506 casinh(tmpd);
30507 catanh(tmpd);
30508 typedef __complex__ long double ld_type; ld_type tmpld;
30509 cacosl(tmpld);
30510 casinl(tmpld);
30511 catanl(tmpld);
30512 cacoshl(tmpld);
30513 casinhl(tmpld);
30514 catanhl(tmpld);
30517 return 0;
30519 _ACEOF
30520 rm -f conftest.$ac_objext
30521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522 (eval $ac_compile) 2>conftest.er1
30523 ac_status=$?
30524 grep -v '^ *+' conftest.er1 >conftest.err
30525 rm -f conftest.er1
30526 cat conftest.err >&5
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); } &&
30529 { ac_try='test -z "$ac_cxx_werror_flag"
30530 || test ! -s conftest.err'
30531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532 (eval $ac_try) 2>&5
30533 ac_status=$?
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); }; } &&
30536 { ac_try='test -s conftest.$ac_objext'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30539 ac_status=$?
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; }; then
30542 ac_c99_complex_tr1=yes
30543 else
30544 echo "$as_me: failed program was:" >&5
30545 sed 's/^/| /' conftest.$ac_ext >&5
30547 ac_c99_complex_tr1=no
30549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30551 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
30552 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
30553 if test x"$ac_c99_complex_tr1" = x"yes"; then
30555 cat >>confdefs.h <<\_ACEOF
30556 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
30557 _ACEOF
30561 # Check for the existence of <ctype.h> functions.
30562 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
30563 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
30564 if test "${ac_c99_ctype_tr1+set}" = set; then
30565 echo $ECHO_N "(cached) $ECHO_C" >&6
30566 else
30568 cat >conftest.$ac_ext <<_ACEOF
30569 /* confdefs.h. */
30570 _ACEOF
30571 cat confdefs.h >>conftest.$ac_ext
30572 cat >>conftest.$ac_ext <<_ACEOF
30573 /* end confdefs.h. */
30574 #include <ctype.h>
30576 main ()
30578 int ch;
30579 int ret;
30580 ret = isblank(ch);
30583 return 0;
30585 _ACEOF
30586 rm -f conftest.$ac_objext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30588 (eval $ac_compile) 2>conftest.er1
30589 ac_status=$?
30590 grep -v '^ *+' conftest.er1 >conftest.err
30591 rm -f conftest.er1
30592 cat conftest.err >&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } &&
30595 { ac_try='test -z "$ac_cxx_werror_flag"
30596 || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30599 ac_status=$?
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try='test -s conftest.$ac_objext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30605 ac_status=$?
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 ac_c99_ctype_tr1=yes
30609 else
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30613 ac_c99_ctype_tr1=no
30615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30619 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
30620 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
30621 if test x"$ac_c99_ctype_tr1" = x"yes"; then
30623 cat >>confdefs.h <<\_ACEOF
30624 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
30625 _ACEOF
30629 # Check for the existence of <fenv.h> functions.
30631 for ac_header in fenv.h
30633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30635 echo "$as_me:$LINENO: checking for $ac_header" >&5
30636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30638 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30642 else
30643 # Is the header compilable?
30644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30646 cat >conftest.$ac_ext <<_ACEOF
30647 /* confdefs.h. */
30648 _ACEOF
30649 cat confdefs.h >>conftest.$ac_ext
30650 cat >>conftest.$ac_ext <<_ACEOF
30651 /* end confdefs.h. */
30652 $ac_includes_default
30653 #include <$ac_header>
30654 _ACEOF
30655 rm -f conftest.$ac_objext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30657 (eval $ac_compile) 2>conftest.er1
30658 ac_status=$?
30659 grep -v '^ *+' conftest.er1 >conftest.err
30660 rm -f conftest.er1
30661 cat conftest.err >&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try='test -z "$ac_cxx_werror_flag"
30665 || test ! -s conftest.err'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; } &&
30671 { ac_try='test -s conftest.$ac_objext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30674 ac_status=$?
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 ac_header_compiler=yes
30678 else
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.$ac_ext >&5
30682 ac_header_compiler=no
30684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30686 echo "${ECHO_T}$ac_header_compiler" >&6
30688 # Is the header present?
30689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697 #include <$ac_header>
30698 _ACEOF
30699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30701 ac_status=$?
30702 grep -v '^ *+' conftest.er1 >conftest.err
30703 rm -f conftest.er1
30704 cat conftest.err >&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); } >/dev/null; then
30707 if test -s conftest.err; then
30708 ac_cpp_err=$ac_cxx_preproc_warn_flag
30709 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30710 else
30711 ac_cpp_err=
30713 else
30714 ac_cpp_err=yes
30716 if test -z "$ac_cpp_err"; then
30717 ac_header_preproc=yes
30718 else
30719 echo "$as_me: failed program was:" >&5
30720 sed 's/^/| /' conftest.$ac_ext >&5
30722 ac_header_preproc=no
30724 rm -f conftest.err conftest.$ac_ext
30725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30726 echo "${ECHO_T}$ac_header_preproc" >&6
30728 # So? What about this header?
30729 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30730 yes:no: )
30731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30735 ac_header_preproc=yes
30737 no:yes:* )
30738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30751 cat <<\_ASBOX
30752 ## ----------------------------------------- ##
30753 ## Report this to the package-unused lists. ##
30754 ## ----------------------------------------- ##
30755 _ASBOX
30757 sed "s/^/$as_me: WARNING: /" >&2
30759 esac
30760 echo "$as_me:$LINENO: checking for $ac_header" >&5
30761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30763 echo $ECHO_N "(cached) $ECHO_C" >&6
30764 else
30765 eval "$as_ac_Header=\$ac_header_preproc"
30767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30772 cat >>confdefs.h <<_ACEOF
30773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30774 _ACEOF
30775 ac_has_fenv_h=yes
30776 else
30777 ac_has_fenv_h=no
30780 done
30782 ac_c99_fenv_tr1=no;
30783 if test x"$ac_has_fenv_h" = x"yes"; then
30784 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30785 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30786 cat >conftest.$ac_ext <<_ACEOF
30787 /* confdefs.h. */
30788 _ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792 #include <fenv.h>
30794 main ()
30796 int except, mode;
30797 fexcept_t* pflag;
30798 fenv_t* penv;
30799 int ret;
30800 ret = feclearexcept(except);
30801 ret = fegetexceptflag(pflag, except);
30802 ret = feraiseexcept(except);
30803 ret = fesetexceptflag(pflag, except);
30804 ret = fetestexcept(except);
30805 ret = fegetround();
30806 ret = fesetround(mode);
30807 ret = fegetenv(penv);
30808 ret = feholdexcept(penv);
30809 ret = fesetenv(penv);
30810 ret = feupdateenv(penv);
30813 return 0;
30815 _ACEOF
30816 rm -f conftest.$ac_objext
30817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30818 (eval $ac_compile) 2>conftest.er1
30819 ac_status=$?
30820 grep -v '^ *+' conftest.er1 >conftest.err
30821 rm -f conftest.er1
30822 cat conftest.err >&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); } &&
30825 { ac_try='test -z "$ac_cxx_werror_flag"
30826 || test ! -s conftest.err'
30827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828 (eval $ac_try) 2>&5
30829 ac_status=$?
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; } &&
30832 { ac_try='test -s conftest.$ac_objext'
30833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30834 (eval $ac_try) 2>&5
30835 ac_status=$?
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; }; then
30838 ac_c99_fenv_tr1=yes
30839 else
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.$ac_ext >&5
30843 ac_c99_fenv_tr1=no
30845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30847 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30848 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30849 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30851 cat >>confdefs.h <<\_ACEOF
30852 #define _GLIBCXX_USE_C99_FENV_TR1 1
30853 _ACEOF
30857 # Check for the existence of <stdint.h> types.
30858 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30859 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30860 if test "${ac_c99_stdint_tr1+set}" = set; then
30861 echo $ECHO_N "(cached) $ECHO_C" >&6
30862 else
30864 cat >conftest.$ac_ext <<_ACEOF
30865 /* confdefs.h. */
30866 _ACEOF
30867 cat confdefs.h >>conftest.$ac_ext
30868 cat >>conftest.$ac_ext <<_ACEOF
30869 /* end confdefs.h. */
30870 #include <stdint.h>
30872 main ()
30874 typedef int8_t my_int8_t;
30875 typedef int16_t my_int16_t;
30876 typedef int32_t my_int32_t;
30877 typedef int64_t my_int64_t;
30878 typedef int_fast8_t my_int_fast8_t;
30879 typedef int_fast16_t my_int_fast16_t;
30880 typedef int_fast32_t my_int_fast32_t;
30881 typedef int_fast64_t my_int_fast64_t;
30882 typedef int_least8_t my_int_least8_t;
30883 typedef int_least16_t my_int_least16_t;
30884 typedef int_least32_t my_int_least32_t;
30885 typedef int_least64_t my_int_least64_t;
30886 typedef intmax_t my_intmax_t;
30887 typedef intptr_t my_intptr_t;
30888 typedef uint8_t my_uint8_t;
30889 typedef uint16_t my_uint16_t;
30890 typedef uint32_t my_uint32_t;
30891 typedef uint64_t my_uint64_t;
30892 typedef uint_fast8_t my_uint_fast8_t;
30893 typedef uint_fast16_t my_uint_fast16_t;
30894 typedef uint_fast32_t my_uint_fast32_t;
30895 typedef uint_fast64_t my_uint_fast64_t;
30896 typedef uint_least8_t my_uint_least8_t;
30897 typedef uint_least16_t my_uint_least16_t;
30898 typedef uint_least32_t my_uint_least32_t;
30899 typedef uint_least64_t my_uint_least64_t;
30900 typedef uintmax_t my_uintmax_t;
30901 typedef uintptr_t my_uintptr_t;
30904 return 0;
30906 _ACEOF
30907 rm -f conftest.$ac_objext
30908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30909 (eval $ac_compile) 2>conftest.er1
30910 ac_status=$?
30911 grep -v '^ *+' conftest.er1 >conftest.err
30912 rm -f conftest.er1
30913 cat conftest.err >&5
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); } &&
30916 { ac_try='test -z "$ac_cxx_werror_flag"
30917 || test ! -s conftest.err'
30918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30919 (eval $ac_try) 2>&5
30920 ac_status=$?
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); }; } &&
30923 { ac_try='test -s conftest.$ac_objext'
30924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925 (eval $ac_try) 2>&5
30926 ac_status=$?
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; }; then
30929 ac_c99_stdint_tr1=yes
30930 else
30931 echo "$as_me: failed program was:" >&5
30932 sed 's/^/| /' conftest.$ac_ext >&5
30934 ac_c99_stdint_tr1=no
30936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30940 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30941 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30942 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30944 cat >>confdefs.h <<\_ACEOF
30945 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30946 _ACEOF
30950 # Check for the existence of <math.h> functions.
30951 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30952 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30953 if test "${ac_c99_math_tr1+set}" = set; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30955 else
30957 cat >conftest.$ac_ext <<_ACEOF
30958 /* confdefs.h. */
30959 _ACEOF
30960 cat confdefs.h >>conftest.$ac_ext
30961 cat >>conftest.$ac_ext <<_ACEOF
30962 /* end confdefs.h. */
30963 #include <math.h>
30965 main ()
30967 typedef double_t my_double_t;
30968 typedef float_t my_float_t;
30969 acosh(0.0);
30970 acoshf(0.0f);
30971 acoshl(0.0l);
30972 asinh(0.0);
30973 asinhf(0.0f);
30974 asinhl(0.0l);
30975 atanh(0.0);
30976 atanhf(0.0f);
30977 atanhl(0.0l);
30978 cbrt(0.0);
30979 cbrtf(0.0f);
30980 cbrtl(0.0l);
30981 copysign(0.0, 0.0);
30982 copysignf(0.0f, 0.0f);
30983 copysignl(0.0l, 0.0l);
30984 erf(0.0);
30985 erff(0.0f);
30986 erfl(0.0l);
30987 erfc(0.0);
30988 erfcf(0.0f);
30989 erfcl(0.0l);
30990 exp2(0.0);
30991 exp2f(0.0f);
30992 exp2l(0.0l);
30993 expm1(0.0);
30994 expm1f(0.0f);
30995 expm1l(0.0l);
30996 fdim(0.0, 0.0);
30997 fdimf(0.0f, 0.0f);
30998 fdiml(0.0l, 0.0l);
30999 fma(0.0, 0.0, 0.0);
31000 fmaf(0.0f, 0.0f, 0.0f);
31001 fmal(0.0l, 0.0l, 0.0l);
31002 fmax(0.0, 0.0);
31003 fmaxf(0.0f, 0.0f);
31004 fmaxl(0.0l, 0.0l);
31005 fmin(0.0, 0.0);
31006 fminf(0.0f, 0.0f);
31007 fminl(0.0l, 0.0l);
31008 hypot(0.0, 0.0);
31009 hypotf(0.0f, 0.0f);
31010 hypotl(0.0l, 0.0l);
31011 ilogb(0.0);
31012 ilogbf(0.0f);
31013 ilogbl(0.0l);
31014 lgamma(0.0);
31015 lgammaf(0.0f);
31016 lgammal(0.0l);
31017 llrint(0.0);
31018 llrintf(0.0f);
31019 llrintl(0.0l);
31020 llround(0.0);
31021 llroundf(0.0f);
31022 llroundl(0.0l);
31023 log1p(0.0);
31024 log1pf(0.0f);
31025 log1pl(0.0l);
31026 log2(0.0);
31027 log2f(0.0f);
31028 log2l(0.0l);
31029 logb(0.0);
31030 logbf(0.0f);
31031 logbl(0.0l);
31032 lrint(0.0);
31033 lrintf(0.0f);
31034 lrintl(0.0l);
31035 lround(0.0);
31036 lroundf(0.0f);
31037 lroundl(0.0l);
31038 nan(0);
31039 nanf(0);
31040 nanl(0);
31041 nearbyint(0.0);
31042 nearbyintf(0.0f);
31043 nearbyintl(0.0l);
31044 nextafter(0.0, 0.0);
31045 nextafterf(0.0f, 0.0f);
31046 nextafterl(0.0l, 0.0l);
31047 nexttoward(0.0, 0.0);
31048 nexttowardf(0.0f, 0.0f);
31049 nexttowardl(0.0l, 0.0l);
31050 remainder(0.0, 0.0);
31051 remainderf(0.0f, 0.0f);
31052 remainderl(0.0l, 0.0l);
31053 remquo(0.0, 0.0, 0);
31054 remquo(0.0f, 0.0f, 0);
31055 remquo(0.0l, 0.0l, 0);
31056 rint(0.0);
31057 rintf(0.0f);
31058 rintl(0.0l);
31059 round(0.0);
31060 roundf(0.0f);
31061 roundl(0.0l);
31062 scalbln(0.0, 0l);
31063 scalblnf(0.0f, 0l);
31064 scalblnl(0.0l, 0l);
31065 scalbn(0.0, 0);
31066 scalbnf(0.0f, 0);
31067 scalbnl(0.0l, 0);
31068 tgamma(0.0);
31069 tgammaf(0.0f);
31070 tgammal(0.0l);
31071 trunc(0.0);
31072 truncf(0.0f);
31073 truncl(0.0l);
31076 return 0;
31078 _ACEOF
31079 rm -f conftest.$ac_objext
31080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31081 (eval $ac_compile) 2>conftest.er1
31082 ac_status=$?
31083 grep -v '^ *+' conftest.er1 >conftest.err
31084 rm -f conftest.er1
31085 cat conftest.err >&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try='test -z "$ac_cxx_werror_flag"
31089 || test ! -s conftest.err'
31090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31091 (eval $ac_try) 2>&5
31092 ac_status=$?
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); }; } &&
31095 { ac_try='test -s conftest.$ac_objext'
31096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31097 (eval $ac_try) 2>&5
31098 ac_status=$?
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); }; }; then
31101 ac_c99_math_tr1=yes
31102 else
31103 echo "$as_me: failed program was:" >&5
31104 sed 's/^/| /' conftest.$ac_ext >&5
31106 ac_c99_math_tr1=no
31108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31112 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
31113 echo "${ECHO_T}$ac_c99_math_tr1" >&6
31114 if test x"$ac_c99_math_tr1" = x"yes"; then
31116 cat >>confdefs.h <<\_ACEOF
31117 #define _GLIBCXX_USE_C99_MATH_TR1 1
31118 _ACEOF
31122 # Check for the existence of <inttypes.h> functions (NB: doesn't make
31123 # sense if the previous check fails, per C99, 7.8/1).
31124 ac_c99_inttypes_tr1=no;
31125 if test x"$ac_c99_stdint_tr1" = x"yes"; then
31126 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
31127 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 #include <inttypes.h>
31136 main ()
31138 intmax_t i, numer, denom, base;
31139 const char* s;
31140 char** endptr;
31141 intmax_t ret = imaxabs(i);
31142 imaxdiv_t dret = imaxdiv(numer, denom);
31143 ret = strtoimax(s, endptr, base);
31144 uintmax_t uret = strtoumax(s, endptr, base);
31147 return 0;
31149 _ACEOF
31150 rm -f conftest.$ac_objext
31151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31152 (eval $ac_compile) 2>conftest.er1
31153 ac_status=$?
31154 grep -v '^ *+' conftest.er1 >conftest.err
31155 rm -f conftest.er1
31156 cat conftest.err >&5
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); } &&
31159 { ac_try='test -z "$ac_cxx_werror_flag"
31160 || test ! -s conftest.err'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31163 ac_status=$?
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; } &&
31166 { ac_try='test -s conftest.$ac_objext'
31167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168 (eval $ac_try) 2>&5
31169 ac_status=$?
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; }; then
31172 ac_c99_inttypes_tr1=yes
31173 else
31174 echo "$as_me: failed program was:" >&5
31175 sed 's/^/| /' conftest.$ac_ext >&5
31177 ac_c99_inttypes_tr1=no
31179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31181 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
31182 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
31183 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
31185 cat >>confdefs.h <<\_ACEOF
31186 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
31187 _ACEOF
31191 # Check for the existence of the <stdbool.h> header.
31193 for ac_header in stdbool.h
31195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31197 echo "$as_me:$LINENO: checking for $ac_header" >&5
31198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31204 else
31205 # Is the header compilable?
31206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31207 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
31215 #include <$ac_header>
31216 _ACEOF
31217 rm -f conftest.$ac_objext
31218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31219 (eval $ac_compile) 2>conftest.er1
31220 ac_status=$?
31221 grep -v '^ *+' conftest.er1 >conftest.err
31222 rm -f conftest.er1
31223 cat conftest.err >&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); } &&
31226 { ac_try='test -z "$ac_cxx_werror_flag"
31227 || test ! -s conftest.err'
31228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31229 (eval $ac_try) 2>&5
31230 ac_status=$?
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); }; } &&
31233 { ac_try='test -s conftest.$ac_objext'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31236 ac_status=$?
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; }; then
31239 ac_header_compiler=yes
31240 else
31241 echo "$as_me: failed program was:" >&5
31242 sed 's/^/| /' conftest.$ac_ext >&5
31244 ac_header_compiler=no
31246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31248 echo "${ECHO_T}$ac_header_compiler" >&6
31250 # Is the header present?
31251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31253 cat >conftest.$ac_ext <<_ACEOF
31254 /* confdefs.h. */
31255 _ACEOF
31256 cat confdefs.h >>conftest.$ac_ext
31257 cat >>conftest.$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31259 #include <$ac_header>
31260 _ACEOF
31261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31263 ac_status=$?
31264 grep -v '^ *+' conftest.er1 >conftest.err
31265 rm -f conftest.er1
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } >/dev/null; then
31269 if test -s conftest.err; then
31270 ac_cpp_err=$ac_cxx_preproc_warn_flag
31271 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31272 else
31273 ac_cpp_err=
31275 else
31276 ac_cpp_err=yes
31278 if test -z "$ac_cpp_err"; then
31279 ac_header_preproc=yes
31280 else
31281 echo "$as_me: failed program was:" >&5
31282 sed 's/^/| /' conftest.$ac_ext >&5
31284 ac_header_preproc=no
31286 rm -f conftest.err conftest.$ac_ext
31287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31288 echo "${ECHO_T}$ac_header_preproc" >&6
31290 # So? What about this header?
31291 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31292 yes:no: )
31293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31297 ac_header_preproc=yes
31299 no:yes:* )
31300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31313 cat <<\_ASBOX
31314 ## ----------------------------------------- ##
31315 ## Report this to the package-unused lists. ##
31316 ## ----------------------------------------- ##
31317 _ASBOX
31319 sed "s/^/$as_me: WARNING: /" >&2
31321 esac
31322 echo "$as_me:$LINENO: checking for $ac_header" >&5
31323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327 eval "$as_ac_Header=\$ac_header_preproc"
31329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31334 cat >>confdefs.h <<_ACEOF
31335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31336 _ACEOF
31340 done
31343 ac_ext=c
31344 ac_cpp='$CPP $CPPFLAGS'
31345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31351 # For dev/random and dev/urandom for TR1.
31354 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
31355 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
31356 if test "${ac_random_tr1+set}" = set; then
31357 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 else
31360 if test "$cross_compiling" = yes; then
31361 ac_random_tr1=no
31362 else
31363 cat >conftest.$ac_ext <<_ACEOF
31364 /* confdefs.h. */
31365 _ACEOF
31366 cat confdefs.h >>conftest.$ac_ext
31367 cat >>conftest.$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31369 #include <stdio.h>
31370 int main()
31372 return !(fopen("/dev/random", "r")
31373 && fopen("/dev/urandom", "r"));
31376 _ACEOF
31377 rm -f conftest$ac_exeext
31378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31379 (eval $ac_link) 2>&5
31380 ac_status=$?
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31385 ac_status=$?
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; }; then
31388 ac_random_tr1=yes
31389 else
31390 echo "$as_me: program exited with status $ac_status" >&5
31391 echo "$as_me: failed program was:" >&5
31392 sed 's/^/| /' conftest.$ac_ext >&5
31394 ( exit $ac_status )
31395 ac_random_tr1=no
31397 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31402 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
31403 echo "${ECHO_T}$ac_random_tr1" >&6
31404 if test x"$ac_random_tr1" = x"yes"; then
31406 cat >>confdefs.h <<\_ACEOF
31407 #define _GLIBCXX_USE_RANDOM_TR1 1
31408 _ACEOF
31414 # For TLS support.
31416 # Check whether --enable-tls or --disable-tls was given.
31417 if test "${enable_tls+set}" = set; then
31418 enableval="$enable_tls"
31420 case "$enableval" in
31421 yes|no) ;;
31422 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
31423 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
31424 { (exit 1); exit 1; }; } ;;
31425 esac
31427 else
31428 enable_tls=yes
31431 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
31432 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
31433 if test "${have_tls+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 else
31437 if test "$cross_compiling" = yes; then
31438 cat >conftest.$ac_ext <<_ACEOF
31439 __thread int foo;
31440 _ACEOF
31441 rm -f conftest.$ac_objext
31442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31443 (eval $ac_compile) 2>conftest.er1
31444 ac_status=$?
31445 grep -v '^ *+' conftest.er1 >conftest.err
31446 rm -f conftest.er1
31447 cat conftest.err >&5
31448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31449 (exit $ac_status); } &&
31450 { ac_try='test -z "$ac_c_werror_flag"
31451 || test ! -s conftest.err'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; } &&
31457 { ac_try='test -s conftest.$ac_objext'
31458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31459 (eval $ac_try) 2>&5
31460 ac_status=$?
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); }; }; then
31463 have_tls=yes
31464 else
31465 echo "$as_me: failed program was:" >&5
31466 sed 's/^/| /' conftest.$ac_ext >&5
31468 have_tls=no
31470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31472 else
31473 cat >conftest.$ac_ext <<_ACEOF
31474 __thread int a; int b; int main() { return a = b; }
31475 _ACEOF
31476 rm -f conftest$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>&5
31479 ac_status=$?
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31483 (eval $ac_try) 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; }; then
31487 save_LDFLAGS="$LDFLAGS"
31488 LDFLAGS="-static $LDFLAGS"
31489 if test x$gcc_no_link = xyes; then
31490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31492 { (exit 1); exit 1; }; }
31494 cat >conftest.$ac_ext <<_ACEOF
31495 int main() { return 0; }
31496 _ACEOF
31497 rm -f conftest.$ac_objext conftest$ac_exeext
31498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31499 (eval $ac_link) 2>conftest.er1
31500 ac_status=$?
31501 grep -v '^ *+' conftest.er1 >conftest.err
31502 rm -f conftest.er1
31503 cat conftest.err >&5
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); } &&
31506 { ac_try='test -z "$ac_c_werror_flag"
31507 || test ! -s conftest.err'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31510 ac_status=$?
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; } &&
31513 { ac_try='test -s conftest$ac_exeext'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31516 ac_status=$?
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; }; then
31519 if test "$cross_compiling" = yes; then
31520 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
31521 See \`config.log' for more details." >&5
31522 echo "$as_me: error: cannot run test program while cross compiling
31523 See \`config.log' for more details." >&2;}
31524 { (exit 1); exit 1; }; }
31525 else
31526 cat >conftest.$ac_ext <<_ACEOF
31527 __thread int a; int b; int main() { return a = b; }
31528 _ACEOF
31529 rm -f conftest$ac_exeext
31530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31531 (eval $ac_link) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31537 ac_status=$?
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 have_tls=yes
31541 else
31542 echo "$as_me: program exited with status $ac_status" >&5
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31546 ( exit $ac_status )
31547 have_tls=no
31549 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31551 else
31552 echo "$as_me: failed program was:" >&5
31553 sed 's/^/| /' conftest.$ac_ext >&5
31555 have_tls=yes
31557 rm -f conftest.err conftest.$ac_objext \
31558 conftest$ac_exeext conftest.$ac_ext
31559 LDFLAGS="$save_LDFLAGS"
31560 else
31561 echo "$as_me: program exited with status $ac_status" >&5
31562 echo "$as_me: failed program was:" >&5
31563 sed 's/^/| /' conftest.$ac_ext >&5
31565 ( exit $ac_status )
31566 have_tls=no
31568 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31571 echo "$as_me:$LINENO: result: $have_tls" >&5
31572 echo "${ECHO_T}$have_tls" >&6
31573 if test "$enable_tls $have_tls" = "yes yes"; then
31575 cat >>confdefs.h <<\_ACEOF
31576 #define HAVE_TLS 1
31577 _ACEOF
31581 # For _Unwind_GetIPInfo.
31585 ac_ext=cc
31586 ac_cpp='$CXXCPP $CPPFLAGS'
31587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31591 ac_save_CXXFLAGS="$CXXFLAGS"
31592 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31593 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31594 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31595 if test "${gcc_cv_getipinfo+set}" = set; then
31596 echo $ECHO_N "(cached) $ECHO_C" >&6
31597 else
31599 if test x$gcc_no_link = xyes; then
31600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31602 { (exit 1); exit 1; }; }
31604 cat >conftest.$ac_ext <<_ACEOF
31605 /* confdefs.h. */
31606 _ACEOF
31607 cat confdefs.h >>conftest.$ac_ext
31608 cat >>conftest.$ac_ext <<_ACEOF
31609 /* end confdefs.h. */
31610 extern "C" { extern void _Unwind_GetIPInfo(); }
31612 main ()
31614 _Unwind_GetIPInfo();
31616 return 0;
31618 _ACEOF
31619 rm -f conftest.$ac_objext conftest$ac_exeext
31620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31621 (eval $ac_link) 2>conftest.er1
31622 ac_status=$?
31623 grep -v '^ *+' conftest.er1 >conftest.err
31624 rm -f conftest.er1
31625 cat conftest.err >&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); } &&
31628 { ac_try='test -z "$ac_cxx_werror_flag"
31629 || test ! -s conftest.err'
31630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31631 (eval $ac_try) 2>&5
31632 ac_status=$?
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); }; } &&
31635 { ac_try='test -s conftest$ac_exeext'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; }; then
31641 gcc_cv_getipinfo=yes
31642 else
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.$ac_ext >&5
31646 gcc_cv_getipinfo=no
31648 rm -f conftest.err conftest.$ac_objext \
31649 conftest$ac_exeext conftest.$ac_ext
31653 if test $gcc_cv_getipinfo = yes; then
31655 cat >>confdefs.h <<\_ACEOF
31656 #define HAVE_GETIPINFO 1
31657 _ACEOF
31660 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31661 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31662 CXXFLAGS="$ac_save_CXXFLAGS"
31663 ac_ext=c
31664 ac_cpp='$CPP $CPPFLAGS'
31665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31672 if test "${ac_cv_header_locale_h+set}" = set; then
31673 echo "$as_me:$LINENO: checking for locale.h" >&5
31674 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31675 if test "${ac_cv_header_locale_h+set}" = set; then
31676 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31679 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31680 else
31681 # Is the header compilable?
31682 echo "$as_me:$LINENO: checking locale.h usability" >&5
31683 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31684 cat >conftest.$ac_ext <<_ACEOF
31685 /* confdefs.h. */
31686 _ACEOF
31687 cat confdefs.h >>conftest.$ac_ext
31688 cat >>conftest.$ac_ext <<_ACEOF
31689 /* end confdefs.h. */
31690 $ac_includes_default
31691 #include <locale.h>
31692 _ACEOF
31693 rm -f conftest.$ac_objext
31694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31695 (eval $ac_compile) 2>conftest.er1
31696 ac_status=$?
31697 grep -v '^ *+' conftest.er1 >conftest.err
31698 rm -f conftest.er1
31699 cat conftest.err >&5
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); } &&
31702 { ac_try='test -z "$ac_c_werror_flag"
31703 || test ! -s conftest.err'
31704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31705 (eval $ac_try) 2>&5
31706 ac_status=$?
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); }; } &&
31709 { ac_try='test -s conftest.$ac_objext'
31710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31711 (eval $ac_try) 2>&5
31712 ac_status=$?
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); }; }; then
31715 ac_header_compiler=yes
31716 else
31717 echo "$as_me: failed program was:" >&5
31718 sed 's/^/| /' conftest.$ac_ext >&5
31720 ac_header_compiler=no
31722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31724 echo "${ECHO_T}$ac_header_compiler" >&6
31726 # Is the header present?
31727 echo "$as_me:$LINENO: checking locale.h presence" >&5
31728 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31729 cat >conftest.$ac_ext <<_ACEOF
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 #include <locale.h>
31736 _ACEOF
31737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31739 ac_status=$?
31740 grep -v '^ *+' conftest.er1 >conftest.err
31741 rm -f conftest.er1
31742 cat conftest.err >&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); } >/dev/null; then
31745 if test -s conftest.err; then
31746 ac_cpp_err=$ac_c_preproc_warn_flag
31747 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31748 else
31749 ac_cpp_err=
31751 else
31752 ac_cpp_err=yes
31754 if test -z "$ac_cpp_err"; then
31755 ac_header_preproc=yes
31756 else
31757 echo "$as_me: failed program was:" >&5
31758 sed 's/^/| /' conftest.$ac_ext >&5
31760 ac_header_preproc=no
31762 rm -f conftest.err conftest.$ac_ext
31763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31764 echo "${ECHO_T}$ac_header_preproc" >&6
31766 # So? What about this header?
31767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31768 yes:no: )
31769 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31770 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31771 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31772 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31773 ac_header_preproc=yes
31775 no:yes:* )
31776 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31777 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31778 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31779 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31780 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31781 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31782 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31783 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31784 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31785 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31786 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31787 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31789 cat <<\_ASBOX
31790 ## ----------------------------------------- ##
31791 ## Report this to the package-unused lists. ##
31792 ## ----------------------------------------- ##
31793 _ASBOX
31795 sed "s/^/$as_me: WARNING: /" >&2
31797 esac
31798 echo "$as_me:$LINENO: checking for locale.h" >&5
31799 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31800 if test "${ac_cv_header_locale_h+set}" = set; then
31801 echo $ECHO_N "(cached) $ECHO_C" >&6
31802 else
31803 ac_cv_header_locale_h=$ac_header_preproc
31805 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31806 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31809 if test $ac_cv_header_locale_h = yes; then
31811 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31812 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31813 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31814 echo $ECHO_N "(cached) $ECHO_C" >&6
31815 else
31816 if test x$gcc_no_link = xyes; then
31817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31819 { (exit 1); exit 1; }; }
31821 cat >conftest.$ac_ext <<_ACEOF
31822 /* confdefs.h. */
31823 _ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31827 #include <locale.h>
31829 main ()
31831 return LC_MESSAGES
31833 return 0;
31835 _ACEOF
31836 rm -f conftest.$ac_objext conftest$ac_exeext
31837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31838 (eval $ac_link) 2>conftest.er1
31839 ac_status=$?
31840 grep -v '^ *+' conftest.er1 >conftest.err
31841 rm -f conftest.er1
31842 cat conftest.err >&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try='test -z "$ac_c_werror_flag"
31846 || test ! -s conftest.err'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; } &&
31852 { ac_try='test -s conftest$ac_exeext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31858 ac_cv_val_LC_MESSAGES=yes
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31863 ac_cv_val_LC_MESSAGES=no
31865 rm -f conftest.err conftest.$ac_objext \
31866 conftest$ac_exeext conftest.$ac_ext
31868 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31869 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31870 if test $ac_cv_val_LC_MESSAGES = yes; then
31872 cat >>confdefs.h <<\_ACEOF
31873 #define HAVE_LC_MESSAGES 1
31874 _ACEOF
31883 cat >conftest.$ac_ext <<_ACEOF
31884 /* confdefs.h. */
31885 _ACEOF
31886 cat confdefs.h >>conftest.$ac_ext
31887 cat >>conftest.$ac_ext <<_ACEOF
31888 /* end confdefs.h. */
31889 #include <setjmp.h>
31891 main ()
31893 sigjmp_buf env;
31894 while (! sigsetjmp (env, 1))
31895 siglongjmp (env, 1);
31898 return 0;
31900 _ACEOF
31901 rm -f conftest.$ac_objext
31902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31903 (eval $ac_compile) 2>conftest.er1
31904 ac_status=$?
31905 grep -v '^ *+' conftest.er1 >conftest.err
31906 rm -f conftest.er1
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } &&
31910 { ac_try='test -z "$ac_c_werror_flag"
31911 || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31914 ac_status=$?
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try='test -s conftest.$ac_objext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31920 ac_status=$?
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31924 cat >>confdefs.h <<\_ACEOF
31925 #define HAVE_SIGSETJMP 1
31926 _ACEOF
31928 else
31929 echo "$as_me: failed program was:" >&5
31930 sed 's/^/| /' conftest.$ac_ext >&5
31933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31935 if test x$gcc_no_link = xyes; then
31936 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31937 ac_cv_func_mmap_fixed_mapped=no
31940 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31943 for ac_header in stdlib.h unistd.h
31945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31947 echo "$as_me:$LINENO: checking for $ac_header" >&5
31948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31954 else
31955 # Is the header compilable?
31956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31958 cat >conftest.$ac_ext <<_ACEOF
31959 /* confdefs.h. */
31960 _ACEOF
31961 cat confdefs.h >>conftest.$ac_ext
31962 cat >>conftest.$ac_ext <<_ACEOF
31963 /* end confdefs.h. */
31964 $ac_includes_default
31965 #include <$ac_header>
31966 _ACEOF
31967 rm -f conftest.$ac_objext
31968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31969 (eval $ac_compile) 2>conftest.er1
31970 ac_status=$?
31971 grep -v '^ *+' conftest.er1 >conftest.err
31972 rm -f conftest.er1
31973 cat conftest.err >&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); } &&
31976 { ac_try='test -z "$ac_c_werror_flag"
31977 || test ! -s conftest.err'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31980 ac_status=$?
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; } &&
31983 { ac_try='test -s conftest.$ac_objext'
31984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985 (eval $ac_try) 2>&5
31986 ac_status=$?
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; }; then
31989 ac_header_compiler=yes
31990 else
31991 echo "$as_me: failed program was:" >&5
31992 sed 's/^/| /' conftest.$ac_ext >&5
31994 ac_header_compiler=no
31996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31998 echo "${ECHO_T}$ac_header_compiler" >&6
32000 # Is the header present?
32001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32003 cat >conftest.$ac_ext <<_ACEOF
32004 /* confdefs.h. */
32005 _ACEOF
32006 cat confdefs.h >>conftest.$ac_ext
32007 cat >>conftest.$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 #include <$ac_header>
32010 _ACEOF
32011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32013 ac_status=$?
32014 grep -v '^ *+' conftest.er1 >conftest.err
32015 rm -f conftest.er1
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } >/dev/null; then
32019 if test -s conftest.err; then
32020 ac_cpp_err=$ac_c_preproc_warn_flag
32021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32022 else
32023 ac_cpp_err=
32025 else
32026 ac_cpp_err=yes
32028 if test -z "$ac_cpp_err"; then
32029 ac_header_preproc=yes
32030 else
32031 echo "$as_me: failed program was:" >&5
32032 sed 's/^/| /' conftest.$ac_ext >&5
32034 ac_header_preproc=no
32036 rm -f conftest.err conftest.$ac_ext
32037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32038 echo "${ECHO_T}$ac_header_preproc" >&6
32040 # So? What about this header?
32041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32042 yes:no: )
32043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32047 ac_header_preproc=yes
32049 no:yes:* )
32050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32063 cat <<\_ASBOX
32064 ## ----------------------------------------- ##
32065 ## Report this to the package-unused lists. ##
32066 ## ----------------------------------------- ##
32067 _ASBOX
32069 sed "s/^/$as_me: WARNING: /" >&2
32071 esac
32072 echo "$as_me:$LINENO: checking for $ac_header" >&5
32073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 else
32077 eval "$as_ac_Header=\$ac_header_preproc"
32079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32084 cat >>confdefs.h <<_ACEOF
32085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32086 _ACEOF
32090 done
32093 for ac_func in getpagesize
32095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32096 echo "$as_me:$LINENO: checking for $ac_func" >&5
32097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32098 if eval "test \"\${$as_ac_var+set}\" = set"; then
32099 echo $ECHO_N "(cached) $ECHO_C" >&6
32100 else
32101 if test x$gcc_no_link = xyes; then
32102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32104 { (exit 1); exit 1; }; }
32106 cat >conftest.$ac_ext <<_ACEOF
32107 /* confdefs.h. */
32108 _ACEOF
32109 cat confdefs.h >>conftest.$ac_ext
32110 cat >>conftest.$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32114 #define $ac_func innocuous_$ac_func
32116 /* System header to define __stub macros and hopefully few prototypes,
32117 which can conflict with char $ac_func (); below.
32118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32119 <limits.h> exists even on freestanding compilers. */
32121 #ifdef __STDC__
32122 # include <limits.h>
32123 #else
32124 # include <assert.h>
32125 #endif
32127 #undef $ac_func
32129 /* Override any gcc2 internal prototype to avoid an error. */
32130 #ifdef __cplusplus
32131 extern "C"
32133 #endif
32134 /* We use char because int might match the return type of a gcc2
32135 builtin and then its argument prototype would still apply. */
32136 char $ac_func ();
32137 /* The GNU C library defines this for functions which it implements
32138 to always fail with ENOSYS. Some functions are actually named
32139 something starting with __ and the normal name is an alias. */
32140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32141 choke me
32142 #else
32143 char (*f) () = $ac_func;
32144 #endif
32145 #ifdef __cplusplus
32147 #endif
32150 main ()
32152 return f != $ac_func;
32154 return 0;
32156 _ACEOF
32157 rm -f conftest.$ac_objext conftest$ac_exeext
32158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32159 (eval $ac_link) 2>conftest.er1
32160 ac_status=$?
32161 grep -v '^ *+' conftest.er1 >conftest.err
32162 rm -f conftest.er1
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } &&
32166 { ac_try='test -z "$ac_c_werror_flag"
32167 || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try='test -s conftest$ac_exeext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 eval "$as_ac_var=yes"
32180 else
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32184 eval "$as_ac_var=no"
32186 rm -f conftest.err conftest.$ac_objext \
32187 conftest$ac_exeext conftest.$ac_ext
32189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32191 if test `eval echo '${'$as_ac_var'}'` = yes; then
32192 cat >>confdefs.h <<_ACEOF
32193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32194 _ACEOF
32197 done
32199 echo "$as_me:$LINENO: checking for working mmap" >&5
32200 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32201 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32202 echo $ECHO_N "(cached) $ECHO_C" >&6
32203 else
32204 if test "$cross_compiling" = yes; then
32205 ac_cv_func_mmap_fixed_mapped=no
32206 else
32207 cat >conftest.$ac_ext <<_ACEOF
32208 /* confdefs.h. */
32209 _ACEOF
32210 cat confdefs.h >>conftest.$ac_ext
32211 cat >>conftest.$ac_ext <<_ACEOF
32212 /* end confdefs.h. */
32213 $ac_includes_default
32214 /* malloc might have been renamed as rpl_malloc. */
32215 #undef malloc
32217 /* Thanks to Mike Haertel and Jim Avera for this test.
32218 Here is a matrix of mmap possibilities:
32219 mmap private not fixed
32220 mmap private fixed at somewhere currently unmapped
32221 mmap private fixed at somewhere already mapped
32222 mmap shared not fixed
32223 mmap shared fixed at somewhere currently unmapped
32224 mmap shared fixed at somewhere already mapped
32225 For private mappings, we should verify that changes cannot be read()
32226 back from the file, nor mmap's back from the file at a different
32227 address. (There have been systems where private was not correctly
32228 implemented like the infamous i386 svr4.0, and systems where the
32229 VM page cache was not coherent with the file system buffer cache
32230 like early versions of FreeBSD and possibly contemporary NetBSD.)
32231 For shared mappings, we should conversely verify that changes get
32232 propagated back to all the places they're supposed to be.
32234 Grep wants private fixed already mapped.
32235 The main things grep needs to know about mmap are:
32236 * does it exist and is it safe to write into the mmap'd area
32237 * how to use it (BSD variants) */
32239 #include <fcntl.h>
32240 #include <sys/mman.h>
32242 #if !STDC_HEADERS && !HAVE_STDLIB_H
32243 char *malloc ();
32244 #endif
32246 /* This mess was copied from the GNU getpagesize.h. */
32247 #if !HAVE_GETPAGESIZE
32248 /* Assume that all systems that can run configure have sys/param.h. */
32249 # if !HAVE_SYS_PARAM_H
32250 # define HAVE_SYS_PARAM_H 1
32251 # endif
32253 # ifdef _SC_PAGESIZE
32254 # define getpagesize() sysconf(_SC_PAGESIZE)
32255 # else /* no _SC_PAGESIZE */
32256 # if HAVE_SYS_PARAM_H
32257 # include <sys/param.h>
32258 # ifdef EXEC_PAGESIZE
32259 # define getpagesize() EXEC_PAGESIZE
32260 # else /* no EXEC_PAGESIZE */
32261 # ifdef NBPG
32262 # define getpagesize() NBPG * CLSIZE
32263 # ifndef CLSIZE
32264 # define CLSIZE 1
32265 # endif /* no CLSIZE */
32266 # else /* no NBPG */
32267 # ifdef NBPC
32268 # define getpagesize() NBPC
32269 # else /* no NBPC */
32270 # ifdef PAGESIZE
32271 # define getpagesize() PAGESIZE
32272 # endif /* PAGESIZE */
32273 # endif /* no NBPC */
32274 # endif /* no NBPG */
32275 # endif /* no EXEC_PAGESIZE */
32276 # else /* no HAVE_SYS_PARAM_H */
32277 # define getpagesize() 8192 /* punt totally */
32278 # endif /* no HAVE_SYS_PARAM_H */
32279 # endif /* no _SC_PAGESIZE */
32281 #endif /* no HAVE_GETPAGESIZE */
32284 main ()
32286 char *data, *data2, *data3;
32287 int i, pagesize;
32288 int fd;
32290 pagesize = getpagesize ();
32292 /* First, make a file with some known garbage in it. */
32293 data = (char *) malloc (pagesize);
32294 if (!data)
32295 exit (1);
32296 for (i = 0; i < pagesize; ++i)
32297 *(data + i) = rand ();
32298 umask (0);
32299 fd = creat ("conftest.mmap", 0600);
32300 if (fd < 0)
32301 exit (1);
32302 if (write (fd, data, pagesize) != pagesize)
32303 exit (1);
32304 close (fd);
32306 /* Next, try to mmap the file at a fixed address which already has
32307 something else allocated at it. If we can, also make sure that
32308 we see the same garbage. */
32309 fd = open ("conftest.mmap", O_RDWR);
32310 if (fd < 0)
32311 exit (1);
32312 data2 = (char *) malloc (2 * pagesize);
32313 if (!data2)
32314 exit (1);
32315 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32316 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32317 MAP_PRIVATE | MAP_FIXED, fd, 0L))
32318 exit (1);
32319 for (i = 0; i < pagesize; ++i)
32320 if (*(data + i) != *(data2 + i))
32321 exit (1);
32323 /* Finally, make sure that changes to the mapped area do not
32324 percolate back to the file as seen by read(). (This is a bug on
32325 some variants of i386 svr4.0.) */
32326 for (i = 0; i < pagesize; ++i)
32327 *(data2 + i) = *(data2 + i) + 1;
32328 data3 = (char *) malloc (pagesize);
32329 if (!data3)
32330 exit (1);
32331 if (read (fd, data3, pagesize) != pagesize)
32332 exit (1);
32333 for (i = 0; i < pagesize; ++i)
32334 if (*(data + i) != *(data3 + i))
32335 exit (1);
32336 close (fd);
32337 exit (0);
32339 _ACEOF
32340 rm -f conftest$ac_exeext
32341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32342 (eval $ac_link) 2>&5
32343 ac_status=$?
32344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32347 (eval $ac_try) 2>&5
32348 ac_status=$?
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); }; }; then
32351 ac_cv_func_mmap_fixed_mapped=yes
32352 else
32353 echo "$as_me: program exited with status $ac_status" >&5
32354 echo "$as_me: failed program was:" >&5
32355 sed 's/^/| /' conftest.$ac_ext >&5
32357 ( exit $ac_status )
32358 ac_cv_func_mmap_fixed_mapped=no
32360 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32363 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32364 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32365 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32367 cat >>confdefs.h <<\_ACEOF
32368 #define HAVE_MMAP 1
32369 _ACEOF
32372 rm -f conftest.mmap
32376 else
32378 # This lets us hard-code the functionality we know we'll have in the cross
32379 # target environment. "Let" is a sugar-coated word placed on an especially
32380 # dull and tedious hack, actually.
32382 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32383 # that involve linking, can't be used:
32384 # "cannot open sim-crt0.o"
32385 # "cannot open crt0.o"
32386 # etc. All this is because there currently exists no unified, consistent
32387 # way for top level CC information to be passed down to target directories:
32388 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32389 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32390 # crosses can be removed.
32392 # If Canadian cross, then don't pick up tools from the build directory.
32393 # Used only in GLIBCXX_EXPORT_INCLUDES.
32394 if test -n "$with_cross_host" &&
32395 test x"$build_alias" != x"$with_cross_host" &&
32396 test x"$build" != x"$target";
32397 then
32398 CANADIAN=yes
32399 else
32400 CANADIAN=no
32403 # Construct crosses by hand, eliminating bits that need ld...
32404 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32405 # GLIBCXX_CHECK_MATH_SUPPORT
32407 # First, test for "known" system libraries. We may be using newlib even
32408 # on a hosted environment.
32409 if test "x${with_newlib}" = "xyes"; then
32410 os_include_dir="os/newlib"
32411 cat >>confdefs.h <<\_ACEOF
32412 #define HAVE_HYPOT 1
32413 _ACEOF
32416 # GLIBCXX_CHECK_STDLIB_SUPPORT
32417 cat >>confdefs.h <<\_ACEOF
32418 #define HAVE_STRTOF 1
32419 _ACEOF
32421 # AC_FUNC_MMAP
32422 cat >>confdefs.h <<\_ACEOF
32423 #define HAVE_MMAP 1
32424 _ACEOF
32427 cat >>confdefs.h <<\_ACEOF
32428 #define HAVE_ACOSF 1
32429 _ACEOF
32431 cat >>confdefs.h <<\_ACEOF
32432 #define HAVE_ASINF 1
32433 _ACEOF
32435 cat >>confdefs.h <<\_ACEOF
32436 #define HAVE_ATAN2F 1
32437 _ACEOF
32439 cat >>confdefs.h <<\_ACEOF
32440 #define HAVE_ATANF 1
32441 _ACEOF
32443 cat >>confdefs.h <<\_ACEOF
32444 #define HAVE_CEILF 1
32445 _ACEOF
32447 cat >>confdefs.h <<\_ACEOF
32448 #define HAVE_COPYSIGN 1
32449 _ACEOF
32451 cat >>confdefs.h <<\_ACEOF
32452 #define HAVE_COPYSIGNF 1
32453 _ACEOF
32455 cat >>confdefs.h <<\_ACEOF
32456 #define HAVE_COSF 1
32457 _ACEOF
32459 cat >>confdefs.h <<\_ACEOF
32460 #define HAVE_COSHF 1
32461 _ACEOF
32463 cat >>confdefs.h <<\_ACEOF
32464 #define HAVE_EXPF 1
32465 _ACEOF
32467 cat >>confdefs.h <<\_ACEOF
32468 #define HAVE_FABSF 1
32469 _ACEOF
32471 cat >>confdefs.h <<\_ACEOF
32472 #define HAVE_FLOORF 1
32473 _ACEOF
32475 cat >>confdefs.h <<\_ACEOF
32476 #define HAVE_FMODF 1
32477 _ACEOF
32479 cat >>confdefs.h <<\_ACEOF
32480 #define HAVE_FREXPF 1
32481 _ACEOF
32483 cat >>confdefs.h <<\_ACEOF
32484 #define HAVE_LDEXPF 1
32485 _ACEOF
32487 cat >>confdefs.h <<\_ACEOF
32488 #define HAVE_LOG10F 1
32489 _ACEOF
32491 cat >>confdefs.h <<\_ACEOF
32492 #define HAVE_LOGF 1
32493 _ACEOF
32495 cat >>confdefs.h <<\_ACEOF
32496 #define HAVE_MODFF 1
32497 _ACEOF
32499 cat >>confdefs.h <<\_ACEOF
32500 #define HAVE_POWF 1
32501 _ACEOF
32503 cat >>confdefs.h <<\_ACEOF
32504 #define HAVE_SINF 1
32505 _ACEOF
32507 cat >>confdefs.h <<\_ACEOF
32508 #define HAVE_SINHF 1
32509 _ACEOF
32511 cat >>confdefs.h <<\_ACEOF
32512 #define HAVE_SQRTF 1
32513 _ACEOF
32515 cat >>confdefs.h <<\_ACEOF
32516 #define HAVE_TANF 1
32517 _ACEOF
32519 cat >>confdefs.h <<\_ACEOF
32520 #define HAVE_TANHF 1
32521 _ACEOF
32524 cat >>confdefs.h <<\_ACEOF
32525 #define HAVE_S_ISREG 1
32526 _ACEOF
32528 cat >>confdefs.h <<\_ACEOF
32529 #define HAVE_S_IFREG 1
32530 _ACEOF
32532 else
32534 # Base decisions on target environment.
32535 case "${host}" in
32536 arm*-*-symbianelf*)
32537 # This is a freestanding configuration; there is nothing to do here.
32540 *-darwin*)
32541 # Darwin versions vary, but the linker should work in a cross environment,
32542 # so we just check for all the features here.
32543 # Check for available headers.
32557 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32558 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32559 sys/types.h
32561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32563 echo "$as_me:$LINENO: checking for $ac_header" >&5
32564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32570 else
32571 # Is the header compilable?
32572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32574 cat >conftest.$ac_ext <<_ACEOF
32575 /* confdefs.h. */
32576 _ACEOF
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580 $ac_includes_default
32581 #include <$ac_header>
32582 _ACEOF
32583 rm -f conftest.$ac_objext
32584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32585 (eval $ac_compile) 2>conftest.er1
32586 ac_status=$?
32587 grep -v '^ *+' conftest.er1 >conftest.err
32588 rm -f conftest.er1
32589 cat conftest.err >&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); } &&
32592 { ac_try='test -z "$ac_c_werror_flag"
32593 || test ! -s conftest.err'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32596 ac_status=$?
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; } &&
32599 { ac_try='test -s conftest.$ac_objext'
32600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601 (eval $ac_try) 2>&5
32602 ac_status=$?
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); }; }; then
32605 ac_header_compiler=yes
32606 else
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.$ac_ext >&5
32610 ac_header_compiler=no
32612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32614 echo "${ECHO_T}$ac_header_compiler" >&6
32616 # Is the header present?
32617 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32618 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32619 cat >conftest.$ac_ext <<_ACEOF
32620 /* confdefs.h. */
32621 _ACEOF
32622 cat confdefs.h >>conftest.$ac_ext
32623 cat >>conftest.$ac_ext <<_ACEOF
32624 /* end confdefs.h. */
32625 #include <$ac_header>
32626 _ACEOF
32627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32629 ac_status=$?
32630 grep -v '^ *+' conftest.er1 >conftest.err
32631 rm -f conftest.er1
32632 cat conftest.err >&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } >/dev/null; then
32635 if test -s conftest.err; then
32636 ac_cpp_err=$ac_c_preproc_warn_flag
32637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32638 else
32639 ac_cpp_err=
32641 else
32642 ac_cpp_err=yes
32644 if test -z "$ac_cpp_err"; then
32645 ac_header_preproc=yes
32646 else
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32650 ac_header_preproc=no
32652 rm -f conftest.err conftest.$ac_ext
32653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32654 echo "${ECHO_T}$ac_header_preproc" >&6
32656 # So? What about this header?
32657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32658 yes:no: )
32659 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32660 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32662 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32663 ac_header_preproc=yes
32665 no:yes:* )
32666 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32668 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32670 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32671 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32672 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32673 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32675 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32676 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32677 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32679 cat <<\_ASBOX
32680 ## ----------------------------------------- ##
32681 ## Report this to the package-unused lists. ##
32682 ## ----------------------------------------- ##
32683 _ASBOX
32685 sed "s/^/$as_me: WARNING: /" >&2
32687 esac
32688 echo "$as_me:$LINENO: checking for $ac_header" >&5
32689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32692 else
32693 eval "$as_ac_Header=\$ac_header_preproc"
32695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32700 cat >>confdefs.h <<_ACEOF
32701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32702 _ACEOF
32706 done
32709 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32711 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32712 ac_save_CXXFLAGS="$CXXFLAGS"
32713 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32715 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32716 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32717 if test "${ac_cv_lib_m_sin+set}" = set; then
32718 echo $ECHO_N "(cached) $ECHO_C" >&6
32719 else
32720 ac_check_lib_save_LIBS=$LIBS
32721 LIBS="-lm $LIBS"
32722 if test x$gcc_no_link = xyes; then
32723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32725 { (exit 1); exit 1; }; }
32727 cat >conftest.$ac_ext <<_ACEOF
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32734 /* Override any gcc2 internal prototype to avoid an error. */
32735 #ifdef __cplusplus
32736 extern "C"
32737 #endif
32738 /* We use char because int might match the return type of a gcc2
32739 builtin and then its argument prototype would still apply. */
32740 char sin ();
32742 main ()
32744 sin ();
32746 return 0;
32748 _ACEOF
32749 rm -f conftest.$ac_objext conftest$ac_exeext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32751 (eval $ac_link) 2>conftest.er1
32752 ac_status=$?
32753 grep -v '^ *+' conftest.er1 >conftest.err
32754 rm -f conftest.er1
32755 cat conftest.err >&5
32756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 (exit $ac_status); } &&
32758 { ac_try='test -z "$ac_c_werror_flag"
32759 || test ! -s conftest.err'
32760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761 (eval $ac_try) 2>&5
32762 ac_status=$?
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; } &&
32765 { ac_try='test -s conftest$ac_exeext'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32768 ac_status=$?
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; }; then
32771 ac_cv_lib_m_sin=yes
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32776 ac_cv_lib_m_sin=no
32778 rm -f conftest.err conftest.$ac_objext \
32779 conftest$ac_exeext conftest.$ac_ext
32780 LIBS=$ac_check_lib_save_LIBS
32782 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
32783 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
32784 if test $ac_cv_lib_m_sin = yes; then
32785 libm="-lm"
32788 ac_save_LIBS="$LIBS"
32789 LIBS="$LIBS $libm"
32793 echo "$as_me:$LINENO: checking for isinf declaration" >&5
32794 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
32795 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32796 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
32797 echo $ECHO_N "(cached) $ECHO_C" >&6
32798 else
32802 ac_ext=cc
32803 ac_cpp='$CXXCPP $CPPFLAGS'
32804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32808 cat >conftest.$ac_ext <<_ACEOF
32809 /* confdefs.h. */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814 #include <math.h>
32815 #ifdef HAVE_IEEEFP_H
32816 #include <ieeefp.h>
32817 #endif
32820 main ()
32822 isinf(0);
32824 return 0;
32826 _ACEOF
32827 rm -f conftest.$ac_objext
32828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32829 (eval $ac_compile) 2>conftest.er1
32830 ac_status=$?
32831 grep -v '^ *+' conftest.er1 >conftest.err
32832 rm -f conftest.er1
32833 cat conftest.err >&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); } &&
32836 { ac_try='test -z "$ac_cxx_werror_flag"
32837 || test ! -s conftest.err'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32840 ac_status=$?
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; } &&
32843 { ac_try='test -s conftest.$ac_objext'
32844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32845 (eval $ac_try) 2>&5
32846 ac_status=$?
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); }; }; then
32849 glibcxx_cv_func_isinf_use=yes
32850 else
32851 echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.$ac_ext >&5
32854 glibcxx_cv_func_isinf_use=no
32856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32857 ac_ext=c
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
32868 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
32870 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32872 for ac_func in isinf
32874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32875 echo "$as_me:$LINENO: checking for $ac_func" >&5
32876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32877 if eval "test \"\${$as_ac_var+set}\" = set"; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32880 if test x$gcc_no_link = xyes; then
32881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32883 { (exit 1); exit 1; }; }
32885 cat >conftest.$ac_ext <<_ACEOF
32886 /* confdefs.h. */
32887 _ACEOF
32888 cat confdefs.h >>conftest.$ac_ext
32889 cat >>conftest.$ac_ext <<_ACEOF
32890 /* end confdefs.h. */
32891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32893 #define $ac_func innocuous_$ac_func
32895 /* System header to define __stub macros and hopefully few prototypes,
32896 which can conflict with char $ac_func (); below.
32897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32898 <limits.h> exists even on freestanding compilers. */
32900 #ifdef __STDC__
32901 # include <limits.h>
32902 #else
32903 # include <assert.h>
32904 #endif
32906 #undef $ac_func
32908 /* Override any gcc2 internal prototype to avoid an error. */
32909 #ifdef __cplusplus
32910 extern "C"
32912 #endif
32913 /* We use char because int might match the return type of a gcc2
32914 builtin and then its argument prototype would still apply. */
32915 char $ac_func ();
32916 /* The GNU C library defines this for functions which it implements
32917 to always fail with ENOSYS. Some functions are actually named
32918 something starting with __ and the normal name is an alias. */
32919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32920 choke me
32921 #else
32922 char (*f) () = $ac_func;
32923 #endif
32924 #ifdef __cplusplus
32926 #endif
32929 main ()
32931 return f != $ac_func;
32933 return 0;
32935 _ACEOF
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32938 (eval $ac_link) 2>conftest.er1
32939 ac_status=$?
32940 grep -v '^ *+' conftest.er1 >conftest.err
32941 rm -f conftest.er1
32942 cat conftest.err >&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } &&
32945 { ac_try='test -z "$ac_c_werror_flag"
32946 || test ! -s conftest.err'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32949 ac_status=$?
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; } &&
32952 { ac_try='test -s conftest$ac_exeext'
32953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954 (eval $ac_try) 2>&5
32955 ac_status=$?
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); }; }; then
32958 eval "$as_ac_var=yes"
32959 else
32960 echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.$ac_ext >&5
32963 eval "$as_ac_var=no"
32965 rm -f conftest.err conftest.$ac_objext \
32966 conftest$ac_exeext conftest.$ac_ext
32968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32970 if test `eval echo '${'$as_ac_var'}'` = yes; then
32971 cat >>confdefs.h <<_ACEOF
32972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32973 _ACEOF
32976 done
32978 else
32980 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
32981 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
32982 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32983 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
32984 echo $ECHO_N "(cached) $ECHO_C" >&6
32985 else
32989 ac_ext=cc
32990 ac_cpp='$CXXCPP $CPPFLAGS'
32991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 #include <math.h>
33002 #ifdef HAVE_IEEEFP_H
33003 #include <ieeefp.h>
33004 #endif
33007 main ()
33009 _isinf(0);
33011 return 0;
33013 _ACEOF
33014 rm -f conftest.$ac_objext
33015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33016 (eval $ac_compile) 2>conftest.er1
33017 ac_status=$?
33018 grep -v '^ *+' conftest.er1 >conftest.err
33019 rm -f conftest.er1
33020 cat conftest.err >&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); } &&
33023 { ac_try='test -z "$ac_cxx_werror_flag"
33024 || test ! -s conftest.err'
33025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33026 (eval $ac_try) 2>&5
33027 ac_status=$?
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; } &&
33030 { ac_try='test -s conftest.$ac_objext'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33033 ac_status=$?
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; }; then
33036 glibcxx_cv_func__isinf_use=yes
33037 else
33038 echo "$as_me: failed program was:" >&5
33039 sed 's/^/| /' conftest.$ac_ext >&5
33041 glibcxx_cv_func__isinf_use=no
33043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33044 ac_ext=c
33045 ac_cpp='$CPP $CPPFLAGS'
33046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33055 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33057 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33059 for ac_func in _isinf
33061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33062 echo "$as_me:$LINENO: checking for $ac_func" >&5
33063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33064 if eval "test \"\${$as_ac_var+set}\" = set"; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33066 else
33067 if test x$gcc_no_link = xyes; then
33068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33070 { (exit 1); exit 1; }; }
33072 cat >conftest.$ac_ext <<_ACEOF
33073 /* confdefs.h. */
33074 _ACEOF
33075 cat confdefs.h >>conftest.$ac_ext
33076 cat >>conftest.$ac_ext <<_ACEOF
33077 /* end confdefs.h. */
33078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33080 #define $ac_func innocuous_$ac_func
33082 /* System header to define __stub macros and hopefully few prototypes,
33083 which can conflict with char $ac_func (); below.
33084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33085 <limits.h> exists even on freestanding compilers. */
33087 #ifdef __STDC__
33088 # include <limits.h>
33089 #else
33090 # include <assert.h>
33091 #endif
33093 #undef $ac_func
33095 /* Override any gcc2 internal prototype to avoid an error. */
33096 #ifdef __cplusplus
33097 extern "C"
33099 #endif
33100 /* We use char because int might match the return type of a gcc2
33101 builtin and then its argument prototype would still apply. */
33102 char $ac_func ();
33103 /* The GNU C library defines this for functions which it implements
33104 to always fail with ENOSYS. Some functions are actually named
33105 something starting with __ and the normal name is an alias. */
33106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33107 choke me
33108 #else
33109 char (*f) () = $ac_func;
33110 #endif
33111 #ifdef __cplusplus
33113 #endif
33116 main ()
33118 return f != $ac_func;
33120 return 0;
33122 _ACEOF
33123 rm -f conftest.$ac_objext conftest$ac_exeext
33124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33125 (eval $ac_link) 2>conftest.er1
33126 ac_status=$?
33127 grep -v '^ *+' conftest.er1 >conftest.err
33128 rm -f conftest.er1
33129 cat conftest.err >&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); } &&
33132 { ac_try='test -z "$ac_c_werror_flag"
33133 || test ! -s conftest.err'
33134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33135 (eval $ac_try) 2>&5
33136 ac_status=$?
33137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33138 (exit $ac_status); }; } &&
33139 { ac_try='test -s conftest$ac_exeext'
33140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33141 (eval $ac_try) 2>&5
33142 ac_status=$?
33143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33144 (exit $ac_status); }; }; then
33145 eval "$as_ac_var=yes"
33146 else
33147 echo "$as_me: failed program was:" >&5
33148 sed 's/^/| /' conftest.$ac_ext >&5
33150 eval "$as_ac_var=no"
33152 rm -f conftest.err conftest.$ac_objext \
33153 conftest$ac_exeext conftest.$ac_ext
33155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33157 if test `eval echo '${'$as_ac_var'}'` = yes; then
33158 cat >>confdefs.h <<_ACEOF
33159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33160 _ACEOF
33163 done
33173 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33174 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33175 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33176 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 else
33182 ac_ext=cc
33183 ac_cpp='$CXXCPP $CPPFLAGS'
33184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33188 cat >conftest.$ac_ext <<_ACEOF
33189 /* confdefs.h. */
33190 _ACEOF
33191 cat confdefs.h >>conftest.$ac_ext
33192 cat >>conftest.$ac_ext <<_ACEOF
33193 /* end confdefs.h. */
33194 #include <math.h>
33195 #ifdef HAVE_IEEEFP_H
33196 #include <ieeefp.h>
33197 #endif
33200 main ()
33202 isnan(0);
33204 return 0;
33206 _ACEOF
33207 rm -f conftest.$ac_objext
33208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33209 (eval $ac_compile) 2>conftest.er1
33210 ac_status=$?
33211 grep -v '^ *+' conftest.er1 >conftest.err
33212 rm -f conftest.er1
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } &&
33216 { ac_try='test -z "$ac_cxx_werror_flag"
33217 || test ! -s conftest.err'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; } &&
33223 { ac_try='test -s conftest.$ac_objext'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; }; then
33229 glibcxx_cv_func_isnan_use=yes
33230 else
33231 echo "$as_me: failed program was:" >&5
33232 sed 's/^/| /' conftest.$ac_ext >&5
33234 glibcxx_cv_func_isnan_use=no
33236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33237 ac_ext=c
33238 ac_cpp='$CPP $CPPFLAGS'
33239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33248 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33250 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33252 for ac_func in isnan
33254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33255 echo "$as_me:$LINENO: checking for $ac_func" >&5
33256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33257 if eval "test \"\${$as_ac_var+set}\" = set"; then
33258 echo $ECHO_N "(cached) $ECHO_C" >&6
33259 else
33260 if test x$gcc_no_link = xyes; then
33261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33263 { (exit 1); exit 1; }; }
33265 cat >conftest.$ac_ext <<_ACEOF
33266 /* confdefs.h. */
33267 _ACEOF
33268 cat confdefs.h >>conftest.$ac_ext
33269 cat >>conftest.$ac_ext <<_ACEOF
33270 /* end confdefs.h. */
33271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33273 #define $ac_func innocuous_$ac_func
33275 /* System header to define __stub macros and hopefully few prototypes,
33276 which can conflict with char $ac_func (); below.
33277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33278 <limits.h> exists even on freestanding compilers. */
33280 #ifdef __STDC__
33281 # include <limits.h>
33282 #else
33283 # include <assert.h>
33284 #endif
33286 #undef $ac_func
33288 /* Override any gcc2 internal prototype to avoid an error. */
33289 #ifdef __cplusplus
33290 extern "C"
33292 #endif
33293 /* We use char because int might match the return type of a gcc2
33294 builtin and then its argument prototype would still apply. */
33295 char $ac_func ();
33296 /* The GNU C library defines this for functions which it implements
33297 to always fail with ENOSYS. Some functions are actually named
33298 something starting with __ and the normal name is an alias. */
33299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33300 choke me
33301 #else
33302 char (*f) () = $ac_func;
33303 #endif
33304 #ifdef __cplusplus
33306 #endif
33309 main ()
33311 return f != $ac_func;
33313 return 0;
33315 _ACEOF
33316 rm -f conftest.$ac_objext conftest$ac_exeext
33317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33318 (eval $ac_link) 2>conftest.er1
33319 ac_status=$?
33320 grep -v '^ *+' conftest.er1 >conftest.err
33321 rm -f conftest.er1
33322 cat conftest.err >&5
33323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33324 (exit $ac_status); } &&
33325 { ac_try='test -z "$ac_c_werror_flag"
33326 || test ! -s conftest.err'
33327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33328 (eval $ac_try) 2>&5
33329 ac_status=$?
33330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33331 (exit $ac_status); }; } &&
33332 { ac_try='test -s conftest$ac_exeext'
33333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33334 (eval $ac_try) 2>&5
33335 ac_status=$?
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); }; }; then
33338 eval "$as_ac_var=yes"
33339 else
33340 echo "$as_me: failed program was:" >&5
33341 sed 's/^/| /' conftest.$ac_ext >&5
33343 eval "$as_ac_var=no"
33345 rm -f conftest.err conftest.$ac_objext \
33346 conftest$ac_exeext conftest.$ac_ext
33348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33350 if test `eval echo '${'$as_ac_var'}'` = yes; then
33351 cat >>confdefs.h <<_ACEOF
33352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33353 _ACEOF
33356 done
33358 else
33360 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33361 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33362 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33363 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33364 echo $ECHO_N "(cached) $ECHO_C" >&6
33365 else
33369 ac_ext=cc
33370 ac_cpp='$CXXCPP $CPPFLAGS'
33371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33375 cat >conftest.$ac_ext <<_ACEOF
33376 /* confdefs.h. */
33377 _ACEOF
33378 cat confdefs.h >>conftest.$ac_ext
33379 cat >>conftest.$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33381 #include <math.h>
33382 #ifdef HAVE_IEEEFP_H
33383 #include <ieeefp.h>
33384 #endif
33387 main ()
33389 _isnan(0);
33391 return 0;
33393 _ACEOF
33394 rm -f conftest.$ac_objext
33395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33396 (eval $ac_compile) 2>conftest.er1
33397 ac_status=$?
33398 grep -v '^ *+' conftest.er1 >conftest.err
33399 rm -f conftest.er1
33400 cat conftest.err >&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); } &&
33403 { ac_try='test -z "$ac_cxx_werror_flag"
33404 || test ! -s conftest.err'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33407 ac_status=$?
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; } &&
33410 { ac_try='test -s conftest.$ac_objext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33413 ac_status=$?
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33416 glibcxx_cv_func__isnan_use=yes
33417 else
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33421 glibcxx_cv_func__isnan_use=no
33423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33424 ac_ext=c
33425 ac_cpp='$CPP $CPPFLAGS'
33426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33435 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33437 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33439 for ac_func in _isnan
33441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33442 echo "$as_me:$LINENO: checking for $ac_func" >&5
33443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33444 if eval "test \"\${$as_ac_var+set}\" = set"; then
33445 echo $ECHO_N "(cached) $ECHO_C" >&6
33446 else
33447 if test x$gcc_no_link = xyes; then
33448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33450 { (exit 1); exit 1; }; }
33452 cat >conftest.$ac_ext <<_ACEOF
33453 /* confdefs.h. */
33454 _ACEOF
33455 cat confdefs.h >>conftest.$ac_ext
33456 cat >>conftest.$ac_ext <<_ACEOF
33457 /* end confdefs.h. */
33458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33460 #define $ac_func innocuous_$ac_func
33462 /* System header to define __stub macros and hopefully few prototypes,
33463 which can conflict with char $ac_func (); below.
33464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33465 <limits.h> exists even on freestanding compilers. */
33467 #ifdef __STDC__
33468 # include <limits.h>
33469 #else
33470 # include <assert.h>
33471 #endif
33473 #undef $ac_func
33475 /* Override any gcc2 internal prototype to avoid an error. */
33476 #ifdef __cplusplus
33477 extern "C"
33479 #endif
33480 /* We use char because int might match the return type of a gcc2
33481 builtin and then its argument prototype would still apply. */
33482 char $ac_func ();
33483 /* The GNU C library defines this for functions which it implements
33484 to always fail with ENOSYS. Some functions are actually named
33485 something starting with __ and the normal name is an alias. */
33486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33487 choke me
33488 #else
33489 char (*f) () = $ac_func;
33490 #endif
33491 #ifdef __cplusplus
33493 #endif
33496 main ()
33498 return f != $ac_func;
33500 return 0;
33502 _ACEOF
33503 rm -f conftest.$ac_objext conftest$ac_exeext
33504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33505 (eval $ac_link) 2>conftest.er1
33506 ac_status=$?
33507 grep -v '^ *+' conftest.er1 >conftest.err
33508 rm -f conftest.er1
33509 cat conftest.err >&5
33510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33511 (exit $ac_status); } &&
33512 { ac_try='test -z "$ac_c_werror_flag"
33513 || test ! -s conftest.err'
33514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 (eval $ac_try) 2>&5
33516 ac_status=$?
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); }; } &&
33519 { ac_try='test -s conftest$ac_exeext'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33522 ac_status=$?
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }; then
33525 eval "$as_ac_var=yes"
33526 else
33527 echo "$as_me: failed program was:" >&5
33528 sed 's/^/| /' conftest.$ac_ext >&5
33530 eval "$as_ac_var=no"
33532 rm -f conftest.err conftest.$ac_objext \
33533 conftest$ac_exeext conftest.$ac_ext
33535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33537 if test `eval echo '${'$as_ac_var'}'` = yes; then
33538 cat >>confdefs.h <<_ACEOF
33539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33540 _ACEOF
33543 done
33553 echo "$as_me:$LINENO: checking for finite declaration" >&5
33554 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33555 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33556 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33557 echo $ECHO_N "(cached) $ECHO_C" >&6
33558 else
33562 ac_ext=cc
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33568 cat >conftest.$ac_ext <<_ACEOF
33569 /* confdefs.h. */
33570 _ACEOF
33571 cat confdefs.h >>conftest.$ac_ext
33572 cat >>conftest.$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574 #include <math.h>
33575 #ifdef HAVE_IEEEFP_H
33576 #include <ieeefp.h>
33577 #endif
33580 main ()
33582 finite(0);
33584 return 0;
33586 _ACEOF
33587 rm -f conftest.$ac_objext
33588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33589 (eval $ac_compile) 2>conftest.er1
33590 ac_status=$?
33591 grep -v '^ *+' conftest.er1 >conftest.err
33592 rm -f conftest.er1
33593 cat conftest.err >&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); } &&
33596 { ac_try='test -z "$ac_cxx_werror_flag"
33597 || test ! -s conftest.err'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33600 ac_status=$?
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; } &&
33603 { ac_try='test -s conftest.$ac_objext'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; }; then
33609 glibcxx_cv_func_finite_use=yes
33610 else
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33614 glibcxx_cv_func_finite_use=no
33616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33617 ac_ext=c
33618 ac_cpp='$CPP $CPPFLAGS'
33619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33628 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33630 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33632 for ac_func in finite
33634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33635 echo "$as_me:$LINENO: checking for $ac_func" >&5
33636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33637 if eval "test \"\${$as_ac_var+set}\" = set"; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33639 else
33640 if test x$gcc_no_link = xyes; then
33641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33643 { (exit 1); exit 1; }; }
33645 cat >conftest.$ac_ext <<_ACEOF
33646 /* confdefs.h. */
33647 _ACEOF
33648 cat confdefs.h >>conftest.$ac_ext
33649 cat >>conftest.$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33653 #define $ac_func innocuous_$ac_func
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33660 #ifdef __STDC__
33661 # include <limits.h>
33662 #else
33663 # include <assert.h>
33664 #endif
33666 #undef $ac_func
33668 /* Override any gcc2 internal prototype to avoid an error. */
33669 #ifdef __cplusplus
33670 extern "C"
33672 #endif
33673 /* We use char because int might match the return type of a gcc2
33674 builtin and then its argument prototype would still apply. */
33675 char $ac_func ();
33676 /* The GNU C library defines this for functions which it implements
33677 to always fail with ENOSYS. Some functions are actually named
33678 something starting with __ and the normal name is an alias. */
33679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33680 choke me
33681 #else
33682 char (*f) () = $ac_func;
33683 #endif
33684 #ifdef __cplusplus
33686 #endif
33689 main ()
33691 return f != $ac_func;
33693 return 0;
33695 _ACEOF
33696 rm -f conftest.$ac_objext conftest$ac_exeext
33697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33698 (eval $ac_link) 2>conftest.er1
33699 ac_status=$?
33700 grep -v '^ *+' conftest.er1 >conftest.err
33701 rm -f conftest.er1
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } &&
33705 { ac_try='test -z "$ac_c_werror_flag"
33706 || test ! -s conftest.err'
33707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33708 (eval $ac_try) 2>&5
33709 ac_status=$?
33710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33711 (exit $ac_status); }; } &&
33712 { ac_try='test -s conftest$ac_exeext'
33713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33714 (eval $ac_try) 2>&5
33715 ac_status=$?
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); }; }; then
33718 eval "$as_ac_var=yes"
33719 else
33720 echo "$as_me: failed program was:" >&5
33721 sed 's/^/| /' conftest.$ac_ext >&5
33723 eval "$as_ac_var=no"
33725 rm -f conftest.err conftest.$ac_objext \
33726 conftest$ac_exeext conftest.$ac_ext
33728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33730 if test `eval echo '${'$as_ac_var'}'` = yes; then
33731 cat >>confdefs.h <<_ACEOF
33732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33733 _ACEOF
33736 done
33738 else
33740 echo "$as_me:$LINENO: checking for _finite declaration" >&5
33741 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
33742 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33743 if test "${glibcxx_cv_func__finite_use+set}" = set; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33745 else
33749 ac_ext=cc
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33755 cat >conftest.$ac_ext <<_ACEOF
33756 /* confdefs.h. */
33757 _ACEOF
33758 cat confdefs.h >>conftest.$ac_ext
33759 cat >>conftest.$ac_ext <<_ACEOF
33760 /* end confdefs.h. */
33761 #include <math.h>
33762 #ifdef HAVE_IEEEFP_H
33763 #include <ieeefp.h>
33764 #endif
33767 main ()
33769 _finite(0);
33771 return 0;
33773 _ACEOF
33774 rm -f conftest.$ac_objext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33776 (eval $ac_compile) 2>conftest.er1
33777 ac_status=$?
33778 grep -v '^ *+' conftest.er1 >conftest.err
33779 rm -f conftest.er1
33780 cat conftest.err >&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try='test -z "$ac_cxx_werror_flag"
33784 || test ! -s conftest.err'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; } &&
33790 { ac_try='test -s conftest.$ac_objext'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; }; then
33796 glibcxx_cv_func__finite_use=yes
33797 else
33798 echo "$as_me: failed program was:" >&5
33799 sed 's/^/| /' conftest.$ac_ext >&5
33801 glibcxx_cv_func__finite_use=no
33803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33804 ac_ext=c
33805 ac_cpp='$CPP $CPPFLAGS'
33806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33814 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
33815 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
33817 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33819 for ac_func in _finite
33821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33822 echo "$as_me:$LINENO: checking for $ac_func" >&5
33823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33824 if eval "test \"\${$as_ac_var+set}\" = set"; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 else
33827 if test x$gcc_no_link = xyes; then
33828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33830 { (exit 1); exit 1; }; }
33832 cat >conftest.$ac_ext <<_ACEOF
33833 /* confdefs.h. */
33834 _ACEOF
33835 cat confdefs.h >>conftest.$ac_ext
33836 cat >>conftest.$ac_ext <<_ACEOF
33837 /* end confdefs.h. */
33838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33840 #define $ac_func innocuous_$ac_func
33842 /* System header to define __stub macros and hopefully few prototypes,
33843 which can conflict with char $ac_func (); below.
33844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33845 <limits.h> exists even on freestanding compilers. */
33847 #ifdef __STDC__
33848 # include <limits.h>
33849 #else
33850 # include <assert.h>
33851 #endif
33853 #undef $ac_func
33855 /* Override any gcc2 internal prototype to avoid an error. */
33856 #ifdef __cplusplus
33857 extern "C"
33859 #endif
33860 /* We use char because int might match the return type of a gcc2
33861 builtin and then its argument prototype would still apply. */
33862 char $ac_func ();
33863 /* The GNU C library defines this for functions which it implements
33864 to always fail with ENOSYS. Some functions are actually named
33865 something starting with __ and the normal name is an alias. */
33866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33867 choke me
33868 #else
33869 char (*f) () = $ac_func;
33870 #endif
33871 #ifdef __cplusplus
33873 #endif
33876 main ()
33878 return f != $ac_func;
33880 return 0;
33882 _ACEOF
33883 rm -f conftest.$ac_objext conftest$ac_exeext
33884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33885 (eval $ac_link) 2>conftest.er1
33886 ac_status=$?
33887 grep -v '^ *+' conftest.er1 >conftest.err
33888 rm -f conftest.er1
33889 cat conftest.err >&5
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); } &&
33892 { ac_try='test -z "$ac_c_werror_flag"
33893 || test ! -s conftest.err'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33896 ac_status=$?
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; } &&
33899 { ac_try='test -s conftest$ac_exeext'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; }; then
33905 eval "$as_ac_var=yes"
33906 else
33907 echo "$as_me: failed program was:" >&5
33908 sed 's/^/| /' conftest.$ac_ext >&5
33910 eval "$as_ac_var=no"
33912 rm -f conftest.err conftest.$ac_objext \
33913 conftest$ac_exeext conftest.$ac_ext
33915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33917 if test `eval echo '${'$as_ac_var'}'` = yes; then
33918 cat >>confdefs.h <<_ACEOF
33919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33920 _ACEOF
33923 done
33933 echo "$as_me:$LINENO: checking for copysign declaration" >&5
33934 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
33935 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
33936 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 else
33942 ac_ext=cc
33943 ac_cpp='$CXXCPP $CPPFLAGS'
33944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33948 cat >conftest.$ac_ext <<_ACEOF
33949 /* confdefs.h. */
33950 _ACEOF
33951 cat confdefs.h >>conftest.$ac_ext
33952 cat >>conftest.$ac_ext <<_ACEOF
33953 /* end confdefs.h. */
33954 #include <math.h>
33956 main ()
33958 copysign(0, 0);
33960 return 0;
33962 _ACEOF
33963 rm -f conftest.$ac_objext
33964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33965 (eval $ac_compile) 2>conftest.er1
33966 ac_status=$?
33967 grep -v '^ *+' conftest.er1 >conftest.err
33968 rm -f conftest.er1
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } &&
33972 { ac_try='test -z "$ac_cxx_werror_flag"
33973 || test ! -s conftest.err'
33974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975 (eval $ac_try) 2>&5
33976 ac_status=$?
33977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978 (exit $ac_status); }; } &&
33979 { ac_try='test -s conftest.$ac_objext'
33980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33981 (eval $ac_try) 2>&5
33982 ac_status=$?
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); }; }; then
33985 glibcxx_cv_func_copysign_use=yes
33986 else
33987 echo "$as_me: failed program was:" >&5
33988 sed 's/^/| /' conftest.$ac_ext >&5
33990 glibcxx_cv_func_copysign_use=no
33992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33993 ac_ext=c
33994 ac_cpp='$CPP $CPPFLAGS'
33995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34004 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34006 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34008 for ac_func in copysign
34010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34011 echo "$as_me:$LINENO: checking for $ac_func" >&5
34012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34013 if eval "test \"\${$as_ac_var+set}\" = set"; then
34014 echo $ECHO_N "(cached) $ECHO_C" >&6
34015 else
34016 if test x$gcc_no_link = xyes; then
34017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34019 { (exit 1); exit 1; }; }
34021 cat >conftest.$ac_ext <<_ACEOF
34022 /* confdefs.h. */
34023 _ACEOF
34024 cat confdefs.h >>conftest.$ac_ext
34025 cat >>conftest.$ac_ext <<_ACEOF
34026 /* end confdefs.h. */
34027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34029 #define $ac_func innocuous_$ac_func
34031 /* System header to define __stub macros and hopefully few prototypes,
34032 which can conflict with char $ac_func (); below.
34033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34034 <limits.h> exists even on freestanding compilers. */
34036 #ifdef __STDC__
34037 # include <limits.h>
34038 #else
34039 # include <assert.h>
34040 #endif
34042 #undef $ac_func
34044 /* Override any gcc2 internal prototype to avoid an error. */
34045 #ifdef __cplusplus
34046 extern "C"
34048 #endif
34049 /* We use char because int might match the return type of a gcc2
34050 builtin and then its argument prototype would still apply. */
34051 char $ac_func ();
34052 /* The GNU C library defines this for functions which it implements
34053 to always fail with ENOSYS. Some functions are actually named
34054 something starting with __ and the normal name is an alias. */
34055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34056 choke me
34057 #else
34058 char (*f) () = $ac_func;
34059 #endif
34060 #ifdef __cplusplus
34062 #endif
34065 main ()
34067 return f != $ac_func;
34069 return 0;
34071 _ACEOF
34072 rm -f conftest.$ac_objext conftest$ac_exeext
34073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34074 (eval $ac_link) 2>conftest.er1
34075 ac_status=$?
34076 grep -v '^ *+' conftest.er1 >conftest.err
34077 rm -f conftest.er1
34078 cat conftest.err >&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } &&
34081 { ac_try='test -z "$ac_c_werror_flag"
34082 || test ! -s conftest.err'
34083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34084 (eval $ac_try) 2>&5
34085 ac_status=$?
34086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34087 (exit $ac_status); }; } &&
34088 { ac_try='test -s conftest$ac_exeext'
34089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34090 (eval $ac_try) 2>&5
34091 ac_status=$?
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); }; }; then
34094 eval "$as_ac_var=yes"
34095 else
34096 echo "$as_me: failed program was:" >&5
34097 sed 's/^/| /' conftest.$ac_ext >&5
34099 eval "$as_ac_var=no"
34101 rm -f conftest.err conftest.$ac_objext \
34102 conftest$ac_exeext conftest.$ac_ext
34104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34106 if test `eval echo '${'$as_ac_var'}'` = yes; then
34107 cat >>confdefs.h <<_ACEOF
34108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34109 _ACEOF
34112 done
34114 else
34116 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34117 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34118 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34119 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 else
34125 ac_ext=cc
34126 ac_cpp='$CXXCPP $CPPFLAGS'
34127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34131 cat >conftest.$ac_ext <<_ACEOF
34132 /* confdefs.h. */
34133 _ACEOF
34134 cat confdefs.h >>conftest.$ac_ext
34135 cat >>conftest.$ac_ext <<_ACEOF
34136 /* end confdefs.h. */
34137 #include <math.h>
34139 main ()
34141 _copysign(0, 0);
34143 return 0;
34145 _ACEOF
34146 rm -f conftest.$ac_objext
34147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34148 (eval $ac_compile) 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } &&
34155 { ac_try='test -z "$ac_cxx_werror_flag"
34156 || test ! -s conftest.err'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34159 ac_status=$?
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; } &&
34162 { ac_try='test -s conftest.$ac_objext'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34165 ac_status=$?
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; }; then
34168 glibcxx_cv_func__copysign_use=yes
34169 else
34170 echo "$as_me: failed program was:" >&5
34171 sed 's/^/| /' conftest.$ac_ext >&5
34173 glibcxx_cv_func__copysign_use=no
34175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34176 ac_ext=c
34177 ac_cpp='$CPP $CPPFLAGS'
34178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34187 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34189 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34191 for ac_func in _copysign
34193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34194 echo "$as_me:$LINENO: checking for $ac_func" >&5
34195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34196 if eval "test \"\${$as_ac_var+set}\" = set"; then
34197 echo $ECHO_N "(cached) $ECHO_C" >&6
34198 else
34199 if test x$gcc_no_link = xyes; then
34200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34202 { (exit 1); exit 1; }; }
34204 cat >conftest.$ac_ext <<_ACEOF
34205 /* confdefs.h. */
34206 _ACEOF
34207 cat confdefs.h >>conftest.$ac_ext
34208 cat >>conftest.$ac_ext <<_ACEOF
34209 /* end confdefs.h. */
34210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34212 #define $ac_func innocuous_$ac_func
34214 /* System header to define __stub macros and hopefully few prototypes,
34215 which can conflict with char $ac_func (); below.
34216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34217 <limits.h> exists even on freestanding compilers. */
34219 #ifdef __STDC__
34220 # include <limits.h>
34221 #else
34222 # include <assert.h>
34223 #endif
34225 #undef $ac_func
34227 /* Override any gcc2 internal prototype to avoid an error. */
34228 #ifdef __cplusplus
34229 extern "C"
34231 #endif
34232 /* We use char because int might match the return type of a gcc2
34233 builtin and then its argument prototype would still apply. */
34234 char $ac_func ();
34235 /* The GNU C library defines this for functions which it implements
34236 to always fail with ENOSYS. Some functions are actually named
34237 something starting with __ and the normal name is an alias. */
34238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34239 choke me
34240 #else
34241 char (*f) () = $ac_func;
34242 #endif
34243 #ifdef __cplusplus
34245 #endif
34248 main ()
34250 return f != $ac_func;
34252 return 0;
34254 _ACEOF
34255 rm -f conftest.$ac_objext conftest$ac_exeext
34256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34257 (eval $ac_link) 2>conftest.er1
34258 ac_status=$?
34259 grep -v '^ *+' conftest.er1 >conftest.err
34260 rm -f conftest.er1
34261 cat conftest.err >&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); } &&
34264 { ac_try='test -z "$ac_c_werror_flag"
34265 || test ! -s conftest.err'
34266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34267 (eval $ac_try) 2>&5
34268 ac_status=$?
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); }; } &&
34271 { ac_try='test -s conftest$ac_exeext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34274 ac_status=$?
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 eval "$as_ac_var=yes"
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34282 eval "$as_ac_var=no"
34284 rm -f conftest.err conftest.$ac_objext \
34285 conftest$ac_exeext conftest.$ac_ext
34287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34289 if test `eval echo '${'$as_ac_var'}'` = yes; then
34290 cat >>confdefs.h <<_ACEOF
34291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34292 _ACEOF
34295 done
34305 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34306 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34307 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34308 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34309 echo $ECHO_N "(cached) $ECHO_C" >&6
34310 else
34314 ac_ext=cc
34315 ac_cpp='$CXXCPP $CPPFLAGS'
34316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34320 cat >conftest.$ac_ext <<_ACEOF
34321 /* confdefs.h. */
34322 _ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326 #include <math.h>
34328 main ()
34330 sincos(0, 0, 0);
34332 return 0;
34334 _ACEOF
34335 rm -f conftest.$ac_objext
34336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34337 (eval $ac_compile) 2>conftest.er1
34338 ac_status=$?
34339 grep -v '^ *+' conftest.er1 >conftest.err
34340 rm -f conftest.er1
34341 cat conftest.err >&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); } &&
34344 { ac_try='test -z "$ac_cxx_werror_flag"
34345 || test ! -s conftest.err'
34346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347 (eval $ac_try) 2>&5
34348 ac_status=$?
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); }; } &&
34351 { ac_try='test -s conftest.$ac_objext'
34352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34353 (eval $ac_try) 2>&5
34354 ac_status=$?
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); }; }; then
34357 glibcxx_cv_func_sincos_use=yes
34358 else
34359 echo "$as_me: failed program was:" >&5
34360 sed 's/^/| /' conftest.$ac_ext >&5
34362 glibcxx_cv_func_sincos_use=no
34364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34365 ac_ext=c
34366 ac_cpp='$CPP $CPPFLAGS'
34367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34376 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34378 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34380 for ac_func in sincos
34382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34383 echo "$as_me:$LINENO: checking for $ac_func" >&5
34384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34385 if eval "test \"\${$as_ac_var+set}\" = set"; then
34386 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 else
34388 if test x$gcc_no_link = xyes; then
34389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34391 { (exit 1); exit 1; }; }
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34401 #define $ac_func innocuous_$ac_func
34403 /* System header to define __stub macros and hopefully few prototypes,
34404 which can conflict with char $ac_func (); below.
34405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34406 <limits.h> exists even on freestanding compilers. */
34408 #ifdef __STDC__
34409 # include <limits.h>
34410 #else
34411 # include <assert.h>
34412 #endif
34414 #undef $ac_func
34416 /* Override any gcc2 internal prototype to avoid an error. */
34417 #ifdef __cplusplus
34418 extern "C"
34420 #endif
34421 /* We use char because int might match the return type of a gcc2
34422 builtin and then its argument prototype would still apply. */
34423 char $ac_func ();
34424 /* The GNU C library defines this for functions which it implements
34425 to always fail with ENOSYS. Some functions are actually named
34426 something starting with __ and the normal name is an alias. */
34427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34428 choke me
34429 #else
34430 char (*f) () = $ac_func;
34431 #endif
34432 #ifdef __cplusplus
34434 #endif
34437 main ()
34439 return f != $ac_func;
34441 return 0;
34443 _ACEOF
34444 rm -f conftest.$ac_objext conftest$ac_exeext
34445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34446 (eval $ac_link) 2>conftest.er1
34447 ac_status=$?
34448 grep -v '^ *+' conftest.er1 >conftest.err
34449 rm -f conftest.er1
34450 cat conftest.err >&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); } &&
34453 { ac_try='test -z "$ac_c_werror_flag"
34454 || test ! -s conftest.err'
34455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34456 (eval $ac_try) 2>&5
34457 ac_status=$?
34458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34459 (exit $ac_status); }; } &&
34460 { ac_try='test -s conftest$ac_exeext'
34461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462 (eval $ac_try) 2>&5
34463 ac_status=$?
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); }; }; then
34466 eval "$as_ac_var=yes"
34467 else
34468 echo "$as_me: failed program was:" >&5
34469 sed 's/^/| /' conftest.$ac_ext >&5
34471 eval "$as_ac_var=no"
34473 rm -f conftest.err conftest.$ac_objext \
34474 conftest$ac_exeext conftest.$ac_ext
34476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34478 if test `eval echo '${'$as_ac_var'}'` = yes; then
34479 cat >>confdefs.h <<_ACEOF
34480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34481 _ACEOF
34484 done
34486 else
34488 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34489 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34490 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34491 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 else
34497 ac_ext=cc
34498 ac_cpp='$CXXCPP $CPPFLAGS'
34499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34503 cat >conftest.$ac_ext <<_ACEOF
34504 /* confdefs.h. */
34505 _ACEOF
34506 cat confdefs.h >>conftest.$ac_ext
34507 cat >>conftest.$ac_ext <<_ACEOF
34508 /* end confdefs.h. */
34509 #include <math.h>
34511 main ()
34513 _sincos(0, 0, 0);
34515 return 0;
34517 _ACEOF
34518 rm -f conftest.$ac_objext
34519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34520 (eval $ac_compile) 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } &&
34527 { ac_try='test -z "$ac_cxx_werror_flag"
34528 || test ! -s conftest.err'
34529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530 (eval $ac_try) 2>&5
34531 ac_status=$?
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); }; } &&
34534 { ac_try='test -s conftest.$ac_objext'
34535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34536 (eval $ac_try) 2>&5
34537 ac_status=$?
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); }; }; then
34540 glibcxx_cv_func__sincos_use=yes
34541 else
34542 echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34545 glibcxx_cv_func__sincos_use=no
34547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34548 ac_ext=c
34549 ac_cpp='$CPP $CPPFLAGS'
34550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34559 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34561 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34563 for ac_func in _sincos
34565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34566 echo "$as_me:$LINENO: checking for $ac_func" >&5
34567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34568 if eval "test \"\${$as_ac_var+set}\" = set"; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 else
34571 if test x$gcc_no_link = xyes; then
34572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34574 { (exit 1); exit 1; }; }
34576 cat >conftest.$ac_ext <<_ACEOF
34577 /* confdefs.h. */
34578 _ACEOF
34579 cat confdefs.h >>conftest.$ac_ext
34580 cat >>conftest.$ac_ext <<_ACEOF
34581 /* end confdefs.h. */
34582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34584 #define $ac_func innocuous_$ac_func
34586 /* System header to define __stub macros and hopefully few prototypes,
34587 which can conflict with char $ac_func (); below.
34588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34589 <limits.h> exists even on freestanding compilers. */
34591 #ifdef __STDC__
34592 # include <limits.h>
34593 #else
34594 # include <assert.h>
34595 #endif
34597 #undef $ac_func
34599 /* Override any gcc2 internal prototype to avoid an error. */
34600 #ifdef __cplusplus
34601 extern "C"
34603 #endif
34604 /* We use char because int might match the return type of a gcc2
34605 builtin and then its argument prototype would still apply. */
34606 char $ac_func ();
34607 /* The GNU C library defines this for functions which it implements
34608 to always fail with ENOSYS. Some functions are actually named
34609 something starting with __ and the normal name is an alias. */
34610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34611 choke me
34612 #else
34613 char (*f) () = $ac_func;
34614 #endif
34615 #ifdef __cplusplus
34617 #endif
34620 main ()
34622 return f != $ac_func;
34624 return 0;
34626 _ACEOF
34627 rm -f conftest.$ac_objext conftest$ac_exeext
34628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34629 (eval $ac_link) 2>conftest.er1
34630 ac_status=$?
34631 grep -v '^ *+' conftest.er1 >conftest.err
34632 rm -f conftest.er1
34633 cat conftest.err >&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } &&
34636 { ac_try='test -z "$ac_c_werror_flag"
34637 || test ! -s conftest.err'
34638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34639 (eval $ac_try) 2>&5
34640 ac_status=$?
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); }; } &&
34643 { ac_try='test -s conftest$ac_exeext'
34644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34645 (eval $ac_try) 2>&5
34646 ac_status=$?
34647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34648 (exit $ac_status); }; }; then
34649 eval "$as_ac_var=yes"
34650 else
34651 echo "$as_me: failed program was:" >&5
34652 sed 's/^/| /' conftest.$ac_ext >&5
34654 eval "$as_ac_var=no"
34656 rm -f conftest.err conftest.$ac_objext \
34657 conftest$ac_exeext conftest.$ac_ext
34659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34661 if test `eval echo '${'$as_ac_var'}'` = yes; then
34662 cat >>confdefs.h <<_ACEOF
34663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34664 _ACEOF
34667 done
34677 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34678 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34679 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34680 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34681 echo $ECHO_N "(cached) $ECHO_C" >&6
34682 else
34686 ac_ext=cc
34687 ac_cpp='$CXXCPP $CPPFLAGS'
34688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 #include <math.h>
34699 #ifdef HAVE_IEEEFP_H
34700 #include <ieeefp.h>
34701 #endif
34704 main ()
34706 fpclass(0);
34708 return 0;
34710 _ACEOF
34711 rm -f conftest.$ac_objext
34712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34713 (eval $ac_compile) 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } &&
34720 { ac_try='test -z "$ac_cxx_werror_flag"
34721 || test ! -s conftest.err'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34724 ac_status=$?
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; } &&
34727 { ac_try='test -s conftest.$ac_objext'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34730 ac_status=$?
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; }; then
34733 glibcxx_cv_func_fpclass_use=yes
34734 else
34735 echo "$as_me: failed program was:" >&5
34736 sed 's/^/| /' conftest.$ac_ext >&5
34738 glibcxx_cv_func_fpclass_use=no
34740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34741 ac_ext=c
34742 ac_cpp='$CPP $CPPFLAGS'
34743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
34752 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
34754 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34756 for ac_func in fpclass
34758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34759 echo "$as_me:$LINENO: checking for $ac_func" >&5
34760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34761 if eval "test \"\${$as_ac_var+set}\" = set"; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 else
34764 if test x$gcc_no_link = xyes; then
34765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34767 { (exit 1); exit 1; }; }
34769 cat >conftest.$ac_ext <<_ACEOF
34770 /* confdefs.h. */
34771 _ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34777 #define $ac_func innocuous_$ac_func
34779 /* System header to define __stub macros and hopefully few prototypes,
34780 which can conflict with char $ac_func (); below.
34781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34782 <limits.h> exists even on freestanding compilers. */
34784 #ifdef __STDC__
34785 # include <limits.h>
34786 #else
34787 # include <assert.h>
34788 #endif
34790 #undef $ac_func
34792 /* Override any gcc2 internal prototype to avoid an error. */
34793 #ifdef __cplusplus
34794 extern "C"
34796 #endif
34797 /* We use char because int might match the return type of a gcc2
34798 builtin and then its argument prototype would still apply. */
34799 char $ac_func ();
34800 /* The GNU C library defines this for functions which it implements
34801 to always fail with ENOSYS. Some functions are actually named
34802 something starting with __ and the normal name is an alias. */
34803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34804 choke me
34805 #else
34806 char (*f) () = $ac_func;
34807 #endif
34808 #ifdef __cplusplus
34810 #endif
34813 main ()
34815 return f != $ac_func;
34817 return 0;
34819 _ACEOF
34820 rm -f conftest.$ac_objext conftest$ac_exeext
34821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34822 (eval $ac_link) 2>conftest.er1
34823 ac_status=$?
34824 grep -v '^ *+' conftest.er1 >conftest.err
34825 rm -f conftest.er1
34826 cat conftest.err >&5
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); } &&
34829 { ac_try='test -z "$ac_c_werror_flag"
34830 || test ! -s conftest.err'
34831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34832 (eval $ac_try) 2>&5
34833 ac_status=$?
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); }; } &&
34836 { ac_try='test -s conftest$ac_exeext'
34837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34838 (eval $ac_try) 2>&5
34839 ac_status=$?
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); }; }; then
34842 eval "$as_ac_var=yes"
34843 else
34844 echo "$as_me: failed program was:" >&5
34845 sed 's/^/| /' conftest.$ac_ext >&5
34847 eval "$as_ac_var=no"
34849 rm -f conftest.err conftest.$ac_objext \
34850 conftest$ac_exeext conftest.$ac_ext
34852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34854 if test `eval echo '${'$as_ac_var'}'` = yes; then
34855 cat >>confdefs.h <<_ACEOF
34856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34857 _ACEOF
34860 done
34862 else
34864 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
34865 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
34866 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34867 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
34868 echo $ECHO_N "(cached) $ECHO_C" >&6
34869 else
34873 ac_ext=cc
34874 ac_cpp='$CXXCPP $CPPFLAGS'
34875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879 cat >conftest.$ac_ext <<_ACEOF
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 #include <math.h>
34886 #ifdef HAVE_IEEEFP_H
34887 #include <ieeefp.h>
34888 #endif
34891 main ()
34893 _fpclass(0);
34895 return 0;
34897 _ACEOF
34898 rm -f conftest.$ac_objext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34900 (eval $ac_compile) 2>conftest.er1
34901 ac_status=$?
34902 grep -v '^ *+' conftest.er1 >conftest.err
34903 rm -f conftest.er1
34904 cat conftest.err >&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try='test -z "$ac_cxx_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest.$ac_objext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 glibcxx_cv_func__fpclass_use=yes
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34925 glibcxx_cv_func__fpclass_use=no
34927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34928 ac_ext=c
34929 ac_cpp='$CPP $CPPFLAGS'
34930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
34939 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
34941 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34943 for ac_func in _fpclass
34945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34946 echo "$as_me:$LINENO: checking for $ac_func" >&5
34947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34948 if eval "test \"\${$as_ac_var+set}\" = set"; then
34949 echo $ECHO_N "(cached) $ECHO_C" >&6
34950 else
34951 if test x$gcc_no_link = xyes; then
34952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34954 { (exit 1); exit 1; }; }
34956 cat >conftest.$ac_ext <<_ACEOF
34957 /* confdefs.h. */
34958 _ACEOF
34959 cat confdefs.h >>conftest.$ac_ext
34960 cat >>conftest.$ac_ext <<_ACEOF
34961 /* end confdefs.h. */
34962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34964 #define $ac_func innocuous_$ac_func
34966 /* System header to define __stub macros and hopefully few prototypes,
34967 which can conflict with char $ac_func (); below.
34968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34969 <limits.h> exists even on freestanding compilers. */
34971 #ifdef __STDC__
34972 # include <limits.h>
34973 #else
34974 # include <assert.h>
34975 #endif
34977 #undef $ac_func
34979 /* Override any gcc2 internal prototype to avoid an error. */
34980 #ifdef __cplusplus
34981 extern "C"
34983 #endif
34984 /* We use char because int might match the return type of a gcc2
34985 builtin and then its argument prototype would still apply. */
34986 char $ac_func ();
34987 /* The GNU C library defines this for functions which it implements
34988 to always fail with ENOSYS. Some functions are actually named
34989 something starting with __ and the normal name is an alias. */
34990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34991 choke me
34992 #else
34993 char (*f) () = $ac_func;
34994 #endif
34995 #ifdef __cplusplus
34997 #endif
35000 main ()
35002 return f != $ac_func;
35004 return 0;
35006 _ACEOF
35007 rm -f conftest.$ac_objext conftest$ac_exeext
35008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35009 (eval $ac_link) 2>conftest.er1
35010 ac_status=$?
35011 grep -v '^ *+' conftest.er1 >conftest.err
35012 rm -f conftest.er1
35013 cat conftest.err >&5
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); } &&
35016 { ac_try='test -z "$ac_c_werror_flag"
35017 || test ! -s conftest.err'
35018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35019 (eval $ac_try) 2>&5
35020 ac_status=$?
35021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35022 (exit $ac_status); }; } &&
35023 { ac_try='test -s conftest$ac_exeext'
35024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35025 (eval $ac_try) 2>&5
35026 ac_status=$?
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); }; }; then
35029 eval "$as_ac_var=yes"
35030 else
35031 echo "$as_me: failed program was:" >&5
35032 sed 's/^/| /' conftest.$ac_ext >&5
35034 eval "$as_ac_var=no"
35036 rm -f conftest.err conftest.$ac_objext \
35037 conftest$ac_exeext conftest.$ac_ext
35039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35041 if test `eval echo '${'$as_ac_var'}'` = yes; then
35042 cat >>confdefs.h <<_ACEOF
35043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35044 _ACEOF
35047 done
35057 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35058 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35059 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35060 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 else
35066 ac_ext=cc
35067 ac_cpp='$CXXCPP $CPPFLAGS'
35068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35072 cat >conftest.$ac_ext <<_ACEOF
35073 /* confdefs.h. */
35074 _ACEOF
35075 cat confdefs.h >>conftest.$ac_ext
35076 cat >>conftest.$ac_ext <<_ACEOF
35077 /* end confdefs.h. */
35078 #include <math.h>
35079 #ifdef HAVE_IEEEFP_H
35080 #include <ieeefp.h>
35081 #endif
35084 main ()
35086 qfpclass(0);
35088 return 0;
35090 _ACEOF
35091 rm -f conftest.$ac_objext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35093 (eval $ac_compile) 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try='test -z "$ac_cxx_werror_flag"
35101 || test ! -s conftest.err'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; } &&
35107 { ac_try='test -s conftest.$ac_objext'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35110 ac_status=$?
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; }; then
35113 glibcxx_cv_func_qfpclass_use=yes
35114 else
35115 echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.$ac_ext >&5
35118 glibcxx_cv_func_qfpclass_use=no
35120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35121 ac_ext=c
35122 ac_cpp='$CPP $CPPFLAGS'
35123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35131 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35132 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35134 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35136 for ac_func in qfpclass
35138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35139 echo "$as_me:$LINENO: checking for $ac_func" >&5
35140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35141 if eval "test \"\${$as_ac_var+set}\" = set"; then
35142 echo $ECHO_N "(cached) $ECHO_C" >&6
35143 else
35144 if test x$gcc_no_link = xyes; then
35145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35147 { (exit 1); exit 1; }; }
35149 cat >conftest.$ac_ext <<_ACEOF
35150 /* confdefs.h. */
35151 _ACEOF
35152 cat confdefs.h >>conftest.$ac_ext
35153 cat >>conftest.$ac_ext <<_ACEOF
35154 /* end confdefs.h. */
35155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35157 #define $ac_func innocuous_$ac_func
35159 /* System header to define __stub macros and hopefully few prototypes,
35160 which can conflict with char $ac_func (); below.
35161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35162 <limits.h> exists even on freestanding compilers. */
35164 #ifdef __STDC__
35165 # include <limits.h>
35166 #else
35167 # include <assert.h>
35168 #endif
35170 #undef $ac_func
35172 /* Override any gcc2 internal prototype to avoid an error. */
35173 #ifdef __cplusplus
35174 extern "C"
35176 #endif
35177 /* We use char because int might match the return type of a gcc2
35178 builtin and then its argument prototype would still apply. */
35179 char $ac_func ();
35180 /* The GNU C library defines this for functions which it implements
35181 to always fail with ENOSYS. Some functions are actually named
35182 something starting with __ and the normal name is an alias. */
35183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35184 choke me
35185 #else
35186 char (*f) () = $ac_func;
35187 #endif
35188 #ifdef __cplusplus
35190 #endif
35193 main ()
35195 return f != $ac_func;
35197 return 0;
35199 _ACEOF
35200 rm -f conftest.$ac_objext conftest$ac_exeext
35201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35202 (eval $ac_link) 2>conftest.er1
35203 ac_status=$?
35204 grep -v '^ *+' conftest.er1 >conftest.err
35205 rm -f conftest.er1
35206 cat conftest.err >&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } &&
35209 { ac_try='test -z "$ac_c_werror_flag"
35210 || test ! -s conftest.err'
35211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35212 (eval $ac_try) 2>&5
35213 ac_status=$?
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); }; } &&
35216 { ac_try='test -s conftest$ac_exeext'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35219 ac_status=$?
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; }; then
35222 eval "$as_ac_var=yes"
35223 else
35224 echo "$as_me: failed program was:" >&5
35225 sed 's/^/| /' conftest.$ac_ext >&5
35227 eval "$as_ac_var=no"
35229 rm -f conftest.err conftest.$ac_objext \
35230 conftest$ac_exeext conftest.$ac_ext
35232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35234 if test `eval echo '${'$as_ac_var'}'` = yes; then
35235 cat >>confdefs.h <<_ACEOF
35236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35237 _ACEOF
35240 done
35242 else
35244 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35245 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35246 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35247 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 else
35253 ac_ext=cc
35254 ac_cpp='$CXXCPP $CPPFLAGS'
35255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35259 cat >conftest.$ac_ext <<_ACEOF
35260 /* confdefs.h. */
35261 _ACEOF
35262 cat confdefs.h >>conftest.$ac_ext
35263 cat >>conftest.$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35265 #include <math.h>
35266 #ifdef HAVE_IEEEFP_H
35267 #include <ieeefp.h>
35268 #endif
35271 main ()
35273 _qfpclass(0);
35275 return 0;
35277 _ACEOF
35278 rm -f conftest.$ac_objext
35279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35280 (eval $ac_compile) 2>conftest.er1
35281 ac_status=$?
35282 grep -v '^ *+' conftest.er1 >conftest.err
35283 rm -f conftest.er1
35284 cat conftest.err >&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); } &&
35287 { ac_try='test -z "$ac_cxx_werror_flag"
35288 || test ! -s conftest.err'
35289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35290 (eval $ac_try) 2>&5
35291 ac_status=$?
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); }; } &&
35294 { ac_try='test -s conftest.$ac_objext'
35295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35296 (eval $ac_try) 2>&5
35297 ac_status=$?
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); }; }; then
35300 glibcxx_cv_func__qfpclass_use=yes
35301 else
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.$ac_ext >&5
35305 glibcxx_cv_func__qfpclass_use=no
35307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35308 ac_ext=c
35309 ac_cpp='$CPP $CPPFLAGS'
35310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35318 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35319 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35321 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35323 for ac_func in _qfpclass
35325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35326 echo "$as_me:$LINENO: checking for $ac_func" >&5
35327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35328 if eval "test \"\${$as_ac_var+set}\" = set"; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 else
35331 if test x$gcc_no_link = xyes; then
35332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35334 { (exit 1); exit 1; }; }
35336 cat >conftest.$ac_ext <<_ACEOF
35337 /* confdefs.h. */
35338 _ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35344 #define $ac_func innocuous_$ac_func
35346 /* System header to define __stub macros and hopefully few prototypes,
35347 which can conflict with char $ac_func (); below.
35348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35349 <limits.h> exists even on freestanding compilers. */
35351 #ifdef __STDC__
35352 # include <limits.h>
35353 #else
35354 # include <assert.h>
35355 #endif
35357 #undef $ac_func
35359 /* Override any gcc2 internal prototype to avoid an error. */
35360 #ifdef __cplusplus
35361 extern "C"
35363 #endif
35364 /* We use char because int might match the return type of a gcc2
35365 builtin and then its argument prototype would still apply. */
35366 char $ac_func ();
35367 /* The GNU C library defines this for functions which it implements
35368 to always fail with ENOSYS. Some functions are actually named
35369 something starting with __ and the normal name is an alias. */
35370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35371 choke me
35372 #else
35373 char (*f) () = $ac_func;
35374 #endif
35375 #ifdef __cplusplus
35377 #endif
35380 main ()
35382 return f != $ac_func;
35384 return 0;
35386 _ACEOF
35387 rm -f conftest.$ac_objext conftest$ac_exeext
35388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35389 (eval $ac_link) 2>conftest.er1
35390 ac_status=$?
35391 grep -v '^ *+' conftest.er1 >conftest.err
35392 rm -f conftest.er1
35393 cat conftest.err >&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); } &&
35396 { ac_try='test -z "$ac_c_werror_flag"
35397 || test ! -s conftest.err'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35400 ac_status=$?
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; } &&
35403 { ac_try='test -s conftest$ac_exeext'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35406 ac_status=$?
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; }; then
35409 eval "$as_ac_var=yes"
35410 else
35411 echo "$as_me: failed program was:" >&5
35412 sed 's/^/| /' conftest.$ac_ext >&5
35414 eval "$as_ac_var=no"
35416 rm -f conftest.err conftest.$ac_objext \
35417 conftest$ac_exeext conftest.$ac_ext
35419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35421 if test `eval echo '${'$as_ac_var'}'` = yes; then
35422 cat >>confdefs.h <<_ACEOF
35423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35424 _ACEOF
35427 done
35437 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35438 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35439 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35440 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 else
35446 ac_ext=cc
35447 ac_cpp='$CXXCPP $CPPFLAGS'
35448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35452 cat >conftest.$ac_ext <<_ACEOF
35453 /* confdefs.h. */
35454 _ACEOF
35455 cat confdefs.h >>conftest.$ac_ext
35456 cat >>conftest.$ac_ext <<_ACEOF
35457 /* end confdefs.h. */
35458 #include <math.h>
35460 main ()
35462 hypot(0, 0);
35464 return 0;
35466 _ACEOF
35467 rm -f conftest.$ac_objext
35468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35469 (eval $ac_compile) 2>conftest.er1
35470 ac_status=$?
35471 grep -v '^ *+' conftest.er1 >conftest.err
35472 rm -f conftest.er1
35473 cat conftest.err >&5
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); } &&
35476 { ac_try='test -z "$ac_cxx_werror_flag"
35477 || test ! -s conftest.err'
35478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35479 (eval $ac_try) 2>&5
35480 ac_status=$?
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); }; } &&
35483 { ac_try='test -s conftest.$ac_objext'
35484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35485 (eval $ac_try) 2>&5
35486 ac_status=$?
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); }; }; then
35489 glibcxx_cv_func_hypot_use=yes
35490 else
35491 echo "$as_me: failed program was:" >&5
35492 sed 's/^/| /' conftest.$ac_ext >&5
35494 glibcxx_cv_func_hypot_use=no
35496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35497 ac_ext=c
35498 ac_cpp='$CPP $CPPFLAGS'
35499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35508 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35510 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35512 for ac_func in hypot
35514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35515 echo "$as_me:$LINENO: checking for $ac_func" >&5
35516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35517 if eval "test \"\${$as_ac_var+set}\" = set"; then
35518 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 else
35520 if test x$gcc_no_link = xyes; then
35521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35523 { (exit 1); exit 1; }; }
35525 cat >conftest.$ac_ext <<_ACEOF
35526 /* confdefs.h. */
35527 _ACEOF
35528 cat confdefs.h >>conftest.$ac_ext
35529 cat >>conftest.$ac_ext <<_ACEOF
35530 /* end confdefs.h. */
35531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35533 #define $ac_func innocuous_$ac_func
35535 /* System header to define __stub macros and hopefully few prototypes,
35536 which can conflict with char $ac_func (); below.
35537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35538 <limits.h> exists even on freestanding compilers. */
35540 #ifdef __STDC__
35541 # include <limits.h>
35542 #else
35543 # include <assert.h>
35544 #endif
35546 #undef $ac_func
35548 /* Override any gcc2 internal prototype to avoid an error. */
35549 #ifdef __cplusplus
35550 extern "C"
35552 #endif
35553 /* We use char because int might match the return type of a gcc2
35554 builtin and then its argument prototype would still apply. */
35555 char $ac_func ();
35556 /* The GNU C library defines this for functions which it implements
35557 to always fail with ENOSYS. Some functions are actually named
35558 something starting with __ and the normal name is an alias. */
35559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35560 choke me
35561 #else
35562 char (*f) () = $ac_func;
35563 #endif
35564 #ifdef __cplusplus
35566 #endif
35569 main ()
35571 return f != $ac_func;
35573 return 0;
35575 _ACEOF
35576 rm -f conftest.$ac_objext conftest$ac_exeext
35577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35578 (eval $ac_link) 2>conftest.er1
35579 ac_status=$?
35580 grep -v '^ *+' conftest.er1 >conftest.err
35581 rm -f conftest.er1
35582 cat conftest.err >&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } &&
35585 { ac_try='test -z "$ac_c_werror_flag"
35586 || test ! -s conftest.err'
35587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588 (eval $ac_try) 2>&5
35589 ac_status=$?
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; } &&
35592 { ac_try='test -s conftest$ac_exeext'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35595 ac_status=$?
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; }; then
35598 eval "$as_ac_var=yes"
35599 else
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.$ac_ext >&5
35603 eval "$as_ac_var=no"
35605 rm -f conftest.err conftest.$ac_objext \
35606 conftest$ac_exeext conftest.$ac_ext
35608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35610 if test `eval echo '${'$as_ac_var'}'` = yes; then
35611 cat >>confdefs.h <<_ACEOF
35612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35613 _ACEOF
35616 done
35618 else
35620 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35621 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35622 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35623 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 else
35629 ac_ext=cc
35630 ac_cpp='$CXXCPP $CPPFLAGS'
35631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35635 cat >conftest.$ac_ext <<_ACEOF
35636 /* confdefs.h. */
35637 _ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35641 #include <math.h>
35643 main ()
35645 _hypot(0, 0);
35647 return 0;
35649 _ACEOF
35650 rm -f conftest.$ac_objext
35651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35652 (eval $ac_compile) 2>conftest.er1
35653 ac_status=$?
35654 grep -v '^ *+' conftest.er1 >conftest.err
35655 rm -f conftest.er1
35656 cat conftest.err >&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } &&
35659 { ac_try='test -z "$ac_cxx_werror_flag"
35660 || test ! -s conftest.err'
35661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662 (eval $ac_try) 2>&5
35663 ac_status=$?
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); }; } &&
35666 { ac_try='test -s conftest.$ac_objext'
35667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668 (eval $ac_try) 2>&5
35669 ac_status=$?
35670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671 (exit $ac_status); }; }; then
35672 glibcxx_cv_func__hypot_use=yes
35673 else
35674 echo "$as_me: failed program was:" >&5
35675 sed 's/^/| /' conftest.$ac_ext >&5
35677 glibcxx_cv_func__hypot_use=no
35679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35680 ac_ext=c
35681 ac_cpp='$CPP $CPPFLAGS'
35682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35691 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35693 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35695 for ac_func in _hypot
35697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35698 echo "$as_me:$LINENO: checking for $ac_func" >&5
35699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35700 if eval "test \"\${$as_ac_var+set}\" = set"; then
35701 echo $ECHO_N "(cached) $ECHO_C" >&6
35702 else
35703 if test x$gcc_no_link = xyes; then
35704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35706 { (exit 1); exit 1; }; }
35708 cat >conftest.$ac_ext <<_ACEOF
35709 /* confdefs.h. */
35710 _ACEOF
35711 cat confdefs.h >>conftest.$ac_ext
35712 cat >>conftest.$ac_ext <<_ACEOF
35713 /* end confdefs.h. */
35714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35716 #define $ac_func innocuous_$ac_func
35718 /* System header to define __stub macros and hopefully few prototypes,
35719 which can conflict with char $ac_func (); below.
35720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35721 <limits.h> exists even on freestanding compilers. */
35723 #ifdef __STDC__
35724 # include <limits.h>
35725 #else
35726 # include <assert.h>
35727 #endif
35729 #undef $ac_func
35731 /* Override any gcc2 internal prototype to avoid an error. */
35732 #ifdef __cplusplus
35733 extern "C"
35735 #endif
35736 /* We use char because int might match the return type of a gcc2
35737 builtin and then its argument prototype would still apply. */
35738 char $ac_func ();
35739 /* The GNU C library defines this for functions which it implements
35740 to always fail with ENOSYS. Some functions are actually named
35741 something starting with __ and the normal name is an alias. */
35742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35743 choke me
35744 #else
35745 char (*f) () = $ac_func;
35746 #endif
35747 #ifdef __cplusplus
35749 #endif
35752 main ()
35754 return f != $ac_func;
35756 return 0;
35758 _ACEOF
35759 rm -f conftest.$ac_objext conftest$ac_exeext
35760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35761 (eval $ac_link) 2>conftest.er1
35762 ac_status=$?
35763 grep -v '^ *+' conftest.er1 >conftest.err
35764 rm -f conftest.er1
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } &&
35768 { ac_try='test -z "$ac_c_werror_flag"
35769 || test ! -s conftest.err'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35772 ac_status=$?
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; } &&
35775 { ac_try='test -s conftest$ac_exeext'
35776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35777 (eval $ac_try) 2>&5
35778 ac_status=$?
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); }; }; then
35781 eval "$as_ac_var=yes"
35782 else
35783 echo "$as_me: failed program was:" >&5
35784 sed 's/^/| /' conftest.$ac_ext >&5
35786 eval "$as_ac_var=no"
35788 rm -f conftest.err conftest.$ac_objext \
35789 conftest$ac_exeext conftest.$ac_ext
35791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35793 if test `eval echo '${'$as_ac_var'}'` = yes; then
35794 cat >>confdefs.h <<_ACEOF
35795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35796 _ACEOF
35799 done
35809 echo "$as_me:$LINENO: checking for float trig functions" >&5
35810 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
35811 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35817 ac_ext=cc
35818 ac_cpp='$CXXCPP $CPPFLAGS'
35819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35823 cat >conftest.$ac_ext <<_ACEOF
35824 /* confdefs.h. */
35825 _ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 #include <math.h>
35831 main ()
35833 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35835 return 0;
35837 _ACEOF
35838 rm -f conftest.$ac_objext
35839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35840 (eval $ac_compile) 2>conftest.er1
35841 ac_status=$?
35842 grep -v '^ *+' conftest.er1 >conftest.err
35843 rm -f conftest.er1
35844 cat conftest.err >&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); } &&
35847 { ac_try='test -z "$ac_cxx_werror_flag"
35848 || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35851 ac_status=$?
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try='test -s conftest.$ac_objext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 glibcxx_cv_func_float_trig_use=yes
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35865 glibcxx_cv_func_float_trig_use=no
35867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35868 ac_ext=c
35869 ac_cpp='$CPP $CPPFLAGS'
35870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
35877 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
35878 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35888 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35891 echo "$as_me:$LINENO: checking for $ac_func" >&5
35892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35893 if eval "test \"\${$as_ac_var+set}\" = set"; then
35894 echo $ECHO_N "(cached) $ECHO_C" >&6
35895 else
35896 if test x$gcc_no_link = xyes; then
35897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35899 { (exit 1); exit 1; }; }
35901 cat >conftest.$ac_ext <<_ACEOF
35902 /* confdefs.h. */
35903 _ACEOF
35904 cat confdefs.h >>conftest.$ac_ext
35905 cat >>conftest.$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35909 #define $ac_func innocuous_$ac_func
35911 /* System header to define __stub macros and hopefully few prototypes,
35912 which can conflict with char $ac_func (); below.
35913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35914 <limits.h> exists even on freestanding compilers. */
35916 #ifdef __STDC__
35917 # include <limits.h>
35918 #else
35919 # include <assert.h>
35920 #endif
35922 #undef $ac_func
35924 /* Override any gcc2 internal prototype to avoid an error. */
35925 #ifdef __cplusplus
35926 extern "C"
35928 #endif
35929 /* We use char because int might match the return type of a gcc2
35930 builtin and then its argument prototype would still apply. */
35931 char $ac_func ();
35932 /* The GNU C library defines this for functions which it implements
35933 to always fail with ENOSYS. Some functions are actually named
35934 something starting with __ and the normal name is an alias. */
35935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35936 choke me
35937 #else
35938 char (*f) () = $ac_func;
35939 #endif
35940 #ifdef __cplusplus
35942 #endif
35945 main ()
35947 return f != $ac_func;
35949 return 0;
35951 _ACEOF
35952 rm -f conftest.$ac_objext conftest$ac_exeext
35953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35954 (eval $ac_link) 2>conftest.er1
35955 ac_status=$?
35956 grep -v '^ *+' conftest.er1 >conftest.err
35957 rm -f conftest.er1
35958 cat conftest.err >&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); } &&
35961 { ac_try='test -z "$ac_c_werror_flag"
35962 || test ! -s conftest.err'
35963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35964 (eval $ac_try) 2>&5
35965 ac_status=$?
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); }; } &&
35968 { ac_try='test -s conftest$ac_exeext'
35969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970 (eval $ac_try) 2>&5
35971 ac_status=$?
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); }; }; then
35974 eval "$as_ac_var=yes"
35975 else
35976 echo "$as_me: failed program was:" >&5
35977 sed 's/^/| /' conftest.$ac_ext >&5
35979 eval "$as_ac_var=no"
35981 rm -f conftest.err conftest.$ac_objext \
35982 conftest$ac_exeext conftest.$ac_ext
35984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35986 if test `eval echo '${'$as_ac_var'}'` = yes; then
35987 cat >>confdefs.h <<_ACEOF
35988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35989 _ACEOF
35992 done
35994 else
35995 echo "$as_me:$LINENO: checking for _float trig functions" >&5
35996 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
35997 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
35998 echo $ECHO_N "(cached) $ECHO_C" >&6
35999 else
36003 ac_ext=cc
36004 ac_cpp='$CXXCPP $CPPFLAGS'
36005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36009 cat >conftest.$ac_ext <<_ACEOF
36010 /* confdefs.h. */
36011 _ACEOF
36012 cat confdefs.h >>conftest.$ac_ext
36013 cat >>conftest.$ac_ext <<_ACEOF
36014 /* end confdefs.h. */
36015 #include <math.h>
36017 main ()
36019 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36021 return 0;
36023 _ACEOF
36024 rm -f conftest.$ac_objext
36025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36026 (eval $ac_compile) 2>conftest.er1
36027 ac_status=$?
36028 grep -v '^ *+' conftest.er1 >conftest.err
36029 rm -f conftest.er1
36030 cat conftest.err >&5
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); } &&
36033 { ac_try='test -z "$ac_cxx_werror_flag"
36034 || test ! -s conftest.err'
36035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36036 (eval $ac_try) 2>&5
36037 ac_status=$?
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); }; } &&
36040 { ac_try='test -s conftest.$ac_objext'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36043 ac_status=$?
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; }; then
36046 glibcxx_cv_func__float_trig_use=yes
36047 else
36048 echo "$as_me: failed program was:" >&5
36049 sed 's/^/| /' conftest.$ac_ext >&5
36051 glibcxx_cv_func__float_trig_use=no
36053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36054 ac_ext=c
36055 ac_cpp='$CPP $CPPFLAGS'
36056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36063 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36064 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36074 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36077 echo "$as_me:$LINENO: checking for $ac_func" >&5
36078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36079 if eval "test \"\${$as_ac_var+set}\" = set"; then
36080 echo $ECHO_N "(cached) $ECHO_C" >&6
36081 else
36082 if test x$gcc_no_link = xyes; then
36083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36085 { (exit 1); exit 1; }; }
36087 cat >conftest.$ac_ext <<_ACEOF
36088 /* confdefs.h. */
36089 _ACEOF
36090 cat confdefs.h >>conftest.$ac_ext
36091 cat >>conftest.$ac_ext <<_ACEOF
36092 /* end confdefs.h. */
36093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36095 #define $ac_func innocuous_$ac_func
36097 /* System header to define __stub macros and hopefully few prototypes,
36098 which can conflict with char $ac_func (); below.
36099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36100 <limits.h> exists even on freestanding compilers. */
36102 #ifdef __STDC__
36103 # include <limits.h>
36104 #else
36105 # include <assert.h>
36106 #endif
36108 #undef $ac_func
36110 /* Override any gcc2 internal prototype to avoid an error. */
36111 #ifdef __cplusplus
36112 extern "C"
36114 #endif
36115 /* We use char because int might match the return type of a gcc2
36116 builtin and then its argument prototype would still apply. */
36117 char $ac_func ();
36118 /* The GNU C library defines this for functions which it implements
36119 to always fail with ENOSYS. Some functions are actually named
36120 something starting with __ and the normal name is an alias. */
36121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36122 choke me
36123 #else
36124 char (*f) () = $ac_func;
36125 #endif
36126 #ifdef __cplusplus
36128 #endif
36131 main ()
36133 return f != $ac_func;
36135 return 0;
36137 _ACEOF
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36140 (eval $ac_link) 2>conftest.er1
36141 ac_status=$?
36142 grep -v '^ *+' conftest.er1 >conftest.err
36143 rm -f conftest.er1
36144 cat conftest.err >&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); } &&
36147 { ac_try='test -z "$ac_c_werror_flag"
36148 || test ! -s conftest.err'
36149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150 (eval $ac_try) 2>&5
36151 ac_status=$?
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); }; } &&
36154 { ac_try='test -s conftest$ac_exeext'
36155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36156 (eval $ac_try) 2>&5
36157 ac_status=$?
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); }; }; then
36160 eval "$as_ac_var=yes"
36161 else
36162 echo "$as_me: failed program was:" >&5
36163 sed 's/^/| /' conftest.$ac_ext >&5
36165 eval "$as_ac_var=no"
36167 rm -f conftest.err conftest.$ac_objext \
36168 conftest$ac_exeext conftest.$ac_ext
36170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36172 if test `eval echo '${'$as_ac_var'}'` = yes; then
36173 cat >>confdefs.h <<_ACEOF
36174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36175 _ACEOF
36178 done
36196 echo "$as_me:$LINENO: checking for float round functions" >&5
36197 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36198 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36199 echo $ECHO_N "(cached) $ECHO_C" >&6
36200 else
36204 ac_ext=cc
36205 ac_cpp='$CXXCPP $CPPFLAGS'
36206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36210 cat >conftest.$ac_ext <<_ACEOF
36211 /* confdefs.h. */
36212 _ACEOF
36213 cat confdefs.h >>conftest.$ac_ext
36214 cat >>conftest.$ac_ext <<_ACEOF
36215 /* end confdefs.h. */
36216 #include <math.h>
36218 main ()
36220 ceilf (0); floorf (0);
36222 return 0;
36224 _ACEOF
36225 rm -f conftest.$ac_objext
36226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36227 (eval $ac_compile) 2>conftest.er1
36228 ac_status=$?
36229 grep -v '^ *+' conftest.er1 >conftest.err
36230 rm -f conftest.er1
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } &&
36234 { ac_try='test -z "$ac_cxx_werror_flag"
36235 || test ! -s conftest.err'
36236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237 (eval $ac_try) 2>&5
36238 ac_status=$?
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); }; } &&
36241 { ac_try='test -s conftest.$ac_objext'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; }; then
36247 glibcxx_cv_func_float_round_use=yes
36248 else
36249 echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36252 glibcxx_cv_func_float_round_use=no
36254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36264 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36265 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36268 for ac_func in ceilf floorf
36270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36271 echo "$as_me:$LINENO: checking for $ac_func" >&5
36272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36273 if eval "test \"\${$as_ac_var+set}\" = set"; then
36274 echo $ECHO_N "(cached) $ECHO_C" >&6
36275 else
36276 if test x$gcc_no_link = xyes; then
36277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36279 { (exit 1); exit 1; }; }
36281 cat >conftest.$ac_ext <<_ACEOF
36282 /* confdefs.h. */
36283 _ACEOF
36284 cat confdefs.h >>conftest.$ac_ext
36285 cat >>conftest.$ac_ext <<_ACEOF
36286 /* end confdefs.h. */
36287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36289 #define $ac_func innocuous_$ac_func
36291 /* System header to define __stub macros and hopefully few prototypes,
36292 which can conflict with char $ac_func (); below.
36293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36294 <limits.h> exists even on freestanding compilers. */
36296 #ifdef __STDC__
36297 # include <limits.h>
36298 #else
36299 # include <assert.h>
36300 #endif
36302 #undef $ac_func
36304 /* Override any gcc2 internal prototype to avoid an error. */
36305 #ifdef __cplusplus
36306 extern "C"
36308 #endif
36309 /* We use char because int might match the return type of a gcc2
36310 builtin and then its argument prototype would still apply. */
36311 char $ac_func ();
36312 /* The GNU C library defines this for functions which it implements
36313 to always fail with ENOSYS. Some functions are actually named
36314 something starting with __ and the normal name is an alias. */
36315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36316 choke me
36317 #else
36318 char (*f) () = $ac_func;
36319 #endif
36320 #ifdef __cplusplus
36322 #endif
36325 main ()
36327 return f != $ac_func;
36329 return 0;
36331 _ACEOF
36332 rm -f conftest.$ac_objext conftest$ac_exeext
36333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36334 (eval $ac_link) 2>conftest.er1
36335 ac_status=$?
36336 grep -v '^ *+' conftest.er1 >conftest.err
36337 rm -f conftest.er1
36338 cat conftest.err >&5
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); } &&
36341 { ac_try='test -z "$ac_c_werror_flag"
36342 || test ! -s conftest.err'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36345 ac_status=$?
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; } &&
36348 { ac_try='test -s conftest$ac_exeext'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36351 ac_status=$?
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; }; then
36354 eval "$as_ac_var=yes"
36355 else
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.$ac_ext >&5
36359 eval "$as_ac_var=no"
36361 rm -f conftest.err conftest.$ac_objext \
36362 conftest$ac_exeext conftest.$ac_ext
36364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36366 if test `eval echo '${'$as_ac_var'}'` = yes; then
36367 cat >>confdefs.h <<_ACEOF
36368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36369 _ACEOF
36372 done
36374 else
36375 echo "$as_me:$LINENO: checking for _float round functions" >&5
36376 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36377 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36378 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 else
36383 ac_ext=cc
36384 ac_cpp='$CXXCPP $CPPFLAGS'
36385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36389 cat >conftest.$ac_ext <<_ACEOF
36390 /* confdefs.h. */
36391 _ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h. */
36395 #include <math.h>
36397 main ()
36399 _ceilf (0); _floorf (0);
36401 return 0;
36403 _ACEOF
36404 rm -f conftest.$ac_objext
36405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36406 (eval $ac_compile) 2>conftest.er1
36407 ac_status=$?
36408 grep -v '^ *+' conftest.er1 >conftest.err
36409 rm -f conftest.er1
36410 cat conftest.err >&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); } &&
36413 { ac_try='test -z "$ac_cxx_werror_flag"
36414 || test ! -s conftest.err'
36415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416 (eval $ac_try) 2>&5
36417 ac_status=$?
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); }; } &&
36420 { ac_try='test -s conftest.$ac_objext'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36423 ac_status=$?
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; }; then
36426 glibcxx_cv_func__float_round_use=yes
36427 else
36428 echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.$ac_ext >&5
36431 glibcxx_cv_func__float_round_use=no
36433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36434 ac_ext=c
36435 ac_cpp='$CPP $CPPFLAGS'
36436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36442 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36443 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36444 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36447 for ac_func in _ceilf _floorf
36449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36450 echo "$as_me:$LINENO: checking for $ac_func" >&5
36451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36452 if eval "test \"\${$as_ac_var+set}\" = set"; then
36453 echo $ECHO_N "(cached) $ECHO_C" >&6
36454 else
36455 if test x$gcc_no_link = xyes; then
36456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36458 { (exit 1); exit 1; }; }
36460 cat >conftest.$ac_ext <<_ACEOF
36461 /* confdefs.h. */
36462 _ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36468 #define $ac_func innocuous_$ac_func
36470 /* System header to define __stub macros and hopefully few prototypes,
36471 which can conflict with char $ac_func (); below.
36472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36473 <limits.h> exists even on freestanding compilers. */
36475 #ifdef __STDC__
36476 # include <limits.h>
36477 #else
36478 # include <assert.h>
36479 #endif
36481 #undef $ac_func
36483 /* Override any gcc2 internal prototype to avoid an error. */
36484 #ifdef __cplusplus
36485 extern "C"
36487 #endif
36488 /* We use char because int might match the return type of a gcc2
36489 builtin and then its argument prototype would still apply. */
36490 char $ac_func ();
36491 /* The GNU C library defines this for functions which it implements
36492 to always fail with ENOSYS. Some functions are actually named
36493 something starting with __ and the normal name is an alias. */
36494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36495 choke me
36496 #else
36497 char (*f) () = $ac_func;
36498 #endif
36499 #ifdef __cplusplus
36501 #endif
36504 main ()
36506 return f != $ac_func;
36508 return 0;
36510 _ACEOF
36511 rm -f conftest.$ac_objext conftest$ac_exeext
36512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36513 (eval $ac_link) 2>conftest.er1
36514 ac_status=$?
36515 grep -v '^ *+' conftest.er1 >conftest.err
36516 rm -f conftest.er1
36517 cat conftest.err >&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } &&
36520 { ac_try='test -z "$ac_c_werror_flag"
36521 || test ! -s conftest.err'
36522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523 (eval $ac_try) 2>&5
36524 ac_status=$?
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); }; } &&
36527 { ac_try='test -s conftest$ac_exeext'
36528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36529 (eval $ac_try) 2>&5
36530 ac_status=$?
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); }; }; then
36533 eval "$as_ac_var=yes"
36534 else
36535 echo "$as_me: failed program was:" >&5
36536 sed 's/^/| /' conftest.$ac_ext >&5
36538 eval "$as_ac_var=no"
36540 rm -f conftest.err conftest.$ac_objext \
36541 conftest$ac_exeext conftest.$ac_ext
36543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36545 if test `eval echo '${'$as_ac_var'}'` = yes; then
36546 cat >>confdefs.h <<_ACEOF
36547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36548 _ACEOF
36551 done
36563 echo "$as_me:$LINENO: checking for expf declaration" >&5
36564 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36565 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36566 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 else
36572 ac_ext=cc
36573 ac_cpp='$CXXCPP $CPPFLAGS'
36574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36578 cat >conftest.$ac_ext <<_ACEOF
36579 /* confdefs.h. */
36580 _ACEOF
36581 cat confdefs.h >>conftest.$ac_ext
36582 cat >>conftest.$ac_ext <<_ACEOF
36583 /* end confdefs.h. */
36584 #include <math.h>
36585 #ifdef HAVE_IEEEFP_H
36586 #include <ieeefp.h>
36587 #endif
36590 main ()
36592 expf(0);
36594 return 0;
36596 _ACEOF
36597 rm -f conftest.$ac_objext
36598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36599 (eval $ac_compile) 2>conftest.er1
36600 ac_status=$?
36601 grep -v '^ *+' conftest.er1 >conftest.err
36602 rm -f conftest.er1
36603 cat conftest.err >&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); } &&
36606 { ac_try='test -z "$ac_cxx_werror_flag"
36607 || test ! -s conftest.err'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36610 ac_status=$?
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; } &&
36613 { ac_try='test -s conftest.$ac_objext'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36616 ac_status=$?
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; }; then
36619 glibcxx_cv_func_expf_use=yes
36620 else
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.$ac_ext >&5
36624 glibcxx_cv_func_expf_use=no
36626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36627 ac_ext=c
36628 ac_cpp='$CPP $CPPFLAGS'
36629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36638 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36640 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36642 for ac_func in expf
36644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36645 echo "$as_me:$LINENO: checking for $ac_func" >&5
36646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36647 if eval "test \"\${$as_ac_var+set}\" = set"; then
36648 echo $ECHO_N "(cached) $ECHO_C" >&6
36649 else
36650 if test x$gcc_no_link = xyes; then
36651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36653 { (exit 1); exit 1; }; }
36655 cat >conftest.$ac_ext <<_ACEOF
36656 /* confdefs.h. */
36657 _ACEOF
36658 cat confdefs.h >>conftest.$ac_ext
36659 cat >>conftest.$ac_ext <<_ACEOF
36660 /* end confdefs.h. */
36661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36663 #define $ac_func innocuous_$ac_func
36665 /* System header to define __stub macros and hopefully few prototypes,
36666 which can conflict with char $ac_func (); below.
36667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36668 <limits.h> exists even on freestanding compilers. */
36670 #ifdef __STDC__
36671 # include <limits.h>
36672 #else
36673 # include <assert.h>
36674 #endif
36676 #undef $ac_func
36678 /* Override any gcc2 internal prototype to avoid an error. */
36679 #ifdef __cplusplus
36680 extern "C"
36682 #endif
36683 /* We use char because int might match the return type of a gcc2
36684 builtin and then its argument prototype would still apply. */
36685 char $ac_func ();
36686 /* The GNU C library defines this for functions which it implements
36687 to always fail with ENOSYS. Some functions are actually named
36688 something starting with __ and the normal name is an alias. */
36689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36690 choke me
36691 #else
36692 char (*f) () = $ac_func;
36693 #endif
36694 #ifdef __cplusplus
36696 #endif
36699 main ()
36701 return f != $ac_func;
36703 return 0;
36705 _ACEOF
36706 rm -f conftest.$ac_objext conftest$ac_exeext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36708 (eval $ac_link) 2>conftest.er1
36709 ac_status=$?
36710 grep -v '^ *+' conftest.er1 >conftest.err
36711 rm -f conftest.er1
36712 cat conftest.err >&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try='test -z "$ac_c_werror_flag"
36716 || test ! -s conftest.err'
36717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36718 (eval $ac_try) 2>&5
36719 ac_status=$?
36720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36721 (exit $ac_status); }; } &&
36722 { ac_try='test -s conftest$ac_exeext'
36723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36724 (eval $ac_try) 2>&5
36725 ac_status=$?
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); }; }; then
36728 eval "$as_ac_var=yes"
36729 else
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36733 eval "$as_ac_var=no"
36735 rm -f conftest.err conftest.$ac_objext \
36736 conftest$ac_exeext conftest.$ac_ext
36738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36740 if test `eval echo '${'$as_ac_var'}'` = yes; then
36741 cat >>confdefs.h <<_ACEOF
36742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36743 _ACEOF
36746 done
36748 else
36750 echo "$as_me:$LINENO: checking for _expf declaration" >&5
36751 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36752 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36753 if test "${glibcxx_cv_func__expf_use+set}" = set; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36755 else
36759 ac_ext=cc
36760 ac_cpp='$CXXCPP $CPPFLAGS'
36761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 #include <math.h>
36772 #ifdef HAVE_IEEEFP_H
36773 #include <ieeefp.h>
36774 #endif
36777 main ()
36779 _expf(0);
36781 return 0;
36783 _ACEOF
36784 rm -f conftest.$ac_objext
36785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36786 (eval $ac_compile) 2>conftest.er1
36787 ac_status=$?
36788 grep -v '^ *+' conftest.er1 >conftest.err
36789 rm -f conftest.er1
36790 cat conftest.err >&5
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); } &&
36793 { ac_try='test -z "$ac_cxx_werror_flag"
36794 || test ! -s conftest.err'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; } &&
36800 { ac_try='test -s conftest.$ac_objext'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806 glibcxx_cv_func__expf_use=yes
36807 else
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.$ac_ext >&5
36811 glibcxx_cv_func__expf_use=no
36813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36814 ac_ext=c
36815 ac_cpp='$CPP $CPPFLAGS'
36816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36825 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36827 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36829 for ac_func in _expf
36831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36832 echo "$as_me:$LINENO: checking for $ac_func" >&5
36833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36834 if eval "test \"\${$as_ac_var+set}\" = set"; then
36835 echo $ECHO_N "(cached) $ECHO_C" >&6
36836 else
36837 if test x$gcc_no_link = xyes; then
36838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36840 { (exit 1); exit 1; }; }
36842 cat >conftest.$ac_ext <<_ACEOF
36843 /* confdefs.h. */
36844 _ACEOF
36845 cat confdefs.h >>conftest.$ac_ext
36846 cat >>conftest.$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36850 #define $ac_func innocuous_$ac_func
36852 /* System header to define __stub macros and hopefully few prototypes,
36853 which can conflict with char $ac_func (); below.
36854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36855 <limits.h> exists even on freestanding compilers. */
36857 #ifdef __STDC__
36858 # include <limits.h>
36859 #else
36860 # include <assert.h>
36861 #endif
36863 #undef $ac_func
36865 /* Override any gcc2 internal prototype to avoid an error. */
36866 #ifdef __cplusplus
36867 extern "C"
36869 #endif
36870 /* We use char because int might match the return type of a gcc2
36871 builtin and then its argument prototype would still apply. */
36872 char $ac_func ();
36873 /* The GNU C library defines this for functions which it implements
36874 to always fail with ENOSYS. Some functions are actually named
36875 something starting with __ and the normal name is an alias. */
36876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36877 choke me
36878 #else
36879 char (*f) () = $ac_func;
36880 #endif
36881 #ifdef __cplusplus
36883 #endif
36886 main ()
36888 return f != $ac_func;
36890 return 0;
36892 _ACEOF
36893 rm -f conftest.$ac_objext conftest$ac_exeext
36894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36895 (eval $ac_link) 2>conftest.er1
36896 ac_status=$?
36897 grep -v '^ *+' conftest.er1 >conftest.err
36898 rm -f conftest.er1
36899 cat conftest.err >&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } &&
36902 { ac_try='test -z "$ac_c_werror_flag"
36903 || test ! -s conftest.err'
36904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905 (eval $ac_try) 2>&5
36906 ac_status=$?
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); }; } &&
36909 { ac_try='test -s conftest$ac_exeext'
36910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36911 (eval $ac_try) 2>&5
36912 ac_status=$?
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); }; }; then
36915 eval "$as_ac_var=yes"
36916 else
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.$ac_ext >&5
36920 eval "$as_ac_var=no"
36922 rm -f conftest.err conftest.$ac_objext \
36923 conftest$ac_exeext conftest.$ac_ext
36925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36927 if test `eval echo '${'$as_ac_var'}'` = yes; then
36928 cat >>confdefs.h <<_ACEOF
36929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36930 _ACEOF
36933 done
36943 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36944 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36945 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36946 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36947 echo $ECHO_N "(cached) $ECHO_C" >&6
36948 else
36952 ac_ext=cc
36953 ac_cpp='$CXXCPP $CPPFLAGS'
36954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36958 cat >conftest.$ac_ext <<_ACEOF
36959 /* confdefs.h. */
36960 _ACEOF
36961 cat confdefs.h >>conftest.$ac_ext
36962 cat >>conftest.$ac_ext <<_ACEOF
36963 /* end confdefs.h. */
36964 #include <math.h>
36965 #ifdef HAVE_IEEEFP_H
36966 #include <ieeefp.h>
36967 #endif
36970 main ()
36972 isnanf(0);
36974 return 0;
36976 _ACEOF
36977 rm -f conftest.$ac_objext
36978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36979 (eval $ac_compile) 2>conftest.er1
36980 ac_status=$?
36981 grep -v '^ *+' conftest.er1 >conftest.err
36982 rm -f conftest.er1
36983 cat conftest.err >&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } &&
36986 { ac_try='test -z "$ac_cxx_werror_flag"
36987 || test ! -s conftest.err'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; } &&
36993 { ac_try='test -s conftest.$ac_objext'
36994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36995 (eval $ac_try) 2>&5
36996 ac_status=$?
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); }; }; then
36999 glibcxx_cv_func_isnanf_use=yes
37000 else
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37004 glibcxx_cv_func_isnanf_use=no
37006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37007 ac_ext=c
37008 ac_cpp='$CPP $CPPFLAGS'
37009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37018 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37020 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37022 for ac_func in isnanf
37024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37025 echo "$as_me:$LINENO: checking for $ac_func" >&5
37026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37027 if eval "test \"\${$as_ac_var+set}\" = set"; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 else
37030 if test x$gcc_no_link = xyes; then
37031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37033 { (exit 1); exit 1; }; }
37035 cat >conftest.$ac_ext <<_ACEOF
37036 /* confdefs.h. */
37037 _ACEOF
37038 cat confdefs.h >>conftest.$ac_ext
37039 cat >>conftest.$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37043 #define $ac_func innocuous_$ac_func
37045 /* System header to define __stub macros and hopefully few prototypes,
37046 which can conflict with char $ac_func (); below.
37047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37048 <limits.h> exists even on freestanding compilers. */
37050 #ifdef __STDC__
37051 # include <limits.h>
37052 #else
37053 # include <assert.h>
37054 #endif
37056 #undef $ac_func
37058 /* Override any gcc2 internal prototype to avoid an error. */
37059 #ifdef __cplusplus
37060 extern "C"
37062 #endif
37063 /* We use char because int might match the return type of a gcc2
37064 builtin and then its argument prototype would still apply. */
37065 char $ac_func ();
37066 /* The GNU C library defines this for functions which it implements
37067 to always fail with ENOSYS. Some functions are actually named
37068 something starting with __ and the normal name is an alias. */
37069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37070 choke me
37071 #else
37072 char (*f) () = $ac_func;
37073 #endif
37074 #ifdef __cplusplus
37076 #endif
37079 main ()
37081 return f != $ac_func;
37083 return 0;
37085 _ACEOF
37086 rm -f conftest.$ac_objext conftest$ac_exeext
37087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37088 (eval $ac_link) 2>conftest.er1
37089 ac_status=$?
37090 grep -v '^ *+' conftest.er1 >conftest.err
37091 rm -f conftest.er1
37092 cat conftest.err >&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } &&
37095 { ac_try='test -z "$ac_c_werror_flag"
37096 || test ! -s conftest.err'
37097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37098 (eval $ac_try) 2>&5
37099 ac_status=$?
37100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101 (exit $ac_status); }; } &&
37102 { ac_try='test -s conftest$ac_exeext'
37103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104 (eval $ac_try) 2>&5
37105 ac_status=$?
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); }; }; then
37108 eval "$as_ac_var=yes"
37109 else
37110 echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.$ac_ext >&5
37113 eval "$as_ac_var=no"
37115 rm -f conftest.err conftest.$ac_objext \
37116 conftest$ac_exeext conftest.$ac_ext
37118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37120 if test `eval echo '${'$as_ac_var'}'` = yes; then
37121 cat >>confdefs.h <<_ACEOF
37122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37123 _ACEOF
37126 done
37128 else
37130 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37131 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37132 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37133 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 else
37139 ac_ext=cc
37140 ac_cpp='$CXXCPP $CPPFLAGS'
37141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37145 cat >conftest.$ac_ext <<_ACEOF
37146 /* confdefs.h. */
37147 _ACEOF
37148 cat confdefs.h >>conftest.$ac_ext
37149 cat >>conftest.$ac_ext <<_ACEOF
37150 /* end confdefs.h. */
37151 #include <math.h>
37152 #ifdef HAVE_IEEEFP_H
37153 #include <ieeefp.h>
37154 #endif
37157 main ()
37159 _isnanf(0);
37161 return 0;
37163 _ACEOF
37164 rm -f conftest.$ac_objext
37165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37166 (eval $ac_compile) 2>conftest.er1
37167 ac_status=$?
37168 grep -v '^ *+' conftest.er1 >conftest.err
37169 rm -f conftest.er1
37170 cat conftest.err >&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); } &&
37173 { ac_try='test -z "$ac_cxx_werror_flag"
37174 || test ! -s conftest.err'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; } &&
37180 { ac_try='test -s conftest.$ac_objext'
37181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182 (eval $ac_try) 2>&5
37183 ac_status=$?
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); }; }; then
37186 glibcxx_cv_func__isnanf_use=yes
37187 else
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37191 glibcxx_cv_func__isnanf_use=no
37193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37194 ac_ext=c
37195 ac_cpp='$CPP $CPPFLAGS'
37196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37205 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37207 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37209 for ac_func in _isnanf
37211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37212 echo "$as_me:$LINENO: checking for $ac_func" >&5
37213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37214 if eval "test \"\${$as_ac_var+set}\" = set"; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37217 if test x$gcc_no_link = xyes; then
37218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37220 { (exit 1); exit 1; }; }
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37230 #define $ac_func innocuous_$ac_func
37232 /* System header to define __stub macros and hopefully few prototypes,
37233 which can conflict with char $ac_func (); below.
37234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235 <limits.h> exists even on freestanding compilers. */
37237 #ifdef __STDC__
37238 # include <limits.h>
37239 #else
37240 # include <assert.h>
37241 #endif
37243 #undef $ac_func
37245 /* Override any gcc2 internal prototype to avoid an error. */
37246 #ifdef __cplusplus
37247 extern "C"
37249 #endif
37250 /* We use char because int might match the return type of a gcc2
37251 builtin and then its argument prototype would still apply. */
37252 char $ac_func ();
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37257 choke me
37258 #else
37259 char (*f) () = $ac_func;
37260 #endif
37261 #ifdef __cplusplus
37263 #endif
37266 main ()
37268 return f != $ac_func;
37270 return 0;
37272 _ACEOF
37273 rm -f conftest.$ac_objext conftest$ac_exeext
37274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37275 (eval $ac_link) 2>conftest.er1
37276 ac_status=$?
37277 grep -v '^ *+' conftest.er1 >conftest.err
37278 rm -f conftest.er1
37279 cat conftest.err >&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } &&
37282 { ac_try='test -z "$ac_c_werror_flag"
37283 || test ! -s conftest.err'
37284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37285 (eval $ac_try) 2>&5
37286 ac_status=$?
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); }; } &&
37289 { ac_try='test -s conftest$ac_exeext'
37290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37291 (eval $ac_try) 2>&5
37292 ac_status=$?
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); }; }; then
37295 eval "$as_ac_var=yes"
37296 else
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.$ac_ext >&5
37300 eval "$as_ac_var=no"
37302 rm -f conftest.err conftest.$ac_objext \
37303 conftest$ac_exeext conftest.$ac_ext
37305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37307 if test `eval echo '${'$as_ac_var'}'` = yes; then
37308 cat >>confdefs.h <<_ACEOF
37309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37310 _ACEOF
37313 done
37323 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37324 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37325 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37326 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37327 echo $ECHO_N "(cached) $ECHO_C" >&6
37328 else
37332 ac_ext=cc
37333 ac_cpp='$CXXCPP $CPPFLAGS'
37334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37338 cat >conftest.$ac_ext <<_ACEOF
37339 /* confdefs.h. */
37340 _ACEOF
37341 cat confdefs.h >>conftest.$ac_ext
37342 cat >>conftest.$ac_ext <<_ACEOF
37343 /* end confdefs.h. */
37344 #include <math.h>
37345 #ifdef HAVE_IEEEFP_H
37346 #include <ieeefp.h>
37347 #endif
37350 main ()
37352 isinff(0);
37354 return 0;
37356 _ACEOF
37357 rm -f conftest.$ac_objext
37358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37359 (eval $ac_compile) 2>conftest.er1
37360 ac_status=$?
37361 grep -v '^ *+' conftest.er1 >conftest.err
37362 rm -f conftest.er1
37363 cat conftest.err >&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } &&
37366 { ac_try='test -z "$ac_cxx_werror_flag"
37367 || test ! -s conftest.err'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37370 ac_status=$?
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; } &&
37373 { ac_try='test -s conftest.$ac_objext'
37374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375 (eval $ac_try) 2>&5
37376 ac_status=$?
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); }; }; then
37379 glibcxx_cv_func_isinff_use=yes
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37384 glibcxx_cv_func_isinff_use=no
37386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37387 ac_ext=c
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37397 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37398 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37400 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37402 for ac_func in isinff
37404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405 echo "$as_me:$LINENO: checking for $ac_func" >&5
37406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37407 if eval "test \"\${$as_ac_var+set}\" = set"; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 else
37410 if test x$gcc_no_link = xyes; then
37411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37413 { (exit 1); exit 1; }; }
37415 cat >conftest.$ac_ext <<_ACEOF
37416 /* confdefs.h. */
37417 _ACEOF
37418 cat confdefs.h >>conftest.$ac_ext
37419 cat >>conftest.$ac_ext <<_ACEOF
37420 /* end confdefs.h. */
37421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37423 #define $ac_func innocuous_$ac_func
37425 /* System header to define __stub macros and hopefully few prototypes,
37426 which can conflict with char $ac_func (); below.
37427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37428 <limits.h> exists even on freestanding compilers. */
37430 #ifdef __STDC__
37431 # include <limits.h>
37432 #else
37433 # include <assert.h>
37434 #endif
37436 #undef $ac_func
37438 /* Override any gcc2 internal prototype to avoid an error. */
37439 #ifdef __cplusplus
37440 extern "C"
37442 #endif
37443 /* We use char because int might match the return type of a gcc2
37444 builtin and then its argument prototype would still apply. */
37445 char $ac_func ();
37446 /* The GNU C library defines this for functions which it implements
37447 to always fail with ENOSYS. Some functions are actually named
37448 something starting with __ and the normal name is an alias. */
37449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37450 choke me
37451 #else
37452 char (*f) () = $ac_func;
37453 #endif
37454 #ifdef __cplusplus
37456 #endif
37459 main ()
37461 return f != $ac_func;
37463 return 0;
37465 _ACEOF
37466 rm -f conftest.$ac_objext conftest$ac_exeext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37468 (eval $ac_link) 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } &&
37475 { ac_try='test -z "$ac_c_werror_flag"
37476 || test ! -s conftest.err'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37479 ac_status=$?
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; } &&
37482 { ac_try='test -s conftest$ac_exeext'
37483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484 (eval $ac_try) 2>&5
37485 ac_status=$?
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); }; }; then
37488 eval "$as_ac_var=yes"
37489 else
37490 echo "$as_me: failed program was:" >&5
37491 sed 's/^/| /' conftest.$ac_ext >&5
37493 eval "$as_ac_var=no"
37495 rm -f conftest.err conftest.$ac_objext \
37496 conftest$ac_exeext conftest.$ac_ext
37498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37500 if test `eval echo '${'$as_ac_var'}'` = yes; then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503 _ACEOF
37506 done
37508 else
37510 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37511 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37512 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37513 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37519 ac_ext=cc
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531 #include <math.h>
37532 #ifdef HAVE_IEEEFP_H
37533 #include <ieeefp.h>
37534 #endif
37537 main ()
37539 _isinff(0);
37541 return 0;
37543 _ACEOF
37544 rm -f conftest.$ac_objext
37545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37546 (eval $ac_compile) 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } &&
37553 { ac_try='test -z "$ac_cxx_werror_flag"
37554 || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 glibcxx_cv_func__isinff_use=yes
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37571 glibcxx_cv_func__isinff_use=no
37573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37574 ac_ext=c
37575 ac_cpp='$CPP $CPPFLAGS'
37576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37585 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37587 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37589 for ac_func in _isinff
37591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37592 echo "$as_me:$LINENO: checking for $ac_func" >&5
37593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37594 if eval "test \"\${$as_ac_var+set}\" = set"; then
37595 echo $ECHO_N "(cached) $ECHO_C" >&6
37596 else
37597 if test x$gcc_no_link = xyes; then
37598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37600 { (exit 1); exit 1; }; }
37602 cat >conftest.$ac_ext <<_ACEOF
37603 /* confdefs.h. */
37604 _ACEOF
37605 cat confdefs.h >>conftest.$ac_ext
37606 cat >>conftest.$ac_ext <<_ACEOF
37607 /* end confdefs.h. */
37608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37610 #define $ac_func innocuous_$ac_func
37612 /* System header to define __stub macros and hopefully few prototypes,
37613 which can conflict with char $ac_func (); below.
37614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37615 <limits.h> exists even on freestanding compilers. */
37617 #ifdef __STDC__
37618 # include <limits.h>
37619 #else
37620 # include <assert.h>
37621 #endif
37623 #undef $ac_func
37625 /* Override any gcc2 internal prototype to avoid an error. */
37626 #ifdef __cplusplus
37627 extern "C"
37629 #endif
37630 /* We use char because int might match the return type of a gcc2
37631 builtin and then its argument prototype would still apply. */
37632 char $ac_func ();
37633 /* The GNU C library defines this for functions which it implements
37634 to always fail with ENOSYS. Some functions are actually named
37635 something starting with __ and the normal name is an alias. */
37636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37637 choke me
37638 #else
37639 char (*f) () = $ac_func;
37640 #endif
37641 #ifdef __cplusplus
37643 #endif
37646 main ()
37648 return f != $ac_func;
37650 return 0;
37652 _ACEOF
37653 rm -f conftest.$ac_objext conftest$ac_exeext
37654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37655 (eval $ac_link) 2>conftest.er1
37656 ac_status=$?
37657 grep -v '^ *+' conftest.er1 >conftest.err
37658 rm -f conftest.er1
37659 cat conftest.err >&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); } &&
37662 { ac_try='test -z "$ac_c_werror_flag"
37663 || test ! -s conftest.err'
37664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37665 (eval $ac_try) 2>&5
37666 ac_status=$?
37667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37668 (exit $ac_status); }; } &&
37669 { ac_try='test -s conftest$ac_exeext'
37670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37671 (eval $ac_try) 2>&5
37672 ac_status=$?
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); }; }; then
37675 eval "$as_ac_var=yes"
37676 else
37677 echo "$as_me: failed program was:" >&5
37678 sed 's/^/| /' conftest.$ac_ext >&5
37680 eval "$as_ac_var=no"
37682 rm -f conftest.err conftest.$ac_objext \
37683 conftest$ac_exeext conftest.$ac_ext
37685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37687 if test `eval echo '${'$as_ac_var'}'` = yes; then
37688 cat >>confdefs.h <<_ACEOF
37689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37690 _ACEOF
37693 done
37703 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37704 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37705 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37706 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37707 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 else
37712 ac_ext=cc
37713 ac_cpp='$CXXCPP $CPPFLAGS'
37714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37718 cat >conftest.$ac_ext <<_ACEOF
37719 /* confdefs.h. */
37720 _ACEOF
37721 cat confdefs.h >>conftest.$ac_ext
37722 cat >>conftest.$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 #include <math.h>
37726 main ()
37728 atan2f(0, 0);
37730 return 0;
37732 _ACEOF
37733 rm -f conftest.$ac_objext
37734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37735 (eval $ac_compile) 2>conftest.er1
37736 ac_status=$?
37737 grep -v '^ *+' conftest.er1 >conftest.err
37738 rm -f conftest.er1
37739 cat conftest.err >&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); } &&
37742 { ac_try='test -z "$ac_cxx_werror_flag"
37743 || test ! -s conftest.err'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37746 ac_status=$?
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; } &&
37749 { ac_try='test -s conftest.$ac_objext'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37752 ac_status=$?
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; }; then
37755 glibcxx_cv_func_atan2f_use=yes
37756 else
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.$ac_ext >&5
37760 glibcxx_cv_func_atan2f_use=no
37762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37763 ac_ext=c
37764 ac_cpp='$CPP $CPPFLAGS'
37765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37774 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37776 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37778 for ac_func in atan2f
37780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37781 echo "$as_me:$LINENO: checking for $ac_func" >&5
37782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37783 if eval "test \"\${$as_ac_var+set}\" = set"; then
37784 echo $ECHO_N "(cached) $ECHO_C" >&6
37785 else
37786 if test x$gcc_no_link = xyes; then
37787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37789 { (exit 1); exit 1; }; }
37791 cat >conftest.$ac_ext <<_ACEOF
37792 /* confdefs.h. */
37793 _ACEOF
37794 cat confdefs.h >>conftest.$ac_ext
37795 cat >>conftest.$ac_ext <<_ACEOF
37796 /* end confdefs.h. */
37797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37799 #define $ac_func innocuous_$ac_func
37801 /* System header to define __stub macros and hopefully few prototypes,
37802 which can conflict with char $ac_func (); below.
37803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37804 <limits.h> exists even on freestanding compilers. */
37806 #ifdef __STDC__
37807 # include <limits.h>
37808 #else
37809 # include <assert.h>
37810 #endif
37812 #undef $ac_func
37814 /* Override any gcc2 internal prototype to avoid an error. */
37815 #ifdef __cplusplus
37816 extern "C"
37818 #endif
37819 /* We use char because int might match the return type of a gcc2
37820 builtin and then its argument prototype would still apply. */
37821 char $ac_func ();
37822 /* The GNU C library defines this for functions which it implements
37823 to always fail with ENOSYS. Some functions are actually named
37824 something starting with __ and the normal name is an alias. */
37825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37826 choke me
37827 #else
37828 char (*f) () = $ac_func;
37829 #endif
37830 #ifdef __cplusplus
37832 #endif
37835 main ()
37837 return f != $ac_func;
37839 return 0;
37841 _ACEOF
37842 rm -f conftest.$ac_objext conftest$ac_exeext
37843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37844 (eval $ac_link) 2>conftest.er1
37845 ac_status=$?
37846 grep -v '^ *+' conftest.er1 >conftest.err
37847 rm -f conftest.er1
37848 cat conftest.err >&5
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); } &&
37851 { ac_try='test -z "$ac_c_werror_flag"
37852 || test ! -s conftest.err'
37853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854 (eval $ac_try) 2>&5
37855 ac_status=$?
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); }; } &&
37858 { ac_try='test -s conftest$ac_exeext'
37859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860 (eval $ac_try) 2>&5
37861 ac_status=$?
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); }; }; then
37864 eval "$as_ac_var=yes"
37865 else
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37869 eval "$as_ac_var=no"
37871 rm -f conftest.err conftest.$ac_objext \
37872 conftest$ac_exeext conftest.$ac_ext
37874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37876 if test `eval echo '${'$as_ac_var'}'` = yes; then
37877 cat >>confdefs.h <<_ACEOF
37878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37879 _ACEOF
37882 done
37884 else
37886 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37887 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37888 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37889 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37895 ac_ext=cc
37896 ac_cpp='$CXXCPP $CPPFLAGS'
37897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37901 cat >conftest.$ac_ext <<_ACEOF
37902 /* confdefs.h. */
37903 _ACEOF
37904 cat confdefs.h >>conftest.$ac_ext
37905 cat >>conftest.$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37907 #include <math.h>
37909 main ()
37911 _atan2f(0, 0);
37913 return 0;
37915 _ACEOF
37916 rm -f conftest.$ac_objext
37917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37918 (eval $ac_compile) 2>conftest.er1
37919 ac_status=$?
37920 grep -v '^ *+' conftest.er1 >conftest.err
37921 rm -f conftest.er1
37922 cat conftest.err >&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); } &&
37925 { ac_try='test -z "$ac_cxx_werror_flag"
37926 || test ! -s conftest.err'
37927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37928 (eval $ac_try) 2>&5
37929 ac_status=$?
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); }; } &&
37932 { ac_try='test -s conftest.$ac_objext'
37933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37934 (eval $ac_try) 2>&5
37935 ac_status=$?
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); }; }; then
37938 glibcxx_cv_func__atan2f_use=yes
37939 else
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.$ac_ext >&5
37943 glibcxx_cv_func__atan2f_use=no
37945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37957 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37959 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37961 for ac_func in _atan2f
37963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37964 echo "$as_me:$LINENO: checking for $ac_func" >&5
37965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37966 if eval "test \"\${$as_ac_var+set}\" = set"; then
37967 echo $ECHO_N "(cached) $ECHO_C" >&6
37968 else
37969 if test x$gcc_no_link = xyes; then
37970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37972 { (exit 1); exit 1; }; }
37974 cat >conftest.$ac_ext <<_ACEOF
37975 /* confdefs.h. */
37976 _ACEOF
37977 cat confdefs.h >>conftest.$ac_ext
37978 cat >>conftest.$ac_ext <<_ACEOF
37979 /* end confdefs.h. */
37980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37982 #define $ac_func innocuous_$ac_func
37984 /* System header to define __stub macros and hopefully few prototypes,
37985 which can conflict with char $ac_func (); below.
37986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37987 <limits.h> exists even on freestanding compilers. */
37989 #ifdef __STDC__
37990 # include <limits.h>
37991 #else
37992 # include <assert.h>
37993 #endif
37995 #undef $ac_func
37997 /* Override any gcc2 internal prototype to avoid an error. */
37998 #ifdef __cplusplus
37999 extern "C"
38001 #endif
38002 /* We use char because int might match the return type of a gcc2
38003 builtin and then its argument prototype would still apply. */
38004 char $ac_func ();
38005 /* The GNU C library defines this for functions which it implements
38006 to always fail with ENOSYS. Some functions are actually named
38007 something starting with __ and the normal name is an alias. */
38008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38009 choke me
38010 #else
38011 char (*f) () = $ac_func;
38012 #endif
38013 #ifdef __cplusplus
38015 #endif
38018 main ()
38020 return f != $ac_func;
38022 return 0;
38024 _ACEOF
38025 rm -f conftest.$ac_objext conftest$ac_exeext
38026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38027 (eval $ac_link) 2>conftest.er1
38028 ac_status=$?
38029 grep -v '^ *+' conftest.er1 >conftest.err
38030 rm -f conftest.er1
38031 cat conftest.err >&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); } &&
38034 { ac_try='test -z "$ac_c_werror_flag"
38035 || test ! -s conftest.err'
38036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037 (eval $ac_try) 2>&5
38038 ac_status=$?
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); }; } &&
38041 { ac_try='test -s conftest$ac_exeext'
38042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043 (eval $ac_try) 2>&5
38044 ac_status=$?
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); }; }; then
38047 eval "$as_ac_var=yes"
38048 else
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38052 eval "$as_ac_var=no"
38054 rm -f conftest.err conftest.$ac_objext \
38055 conftest$ac_exeext conftest.$ac_ext
38057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38059 if test `eval echo '${'$as_ac_var'}'` = yes; then
38060 cat >>confdefs.h <<_ACEOF
38061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38062 _ACEOF
38065 done
38075 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38076 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38077 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38078 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38079 echo $ECHO_N "(cached) $ECHO_C" >&6
38080 else
38084 ac_ext=cc
38085 ac_cpp='$CXXCPP $CPPFLAGS'
38086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38090 cat >conftest.$ac_ext <<_ACEOF
38091 /* confdefs.h. */
38092 _ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38096 #include <math.h>
38097 #ifdef HAVE_IEEEFP_H
38098 #include <ieeefp.h>
38099 #endif
38102 main ()
38104 fabsf(0);
38106 return 0;
38108 _ACEOF
38109 rm -f conftest.$ac_objext
38110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38111 (eval $ac_compile) 2>conftest.er1
38112 ac_status=$?
38113 grep -v '^ *+' conftest.er1 >conftest.err
38114 rm -f conftest.er1
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } &&
38118 { ac_try='test -z "$ac_cxx_werror_flag"
38119 || test ! -s conftest.err'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; } &&
38125 { ac_try='test -s conftest.$ac_objext'
38126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127 (eval $ac_try) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); }; }; then
38131 glibcxx_cv_func_fabsf_use=yes
38132 else
38133 echo "$as_me: failed program was:" >&5
38134 sed 's/^/| /' conftest.$ac_ext >&5
38136 glibcxx_cv_func_fabsf_use=no
38138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38139 ac_ext=c
38140 ac_cpp='$CPP $CPPFLAGS'
38141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38150 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38152 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38154 for ac_func in fabsf
38156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38157 echo "$as_me:$LINENO: checking for $ac_func" >&5
38158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38159 if eval "test \"\${$as_ac_var+set}\" = set"; then
38160 echo $ECHO_N "(cached) $ECHO_C" >&6
38161 else
38162 if test x$gcc_no_link = xyes; then
38163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38165 { (exit 1); exit 1; }; }
38167 cat >conftest.$ac_ext <<_ACEOF
38168 /* confdefs.h. */
38169 _ACEOF
38170 cat confdefs.h >>conftest.$ac_ext
38171 cat >>conftest.$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38175 #define $ac_func innocuous_$ac_func
38177 /* System header to define __stub macros and hopefully few prototypes,
38178 which can conflict with char $ac_func (); below.
38179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38180 <limits.h> exists even on freestanding compilers. */
38182 #ifdef __STDC__
38183 # include <limits.h>
38184 #else
38185 # include <assert.h>
38186 #endif
38188 #undef $ac_func
38190 /* Override any gcc2 internal prototype to avoid an error. */
38191 #ifdef __cplusplus
38192 extern "C"
38194 #endif
38195 /* We use char because int might match the return type of a gcc2
38196 builtin and then its argument prototype would still apply. */
38197 char $ac_func ();
38198 /* The GNU C library defines this for functions which it implements
38199 to always fail with ENOSYS. Some functions are actually named
38200 something starting with __ and the normal name is an alias. */
38201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38202 choke me
38203 #else
38204 char (*f) () = $ac_func;
38205 #endif
38206 #ifdef __cplusplus
38208 #endif
38211 main ()
38213 return f != $ac_func;
38215 return 0;
38217 _ACEOF
38218 rm -f conftest.$ac_objext conftest$ac_exeext
38219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38220 (eval $ac_link) 2>conftest.er1
38221 ac_status=$?
38222 grep -v '^ *+' conftest.er1 >conftest.err
38223 rm -f conftest.er1
38224 cat conftest.err >&5
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); } &&
38227 { ac_try='test -z "$ac_c_werror_flag"
38228 || test ! -s conftest.err'
38229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38230 (eval $ac_try) 2>&5
38231 ac_status=$?
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); }; } &&
38234 { ac_try='test -s conftest$ac_exeext'
38235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38236 (eval $ac_try) 2>&5
38237 ac_status=$?
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); }; }; then
38240 eval "$as_ac_var=yes"
38241 else
38242 echo "$as_me: failed program was:" >&5
38243 sed 's/^/| /' conftest.$ac_ext >&5
38245 eval "$as_ac_var=no"
38247 rm -f conftest.err conftest.$ac_objext \
38248 conftest$ac_exeext conftest.$ac_ext
38250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38252 if test `eval echo '${'$as_ac_var'}'` = yes; then
38253 cat >>confdefs.h <<_ACEOF
38254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38255 _ACEOF
38258 done
38260 else
38262 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38263 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38264 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38265 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38266 echo $ECHO_N "(cached) $ECHO_C" >&6
38267 else
38271 ac_ext=cc
38272 ac_cpp='$CXXCPP $CPPFLAGS'
38273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38277 cat >conftest.$ac_ext <<_ACEOF
38278 /* confdefs.h. */
38279 _ACEOF
38280 cat confdefs.h >>conftest.$ac_ext
38281 cat >>conftest.$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38283 #include <math.h>
38284 #ifdef HAVE_IEEEFP_H
38285 #include <ieeefp.h>
38286 #endif
38289 main ()
38291 _fabsf(0);
38293 return 0;
38295 _ACEOF
38296 rm -f conftest.$ac_objext
38297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38298 (eval $ac_compile) 2>conftest.er1
38299 ac_status=$?
38300 grep -v '^ *+' conftest.er1 >conftest.err
38301 rm -f conftest.er1
38302 cat conftest.err >&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); } &&
38305 { ac_try='test -z "$ac_cxx_werror_flag"
38306 || test ! -s conftest.err'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; } &&
38312 { ac_try='test -s conftest.$ac_objext'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38315 ac_status=$?
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; }; then
38318 glibcxx_cv_func__fabsf_use=yes
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 glibcxx_cv_func__fabsf_use=no
38325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38326 ac_ext=c
38327 ac_cpp='$CPP $CPPFLAGS'
38328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38337 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38339 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38341 for ac_func in _fabsf
38343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38344 echo "$as_me:$LINENO: checking for $ac_func" >&5
38345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38346 if eval "test \"\${$as_ac_var+set}\" = set"; then
38347 echo $ECHO_N "(cached) $ECHO_C" >&6
38348 else
38349 if test x$gcc_no_link = xyes; then
38350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38352 { (exit 1); exit 1; }; }
38354 cat >conftest.$ac_ext <<_ACEOF
38355 /* confdefs.h. */
38356 _ACEOF
38357 cat confdefs.h >>conftest.$ac_ext
38358 cat >>conftest.$ac_ext <<_ACEOF
38359 /* end confdefs.h. */
38360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38362 #define $ac_func innocuous_$ac_func
38364 /* System header to define __stub macros and hopefully few prototypes,
38365 which can conflict with char $ac_func (); below.
38366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38367 <limits.h> exists even on freestanding compilers. */
38369 #ifdef __STDC__
38370 # include <limits.h>
38371 #else
38372 # include <assert.h>
38373 #endif
38375 #undef $ac_func
38377 /* Override any gcc2 internal prototype to avoid an error. */
38378 #ifdef __cplusplus
38379 extern "C"
38381 #endif
38382 /* We use char because int might match the return type of a gcc2
38383 builtin and then its argument prototype would still apply. */
38384 char $ac_func ();
38385 /* The GNU C library defines this for functions which it implements
38386 to always fail with ENOSYS. Some functions are actually named
38387 something starting with __ and the normal name is an alias. */
38388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38389 choke me
38390 #else
38391 char (*f) () = $ac_func;
38392 #endif
38393 #ifdef __cplusplus
38395 #endif
38398 main ()
38400 return f != $ac_func;
38402 return 0;
38404 _ACEOF
38405 rm -f conftest.$ac_objext conftest$ac_exeext
38406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38407 (eval $ac_link) 2>conftest.er1
38408 ac_status=$?
38409 grep -v '^ *+' conftest.er1 >conftest.err
38410 rm -f conftest.er1
38411 cat conftest.err >&5
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); } &&
38414 { ac_try='test -z "$ac_c_werror_flag"
38415 || test ! -s conftest.err'
38416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38417 (eval $ac_try) 2>&5
38418 ac_status=$?
38419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38420 (exit $ac_status); }; } &&
38421 { ac_try='test -s conftest$ac_exeext'
38422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38423 (eval $ac_try) 2>&5
38424 ac_status=$?
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); }; }; then
38427 eval "$as_ac_var=yes"
38428 else
38429 echo "$as_me: failed program was:" >&5
38430 sed 's/^/| /' conftest.$ac_ext >&5
38432 eval "$as_ac_var=no"
38434 rm -f conftest.err conftest.$ac_objext \
38435 conftest$ac_exeext conftest.$ac_ext
38437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38439 if test `eval echo '${'$as_ac_var'}'` = yes; then
38440 cat >>confdefs.h <<_ACEOF
38441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38442 _ACEOF
38445 done
38455 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38456 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38457 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38458 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38459 echo $ECHO_N "(cached) $ECHO_C" >&6
38460 else
38464 ac_ext=cc
38465 ac_cpp='$CXXCPP $CPPFLAGS'
38466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470 cat >conftest.$ac_ext <<_ACEOF
38471 /* confdefs.h. */
38472 _ACEOF
38473 cat confdefs.h >>conftest.$ac_ext
38474 cat >>conftest.$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38476 #include <math.h>
38478 main ()
38480 fmodf(0, 0);
38482 return 0;
38484 _ACEOF
38485 rm -f conftest.$ac_objext
38486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38487 (eval $ac_compile) 2>conftest.er1
38488 ac_status=$?
38489 grep -v '^ *+' conftest.er1 >conftest.err
38490 rm -f conftest.er1
38491 cat conftest.err >&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); } &&
38494 { ac_try='test -z "$ac_cxx_werror_flag"
38495 || test ! -s conftest.err'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38498 ac_status=$?
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; } &&
38501 { ac_try='test -s conftest.$ac_objext'
38502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38503 (eval $ac_try) 2>&5
38504 ac_status=$?
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); }; }; then
38507 glibcxx_cv_func_fmodf_use=yes
38508 else
38509 echo "$as_me: failed program was:" >&5
38510 sed 's/^/| /' conftest.$ac_ext >&5
38512 glibcxx_cv_func_fmodf_use=no
38514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38515 ac_ext=c
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38526 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38528 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38530 for ac_func in fmodf
38532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38533 echo "$as_me:$LINENO: checking for $ac_func" >&5
38534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38535 if eval "test \"\${$as_ac_var+set}\" = set"; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 else
38538 if test x$gcc_no_link = xyes; then
38539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38541 { (exit 1); exit 1; }; }
38543 cat >conftest.$ac_ext <<_ACEOF
38544 /* confdefs.h. */
38545 _ACEOF
38546 cat confdefs.h >>conftest.$ac_ext
38547 cat >>conftest.$ac_ext <<_ACEOF
38548 /* end confdefs.h. */
38549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38551 #define $ac_func innocuous_$ac_func
38553 /* System header to define __stub macros and hopefully few prototypes,
38554 which can conflict with char $ac_func (); below.
38555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38556 <limits.h> exists even on freestanding compilers. */
38558 #ifdef __STDC__
38559 # include <limits.h>
38560 #else
38561 # include <assert.h>
38562 #endif
38564 #undef $ac_func
38566 /* Override any gcc2 internal prototype to avoid an error. */
38567 #ifdef __cplusplus
38568 extern "C"
38570 #endif
38571 /* We use char because int might match the return type of a gcc2
38572 builtin and then its argument prototype would still apply. */
38573 char $ac_func ();
38574 /* The GNU C library defines this for functions which it implements
38575 to always fail with ENOSYS. Some functions are actually named
38576 something starting with __ and the normal name is an alias. */
38577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38578 choke me
38579 #else
38580 char (*f) () = $ac_func;
38581 #endif
38582 #ifdef __cplusplus
38584 #endif
38587 main ()
38589 return f != $ac_func;
38591 return 0;
38593 _ACEOF
38594 rm -f conftest.$ac_objext conftest$ac_exeext
38595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38596 (eval $ac_link) 2>conftest.er1
38597 ac_status=$?
38598 grep -v '^ *+' conftest.er1 >conftest.err
38599 rm -f conftest.er1
38600 cat conftest.err >&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } &&
38603 { ac_try='test -z "$ac_c_werror_flag"
38604 || test ! -s conftest.err'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38607 ac_status=$?
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; } &&
38610 { ac_try='test -s conftest$ac_exeext'
38611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612 (eval $ac_try) 2>&5
38613 ac_status=$?
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); }; }; then
38616 eval "$as_ac_var=yes"
38617 else
38618 echo "$as_me: failed program was:" >&5
38619 sed 's/^/| /' conftest.$ac_ext >&5
38621 eval "$as_ac_var=no"
38623 rm -f conftest.err conftest.$ac_objext \
38624 conftest$ac_exeext conftest.$ac_ext
38626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38628 if test `eval echo '${'$as_ac_var'}'` = yes; then
38629 cat >>confdefs.h <<_ACEOF
38630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38631 _ACEOF
38634 done
38636 else
38638 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38639 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38640 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38641 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38642 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 else
38647 ac_ext=cc
38648 ac_cpp='$CXXCPP $CPPFLAGS'
38649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653 cat >conftest.$ac_ext <<_ACEOF
38654 /* confdefs.h. */
38655 _ACEOF
38656 cat confdefs.h >>conftest.$ac_ext
38657 cat >>conftest.$ac_ext <<_ACEOF
38658 /* end confdefs.h. */
38659 #include <math.h>
38661 main ()
38663 _fmodf(0, 0);
38665 return 0;
38667 _ACEOF
38668 rm -f conftest.$ac_objext
38669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38670 (eval $ac_compile) 2>conftest.er1
38671 ac_status=$?
38672 grep -v '^ *+' conftest.er1 >conftest.err
38673 rm -f conftest.er1
38674 cat conftest.err >&5
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); } &&
38677 { ac_try='test -z "$ac_cxx_werror_flag"
38678 || test ! -s conftest.err'
38679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38680 (eval $ac_try) 2>&5
38681 ac_status=$?
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); }; } &&
38684 { ac_try='test -s conftest.$ac_objext'
38685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38686 (eval $ac_try) 2>&5
38687 ac_status=$?
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); }; }; then
38690 glibcxx_cv_func__fmodf_use=yes
38691 else
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38695 glibcxx_cv_func__fmodf_use=no
38697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38698 ac_ext=c
38699 ac_cpp='$CPP $CPPFLAGS'
38700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38708 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38709 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38711 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38713 for ac_func in _fmodf
38715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38716 echo "$as_me:$LINENO: checking for $ac_func" >&5
38717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38718 if eval "test \"\${$as_ac_var+set}\" = set"; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 else
38721 if test x$gcc_no_link = xyes; then
38722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38724 { (exit 1); exit 1; }; }
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h. */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38734 #define $ac_func innocuous_$ac_func
38736 /* System header to define __stub macros and hopefully few prototypes,
38737 which can conflict with char $ac_func (); below.
38738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38739 <limits.h> exists even on freestanding compilers. */
38741 #ifdef __STDC__
38742 # include <limits.h>
38743 #else
38744 # include <assert.h>
38745 #endif
38747 #undef $ac_func
38749 /* Override any gcc2 internal prototype to avoid an error. */
38750 #ifdef __cplusplus
38751 extern "C"
38753 #endif
38754 /* We use char because int might match the return type of a gcc2
38755 builtin and then its argument prototype would still apply. */
38756 char $ac_func ();
38757 /* The GNU C library defines this for functions which it implements
38758 to always fail with ENOSYS. Some functions are actually named
38759 something starting with __ and the normal name is an alias. */
38760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38761 choke me
38762 #else
38763 char (*f) () = $ac_func;
38764 #endif
38765 #ifdef __cplusplus
38767 #endif
38770 main ()
38772 return f != $ac_func;
38774 return 0;
38776 _ACEOF
38777 rm -f conftest.$ac_objext conftest$ac_exeext
38778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38779 (eval $ac_link) 2>conftest.er1
38780 ac_status=$?
38781 grep -v '^ *+' conftest.er1 >conftest.err
38782 rm -f conftest.er1
38783 cat conftest.err >&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); } &&
38786 { ac_try='test -z "$ac_c_werror_flag"
38787 || test ! -s conftest.err'
38788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38789 (eval $ac_try) 2>&5
38790 ac_status=$?
38791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38792 (exit $ac_status); }; } &&
38793 { ac_try='test -s conftest$ac_exeext'
38794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38795 (eval $ac_try) 2>&5
38796 ac_status=$?
38797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798 (exit $ac_status); }; }; then
38799 eval "$as_ac_var=yes"
38800 else
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38804 eval "$as_ac_var=no"
38806 rm -f conftest.err conftest.$ac_objext \
38807 conftest$ac_exeext conftest.$ac_ext
38809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38811 if test `eval echo '${'$as_ac_var'}'` = yes; then
38812 cat >>confdefs.h <<_ACEOF
38813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38814 _ACEOF
38817 done
38827 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38828 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38829 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38830 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38831 echo $ECHO_N "(cached) $ECHO_C" >&6
38832 else
38836 ac_ext=cc
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38842 cat >conftest.$ac_ext <<_ACEOF
38843 /* confdefs.h. */
38844 _ACEOF
38845 cat confdefs.h >>conftest.$ac_ext
38846 cat >>conftest.$ac_ext <<_ACEOF
38847 /* end confdefs.h. */
38848 #include <math.h>
38850 main ()
38852 frexpf(0, 0);
38854 return 0;
38856 _ACEOF
38857 rm -f conftest.$ac_objext
38858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38859 (eval $ac_compile) 2>conftest.er1
38860 ac_status=$?
38861 grep -v '^ *+' conftest.er1 >conftest.err
38862 rm -f conftest.er1
38863 cat conftest.err >&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); } &&
38866 { ac_try='test -z "$ac_cxx_werror_flag"
38867 || test ! -s conftest.err'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38870 ac_status=$?
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; } &&
38873 { ac_try='test -s conftest.$ac_objext'
38874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38875 (eval $ac_try) 2>&5
38876 ac_status=$?
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); }; }; then
38879 glibcxx_cv_func_frexpf_use=yes
38880 else
38881 echo "$as_me: failed program was:" >&5
38882 sed 's/^/| /' conftest.$ac_ext >&5
38884 glibcxx_cv_func_frexpf_use=no
38886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38887 ac_ext=c
38888 ac_cpp='$CPP $CPPFLAGS'
38889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38898 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38900 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38902 for ac_func in frexpf
38904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38905 echo "$as_me:$LINENO: checking for $ac_func" >&5
38906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38907 if eval "test \"\${$as_ac_var+set}\" = set"; then
38908 echo $ECHO_N "(cached) $ECHO_C" >&6
38909 else
38910 if test x$gcc_no_link = xyes; then
38911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38913 { (exit 1); exit 1; }; }
38915 cat >conftest.$ac_ext <<_ACEOF
38916 /* confdefs.h. */
38917 _ACEOF
38918 cat confdefs.h >>conftest.$ac_ext
38919 cat >>conftest.$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38923 #define $ac_func innocuous_$ac_func
38925 /* System header to define __stub macros and hopefully few prototypes,
38926 which can conflict with char $ac_func (); below.
38927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38928 <limits.h> exists even on freestanding compilers. */
38930 #ifdef __STDC__
38931 # include <limits.h>
38932 #else
38933 # include <assert.h>
38934 #endif
38936 #undef $ac_func
38938 /* Override any gcc2 internal prototype to avoid an error. */
38939 #ifdef __cplusplus
38940 extern "C"
38942 #endif
38943 /* We use char because int might match the return type of a gcc2
38944 builtin and then its argument prototype would still apply. */
38945 char $ac_func ();
38946 /* The GNU C library defines this for functions which it implements
38947 to always fail with ENOSYS. Some functions are actually named
38948 something starting with __ and the normal name is an alias. */
38949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38950 choke me
38951 #else
38952 char (*f) () = $ac_func;
38953 #endif
38954 #ifdef __cplusplus
38956 #endif
38959 main ()
38961 return f != $ac_func;
38963 return 0;
38965 _ACEOF
38966 rm -f conftest.$ac_objext conftest$ac_exeext
38967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38968 (eval $ac_link) 2>conftest.er1
38969 ac_status=$?
38970 grep -v '^ *+' conftest.er1 >conftest.err
38971 rm -f conftest.er1
38972 cat conftest.err >&5
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); } &&
38975 { ac_try='test -z "$ac_c_werror_flag"
38976 || test ! -s conftest.err'
38977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38978 (eval $ac_try) 2>&5
38979 ac_status=$?
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); }; } &&
38982 { ac_try='test -s conftest$ac_exeext'
38983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38984 (eval $ac_try) 2>&5
38985 ac_status=$?
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); }; }; then
38988 eval "$as_ac_var=yes"
38989 else
38990 echo "$as_me: failed program was:" >&5
38991 sed 's/^/| /' conftest.$ac_ext >&5
38993 eval "$as_ac_var=no"
38995 rm -f conftest.err conftest.$ac_objext \
38996 conftest$ac_exeext conftest.$ac_ext
38998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39000 if test `eval echo '${'$as_ac_var'}'` = yes; then
39001 cat >>confdefs.h <<_ACEOF
39002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39003 _ACEOF
39006 done
39008 else
39010 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39011 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39012 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39013 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39014 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 else
39019 ac_ext=cc
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat >conftest.$ac_ext <<_ACEOF
39026 /* confdefs.h. */
39027 _ACEOF
39028 cat confdefs.h >>conftest.$ac_ext
39029 cat >>conftest.$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39031 #include <math.h>
39033 main ()
39035 _frexpf(0, 0);
39037 return 0;
39039 _ACEOF
39040 rm -f conftest.$ac_objext
39041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39042 (eval $ac_compile) 2>conftest.er1
39043 ac_status=$?
39044 grep -v '^ *+' conftest.er1 >conftest.err
39045 rm -f conftest.er1
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } &&
39049 { ac_try='test -z "$ac_cxx_werror_flag"
39050 || test ! -s conftest.err'
39051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39052 (eval $ac_try) 2>&5
39053 ac_status=$?
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); }; } &&
39056 { ac_try='test -s conftest.$ac_objext'
39057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39058 (eval $ac_try) 2>&5
39059 ac_status=$?
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); }; }; then
39062 glibcxx_cv_func__frexpf_use=yes
39063 else
39064 echo "$as_me: failed program was:" >&5
39065 sed 's/^/| /' conftest.$ac_ext >&5
39067 glibcxx_cv_func__frexpf_use=no
39069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39070 ac_ext=c
39071 ac_cpp='$CPP $CPPFLAGS'
39072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39080 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39081 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39083 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39085 for ac_func in _frexpf
39087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39088 echo "$as_me:$LINENO: checking for $ac_func" >&5
39089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39090 if eval "test \"\${$as_ac_var+set}\" = set"; then
39091 echo $ECHO_N "(cached) $ECHO_C" >&6
39092 else
39093 if test x$gcc_no_link = xyes; then
39094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39096 { (exit 1); exit 1; }; }
39098 cat >conftest.$ac_ext <<_ACEOF
39099 /* confdefs.h. */
39100 _ACEOF
39101 cat confdefs.h >>conftest.$ac_ext
39102 cat >>conftest.$ac_ext <<_ACEOF
39103 /* end confdefs.h. */
39104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39106 #define $ac_func innocuous_$ac_func
39108 /* System header to define __stub macros and hopefully few prototypes,
39109 which can conflict with char $ac_func (); below.
39110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39111 <limits.h> exists even on freestanding compilers. */
39113 #ifdef __STDC__
39114 # include <limits.h>
39115 #else
39116 # include <assert.h>
39117 #endif
39119 #undef $ac_func
39121 /* Override any gcc2 internal prototype to avoid an error. */
39122 #ifdef __cplusplus
39123 extern "C"
39125 #endif
39126 /* We use char because int might match the return type of a gcc2
39127 builtin and then its argument prototype would still apply. */
39128 char $ac_func ();
39129 /* The GNU C library defines this for functions which it implements
39130 to always fail with ENOSYS. Some functions are actually named
39131 something starting with __ and the normal name is an alias. */
39132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39133 choke me
39134 #else
39135 char (*f) () = $ac_func;
39136 #endif
39137 #ifdef __cplusplus
39139 #endif
39142 main ()
39144 return f != $ac_func;
39146 return 0;
39148 _ACEOF
39149 rm -f conftest.$ac_objext conftest$ac_exeext
39150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39151 (eval $ac_link) 2>conftest.er1
39152 ac_status=$?
39153 grep -v '^ *+' conftest.er1 >conftest.err
39154 rm -f conftest.er1
39155 cat conftest.err >&5
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); } &&
39158 { ac_try='test -z "$ac_c_werror_flag"
39159 || test ! -s conftest.err'
39160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39161 (eval $ac_try) 2>&5
39162 ac_status=$?
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); }; } &&
39165 { ac_try='test -s conftest$ac_exeext'
39166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39167 (eval $ac_try) 2>&5
39168 ac_status=$?
39169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39170 (exit $ac_status); }; }; then
39171 eval "$as_ac_var=yes"
39172 else
39173 echo "$as_me: failed program was:" >&5
39174 sed 's/^/| /' conftest.$ac_ext >&5
39176 eval "$as_ac_var=no"
39178 rm -f conftest.err conftest.$ac_objext \
39179 conftest$ac_exeext conftest.$ac_ext
39181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39183 if test `eval echo '${'$as_ac_var'}'` = yes; then
39184 cat >>confdefs.h <<_ACEOF
39185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39186 _ACEOF
39189 done
39199 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39200 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39201 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39202 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 else
39208 ac_ext=cc
39209 ac_cpp='$CXXCPP $CPPFLAGS'
39210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39214 cat >conftest.$ac_ext <<_ACEOF
39215 /* confdefs.h. */
39216 _ACEOF
39217 cat confdefs.h >>conftest.$ac_ext
39218 cat >>conftest.$ac_ext <<_ACEOF
39219 /* end confdefs.h. */
39220 #include <math.h>
39222 main ()
39224 hypotf(0, 0);
39226 return 0;
39228 _ACEOF
39229 rm -f conftest.$ac_objext
39230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39231 (eval $ac_compile) 2>conftest.er1
39232 ac_status=$?
39233 grep -v '^ *+' conftest.er1 >conftest.err
39234 rm -f conftest.er1
39235 cat conftest.err >&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } &&
39238 { ac_try='test -z "$ac_cxx_werror_flag"
39239 || test ! -s conftest.err'
39240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39241 (eval $ac_try) 2>&5
39242 ac_status=$?
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); }; } &&
39245 { ac_try='test -s conftest.$ac_objext'
39246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39247 (eval $ac_try) 2>&5
39248 ac_status=$?
39249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39250 (exit $ac_status); }; }; then
39251 glibcxx_cv_func_hypotf_use=yes
39252 else
39253 echo "$as_me: failed program was:" >&5
39254 sed 's/^/| /' conftest.$ac_ext >&5
39256 glibcxx_cv_func_hypotf_use=no
39258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39259 ac_ext=c
39260 ac_cpp='$CPP $CPPFLAGS'
39261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39270 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39272 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39274 for ac_func in hypotf
39276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39277 echo "$as_me:$LINENO: checking for $ac_func" >&5
39278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39279 if eval "test \"\${$as_ac_var+set}\" = set"; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39281 else
39282 if test x$gcc_no_link = xyes; then
39283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39285 { (exit 1); exit 1; }; }
39287 cat >conftest.$ac_ext <<_ACEOF
39288 /* confdefs.h. */
39289 _ACEOF
39290 cat confdefs.h >>conftest.$ac_ext
39291 cat >>conftest.$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39295 #define $ac_func innocuous_$ac_func
39297 /* System header to define __stub macros and hopefully few prototypes,
39298 which can conflict with char $ac_func (); below.
39299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39300 <limits.h> exists even on freestanding compilers. */
39302 #ifdef __STDC__
39303 # include <limits.h>
39304 #else
39305 # include <assert.h>
39306 #endif
39308 #undef $ac_func
39310 /* Override any gcc2 internal prototype to avoid an error. */
39311 #ifdef __cplusplus
39312 extern "C"
39314 #endif
39315 /* We use char because int might match the return type of a gcc2
39316 builtin and then its argument prototype would still apply. */
39317 char $ac_func ();
39318 /* The GNU C library defines this for functions which it implements
39319 to always fail with ENOSYS. Some functions are actually named
39320 something starting with __ and the normal name is an alias. */
39321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39322 choke me
39323 #else
39324 char (*f) () = $ac_func;
39325 #endif
39326 #ifdef __cplusplus
39328 #endif
39331 main ()
39333 return f != $ac_func;
39335 return 0;
39337 _ACEOF
39338 rm -f conftest.$ac_objext conftest$ac_exeext
39339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39340 (eval $ac_link) 2>conftest.er1
39341 ac_status=$?
39342 grep -v '^ *+' conftest.er1 >conftest.err
39343 rm -f conftest.er1
39344 cat conftest.err >&5
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); } &&
39347 { ac_try='test -z "$ac_c_werror_flag"
39348 || test ! -s conftest.err'
39349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39350 (eval $ac_try) 2>&5
39351 ac_status=$?
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); }; } &&
39354 { ac_try='test -s conftest$ac_exeext'
39355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39356 (eval $ac_try) 2>&5
39357 ac_status=$?
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); }; }; then
39360 eval "$as_ac_var=yes"
39361 else
39362 echo "$as_me: failed program was:" >&5
39363 sed 's/^/| /' conftest.$ac_ext >&5
39365 eval "$as_ac_var=no"
39367 rm -f conftest.err conftest.$ac_objext \
39368 conftest$ac_exeext conftest.$ac_ext
39370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39372 if test `eval echo '${'$as_ac_var'}'` = yes; then
39373 cat >>confdefs.h <<_ACEOF
39374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39375 _ACEOF
39378 done
39380 else
39382 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39383 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39384 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39385 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39391 ac_ext=cc
39392 ac_cpp='$CXXCPP $CPPFLAGS'
39393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39397 cat >conftest.$ac_ext <<_ACEOF
39398 /* confdefs.h. */
39399 _ACEOF
39400 cat confdefs.h >>conftest.$ac_ext
39401 cat >>conftest.$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39403 #include <math.h>
39405 main ()
39407 _hypotf(0, 0);
39409 return 0;
39411 _ACEOF
39412 rm -f conftest.$ac_objext
39413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39414 (eval $ac_compile) 2>conftest.er1
39415 ac_status=$?
39416 grep -v '^ *+' conftest.er1 >conftest.err
39417 rm -f conftest.er1
39418 cat conftest.err >&5
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); } &&
39421 { ac_try='test -z "$ac_cxx_werror_flag"
39422 || test ! -s conftest.err'
39423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39424 (eval $ac_try) 2>&5
39425 ac_status=$?
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); }; } &&
39428 { ac_try='test -s conftest.$ac_objext'
39429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39430 (eval $ac_try) 2>&5
39431 ac_status=$?
39432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39433 (exit $ac_status); }; }; then
39434 glibcxx_cv_func__hypotf_use=yes
39435 else
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.$ac_ext >&5
39439 glibcxx_cv_func__hypotf_use=no
39441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39442 ac_ext=c
39443 ac_cpp='$CPP $CPPFLAGS'
39444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39453 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39455 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39457 for ac_func in _hypotf
39459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39460 echo "$as_me:$LINENO: checking for $ac_func" >&5
39461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39462 if eval "test \"\${$as_ac_var+set}\" = set"; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39464 else
39465 if test x$gcc_no_link = xyes; then
39466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39468 { (exit 1); exit 1; }; }
39470 cat >conftest.$ac_ext <<_ACEOF
39471 /* confdefs.h. */
39472 _ACEOF
39473 cat confdefs.h >>conftest.$ac_ext
39474 cat >>conftest.$ac_ext <<_ACEOF
39475 /* end confdefs.h. */
39476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39478 #define $ac_func innocuous_$ac_func
39480 /* System header to define __stub macros and hopefully few prototypes,
39481 which can conflict with char $ac_func (); below.
39482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39483 <limits.h> exists even on freestanding compilers. */
39485 #ifdef __STDC__
39486 # include <limits.h>
39487 #else
39488 # include <assert.h>
39489 #endif
39491 #undef $ac_func
39493 /* Override any gcc2 internal prototype to avoid an error. */
39494 #ifdef __cplusplus
39495 extern "C"
39497 #endif
39498 /* We use char because int might match the return type of a gcc2
39499 builtin and then its argument prototype would still apply. */
39500 char $ac_func ();
39501 /* The GNU C library defines this for functions which it implements
39502 to always fail with ENOSYS. Some functions are actually named
39503 something starting with __ and the normal name is an alias. */
39504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39505 choke me
39506 #else
39507 char (*f) () = $ac_func;
39508 #endif
39509 #ifdef __cplusplus
39511 #endif
39514 main ()
39516 return f != $ac_func;
39518 return 0;
39520 _ACEOF
39521 rm -f conftest.$ac_objext conftest$ac_exeext
39522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39523 (eval $ac_link) 2>conftest.er1
39524 ac_status=$?
39525 grep -v '^ *+' conftest.er1 >conftest.err
39526 rm -f conftest.er1
39527 cat conftest.err >&5
39528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39529 (exit $ac_status); } &&
39530 { ac_try='test -z "$ac_c_werror_flag"
39531 || test ! -s conftest.err'
39532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533 (eval $ac_try) 2>&5
39534 ac_status=$?
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); }; } &&
39537 { ac_try='test -s conftest$ac_exeext'
39538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39539 (eval $ac_try) 2>&5
39540 ac_status=$?
39541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39542 (exit $ac_status); }; }; then
39543 eval "$as_ac_var=yes"
39544 else
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39548 eval "$as_ac_var=no"
39550 rm -f conftest.err conftest.$ac_objext \
39551 conftest$ac_exeext conftest.$ac_ext
39553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39555 if test `eval echo '${'$as_ac_var'}'` = yes; then
39556 cat >>confdefs.h <<_ACEOF
39557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39558 _ACEOF
39561 done
39571 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39572 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39573 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39574 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39575 echo $ECHO_N "(cached) $ECHO_C" >&6
39576 else
39580 ac_ext=cc
39581 ac_cpp='$CXXCPP $CPPFLAGS'
39582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <math.h>
39594 main ()
39596 ldexpf(0, 0);
39598 return 0;
39600 _ACEOF
39601 rm -f conftest.$ac_objext
39602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39603 (eval $ac_compile) 2>conftest.er1
39604 ac_status=$?
39605 grep -v '^ *+' conftest.er1 >conftest.err
39606 rm -f conftest.er1
39607 cat conftest.err >&5
39608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39609 (exit $ac_status); } &&
39610 { ac_try='test -z "$ac_cxx_werror_flag"
39611 || test ! -s conftest.err'
39612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39613 (eval $ac_try) 2>&5
39614 ac_status=$?
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); }; } &&
39617 { ac_try='test -s conftest.$ac_objext'
39618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39619 (eval $ac_try) 2>&5
39620 ac_status=$?
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); }; }; then
39623 glibcxx_cv_func_ldexpf_use=yes
39624 else
39625 echo "$as_me: failed program was:" >&5
39626 sed 's/^/| /' conftest.$ac_ext >&5
39628 glibcxx_cv_func_ldexpf_use=no
39630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39631 ac_ext=c
39632 ac_cpp='$CPP $CPPFLAGS'
39633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39642 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39644 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39646 for ac_func in ldexpf
39648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39649 echo "$as_me:$LINENO: checking for $ac_func" >&5
39650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39651 if eval "test \"\${$as_ac_var+set}\" = set"; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39653 else
39654 if test x$gcc_no_link = xyes; then
39655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39657 { (exit 1); exit 1; }; }
39659 cat >conftest.$ac_ext <<_ACEOF
39660 /* confdefs.h. */
39661 _ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39667 #define $ac_func innocuous_$ac_func
39669 /* System header to define __stub macros and hopefully few prototypes,
39670 which can conflict with char $ac_func (); below.
39671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39672 <limits.h> exists even on freestanding compilers. */
39674 #ifdef __STDC__
39675 # include <limits.h>
39676 #else
39677 # include <assert.h>
39678 #endif
39680 #undef $ac_func
39682 /* Override any gcc2 internal prototype to avoid an error. */
39683 #ifdef __cplusplus
39684 extern "C"
39686 #endif
39687 /* We use char because int might match the return type of a gcc2
39688 builtin and then its argument prototype would still apply. */
39689 char $ac_func ();
39690 /* The GNU C library defines this for functions which it implements
39691 to always fail with ENOSYS. Some functions are actually named
39692 something starting with __ and the normal name is an alias. */
39693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39694 choke me
39695 #else
39696 char (*f) () = $ac_func;
39697 #endif
39698 #ifdef __cplusplus
39700 #endif
39703 main ()
39705 return f != $ac_func;
39707 return 0;
39709 _ACEOF
39710 rm -f conftest.$ac_objext conftest$ac_exeext
39711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39712 (eval $ac_link) 2>conftest.er1
39713 ac_status=$?
39714 grep -v '^ *+' conftest.er1 >conftest.err
39715 rm -f conftest.er1
39716 cat conftest.err >&5
39717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39718 (exit $ac_status); } &&
39719 { ac_try='test -z "$ac_c_werror_flag"
39720 || test ! -s conftest.err'
39721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39722 (eval $ac_try) 2>&5
39723 ac_status=$?
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); }; } &&
39726 { ac_try='test -s conftest$ac_exeext'
39727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39728 (eval $ac_try) 2>&5
39729 ac_status=$?
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); }; }; then
39732 eval "$as_ac_var=yes"
39733 else
39734 echo "$as_me: failed program was:" >&5
39735 sed 's/^/| /' conftest.$ac_ext >&5
39737 eval "$as_ac_var=no"
39739 rm -f conftest.err conftest.$ac_objext \
39740 conftest$ac_exeext conftest.$ac_ext
39742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39744 if test `eval echo '${'$as_ac_var'}'` = yes; then
39745 cat >>confdefs.h <<_ACEOF
39746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39747 _ACEOF
39750 done
39752 else
39754 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39755 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39756 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39757 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39758 echo $ECHO_N "(cached) $ECHO_C" >&6
39759 else
39763 ac_ext=cc
39764 ac_cpp='$CXXCPP $CPPFLAGS'
39765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39769 cat >conftest.$ac_ext <<_ACEOF
39770 /* confdefs.h. */
39771 _ACEOF
39772 cat confdefs.h >>conftest.$ac_ext
39773 cat >>conftest.$ac_ext <<_ACEOF
39774 /* end confdefs.h. */
39775 #include <math.h>
39777 main ()
39779 _ldexpf(0, 0);
39781 return 0;
39783 _ACEOF
39784 rm -f conftest.$ac_objext
39785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39786 (eval $ac_compile) 2>conftest.er1
39787 ac_status=$?
39788 grep -v '^ *+' conftest.er1 >conftest.err
39789 rm -f conftest.er1
39790 cat conftest.err >&5
39791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792 (exit $ac_status); } &&
39793 { ac_try='test -z "$ac_cxx_werror_flag"
39794 || test ! -s conftest.err'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39797 ac_status=$?
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; } &&
39800 { ac_try='test -s conftest.$ac_objext'
39801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39802 (eval $ac_try) 2>&5
39803 ac_status=$?
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); }; }; then
39806 glibcxx_cv_func__ldexpf_use=yes
39807 else
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39811 glibcxx_cv_func__ldexpf_use=no
39813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39814 ac_ext=c
39815 ac_cpp='$CPP $CPPFLAGS'
39816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39825 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39827 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39829 for ac_func in _ldexpf
39831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39832 echo "$as_me:$LINENO: checking for $ac_func" >&5
39833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39834 if eval "test \"\${$as_ac_var+set}\" = set"; then
39835 echo $ECHO_N "(cached) $ECHO_C" >&6
39836 else
39837 if test x$gcc_no_link = xyes; then
39838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39840 { (exit 1); exit 1; }; }
39842 cat >conftest.$ac_ext <<_ACEOF
39843 /* confdefs.h. */
39844 _ACEOF
39845 cat confdefs.h >>conftest.$ac_ext
39846 cat >>conftest.$ac_ext <<_ACEOF
39847 /* end confdefs.h. */
39848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39850 #define $ac_func innocuous_$ac_func
39852 /* System header to define __stub macros and hopefully few prototypes,
39853 which can conflict with char $ac_func (); below.
39854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39855 <limits.h> exists even on freestanding compilers. */
39857 #ifdef __STDC__
39858 # include <limits.h>
39859 #else
39860 # include <assert.h>
39861 #endif
39863 #undef $ac_func
39865 /* Override any gcc2 internal prototype to avoid an error. */
39866 #ifdef __cplusplus
39867 extern "C"
39869 #endif
39870 /* We use char because int might match the return type of a gcc2
39871 builtin and then its argument prototype would still apply. */
39872 char $ac_func ();
39873 /* The GNU C library defines this for functions which it implements
39874 to always fail with ENOSYS. Some functions are actually named
39875 something starting with __ and the normal name is an alias. */
39876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39877 choke me
39878 #else
39879 char (*f) () = $ac_func;
39880 #endif
39881 #ifdef __cplusplus
39883 #endif
39886 main ()
39888 return f != $ac_func;
39890 return 0;
39892 _ACEOF
39893 rm -f conftest.$ac_objext conftest$ac_exeext
39894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39895 (eval $ac_link) 2>conftest.er1
39896 ac_status=$?
39897 grep -v '^ *+' conftest.er1 >conftest.err
39898 rm -f conftest.er1
39899 cat conftest.err >&5
39900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901 (exit $ac_status); } &&
39902 { ac_try='test -z "$ac_c_werror_flag"
39903 || test ! -s conftest.err'
39904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39905 (eval $ac_try) 2>&5
39906 ac_status=$?
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); }; } &&
39909 { ac_try='test -s conftest$ac_exeext'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39912 ac_status=$?
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; }; then
39915 eval "$as_ac_var=yes"
39916 else
39917 echo "$as_me: failed program was:" >&5
39918 sed 's/^/| /' conftest.$ac_ext >&5
39920 eval "$as_ac_var=no"
39922 rm -f conftest.err conftest.$ac_objext \
39923 conftest$ac_exeext conftest.$ac_ext
39925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39927 if test `eval echo '${'$as_ac_var'}'` = yes; then
39928 cat >>confdefs.h <<_ACEOF
39929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39930 _ACEOF
39933 done
39943 echo "$as_me:$LINENO: checking for logf declaration" >&5
39944 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39945 if test x${glibcxx_cv_func_logf_use+set} != xset; then
39946 if test "${glibcxx_cv_func_logf_use+set}" = set; then
39947 echo $ECHO_N "(cached) $ECHO_C" >&6
39948 else
39952 ac_ext=cc
39953 ac_cpp='$CXXCPP $CPPFLAGS'
39954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39958 cat >conftest.$ac_ext <<_ACEOF
39959 /* confdefs.h. */
39960 _ACEOF
39961 cat confdefs.h >>conftest.$ac_ext
39962 cat >>conftest.$ac_ext <<_ACEOF
39963 /* end confdefs.h. */
39964 #include <math.h>
39965 #ifdef HAVE_IEEEFP_H
39966 #include <ieeefp.h>
39967 #endif
39970 main ()
39972 logf(0);
39974 return 0;
39976 _ACEOF
39977 rm -f conftest.$ac_objext
39978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39979 (eval $ac_compile) 2>conftest.er1
39980 ac_status=$?
39981 grep -v '^ *+' conftest.er1 >conftest.err
39982 rm -f conftest.er1
39983 cat conftest.err >&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); } &&
39986 { ac_try='test -z "$ac_cxx_werror_flag"
39987 || test ! -s conftest.err'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39990 ac_status=$?
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; } &&
39993 { ac_try='test -s conftest.$ac_objext'
39994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995 (eval $ac_try) 2>&5
39996 ac_status=$?
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); }; }; then
39999 glibcxx_cv_func_logf_use=yes
40000 else
40001 echo "$as_me: failed program was:" >&5
40002 sed 's/^/| /' conftest.$ac_ext >&5
40004 glibcxx_cv_func_logf_use=no
40006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40007 ac_ext=c
40008 ac_cpp='$CPP $CPPFLAGS'
40009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40018 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40020 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40022 for ac_func in logf
40024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40025 echo "$as_me:$LINENO: checking for $ac_func" >&5
40026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40027 if eval "test \"\${$as_ac_var+set}\" = set"; then
40028 echo $ECHO_N "(cached) $ECHO_C" >&6
40029 else
40030 if test x$gcc_no_link = xyes; then
40031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40033 { (exit 1); exit 1; }; }
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h. */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define $ac_func innocuous_$ac_func
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char $ac_func (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40050 #ifdef __STDC__
40051 # include <limits.h>
40052 #else
40053 # include <assert.h>
40054 #endif
40056 #undef $ac_func
40058 /* Override any gcc2 internal prototype to avoid an error. */
40059 #ifdef __cplusplus
40060 extern "C"
40062 #endif
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40065 char $ac_func ();
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40070 choke me
40071 #else
40072 char (*f) () = $ac_func;
40073 #endif
40074 #ifdef __cplusplus
40076 #endif
40079 main ()
40081 return f != $ac_func;
40083 return 0;
40085 _ACEOF
40086 rm -f conftest.$ac_objext conftest$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40089 ac_status=$?
40090 grep -v '^ *+' conftest.er1 >conftest.err
40091 rm -f conftest.er1
40092 cat conftest.err >&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try='test -z "$ac_c_werror_flag"
40096 || test ! -s conftest.err'
40097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098 (eval $ac_try) 2>&5
40099 ac_status=$?
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); }; } &&
40102 { ac_try='test -s conftest$ac_exeext'
40103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104 (eval $ac_try) 2>&5
40105 ac_status=$?
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); }; }; then
40108 eval "$as_ac_var=yes"
40109 else
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40113 eval "$as_ac_var=no"
40115 rm -f conftest.err conftest.$ac_objext \
40116 conftest$ac_exeext conftest.$ac_ext
40118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40120 if test `eval echo '${'$as_ac_var'}'` = yes; then
40121 cat >>confdefs.h <<_ACEOF
40122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40123 _ACEOF
40126 done
40128 else
40130 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40131 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40132 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40133 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40134 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 else
40139 ac_ext=cc
40140 ac_cpp='$CXXCPP $CPPFLAGS'
40141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40145 cat >conftest.$ac_ext <<_ACEOF
40146 /* confdefs.h. */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 #include <math.h>
40152 #ifdef HAVE_IEEEFP_H
40153 #include <ieeefp.h>
40154 #endif
40157 main ()
40159 _logf(0);
40161 return 0;
40163 _ACEOF
40164 rm -f conftest.$ac_objext
40165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40166 (eval $ac_compile) 2>conftest.er1
40167 ac_status=$?
40168 grep -v '^ *+' conftest.er1 >conftest.err
40169 rm -f conftest.er1
40170 cat conftest.err >&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } &&
40173 { ac_try='test -z "$ac_cxx_werror_flag"
40174 || test ! -s conftest.err'
40175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40176 (eval $ac_try) 2>&5
40177 ac_status=$?
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); }; } &&
40180 { ac_try='test -s conftest.$ac_objext'
40181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182 (eval $ac_try) 2>&5
40183 ac_status=$?
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); }; }; then
40186 glibcxx_cv_func__logf_use=yes
40187 else
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40191 glibcxx_cv_func__logf_use=no
40193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40194 ac_ext=c
40195 ac_cpp='$CPP $CPPFLAGS'
40196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40205 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40207 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40209 for ac_func in _logf
40211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40212 echo "$as_me:$LINENO: checking for $ac_func" >&5
40213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40214 if eval "test \"\${$as_ac_var+set}\" = set"; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217 if test x$gcc_no_link = xyes; then
40218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40220 { (exit 1); exit 1; }; }
40222 cat >conftest.$ac_ext <<_ACEOF
40223 /* confdefs.h. */
40224 _ACEOF
40225 cat confdefs.h >>conftest.$ac_ext
40226 cat >>conftest.$ac_ext <<_ACEOF
40227 /* end confdefs.h. */
40228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40230 #define $ac_func innocuous_$ac_func
40232 /* System header to define __stub macros and hopefully few prototypes,
40233 which can conflict with char $ac_func (); below.
40234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40235 <limits.h> exists even on freestanding compilers. */
40237 #ifdef __STDC__
40238 # include <limits.h>
40239 #else
40240 # include <assert.h>
40241 #endif
40243 #undef $ac_func
40245 /* Override any gcc2 internal prototype to avoid an error. */
40246 #ifdef __cplusplus
40247 extern "C"
40249 #endif
40250 /* We use char because int might match the return type of a gcc2
40251 builtin and then its argument prototype would still apply. */
40252 char $ac_func ();
40253 /* The GNU C library defines this for functions which it implements
40254 to always fail with ENOSYS. Some functions are actually named
40255 something starting with __ and the normal name is an alias. */
40256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40257 choke me
40258 #else
40259 char (*f) () = $ac_func;
40260 #endif
40261 #ifdef __cplusplus
40263 #endif
40266 main ()
40268 return f != $ac_func;
40270 return 0;
40272 _ACEOF
40273 rm -f conftest.$ac_objext conftest$ac_exeext
40274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40275 (eval $ac_link) 2>conftest.er1
40276 ac_status=$?
40277 grep -v '^ *+' conftest.er1 >conftest.err
40278 rm -f conftest.er1
40279 cat conftest.err >&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); } &&
40282 { ac_try='test -z "$ac_c_werror_flag"
40283 || test ! -s conftest.err'
40284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40285 (eval $ac_try) 2>&5
40286 ac_status=$?
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); }; } &&
40289 { ac_try='test -s conftest$ac_exeext'
40290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40291 (eval $ac_try) 2>&5
40292 ac_status=$?
40293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294 (exit $ac_status); }; }; then
40295 eval "$as_ac_var=yes"
40296 else
40297 echo "$as_me: failed program was:" >&5
40298 sed 's/^/| /' conftest.$ac_ext >&5
40300 eval "$as_ac_var=no"
40302 rm -f conftest.err conftest.$ac_objext \
40303 conftest$ac_exeext conftest.$ac_ext
40305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40307 if test `eval echo '${'$as_ac_var'}'` = yes; then
40308 cat >>confdefs.h <<_ACEOF
40309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40310 _ACEOF
40313 done
40323 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40324 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40325 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40326 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40327 echo $ECHO_N "(cached) $ECHO_C" >&6
40328 else
40332 ac_ext=cc
40333 ac_cpp='$CXXCPP $CPPFLAGS'
40334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40338 cat >conftest.$ac_ext <<_ACEOF
40339 /* confdefs.h. */
40340 _ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 #include <math.h>
40345 #ifdef HAVE_IEEEFP_H
40346 #include <ieeefp.h>
40347 #endif
40350 main ()
40352 log10f(0);
40354 return 0;
40356 _ACEOF
40357 rm -f conftest.$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359 (eval $ac_compile) 2>conftest.er1
40360 ac_status=$?
40361 grep -v '^ *+' conftest.er1 >conftest.err
40362 rm -f conftest.er1
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try='test -z "$ac_cxx_werror_flag"
40367 || test ! -s conftest.err'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; } &&
40373 { ac_try='test -s conftest.$ac_objext'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; }; then
40379 glibcxx_cv_func_log10f_use=yes
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40384 glibcxx_cv_func_log10f_use=no
40386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40387 ac_ext=c
40388 ac_cpp='$CPP $CPPFLAGS'
40389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40397 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40398 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40400 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40402 for ac_func in log10f
40404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40405 echo "$as_me:$LINENO: checking for $ac_func" >&5
40406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40407 if eval "test \"\${$as_ac_var+set}\" = set"; then
40408 echo $ECHO_N "(cached) $ECHO_C" >&6
40409 else
40410 if test x$gcc_no_link = xyes; then
40411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40413 { (exit 1); exit 1; }; }
40415 cat >conftest.$ac_ext <<_ACEOF
40416 /* confdefs.h. */
40417 _ACEOF
40418 cat confdefs.h >>conftest.$ac_ext
40419 cat >>conftest.$ac_ext <<_ACEOF
40420 /* end confdefs.h. */
40421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40423 #define $ac_func innocuous_$ac_func
40425 /* System header to define __stub macros and hopefully few prototypes,
40426 which can conflict with char $ac_func (); below.
40427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40428 <limits.h> exists even on freestanding compilers. */
40430 #ifdef __STDC__
40431 # include <limits.h>
40432 #else
40433 # include <assert.h>
40434 #endif
40436 #undef $ac_func
40438 /* Override any gcc2 internal prototype to avoid an error. */
40439 #ifdef __cplusplus
40440 extern "C"
40442 #endif
40443 /* We use char because int might match the return type of a gcc2
40444 builtin and then its argument prototype would still apply. */
40445 char $ac_func ();
40446 /* The GNU C library defines this for functions which it implements
40447 to always fail with ENOSYS. Some functions are actually named
40448 something starting with __ and the normal name is an alias. */
40449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40450 choke me
40451 #else
40452 char (*f) () = $ac_func;
40453 #endif
40454 #ifdef __cplusplus
40456 #endif
40459 main ()
40461 return f != $ac_func;
40463 return 0;
40465 _ACEOF
40466 rm -f conftest.$ac_objext conftest$ac_exeext
40467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40468 (eval $ac_link) 2>conftest.er1
40469 ac_status=$?
40470 grep -v '^ *+' conftest.er1 >conftest.err
40471 rm -f conftest.er1
40472 cat conftest.err >&5
40473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474 (exit $ac_status); } &&
40475 { ac_try='test -z "$ac_c_werror_flag"
40476 || test ! -s conftest.err'
40477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40478 (eval $ac_try) 2>&5
40479 ac_status=$?
40480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481 (exit $ac_status); }; } &&
40482 { ac_try='test -s conftest$ac_exeext'
40483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40484 (eval $ac_try) 2>&5
40485 ac_status=$?
40486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487 (exit $ac_status); }; }; then
40488 eval "$as_ac_var=yes"
40489 else
40490 echo "$as_me: failed program was:" >&5
40491 sed 's/^/| /' conftest.$ac_ext >&5
40493 eval "$as_ac_var=no"
40495 rm -f conftest.err conftest.$ac_objext \
40496 conftest$ac_exeext conftest.$ac_ext
40498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40500 if test `eval echo '${'$as_ac_var'}'` = yes; then
40501 cat >>confdefs.h <<_ACEOF
40502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40503 _ACEOF
40506 done
40508 else
40510 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40511 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40512 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40513 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40515 else
40519 ac_ext=cc
40520 ac_cpp='$CXXCPP $CPPFLAGS'
40521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40525 cat >conftest.$ac_ext <<_ACEOF
40526 /* confdefs.h. */
40527 _ACEOF
40528 cat confdefs.h >>conftest.$ac_ext
40529 cat >>conftest.$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40531 #include <math.h>
40532 #ifdef HAVE_IEEEFP_H
40533 #include <ieeefp.h>
40534 #endif
40537 main ()
40539 _log10f(0);
40541 return 0;
40543 _ACEOF
40544 rm -f conftest.$ac_objext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40546 (eval $ac_compile) 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try='test -z "$ac_cxx_werror_flag"
40554 || test ! -s conftest.err'
40555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556 (eval $ac_try) 2>&5
40557 ac_status=$?
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); }; } &&
40560 { ac_try='test -s conftest.$ac_objext'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; }; then
40566 glibcxx_cv_func__log10f_use=yes
40567 else
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.$ac_ext >&5
40571 glibcxx_cv_func__log10f_use=no
40573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40574 ac_ext=c
40575 ac_cpp='$CPP $CPPFLAGS'
40576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40585 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40587 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40589 for ac_func in _log10f
40591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40592 echo "$as_me:$LINENO: checking for $ac_func" >&5
40593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40594 if eval "test \"\${$as_ac_var+set}\" = set"; then
40595 echo $ECHO_N "(cached) $ECHO_C" >&6
40596 else
40597 if test x$gcc_no_link = xyes; then
40598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40600 { (exit 1); exit 1; }; }
40602 cat >conftest.$ac_ext <<_ACEOF
40603 /* confdefs.h. */
40604 _ACEOF
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h. */
40608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40610 #define $ac_func innocuous_$ac_func
40612 /* System header to define __stub macros and hopefully few prototypes,
40613 which can conflict with char $ac_func (); below.
40614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40615 <limits.h> exists even on freestanding compilers. */
40617 #ifdef __STDC__
40618 # include <limits.h>
40619 #else
40620 # include <assert.h>
40621 #endif
40623 #undef $ac_func
40625 /* Override any gcc2 internal prototype to avoid an error. */
40626 #ifdef __cplusplus
40627 extern "C"
40629 #endif
40630 /* We use char because int might match the return type of a gcc2
40631 builtin and then its argument prototype would still apply. */
40632 char $ac_func ();
40633 /* The GNU C library defines this for functions which it implements
40634 to always fail with ENOSYS. Some functions are actually named
40635 something starting with __ and the normal name is an alias. */
40636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40637 choke me
40638 #else
40639 char (*f) () = $ac_func;
40640 #endif
40641 #ifdef __cplusplus
40643 #endif
40646 main ()
40648 return f != $ac_func;
40650 return 0;
40652 _ACEOF
40653 rm -f conftest.$ac_objext conftest$ac_exeext
40654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40655 (eval $ac_link) 2>conftest.er1
40656 ac_status=$?
40657 grep -v '^ *+' conftest.er1 >conftest.err
40658 rm -f conftest.er1
40659 cat conftest.err >&5
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); } &&
40662 { ac_try='test -z "$ac_c_werror_flag"
40663 || test ! -s conftest.err'
40664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40665 (eval $ac_try) 2>&5
40666 ac_status=$?
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); }; } &&
40669 { ac_try='test -s conftest$ac_exeext'
40670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40671 (eval $ac_try) 2>&5
40672 ac_status=$?
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); }; }; then
40675 eval "$as_ac_var=yes"
40676 else
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.$ac_ext >&5
40680 eval "$as_ac_var=no"
40682 rm -f conftest.err conftest.$ac_objext \
40683 conftest$ac_exeext conftest.$ac_ext
40685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40687 if test `eval echo '${'$as_ac_var'}'` = yes; then
40688 cat >>confdefs.h <<_ACEOF
40689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40690 _ACEOF
40693 done
40703 echo "$as_me:$LINENO: checking for modff declaration" >&5
40704 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40705 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40706 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40707 echo $ECHO_N "(cached) $ECHO_C" >&6
40708 else
40712 ac_ext=cc
40713 ac_cpp='$CXXCPP $CPPFLAGS'
40714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40718 cat >conftest.$ac_ext <<_ACEOF
40719 /* confdefs.h. */
40720 _ACEOF
40721 cat confdefs.h >>conftest.$ac_ext
40722 cat >>conftest.$ac_ext <<_ACEOF
40723 /* end confdefs.h. */
40724 #include <math.h>
40726 main ()
40728 modff(0, 0);
40730 return 0;
40732 _ACEOF
40733 rm -f conftest.$ac_objext
40734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40735 (eval $ac_compile) 2>conftest.er1
40736 ac_status=$?
40737 grep -v '^ *+' conftest.er1 >conftest.err
40738 rm -f conftest.er1
40739 cat conftest.err >&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } &&
40742 { ac_try='test -z "$ac_cxx_werror_flag"
40743 || test ! -s conftest.err'
40744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40745 (eval $ac_try) 2>&5
40746 ac_status=$?
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); }; } &&
40749 { ac_try='test -s conftest.$ac_objext'
40750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751 (eval $ac_try) 2>&5
40752 ac_status=$?
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); }; }; then
40755 glibcxx_cv_func_modff_use=yes
40756 else
40757 echo "$as_me: failed program was:" >&5
40758 sed 's/^/| /' conftest.$ac_ext >&5
40760 glibcxx_cv_func_modff_use=no
40762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40763 ac_ext=c
40764 ac_cpp='$CPP $CPPFLAGS'
40765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40774 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40776 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40778 for ac_func in modff
40780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40781 echo "$as_me:$LINENO: checking for $ac_func" >&5
40782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40783 if eval "test \"\${$as_ac_var+set}\" = set"; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 else
40786 if test x$gcc_no_link = xyes; then
40787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40789 { (exit 1); exit 1; }; }
40791 cat >conftest.$ac_ext <<_ACEOF
40792 /* confdefs.h. */
40793 _ACEOF
40794 cat confdefs.h >>conftest.$ac_ext
40795 cat >>conftest.$ac_ext <<_ACEOF
40796 /* end confdefs.h. */
40797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40799 #define $ac_func innocuous_$ac_func
40801 /* System header to define __stub macros and hopefully few prototypes,
40802 which can conflict with char $ac_func (); below.
40803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40804 <limits.h> exists even on freestanding compilers. */
40806 #ifdef __STDC__
40807 # include <limits.h>
40808 #else
40809 # include <assert.h>
40810 #endif
40812 #undef $ac_func
40814 /* Override any gcc2 internal prototype to avoid an error. */
40815 #ifdef __cplusplus
40816 extern "C"
40818 #endif
40819 /* We use char because int might match the return type of a gcc2
40820 builtin and then its argument prototype would still apply. */
40821 char $ac_func ();
40822 /* The GNU C library defines this for functions which it implements
40823 to always fail with ENOSYS. Some functions are actually named
40824 something starting with __ and the normal name is an alias. */
40825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40826 choke me
40827 #else
40828 char (*f) () = $ac_func;
40829 #endif
40830 #ifdef __cplusplus
40832 #endif
40835 main ()
40837 return f != $ac_func;
40839 return 0;
40841 _ACEOF
40842 rm -f conftest.$ac_objext conftest$ac_exeext
40843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40844 (eval $ac_link) 2>conftest.er1
40845 ac_status=$?
40846 grep -v '^ *+' conftest.er1 >conftest.err
40847 rm -f conftest.er1
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } &&
40851 { ac_try='test -z "$ac_c_werror_flag"
40852 || test ! -s conftest.err'
40853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854 (eval $ac_try) 2>&5
40855 ac_status=$?
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); }; } &&
40858 { ac_try='test -s conftest$ac_exeext'
40859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860 (eval $ac_try) 2>&5
40861 ac_status=$?
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); }; }; then
40864 eval "$as_ac_var=yes"
40865 else
40866 echo "$as_me: failed program was:" >&5
40867 sed 's/^/| /' conftest.$ac_ext >&5
40869 eval "$as_ac_var=no"
40871 rm -f conftest.err conftest.$ac_objext \
40872 conftest$ac_exeext conftest.$ac_ext
40874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40876 if test `eval echo '${'$as_ac_var'}'` = yes; then
40877 cat >>confdefs.h <<_ACEOF
40878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40879 _ACEOF
40882 done
40884 else
40886 echo "$as_me:$LINENO: checking for _modff declaration" >&5
40887 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40888 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40889 if test "${glibcxx_cv_func__modff_use+set}" = set; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40895 ac_ext=cc
40896 ac_cpp='$CXXCPP $CPPFLAGS'
40897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40901 cat >conftest.$ac_ext <<_ACEOF
40902 /* confdefs.h. */
40903 _ACEOF
40904 cat confdefs.h >>conftest.$ac_ext
40905 cat >>conftest.$ac_ext <<_ACEOF
40906 /* end confdefs.h. */
40907 #include <math.h>
40909 main ()
40911 _modff(0, 0);
40913 return 0;
40915 _ACEOF
40916 rm -f conftest.$ac_objext
40917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40918 (eval $ac_compile) 2>conftest.er1
40919 ac_status=$?
40920 grep -v '^ *+' conftest.er1 >conftest.err
40921 rm -f conftest.er1
40922 cat conftest.err >&5
40923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924 (exit $ac_status); } &&
40925 { ac_try='test -z "$ac_cxx_werror_flag"
40926 || test ! -s conftest.err'
40927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40928 (eval $ac_try) 2>&5
40929 ac_status=$?
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); }; } &&
40932 { ac_try='test -s conftest.$ac_objext'
40933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40934 (eval $ac_try) 2>&5
40935 ac_status=$?
40936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40937 (exit $ac_status); }; }; then
40938 glibcxx_cv_func__modff_use=yes
40939 else
40940 echo "$as_me: failed program was:" >&5
40941 sed 's/^/| /' conftest.$ac_ext >&5
40943 glibcxx_cv_func__modff_use=no
40945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40946 ac_ext=c
40947 ac_cpp='$CPP $CPPFLAGS'
40948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40957 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40959 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40961 for ac_func in _modff
40963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40964 echo "$as_me:$LINENO: checking for $ac_func" >&5
40965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40966 if eval "test \"\${$as_ac_var+set}\" = set"; then
40967 echo $ECHO_N "(cached) $ECHO_C" >&6
40968 else
40969 if test x$gcc_no_link = xyes; then
40970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40972 { (exit 1); exit 1; }; }
40974 cat >conftest.$ac_ext <<_ACEOF
40975 /* confdefs.h. */
40976 _ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h. */
40980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40982 #define $ac_func innocuous_$ac_func
40984 /* System header to define __stub macros and hopefully few prototypes,
40985 which can conflict with char $ac_func (); below.
40986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40987 <limits.h> exists even on freestanding compilers. */
40989 #ifdef __STDC__
40990 # include <limits.h>
40991 #else
40992 # include <assert.h>
40993 #endif
40995 #undef $ac_func
40997 /* Override any gcc2 internal prototype to avoid an error. */
40998 #ifdef __cplusplus
40999 extern "C"
41001 #endif
41002 /* We use char because int might match the return type of a gcc2
41003 builtin and then its argument prototype would still apply. */
41004 char $ac_func ();
41005 /* The GNU C library defines this for functions which it implements
41006 to always fail with ENOSYS. Some functions are actually named
41007 something starting with __ and the normal name is an alias. */
41008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41009 choke me
41010 #else
41011 char (*f) () = $ac_func;
41012 #endif
41013 #ifdef __cplusplus
41015 #endif
41018 main ()
41020 return f != $ac_func;
41022 return 0;
41024 _ACEOF
41025 rm -f conftest.$ac_objext conftest$ac_exeext
41026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41027 (eval $ac_link) 2>conftest.er1
41028 ac_status=$?
41029 grep -v '^ *+' conftest.er1 >conftest.err
41030 rm -f conftest.er1
41031 cat conftest.err >&5
41032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41033 (exit $ac_status); } &&
41034 { ac_try='test -z "$ac_c_werror_flag"
41035 || test ! -s conftest.err'
41036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41037 (eval $ac_try) 2>&5
41038 ac_status=$?
41039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41040 (exit $ac_status); }; } &&
41041 { ac_try='test -s conftest$ac_exeext'
41042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41043 (eval $ac_try) 2>&5
41044 ac_status=$?
41045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046 (exit $ac_status); }; }; then
41047 eval "$as_ac_var=yes"
41048 else
41049 echo "$as_me: failed program was:" >&5
41050 sed 's/^/| /' conftest.$ac_ext >&5
41052 eval "$as_ac_var=no"
41054 rm -f conftest.err conftest.$ac_objext \
41055 conftest$ac_exeext conftest.$ac_ext
41057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41059 if test `eval echo '${'$as_ac_var'}'` = yes; then
41060 cat >>confdefs.h <<_ACEOF
41061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41062 _ACEOF
41065 done
41075 echo "$as_me:$LINENO: checking for modf declaration" >&5
41076 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41077 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41078 if test "${glibcxx_cv_func_modf_use+set}" = set; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41080 else
41084 ac_ext=cc
41085 ac_cpp='$CXXCPP $CPPFLAGS'
41086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41090 cat >conftest.$ac_ext <<_ACEOF
41091 /* confdefs.h. */
41092 _ACEOF
41093 cat confdefs.h >>conftest.$ac_ext
41094 cat >>conftest.$ac_ext <<_ACEOF
41095 /* end confdefs.h. */
41096 #include <math.h>
41098 main ()
41100 modf(0, 0);
41102 return 0;
41104 _ACEOF
41105 rm -f conftest.$ac_objext
41106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41107 (eval $ac_compile) 2>conftest.er1
41108 ac_status=$?
41109 grep -v '^ *+' conftest.er1 >conftest.err
41110 rm -f conftest.er1
41111 cat conftest.err >&5
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); } &&
41114 { ac_try='test -z "$ac_cxx_werror_flag"
41115 || test ! -s conftest.err'
41116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117 (eval $ac_try) 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); }; } &&
41121 { ac_try='test -s conftest.$ac_objext'
41122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123 (eval $ac_try) 2>&5
41124 ac_status=$?
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); }; }; then
41127 glibcxx_cv_func_modf_use=yes
41128 else
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41132 glibcxx_cv_func_modf_use=no
41134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41135 ac_ext=c
41136 ac_cpp='$CPP $CPPFLAGS'
41137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41146 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41148 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41150 for ac_func in modf
41152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41153 echo "$as_me:$LINENO: checking for $ac_func" >&5
41154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41155 if eval "test \"\${$as_ac_var+set}\" = set"; then
41156 echo $ECHO_N "(cached) $ECHO_C" >&6
41157 else
41158 if test x$gcc_no_link = xyes; then
41159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41161 { (exit 1); exit 1; }; }
41163 cat >conftest.$ac_ext <<_ACEOF
41164 /* confdefs.h. */
41165 _ACEOF
41166 cat confdefs.h >>conftest.$ac_ext
41167 cat >>conftest.$ac_ext <<_ACEOF
41168 /* end confdefs.h. */
41169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41171 #define $ac_func innocuous_$ac_func
41173 /* System header to define __stub macros and hopefully few prototypes,
41174 which can conflict with char $ac_func (); below.
41175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41176 <limits.h> exists even on freestanding compilers. */
41178 #ifdef __STDC__
41179 # include <limits.h>
41180 #else
41181 # include <assert.h>
41182 #endif
41184 #undef $ac_func
41186 /* Override any gcc2 internal prototype to avoid an error. */
41187 #ifdef __cplusplus
41188 extern "C"
41190 #endif
41191 /* We use char because int might match the return type of a gcc2
41192 builtin and then its argument prototype would still apply. */
41193 char $ac_func ();
41194 /* The GNU C library defines this for functions which it implements
41195 to always fail with ENOSYS. Some functions are actually named
41196 something starting with __ and the normal name is an alias. */
41197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41198 choke me
41199 #else
41200 char (*f) () = $ac_func;
41201 #endif
41202 #ifdef __cplusplus
41204 #endif
41207 main ()
41209 return f != $ac_func;
41211 return 0;
41213 _ACEOF
41214 rm -f conftest.$ac_objext conftest$ac_exeext
41215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41216 (eval $ac_link) 2>conftest.er1
41217 ac_status=$?
41218 grep -v '^ *+' conftest.er1 >conftest.err
41219 rm -f conftest.er1
41220 cat conftest.err >&5
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); } &&
41223 { ac_try='test -z "$ac_c_werror_flag"
41224 || test ! -s conftest.err'
41225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41226 (eval $ac_try) 2>&5
41227 ac_status=$?
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); }; } &&
41230 { ac_try='test -s conftest$ac_exeext'
41231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41232 (eval $ac_try) 2>&5
41233 ac_status=$?
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); }; }; then
41236 eval "$as_ac_var=yes"
41237 else
41238 echo "$as_me: failed program was:" >&5
41239 sed 's/^/| /' conftest.$ac_ext >&5
41241 eval "$as_ac_var=no"
41243 rm -f conftest.err conftest.$ac_objext \
41244 conftest$ac_exeext conftest.$ac_ext
41246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41248 if test `eval echo '${'$as_ac_var'}'` = yes; then
41249 cat >>confdefs.h <<_ACEOF
41250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41251 _ACEOF
41254 done
41256 else
41258 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41259 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41260 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41261 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41262 echo $ECHO_N "(cached) $ECHO_C" >&6
41263 else
41267 ac_ext=cc
41268 ac_cpp='$CXXCPP $CPPFLAGS'
41269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41273 cat >conftest.$ac_ext <<_ACEOF
41274 /* confdefs.h. */
41275 _ACEOF
41276 cat confdefs.h >>conftest.$ac_ext
41277 cat >>conftest.$ac_ext <<_ACEOF
41278 /* end confdefs.h. */
41279 #include <math.h>
41281 main ()
41283 _modf(0, 0);
41285 return 0;
41287 _ACEOF
41288 rm -f conftest.$ac_objext
41289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41290 (eval $ac_compile) 2>conftest.er1
41291 ac_status=$?
41292 grep -v '^ *+' conftest.er1 >conftest.err
41293 rm -f conftest.er1
41294 cat conftest.err >&5
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); } &&
41297 { ac_try='test -z "$ac_cxx_werror_flag"
41298 || test ! -s conftest.err'
41299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41300 (eval $ac_try) 2>&5
41301 ac_status=$?
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); }; } &&
41304 { ac_try='test -s conftest.$ac_objext'
41305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41306 (eval $ac_try) 2>&5
41307 ac_status=$?
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); }; }; then
41310 glibcxx_cv_func__modf_use=yes
41311 else
41312 echo "$as_me: failed program was:" >&5
41313 sed 's/^/| /' conftest.$ac_ext >&5
41315 glibcxx_cv_func__modf_use=no
41317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41318 ac_ext=c
41319 ac_cpp='$CPP $CPPFLAGS'
41320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41329 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41331 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41333 for ac_func in _modf
41335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41336 echo "$as_me:$LINENO: checking for $ac_func" >&5
41337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41338 if eval "test \"\${$as_ac_var+set}\" = set"; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 else
41341 if test x$gcc_no_link = xyes; then
41342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41344 { (exit 1); exit 1; }; }
41346 cat >conftest.$ac_ext <<_ACEOF
41347 /* confdefs.h. */
41348 _ACEOF
41349 cat confdefs.h >>conftest.$ac_ext
41350 cat >>conftest.$ac_ext <<_ACEOF
41351 /* end confdefs.h. */
41352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41354 #define $ac_func innocuous_$ac_func
41356 /* System header to define __stub macros and hopefully few prototypes,
41357 which can conflict with char $ac_func (); below.
41358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41359 <limits.h> exists even on freestanding compilers. */
41361 #ifdef __STDC__
41362 # include <limits.h>
41363 #else
41364 # include <assert.h>
41365 #endif
41367 #undef $ac_func
41369 /* Override any gcc2 internal prototype to avoid an error. */
41370 #ifdef __cplusplus
41371 extern "C"
41373 #endif
41374 /* We use char because int might match the return type of a gcc2
41375 builtin and then its argument prototype would still apply. */
41376 char $ac_func ();
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41381 choke me
41382 #else
41383 char (*f) () = $ac_func;
41384 #endif
41385 #ifdef __cplusplus
41387 #endif
41390 main ()
41392 return f != $ac_func;
41394 return 0;
41396 _ACEOF
41397 rm -f conftest.$ac_objext conftest$ac_exeext
41398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41399 (eval $ac_link) 2>conftest.er1
41400 ac_status=$?
41401 grep -v '^ *+' conftest.er1 >conftest.err
41402 rm -f conftest.er1
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } &&
41406 { ac_try='test -z "$ac_c_werror_flag"
41407 || test ! -s conftest.err'
41408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41409 (eval $ac_try) 2>&5
41410 ac_status=$?
41411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41412 (exit $ac_status); }; } &&
41413 { ac_try='test -s conftest$ac_exeext'
41414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415 (eval $ac_try) 2>&5
41416 ac_status=$?
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); }; }; then
41419 eval "$as_ac_var=yes"
41420 else
41421 echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41424 eval "$as_ac_var=no"
41426 rm -f conftest.err conftest.$ac_objext \
41427 conftest$ac_exeext conftest.$ac_ext
41429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41431 if test `eval echo '${'$as_ac_var'}'` = yes; then
41432 cat >>confdefs.h <<_ACEOF
41433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41434 _ACEOF
41437 done
41447 echo "$as_me:$LINENO: checking for powf declaration" >&5
41448 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41449 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41450 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41451 echo $ECHO_N "(cached) $ECHO_C" >&6
41452 else
41456 ac_ext=cc
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462 cat >conftest.$ac_ext <<_ACEOF
41463 /* confdefs.h. */
41464 _ACEOF
41465 cat confdefs.h >>conftest.$ac_ext
41466 cat >>conftest.$ac_ext <<_ACEOF
41467 /* end confdefs.h. */
41468 #include <math.h>
41470 main ()
41472 powf(0, 0);
41474 return 0;
41476 _ACEOF
41477 rm -f conftest.$ac_objext
41478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41479 (eval $ac_compile) 2>conftest.er1
41480 ac_status=$?
41481 grep -v '^ *+' conftest.er1 >conftest.err
41482 rm -f conftest.er1
41483 cat conftest.err >&5
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); } &&
41486 { ac_try='test -z "$ac_cxx_werror_flag"
41487 || test ! -s conftest.err'
41488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489 (eval $ac_try) 2>&5
41490 ac_status=$?
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; } &&
41493 { ac_try='test -s conftest.$ac_objext'
41494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41495 (eval $ac_try) 2>&5
41496 ac_status=$?
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); }; }; then
41499 glibcxx_cv_func_powf_use=yes
41500 else
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41504 glibcxx_cv_func_powf_use=no
41506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41507 ac_ext=c
41508 ac_cpp='$CPP $CPPFLAGS'
41509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41518 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41520 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41522 for ac_func in powf
41524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41525 echo "$as_me:$LINENO: checking for $ac_func" >&5
41526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41527 if eval "test \"\${$as_ac_var+set}\" = set"; then
41528 echo $ECHO_N "(cached) $ECHO_C" >&6
41529 else
41530 if test x$gcc_no_link = xyes; then
41531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41533 { (exit 1); exit 1; }; }
41535 cat >conftest.$ac_ext <<_ACEOF
41536 /* confdefs.h. */
41537 _ACEOF
41538 cat confdefs.h >>conftest.$ac_ext
41539 cat >>conftest.$ac_ext <<_ACEOF
41540 /* end confdefs.h. */
41541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41543 #define $ac_func innocuous_$ac_func
41545 /* System header to define __stub macros and hopefully few prototypes,
41546 which can conflict with char $ac_func (); below.
41547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41548 <limits.h> exists even on freestanding compilers. */
41550 #ifdef __STDC__
41551 # include <limits.h>
41552 #else
41553 # include <assert.h>
41554 #endif
41556 #undef $ac_func
41558 /* Override any gcc2 internal prototype to avoid an error. */
41559 #ifdef __cplusplus
41560 extern "C"
41562 #endif
41563 /* We use char because int might match the return type of a gcc2
41564 builtin and then its argument prototype would still apply. */
41565 char $ac_func ();
41566 /* The GNU C library defines this for functions which it implements
41567 to always fail with ENOSYS. Some functions are actually named
41568 something starting with __ and the normal name is an alias. */
41569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41570 choke me
41571 #else
41572 char (*f) () = $ac_func;
41573 #endif
41574 #ifdef __cplusplus
41576 #endif
41579 main ()
41581 return f != $ac_func;
41583 return 0;
41585 _ACEOF
41586 rm -f conftest.$ac_objext conftest$ac_exeext
41587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41588 (eval $ac_link) 2>conftest.er1
41589 ac_status=$?
41590 grep -v '^ *+' conftest.er1 >conftest.err
41591 rm -f conftest.er1
41592 cat conftest.err >&5
41593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594 (exit $ac_status); } &&
41595 { ac_try='test -z "$ac_c_werror_flag"
41596 || test ! -s conftest.err'
41597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41598 (eval $ac_try) 2>&5
41599 ac_status=$?
41600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601 (exit $ac_status); }; } &&
41602 { ac_try='test -s conftest$ac_exeext'
41603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41604 (eval $ac_try) 2>&5
41605 ac_status=$?
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); }; }; then
41608 eval "$as_ac_var=yes"
41609 else
41610 echo "$as_me: failed program was:" >&5
41611 sed 's/^/| /' conftest.$ac_ext >&5
41613 eval "$as_ac_var=no"
41615 rm -f conftest.err conftest.$ac_objext \
41616 conftest$ac_exeext conftest.$ac_ext
41618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41620 if test `eval echo '${'$as_ac_var'}'` = yes; then
41621 cat >>confdefs.h <<_ACEOF
41622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41623 _ACEOF
41626 done
41628 else
41630 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41631 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41632 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41633 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41639 ac_ext=cc
41640 ac_cpp='$CXXCPP $CPPFLAGS'
41641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41645 cat >conftest.$ac_ext <<_ACEOF
41646 /* confdefs.h. */
41647 _ACEOF
41648 cat confdefs.h >>conftest.$ac_ext
41649 cat >>conftest.$ac_ext <<_ACEOF
41650 /* end confdefs.h. */
41651 #include <math.h>
41653 main ()
41655 _powf(0, 0);
41657 return 0;
41659 _ACEOF
41660 rm -f conftest.$ac_objext
41661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41662 (eval $ac_compile) 2>conftest.er1
41663 ac_status=$?
41664 grep -v '^ *+' conftest.er1 >conftest.err
41665 rm -f conftest.er1
41666 cat conftest.err >&5
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); } &&
41669 { ac_try='test -z "$ac_cxx_werror_flag"
41670 || test ! -s conftest.err'
41671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41672 (eval $ac_try) 2>&5
41673 ac_status=$?
41674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675 (exit $ac_status); }; } &&
41676 { ac_try='test -s conftest.$ac_objext'
41677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41678 (eval $ac_try) 2>&5
41679 ac_status=$?
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); }; }; then
41682 glibcxx_cv_func__powf_use=yes
41683 else
41684 echo "$as_me: failed program was:" >&5
41685 sed 's/^/| /' conftest.$ac_ext >&5
41687 glibcxx_cv_func__powf_use=no
41689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41690 ac_ext=c
41691 ac_cpp='$CPP $CPPFLAGS'
41692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41701 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41703 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41705 for ac_func in _powf
41707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41708 echo "$as_me:$LINENO: checking for $ac_func" >&5
41709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41710 if eval "test \"\${$as_ac_var+set}\" = set"; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41712 else
41713 if test x$gcc_no_link = xyes; then
41714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41716 { (exit 1); exit 1; }; }
41718 cat >conftest.$ac_ext <<_ACEOF
41719 /* confdefs.h. */
41720 _ACEOF
41721 cat confdefs.h >>conftest.$ac_ext
41722 cat >>conftest.$ac_ext <<_ACEOF
41723 /* end confdefs.h. */
41724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41726 #define $ac_func innocuous_$ac_func
41728 /* System header to define __stub macros and hopefully few prototypes,
41729 which can conflict with char $ac_func (); below.
41730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41731 <limits.h> exists even on freestanding compilers. */
41733 #ifdef __STDC__
41734 # include <limits.h>
41735 #else
41736 # include <assert.h>
41737 #endif
41739 #undef $ac_func
41741 /* Override any gcc2 internal prototype to avoid an error. */
41742 #ifdef __cplusplus
41743 extern "C"
41745 #endif
41746 /* We use char because int might match the return type of a gcc2
41747 builtin and then its argument prototype would still apply. */
41748 char $ac_func ();
41749 /* The GNU C library defines this for functions which it implements
41750 to always fail with ENOSYS. Some functions are actually named
41751 something starting with __ and the normal name is an alias. */
41752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41753 choke me
41754 #else
41755 char (*f) () = $ac_func;
41756 #endif
41757 #ifdef __cplusplus
41759 #endif
41762 main ()
41764 return f != $ac_func;
41766 return 0;
41768 _ACEOF
41769 rm -f conftest.$ac_objext conftest$ac_exeext
41770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41771 (eval $ac_link) 2>conftest.er1
41772 ac_status=$?
41773 grep -v '^ *+' conftest.er1 >conftest.err
41774 rm -f conftest.er1
41775 cat conftest.err >&5
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); } &&
41778 { ac_try='test -z "$ac_c_werror_flag"
41779 || test ! -s conftest.err'
41780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41781 (eval $ac_try) 2>&5
41782 ac_status=$?
41783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41784 (exit $ac_status); }; } &&
41785 { ac_try='test -s conftest$ac_exeext'
41786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41787 (eval $ac_try) 2>&5
41788 ac_status=$?
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); }; }; then
41791 eval "$as_ac_var=yes"
41792 else
41793 echo "$as_me: failed program was:" >&5
41794 sed 's/^/| /' conftest.$ac_ext >&5
41796 eval "$as_ac_var=no"
41798 rm -f conftest.err conftest.$ac_objext \
41799 conftest$ac_exeext conftest.$ac_ext
41801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41803 if test `eval echo '${'$as_ac_var'}'` = yes; then
41804 cat >>confdefs.h <<_ACEOF
41805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41806 _ACEOF
41809 done
41819 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41820 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41821 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41822 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41823 echo $ECHO_N "(cached) $ECHO_C" >&6
41824 else
41828 ac_ext=cc
41829 ac_cpp='$CXXCPP $CPPFLAGS'
41830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41834 cat >conftest.$ac_ext <<_ACEOF
41835 /* confdefs.h. */
41836 _ACEOF
41837 cat confdefs.h >>conftest.$ac_ext
41838 cat >>conftest.$ac_ext <<_ACEOF
41839 /* end confdefs.h. */
41840 #include <math.h>
41841 #ifdef HAVE_IEEEFP_H
41842 #include <ieeefp.h>
41843 #endif
41846 main ()
41848 sqrtf(0);
41850 return 0;
41852 _ACEOF
41853 rm -f conftest.$ac_objext
41854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41855 (eval $ac_compile) 2>conftest.er1
41856 ac_status=$?
41857 grep -v '^ *+' conftest.er1 >conftest.err
41858 rm -f conftest.er1
41859 cat conftest.err >&5
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); } &&
41862 { ac_try='test -z "$ac_cxx_werror_flag"
41863 || test ! -s conftest.err'
41864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865 (eval $ac_try) 2>&5
41866 ac_status=$?
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); }; } &&
41869 { ac_try='test -s conftest.$ac_objext'
41870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41871 (eval $ac_try) 2>&5
41872 ac_status=$?
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; }; then
41875 glibcxx_cv_func_sqrtf_use=yes
41876 else
41877 echo "$as_me: failed program was:" >&5
41878 sed 's/^/| /' conftest.$ac_ext >&5
41880 glibcxx_cv_func_sqrtf_use=no
41882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41883 ac_ext=c
41884 ac_cpp='$CPP $CPPFLAGS'
41885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41894 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41896 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41898 for ac_func in sqrtf
41900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41901 echo "$as_me:$LINENO: checking for $ac_func" >&5
41902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41903 if eval "test \"\${$as_ac_var+set}\" = set"; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41905 else
41906 if test x$gcc_no_link = xyes; then
41907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41909 { (exit 1); exit 1; }; }
41911 cat >conftest.$ac_ext <<_ACEOF
41912 /* confdefs.h. */
41913 _ACEOF
41914 cat confdefs.h >>conftest.$ac_ext
41915 cat >>conftest.$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41919 #define $ac_func innocuous_$ac_func
41921 /* System header to define __stub macros and hopefully few prototypes,
41922 which can conflict with char $ac_func (); below.
41923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41924 <limits.h> exists even on freestanding compilers. */
41926 #ifdef __STDC__
41927 # include <limits.h>
41928 #else
41929 # include <assert.h>
41930 #endif
41932 #undef $ac_func
41934 /* Override any gcc2 internal prototype to avoid an error. */
41935 #ifdef __cplusplus
41936 extern "C"
41938 #endif
41939 /* We use char because int might match the return type of a gcc2
41940 builtin and then its argument prototype would still apply. */
41941 char $ac_func ();
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41946 choke me
41947 #else
41948 char (*f) () = $ac_func;
41949 #endif
41950 #ifdef __cplusplus
41952 #endif
41955 main ()
41957 return f != $ac_func;
41959 return 0;
41961 _ACEOF
41962 rm -f conftest.$ac_objext conftest$ac_exeext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41964 (eval $ac_link) 2>conftest.er1
41965 ac_status=$?
41966 grep -v '^ *+' conftest.er1 >conftest.err
41967 rm -f conftest.er1
41968 cat conftest.err >&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } &&
41971 { ac_try='test -z "$ac_c_werror_flag"
41972 || test ! -s conftest.err'
41973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41974 (eval $ac_try) 2>&5
41975 ac_status=$?
41976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977 (exit $ac_status); }; } &&
41978 { ac_try='test -s conftest$ac_exeext'
41979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41980 (eval $ac_try) 2>&5
41981 ac_status=$?
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); }; }; then
41984 eval "$as_ac_var=yes"
41985 else
41986 echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.$ac_ext >&5
41989 eval "$as_ac_var=no"
41991 rm -f conftest.err conftest.$ac_objext \
41992 conftest$ac_exeext conftest.$ac_ext
41994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41996 if test `eval echo '${'$as_ac_var'}'` = yes; then
41997 cat >>confdefs.h <<_ACEOF
41998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41999 _ACEOF
42002 done
42004 else
42006 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42007 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42008 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42009 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42010 echo $ECHO_N "(cached) $ECHO_C" >&6
42011 else
42015 ac_ext=cc
42016 ac_cpp='$CXXCPP $CPPFLAGS'
42017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42021 cat >conftest.$ac_ext <<_ACEOF
42022 /* confdefs.h. */
42023 _ACEOF
42024 cat confdefs.h >>conftest.$ac_ext
42025 cat >>conftest.$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42027 #include <math.h>
42028 #ifdef HAVE_IEEEFP_H
42029 #include <ieeefp.h>
42030 #endif
42033 main ()
42035 _sqrtf(0);
42037 return 0;
42039 _ACEOF
42040 rm -f conftest.$ac_objext
42041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42042 (eval $ac_compile) 2>conftest.er1
42043 ac_status=$?
42044 grep -v '^ *+' conftest.er1 >conftest.err
42045 rm -f conftest.er1
42046 cat conftest.err >&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); } &&
42049 { ac_try='test -z "$ac_cxx_werror_flag"
42050 || test ! -s conftest.err'
42051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052 (eval $ac_try) 2>&5
42053 ac_status=$?
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); }; } &&
42056 { ac_try='test -s conftest.$ac_objext'
42057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058 (eval $ac_try) 2>&5
42059 ac_status=$?
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); }; }; then
42062 glibcxx_cv_func__sqrtf_use=yes
42063 else
42064 echo "$as_me: failed program was:" >&5
42065 sed 's/^/| /' conftest.$ac_ext >&5
42067 glibcxx_cv_func__sqrtf_use=no
42069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42070 ac_ext=c
42071 ac_cpp='$CPP $CPPFLAGS'
42072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42081 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42083 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42085 for ac_func in _sqrtf
42087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42088 echo "$as_me:$LINENO: checking for $ac_func" >&5
42089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42090 if eval "test \"\${$as_ac_var+set}\" = set"; then
42091 echo $ECHO_N "(cached) $ECHO_C" >&6
42092 else
42093 if test x$gcc_no_link = xyes; then
42094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42096 { (exit 1); exit 1; }; }
42098 cat >conftest.$ac_ext <<_ACEOF
42099 /* confdefs.h. */
42100 _ACEOF
42101 cat confdefs.h >>conftest.$ac_ext
42102 cat >>conftest.$ac_ext <<_ACEOF
42103 /* end confdefs.h. */
42104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42106 #define $ac_func innocuous_$ac_func
42108 /* System header to define __stub macros and hopefully few prototypes,
42109 which can conflict with char $ac_func (); below.
42110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42111 <limits.h> exists even on freestanding compilers. */
42113 #ifdef __STDC__
42114 # include <limits.h>
42115 #else
42116 # include <assert.h>
42117 #endif
42119 #undef $ac_func
42121 /* Override any gcc2 internal prototype to avoid an error. */
42122 #ifdef __cplusplus
42123 extern "C"
42125 #endif
42126 /* We use char because int might match the return type of a gcc2
42127 builtin and then its argument prototype would still apply. */
42128 char $ac_func ();
42129 /* The GNU C library defines this for functions which it implements
42130 to always fail with ENOSYS. Some functions are actually named
42131 something starting with __ and the normal name is an alias. */
42132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42133 choke me
42134 #else
42135 char (*f) () = $ac_func;
42136 #endif
42137 #ifdef __cplusplus
42139 #endif
42142 main ()
42144 return f != $ac_func;
42146 return 0;
42148 _ACEOF
42149 rm -f conftest.$ac_objext conftest$ac_exeext
42150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42151 (eval $ac_link) 2>conftest.er1
42152 ac_status=$?
42153 grep -v '^ *+' conftest.er1 >conftest.err
42154 rm -f conftest.er1
42155 cat conftest.err >&5
42156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157 (exit $ac_status); } &&
42158 { ac_try='test -z "$ac_c_werror_flag"
42159 || test ! -s conftest.err'
42160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42161 (eval $ac_try) 2>&5
42162 ac_status=$?
42163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42164 (exit $ac_status); }; } &&
42165 { ac_try='test -s conftest$ac_exeext'
42166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42167 (eval $ac_try) 2>&5
42168 ac_status=$?
42169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42170 (exit $ac_status); }; }; then
42171 eval "$as_ac_var=yes"
42172 else
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.$ac_ext >&5
42176 eval "$as_ac_var=no"
42178 rm -f conftest.err conftest.$ac_objext \
42179 conftest$ac_exeext conftest.$ac_ext
42181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42183 if test `eval echo '${'$as_ac_var'}'` = yes; then
42184 cat >>confdefs.h <<_ACEOF
42185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42186 _ACEOF
42189 done
42199 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42200 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42201 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42202 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42204 else
42208 ac_ext=cc
42209 ac_cpp='$CXXCPP $CPPFLAGS'
42210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42214 cat >conftest.$ac_ext <<_ACEOF
42215 /* confdefs.h. */
42216 _ACEOF
42217 cat confdefs.h >>conftest.$ac_ext
42218 cat >>conftest.$ac_ext <<_ACEOF
42219 /* end confdefs.h. */
42220 #include <math.h>
42222 main ()
42224 sincosf(0, 0, 0);
42226 return 0;
42228 _ACEOF
42229 rm -f conftest.$ac_objext
42230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42231 (eval $ac_compile) 2>conftest.er1
42232 ac_status=$?
42233 grep -v '^ *+' conftest.er1 >conftest.err
42234 rm -f conftest.er1
42235 cat conftest.err >&5
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); } &&
42238 { ac_try='test -z "$ac_cxx_werror_flag"
42239 || test ! -s conftest.err'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42242 ac_status=$?
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; } &&
42245 { ac_try='test -s conftest.$ac_objext'
42246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42247 (eval $ac_try) 2>&5
42248 ac_status=$?
42249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250 (exit $ac_status); }; }; then
42251 glibcxx_cv_func_sincosf_use=yes
42252 else
42253 echo "$as_me: failed program was:" >&5
42254 sed 's/^/| /' conftest.$ac_ext >&5
42256 glibcxx_cv_func_sincosf_use=no
42258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42259 ac_ext=c
42260 ac_cpp='$CPP $CPPFLAGS'
42261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42270 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42272 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42274 for ac_func in sincosf
42276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42277 echo "$as_me:$LINENO: checking for $ac_func" >&5
42278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42279 if eval "test \"\${$as_ac_var+set}\" = set"; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42281 else
42282 if test x$gcc_no_link = xyes; then
42283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42285 { (exit 1); exit 1; }; }
42287 cat >conftest.$ac_ext <<_ACEOF
42288 /* confdefs.h. */
42289 _ACEOF
42290 cat confdefs.h >>conftest.$ac_ext
42291 cat >>conftest.$ac_ext <<_ACEOF
42292 /* end confdefs.h. */
42293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42295 #define $ac_func innocuous_$ac_func
42297 /* System header to define __stub macros and hopefully few prototypes,
42298 which can conflict with char $ac_func (); below.
42299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42300 <limits.h> exists even on freestanding compilers. */
42302 #ifdef __STDC__
42303 # include <limits.h>
42304 #else
42305 # include <assert.h>
42306 #endif
42308 #undef $ac_func
42310 /* Override any gcc2 internal prototype to avoid an error. */
42311 #ifdef __cplusplus
42312 extern "C"
42314 #endif
42315 /* We use char because int might match the return type of a gcc2
42316 builtin and then its argument prototype would still apply. */
42317 char $ac_func ();
42318 /* The GNU C library defines this for functions which it implements
42319 to always fail with ENOSYS. Some functions are actually named
42320 something starting with __ and the normal name is an alias. */
42321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42322 choke me
42323 #else
42324 char (*f) () = $ac_func;
42325 #endif
42326 #ifdef __cplusplus
42328 #endif
42331 main ()
42333 return f != $ac_func;
42335 return 0;
42337 _ACEOF
42338 rm -f conftest.$ac_objext conftest$ac_exeext
42339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42340 (eval $ac_link) 2>conftest.er1
42341 ac_status=$?
42342 grep -v '^ *+' conftest.er1 >conftest.err
42343 rm -f conftest.er1
42344 cat conftest.err >&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); } &&
42347 { ac_try='test -z "$ac_c_werror_flag"
42348 || test ! -s conftest.err'
42349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42350 (eval $ac_try) 2>&5
42351 ac_status=$?
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); }; } &&
42354 { ac_try='test -s conftest$ac_exeext'
42355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42356 (eval $ac_try) 2>&5
42357 ac_status=$?
42358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42359 (exit $ac_status); }; }; then
42360 eval "$as_ac_var=yes"
42361 else
42362 echo "$as_me: failed program was:" >&5
42363 sed 's/^/| /' conftest.$ac_ext >&5
42365 eval "$as_ac_var=no"
42367 rm -f conftest.err conftest.$ac_objext \
42368 conftest$ac_exeext conftest.$ac_ext
42370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42372 if test `eval echo '${'$as_ac_var'}'` = yes; then
42373 cat >>confdefs.h <<_ACEOF
42374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42375 _ACEOF
42378 done
42380 else
42382 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42383 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42384 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42385 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42386 echo $ECHO_N "(cached) $ECHO_C" >&6
42387 else
42391 ac_ext=cc
42392 ac_cpp='$CXXCPP $CPPFLAGS'
42393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42397 cat >conftest.$ac_ext <<_ACEOF
42398 /* confdefs.h. */
42399 _ACEOF
42400 cat confdefs.h >>conftest.$ac_ext
42401 cat >>conftest.$ac_ext <<_ACEOF
42402 /* end confdefs.h. */
42403 #include <math.h>
42405 main ()
42407 _sincosf(0, 0, 0);
42409 return 0;
42411 _ACEOF
42412 rm -f conftest.$ac_objext
42413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42414 (eval $ac_compile) 2>conftest.er1
42415 ac_status=$?
42416 grep -v '^ *+' conftest.er1 >conftest.err
42417 rm -f conftest.er1
42418 cat conftest.err >&5
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); } &&
42421 { ac_try='test -z "$ac_cxx_werror_flag"
42422 || test ! -s conftest.err'
42423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42424 (eval $ac_try) 2>&5
42425 ac_status=$?
42426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42427 (exit $ac_status); }; } &&
42428 { ac_try='test -s conftest.$ac_objext'
42429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42430 (eval $ac_try) 2>&5
42431 ac_status=$?
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); }; }; then
42434 glibcxx_cv_func__sincosf_use=yes
42435 else
42436 echo "$as_me: failed program was:" >&5
42437 sed 's/^/| /' conftest.$ac_ext >&5
42439 glibcxx_cv_func__sincosf_use=no
42441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42442 ac_ext=c
42443 ac_cpp='$CPP $CPPFLAGS'
42444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42453 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42455 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42457 for ac_func in _sincosf
42459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42460 echo "$as_me:$LINENO: checking for $ac_func" >&5
42461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42462 if eval "test \"\${$as_ac_var+set}\" = set"; then
42463 echo $ECHO_N "(cached) $ECHO_C" >&6
42464 else
42465 if test x$gcc_no_link = xyes; then
42466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42468 { (exit 1); exit 1; }; }
42470 cat >conftest.$ac_ext <<_ACEOF
42471 /* confdefs.h. */
42472 _ACEOF
42473 cat confdefs.h >>conftest.$ac_ext
42474 cat >>conftest.$ac_ext <<_ACEOF
42475 /* end confdefs.h. */
42476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42478 #define $ac_func innocuous_$ac_func
42480 /* System header to define __stub macros and hopefully few prototypes,
42481 which can conflict with char $ac_func (); below.
42482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42483 <limits.h> exists even on freestanding compilers. */
42485 #ifdef __STDC__
42486 # include <limits.h>
42487 #else
42488 # include <assert.h>
42489 #endif
42491 #undef $ac_func
42493 /* Override any gcc2 internal prototype to avoid an error. */
42494 #ifdef __cplusplus
42495 extern "C"
42497 #endif
42498 /* We use char because int might match the return type of a gcc2
42499 builtin and then its argument prototype would still apply. */
42500 char $ac_func ();
42501 /* The GNU C library defines this for functions which it implements
42502 to always fail with ENOSYS. Some functions are actually named
42503 something starting with __ and the normal name is an alias. */
42504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42505 choke me
42506 #else
42507 char (*f) () = $ac_func;
42508 #endif
42509 #ifdef __cplusplus
42511 #endif
42514 main ()
42516 return f != $ac_func;
42518 return 0;
42520 _ACEOF
42521 rm -f conftest.$ac_objext conftest$ac_exeext
42522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42523 (eval $ac_link) 2>conftest.er1
42524 ac_status=$?
42525 grep -v '^ *+' conftest.er1 >conftest.err
42526 rm -f conftest.er1
42527 cat conftest.err >&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); } &&
42530 { ac_try='test -z "$ac_c_werror_flag"
42531 || test ! -s conftest.err'
42532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42533 (eval $ac_try) 2>&5
42534 ac_status=$?
42535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536 (exit $ac_status); }; } &&
42537 { ac_try='test -s conftest$ac_exeext'
42538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42539 (eval $ac_try) 2>&5
42540 ac_status=$?
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; }; then
42543 eval "$as_ac_var=yes"
42544 else
42545 echo "$as_me: failed program was:" >&5
42546 sed 's/^/| /' conftest.$ac_ext >&5
42548 eval "$as_ac_var=no"
42550 rm -f conftest.err conftest.$ac_objext \
42551 conftest$ac_exeext conftest.$ac_ext
42553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42555 if test `eval echo '${'$as_ac_var'}'` = yes; then
42556 cat >>confdefs.h <<_ACEOF
42557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42558 _ACEOF
42561 done
42571 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42572 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42573 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42574 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42575 echo $ECHO_N "(cached) $ECHO_C" >&6
42576 else
42580 ac_ext=cc
42581 ac_cpp='$CXXCPP $CPPFLAGS'
42582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42586 cat >conftest.$ac_ext <<_ACEOF
42587 /* confdefs.h. */
42588 _ACEOF
42589 cat confdefs.h >>conftest.$ac_ext
42590 cat >>conftest.$ac_ext <<_ACEOF
42591 /* end confdefs.h. */
42592 #include <math.h>
42593 #ifdef HAVE_IEEEFP_H
42594 #include <ieeefp.h>
42595 #endif
42598 main ()
42600 finitef(0);
42602 return 0;
42604 _ACEOF
42605 rm -f conftest.$ac_objext
42606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42607 (eval $ac_compile) 2>conftest.er1
42608 ac_status=$?
42609 grep -v '^ *+' conftest.er1 >conftest.err
42610 rm -f conftest.er1
42611 cat conftest.err >&5
42612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613 (exit $ac_status); } &&
42614 { ac_try='test -z "$ac_cxx_werror_flag"
42615 || test ! -s conftest.err'
42616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617 (eval $ac_try) 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; } &&
42621 { ac_try='test -s conftest.$ac_objext'
42622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42623 (eval $ac_try) 2>&5
42624 ac_status=$?
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); }; }; then
42627 glibcxx_cv_func_finitef_use=yes
42628 else
42629 echo "$as_me: failed program was:" >&5
42630 sed 's/^/| /' conftest.$ac_ext >&5
42632 glibcxx_cv_func_finitef_use=no
42634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42635 ac_ext=c
42636 ac_cpp='$CPP $CPPFLAGS'
42637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42646 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42648 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42650 for ac_func in finitef
42652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42653 echo "$as_me:$LINENO: checking for $ac_func" >&5
42654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42655 if eval "test \"\${$as_ac_var+set}\" = set"; then
42656 echo $ECHO_N "(cached) $ECHO_C" >&6
42657 else
42658 if test x$gcc_no_link = xyes; then
42659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42661 { (exit 1); exit 1; }; }
42663 cat >conftest.$ac_ext <<_ACEOF
42664 /* confdefs.h. */
42665 _ACEOF
42666 cat confdefs.h >>conftest.$ac_ext
42667 cat >>conftest.$ac_ext <<_ACEOF
42668 /* end confdefs.h. */
42669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42671 #define $ac_func innocuous_$ac_func
42673 /* System header to define __stub macros and hopefully few prototypes,
42674 which can conflict with char $ac_func (); below.
42675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42676 <limits.h> exists even on freestanding compilers. */
42678 #ifdef __STDC__
42679 # include <limits.h>
42680 #else
42681 # include <assert.h>
42682 #endif
42684 #undef $ac_func
42686 /* Override any gcc2 internal prototype to avoid an error. */
42687 #ifdef __cplusplus
42688 extern "C"
42690 #endif
42691 /* We use char because int might match the return type of a gcc2
42692 builtin and then its argument prototype would still apply. */
42693 char $ac_func ();
42694 /* The GNU C library defines this for functions which it implements
42695 to always fail with ENOSYS. Some functions are actually named
42696 something starting with __ and the normal name is an alias. */
42697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42698 choke me
42699 #else
42700 char (*f) () = $ac_func;
42701 #endif
42702 #ifdef __cplusplus
42704 #endif
42707 main ()
42709 return f != $ac_func;
42711 return 0;
42713 _ACEOF
42714 rm -f conftest.$ac_objext conftest$ac_exeext
42715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42716 (eval $ac_link) 2>conftest.er1
42717 ac_status=$?
42718 grep -v '^ *+' conftest.er1 >conftest.err
42719 rm -f conftest.er1
42720 cat conftest.err >&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); } &&
42723 { ac_try='test -z "$ac_c_werror_flag"
42724 || test ! -s conftest.err'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; } &&
42730 { ac_try='test -s conftest$ac_exeext'
42731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732 (eval $ac_try) 2>&5
42733 ac_status=$?
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); }; }; then
42736 eval "$as_ac_var=yes"
42737 else
42738 echo "$as_me: failed program was:" >&5
42739 sed 's/^/| /' conftest.$ac_ext >&5
42741 eval "$as_ac_var=no"
42743 rm -f conftest.err conftest.$ac_objext \
42744 conftest$ac_exeext conftest.$ac_ext
42746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42748 if test `eval echo '${'$as_ac_var'}'` = yes; then
42749 cat >>confdefs.h <<_ACEOF
42750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42751 _ACEOF
42754 done
42756 else
42758 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42759 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42760 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42761 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42762 echo $ECHO_N "(cached) $ECHO_C" >&6
42763 else
42767 ac_ext=cc
42768 ac_cpp='$CXXCPP $CPPFLAGS'
42769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42773 cat >conftest.$ac_ext <<_ACEOF
42774 /* confdefs.h. */
42775 _ACEOF
42776 cat confdefs.h >>conftest.$ac_ext
42777 cat >>conftest.$ac_ext <<_ACEOF
42778 /* end confdefs.h. */
42779 #include <math.h>
42780 #ifdef HAVE_IEEEFP_H
42781 #include <ieeefp.h>
42782 #endif
42785 main ()
42787 _finitef(0);
42789 return 0;
42791 _ACEOF
42792 rm -f conftest.$ac_objext
42793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42794 (eval $ac_compile) 2>conftest.er1
42795 ac_status=$?
42796 grep -v '^ *+' conftest.er1 >conftest.err
42797 rm -f conftest.er1
42798 cat conftest.err >&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); } &&
42801 { ac_try='test -z "$ac_cxx_werror_flag"
42802 || test ! -s conftest.err'
42803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42804 (eval $ac_try) 2>&5
42805 ac_status=$?
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); }; } &&
42808 { ac_try='test -s conftest.$ac_objext'
42809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42810 (eval $ac_try) 2>&5
42811 ac_status=$?
42812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42813 (exit $ac_status); }; }; then
42814 glibcxx_cv_func__finitef_use=yes
42815 else
42816 echo "$as_me: failed program was:" >&5
42817 sed 's/^/| /' conftest.$ac_ext >&5
42819 glibcxx_cv_func__finitef_use=no
42821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42822 ac_ext=c
42823 ac_cpp='$CPP $CPPFLAGS'
42824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42832 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42833 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42835 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42837 for ac_func in _finitef
42839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42840 echo "$as_me:$LINENO: checking for $ac_func" >&5
42841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42842 if eval "test \"\${$as_ac_var+set}\" = set"; then
42843 echo $ECHO_N "(cached) $ECHO_C" >&6
42844 else
42845 if test x$gcc_no_link = xyes; then
42846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42848 { (exit 1); exit 1; }; }
42850 cat >conftest.$ac_ext <<_ACEOF
42851 /* confdefs.h. */
42852 _ACEOF
42853 cat confdefs.h >>conftest.$ac_ext
42854 cat >>conftest.$ac_ext <<_ACEOF
42855 /* end confdefs.h. */
42856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42858 #define $ac_func innocuous_$ac_func
42860 /* System header to define __stub macros and hopefully few prototypes,
42861 which can conflict with char $ac_func (); below.
42862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42863 <limits.h> exists even on freestanding compilers. */
42865 #ifdef __STDC__
42866 # include <limits.h>
42867 #else
42868 # include <assert.h>
42869 #endif
42871 #undef $ac_func
42873 /* Override any gcc2 internal prototype to avoid an error. */
42874 #ifdef __cplusplus
42875 extern "C"
42877 #endif
42878 /* We use char because int might match the return type of a gcc2
42879 builtin and then its argument prototype would still apply. */
42880 char $ac_func ();
42881 /* The GNU C library defines this for functions which it implements
42882 to always fail with ENOSYS. Some functions are actually named
42883 something starting with __ and the normal name is an alias. */
42884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42885 choke me
42886 #else
42887 char (*f) () = $ac_func;
42888 #endif
42889 #ifdef __cplusplus
42891 #endif
42894 main ()
42896 return f != $ac_func;
42898 return 0;
42900 _ACEOF
42901 rm -f conftest.$ac_objext conftest$ac_exeext
42902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42903 (eval $ac_link) 2>conftest.er1
42904 ac_status=$?
42905 grep -v '^ *+' conftest.er1 >conftest.err
42906 rm -f conftest.er1
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } &&
42910 { ac_try='test -z "$ac_c_werror_flag"
42911 || test ! -s conftest.err'
42912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42913 (eval $ac_try) 2>&5
42914 ac_status=$?
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); }; } &&
42917 { ac_try='test -s conftest$ac_exeext'
42918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42919 (eval $ac_try) 2>&5
42920 ac_status=$?
42921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922 (exit $ac_status); }; }; then
42923 eval "$as_ac_var=yes"
42924 else
42925 echo "$as_me: failed program was:" >&5
42926 sed 's/^/| /' conftest.$ac_ext >&5
42928 eval "$as_ac_var=no"
42930 rm -f conftest.err conftest.$ac_objext \
42931 conftest$ac_exeext conftest.$ac_ext
42933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42935 if test `eval echo '${'$as_ac_var'}'` = yes; then
42936 cat >>confdefs.h <<_ACEOF
42937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42938 _ACEOF
42941 done
42951 echo "$as_me:$LINENO: checking for long double trig functions" >&5
42952 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42953 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42955 else
42959 ac_ext=cc
42960 ac_cpp='$CXXCPP $CPPFLAGS'
42961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h. */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971 #include <math.h>
42973 main ()
42975 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42977 return 0;
42979 _ACEOF
42980 rm -f conftest.$ac_objext
42981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42982 (eval $ac_compile) 2>conftest.er1
42983 ac_status=$?
42984 grep -v '^ *+' conftest.er1 >conftest.err
42985 rm -f conftest.er1
42986 cat conftest.err >&5
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); } &&
42989 { ac_try='test -z "$ac_cxx_werror_flag"
42990 || test ! -s conftest.err'
42991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42992 (eval $ac_try) 2>&5
42993 ac_status=$?
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); }; } &&
42996 { ac_try='test -s conftest.$ac_objext'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
42999 ac_status=$?
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; }; then
43002 glibcxx_cv_func_long_double_trig_use=yes
43003 else
43004 echo "$as_me: failed program was:" >&5
43005 sed 's/^/| /' conftest.$ac_ext >&5
43007 glibcxx_cv_func_long_double_trig_use=no
43009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43010 ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43019 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43020 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43030 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43033 echo "$as_me:$LINENO: checking for $ac_func" >&5
43034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43035 if eval "test \"\${$as_ac_var+set}\" = set"; then
43036 echo $ECHO_N "(cached) $ECHO_C" >&6
43037 else
43038 if test x$gcc_no_link = xyes; then
43039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43041 { (exit 1); exit 1; }; }
43043 cat >conftest.$ac_ext <<_ACEOF
43044 /* confdefs.h. */
43045 _ACEOF
43046 cat confdefs.h >>conftest.$ac_ext
43047 cat >>conftest.$ac_ext <<_ACEOF
43048 /* end confdefs.h. */
43049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43051 #define $ac_func innocuous_$ac_func
43053 /* System header to define __stub macros and hopefully few prototypes,
43054 which can conflict with char $ac_func (); below.
43055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43056 <limits.h> exists even on freestanding compilers. */
43058 #ifdef __STDC__
43059 # include <limits.h>
43060 #else
43061 # include <assert.h>
43062 #endif
43064 #undef $ac_func
43066 /* Override any gcc2 internal prototype to avoid an error. */
43067 #ifdef __cplusplus
43068 extern "C"
43070 #endif
43071 /* We use char because int might match the return type of a gcc2
43072 builtin and then its argument prototype would still apply. */
43073 char $ac_func ();
43074 /* The GNU C library defines this for functions which it implements
43075 to always fail with ENOSYS. Some functions are actually named
43076 something starting with __ and the normal name is an alias. */
43077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43078 choke me
43079 #else
43080 char (*f) () = $ac_func;
43081 #endif
43082 #ifdef __cplusplus
43084 #endif
43087 main ()
43089 return f != $ac_func;
43091 return 0;
43093 _ACEOF
43094 rm -f conftest.$ac_objext conftest$ac_exeext
43095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43096 (eval $ac_link) 2>conftest.er1
43097 ac_status=$?
43098 grep -v '^ *+' conftest.er1 >conftest.err
43099 rm -f conftest.er1
43100 cat conftest.err >&5
43101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102 (exit $ac_status); } &&
43103 { ac_try='test -z "$ac_c_werror_flag"
43104 || test ! -s conftest.err'
43105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43106 (eval $ac_try) 2>&5
43107 ac_status=$?
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); }; } &&
43110 { ac_try='test -s conftest$ac_exeext'
43111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43112 (eval $ac_try) 2>&5
43113 ac_status=$?
43114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115 (exit $ac_status); }; }; then
43116 eval "$as_ac_var=yes"
43117 else
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43121 eval "$as_ac_var=no"
43123 rm -f conftest.err conftest.$ac_objext \
43124 conftest$ac_exeext conftest.$ac_ext
43126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43128 if test `eval echo '${'$as_ac_var'}'` = yes; then
43129 cat >>confdefs.h <<_ACEOF
43130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43131 _ACEOF
43134 done
43136 else
43137 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43138 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43139 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43141 else
43145 ac_ext=cc
43146 ac_cpp='$CXXCPP $CPPFLAGS'
43147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43151 cat >conftest.$ac_ext <<_ACEOF
43152 /* confdefs.h. */
43153 _ACEOF
43154 cat confdefs.h >>conftest.$ac_ext
43155 cat >>conftest.$ac_ext <<_ACEOF
43156 /* end confdefs.h. */
43157 #include <math.h>
43159 main ()
43161 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43163 return 0;
43165 _ACEOF
43166 rm -f conftest.$ac_objext
43167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43168 (eval $ac_compile) 2>conftest.er1
43169 ac_status=$?
43170 grep -v '^ *+' conftest.er1 >conftest.err
43171 rm -f conftest.er1
43172 cat conftest.err >&5
43173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43174 (exit $ac_status); } &&
43175 { ac_try='test -z "$ac_cxx_werror_flag"
43176 || test ! -s conftest.err'
43177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43178 (eval $ac_try) 2>&5
43179 ac_status=$?
43180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181 (exit $ac_status); }; } &&
43182 { ac_try='test -s conftest.$ac_objext'
43183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43184 (eval $ac_try) 2>&5
43185 ac_status=$?
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); }; }; then
43188 glibcxx_cv_func__long_double_trig_use=yes
43189 else
43190 echo "$as_me: failed program was:" >&5
43191 sed 's/^/| /' conftest.$ac_ext >&5
43193 glibcxx_cv_func__long_double_trig_use=no
43195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43196 ac_ext=c
43197 ac_cpp='$CPP $CPPFLAGS'
43198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43205 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43206 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43216 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43219 echo "$as_me:$LINENO: checking for $ac_func" >&5
43220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43221 if eval "test \"\${$as_ac_var+set}\" = set"; then
43222 echo $ECHO_N "(cached) $ECHO_C" >&6
43223 else
43224 if test x$gcc_no_link = xyes; then
43225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43227 { (exit 1); exit 1; }; }
43229 cat >conftest.$ac_ext <<_ACEOF
43230 /* confdefs.h. */
43231 _ACEOF
43232 cat confdefs.h >>conftest.$ac_ext
43233 cat >>conftest.$ac_ext <<_ACEOF
43234 /* end confdefs.h. */
43235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43237 #define $ac_func innocuous_$ac_func
43239 /* System header to define __stub macros and hopefully few prototypes,
43240 which can conflict with char $ac_func (); below.
43241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43242 <limits.h> exists even on freestanding compilers. */
43244 #ifdef __STDC__
43245 # include <limits.h>
43246 #else
43247 # include <assert.h>
43248 #endif
43250 #undef $ac_func
43252 /* Override any gcc2 internal prototype to avoid an error. */
43253 #ifdef __cplusplus
43254 extern "C"
43256 #endif
43257 /* We use char because int might match the return type of a gcc2
43258 builtin and then its argument prototype would still apply. */
43259 char $ac_func ();
43260 /* The GNU C library defines this for functions which it implements
43261 to always fail with ENOSYS. Some functions are actually named
43262 something starting with __ and the normal name is an alias. */
43263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43264 choke me
43265 #else
43266 char (*f) () = $ac_func;
43267 #endif
43268 #ifdef __cplusplus
43270 #endif
43273 main ()
43275 return f != $ac_func;
43277 return 0;
43279 _ACEOF
43280 rm -f conftest.$ac_objext conftest$ac_exeext
43281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43282 (eval $ac_link) 2>conftest.er1
43283 ac_status=$?
43284 grep -v '^ *+' conftest.er1 >conftest.err
43285 rm -f conftest.er1
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } &&
43289 { ac_try='test -z "$ac_c_werror_flag"
43290 || test ! -s conftest.err'
43291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43292 (eval $ac_try) 2>&5
43293 ac_status=$?
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); }; } &&
43296 { ac_try='test -s conftest$ac_exeext'
43297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43298 (eval $ac_try) 2>&5
43299 ac_status=$?
43300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301 (exit $ac_status); }; }; then
43302 eval "$as_ac_var=yes"
43303 else
43304 echo "$as_me: failed program was:" >&5
43305 sed 's/^/| /' conftest.$ac_ext >&5
43307 eval "$as_ac_var=no"
43309 rm -f conftest.err conftest.$ac_objext \
43310 conftest$ac_exeext conftest.$ac_ext
43312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43314 if test `eval echo '${'$as_ac_var'}'` = yes; then
43315 cat >>confdefs.h <<_ACEOF
43316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43317 _ACEOF
43320 done
43338 echo "$as_me:$LINENO: checking for long double round functions" >&5
43339 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43340 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43341 echo $ECHO_N "(cached) $ECHO_C" >&6
43342 else
43346 ac_ext=cc
43347 ac_cpp='$CXXCPP $CPPFLAGS'
43348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352 cat >conftest.$ac_ext <<_ACEOF
43353 /* confdefs.h. */
43354 _ACEOF
43355 cat confdefs.h >>conftest.$ac_ext
43356 cat >>conftest.$ac_ext <<_ACEOF
43357 /* end confdefs.h. */
43358 #include <math.h>
43360 main ()
43362 ceill (0); floorl (0);
43364 return 0;
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43369 (eval $ac_compile) 2>conftest.er1
43370 ac_status=$?
43371 grep -v '^ *+' conftest.er1 >conftest.err
43372 rm -f conftest.er1
43373 cat conftest.err >&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); } &&
43376 { ac_try='test -z "$ac_cxx_werror_flag"
43377 || test ! -s conftest.err'
43378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379 (eval $ac_try) 2>&5
43380 ac_status=$?
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); }; } &&
43383 { ac_try='test -s conftest.$ac_objext'
43384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385 (eval $ac_try) 2>&5
43386 ac_status=$?
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); }; }; then
43389 glibcxx_cv_func_long_double_round_use=yes
43390 else
43391 echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43394 glibcxx_cv_func_long_double_round_use=no
43396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43397 ac_ext=c
43398 ac_cpp='$CPP $CPPFLAGS'
43399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43406 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43407 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43410 for ac_func in ceill floorl
43412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43413 echo "$as_me:$LINENO: checking for $ac_func" >&5
43414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43415 if eval "test \"\${$as_ac_var+set}\" = set"; then
43416 echo $ECHO_N "(cached) $ECHO_C" >&6
43417 else
43418 if test x$gcc_no_link = xyes; then
43419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43421 { (exit 1); exit 1; }; }
43423 cat >conftest.$ac_ext <<_ACEOF
43424 /* confdefs.h. */
43425 _ACEOF
43426 cat confdefs.h >>conftest.$ac_ext
43427 cat >>conftest.$ac_ext <<_ACEOF
43428 /* end confdefs.h. */
43429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43431 #define $ac_func innocuous_$ac_func
43433 /* System header to define __stub macros and hopefully few prototypes,
43434 which can conflict with char $ac_func (); below.
43435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43436 <limits.h> exists even on freestanding compilers. */
43438 #ifdef __STDC__
43439 # include <limits.h>
43440 #else
43441 # include <assert.h>
43442 #endif
43444 #undef $ac_func
43446 /* Override any gcc2 internal prototype to avoid an error. */
43447 #ifdef __cplusplus
43448 extern "C"
43450 #endif
43451 /* We use char because int might match the return type of a gcc2
43452 builtin and then its argument prototype would still apply. */
43453 char $ac_func ();
43454 /* The GNU C library defines this for functions which it implements
43455 to always fail with ENOSYS. Some functions are actually named
43456 something starting with __ and the normal name is an alias. */
43457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43458 choke me
43459 #else
43460 char (*f) () = $ac_func;
43461 #endif
43462 #ifdef __cplusplus
43464 #endif
43467 main ()
43469 return f != $ac_func;
43471 return 0;
43473 _ACEOF
43474 rm -f conftest.$ac_objext conftest$ac_exeext
43475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43476 (eval $ac_link) 2>conftest.er1
43477 ac_status=$?
43478 grep -v '^ *+' conftest.er1 >conftest.err
43479 rm -f conftest.er1
43480 cat conftest.err >&5
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); } &&
43483 { ac_try='test -z "$ac_c_werror_flag"
43484 || test ! -s conftest.err'
43485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43486 (eval $ac_try) 2>&5
43487 ac_status=$?
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); }; } &&
43490 { ac_try='test -s conftest$ac_exeext'
43491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43492 (eval $ac_try) 2>&5
43493 ac_status=$?
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); }; }; then
43496 eval "$as_ac_var=yes"
43497 else
43498 echo "$as_me: failed program was:" >&5
43499 sed 's/^/| /' conftest.$ac_ext >&5
43501 eval "$as_ac_var=no"
43503 rm -f conftest.err conftest.$ac_objext \
43504 conftest$ac_exeext conftest.$ac_ext
43506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43508 if test `eval echo '${'$as_ac_var'}'` = yes; then
43509 cat >>confdefs.h <<_ACEOF
43510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43511 _ACEOF
43514 done
43516 else
43517 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43518 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43519 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43520 echo $ECHO_N "(cached) $ECHO_C" >&6
43521 else
43525 ac_ext=cc
43526 ac_cpp='$CXXCPP $CPPFLAGS'
43527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43531 cat >conftest.$ac_ext <<_ACEOF
43532 /* confdefs.h. */
43533 _ACEOF
43534 cat confdefs.h >>conftest.$ac_ext
43535 cat >>conftest.$ac_ext <<_ACEOF
43536 /* end confdefs.h. */
43537 #include <math.h>
43539 main ()
43541 _ceill (0); _floorl (0);
43543 return 0;
43545 _ACEOF
43546 rm -f conftest.$ac_objext
43547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43548 (eval $ac_compile) 2>conftest.er1
43549 ac_status=$?
43550 grep -v '^ *+' conftest.er1 >conftest.err
43551 rm -f conftest.er1
43552 cat conftest.err >&5
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); } &&
43555 { ac_try='test -z "$ac_cxx_werror_flag"
43556 || test ! -s conftest.err'
43557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43558 (eval $ac_try) 2>&5
43559 ac_status=$?
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); }; } &&
43562 { ac_try='test -s conftest.$ac_objext'
43563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43564 (eval $ac_try) 2>&5
43565 ac_status=$?
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); }; }; then
43568 glibcxx_cv_func__long_double_round_use=yes
43569 else
43570 echo "$as_me: failed program was:" >&5
43571 sed 's/^/| /' conftest.$ac_ext >&5
43573 glibcxx_cv_func__long_double_round_use=no
43575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43576 ac_ext=c
43577 ac_cpp='$CPP $CPPFLAGS'
43578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43585 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43586 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43589 for ac_func in _ceill _floorl
43591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43592 echo "$as_me:$LINENO: checking for $ac_func" >&5
43593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43594 if eval "test \"\${$as_ac_var+set}\" = set"; then
43595 echo $ECHO_N "(cached) $ECHO_C" >&6
43596 else
43597 if test x$gcc_no_link = xyes; then
43598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43600 { (exit 1); exit 1; }; }
43602 cat >conftest.$ac_ext <<_ACEOF
43603 /* confdefs.h. */
43604 _ACEOF
43605 cat confdefs.h >>conftest.$ac_ext
43606 cat >>conftest.$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43610 #define $ac_func innocuous_$ac_func
43612 /* System header to define __stub macros and hopefully few prototypes,
43613 which can conflict with char $ac_func (); below.
43614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43615 <limits.h> exists even on freestanding compilers. */
43617 #ifdef __STDC__
43618 # include <limits.h>
43619 #else
43620 # include <assert.h>
43621 #endif
43623 #undef $ac_func
43625 /* Override any gcc2 internal prototype to avoid an error. */
43626 #ifdef __cplusplus
43627 extern "C"
43629 #endif
43630 /* We use char because int might match the return type of a gcc2
43631 builtin and then its argument prototype would still apply. */
43632 char $ac_func ();
43633 /* The GNU C library defines this for functions which it implements
43634 to always fail with ENOSYS. Some functions are actually named
43635 something starting with __ and the normal name is an alias. */
43636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43637 choke me
43638 #else
43639 char (*f) () = $ac_func;
43640 #endif
43641 #ifdef __cplusplus
43643 #endif
43646 main ()
43648 return f != $ac_func;
43650 return 0;
43652 _ACEOF
43653 rm -f conftest.$ac_objext conftest$ac_exeext
43654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43655 (eval $ac_link) 2>conftest.er1
43656 ac_status=$?
43657 grep -v '^ *+' conftest.er1 >conftest.err
43658 rm -f conftest.er1
43659 cat conftest.err >&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } &&
43662 { ac_try='test -z "$ac_c_werror_flag"
43663 || test ! -s conftest.err'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43666 ac_status=$?
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; } &&
43669 { ac_try='test -s conftest$ac_exeext'
43670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671 (eval $ac_try) 2>&5
43672 ac_status=$?
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); }; }; then
43675 eval "$as_ac_var=yes"
43676 else
43677 echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43680 eval "$as_ac_var=no"
43682 rm -f conftest.err conftest.$ac_objext \
43683 conftest$ac_exeext conftest.$ac_ext
43685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43687 if test `eval echo '${'$as_ac_var'}'` = yes; then
43688 cat >>confdefs.h <<_ACEOF
43689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43690 _ACEOF
43693 done
43705 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43706 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43707 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43708 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43709 echo $ECHO_N "(cached) $ECHO_C" >&6
43710 else
43714 ac_ext=cc
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720 cat >conftest.$ac_ext <<_ACEOF
43721 /* confdefs.h. */
43722 _ACEOF
43723 cat confdefs.h >>conftest.$ac_ext
43724 cat >>conftest.$ac_ext <<_ACEOF
43725 /* end confdefs.h. */
43726 #include <math.h>
43727 #ifdef HAVE_IEEEFP_H
43728 #include <ieeefp.h>
43729 #endif
43732 main ()
43734 isnanl(0);
43736 return 0;
43738 _ACEOF
43739 rm -f conftest.$ac_objext
43740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43741 (eval $ac_compile) 2>conftest.er1
43742 ac_status=$?
43743 grep -v '^ *+' conftest.er1 >conftest.err
43744 rm -f conftest.er1
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } &&
43748 { ac_try='test -z "$ac_cxx_werror_flag"
43749 || test ! -s conftest.err'
43750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43751 (eval $ac_try) 2>&5
43752 ac_status=$?
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); }; } &&
43755 { ac_try='test -s conftest.$ac_objext'
43756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43757 (eval $ac_try) 2>&5
43758 ac_status=$?
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; }; then
43761 glibcxx_cv_func_isnanl_use=yes
43762 else
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43766 glibcxx_cv_func_isnanl_use=no
43768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43769 ac_ext=c
43770 ac_cpp='$CPP $CPPFLAGS'
43771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43779 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
43780 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
43782 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43784 for ac_func in isnanl
43786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43787 echo "$as_me:$LINENO: checking for $ac_func" >&5
43788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43789 if eval "test \"\${$as_ac_var+set}\" = set"; then
43790 echo $ECHO_N "(cached) $ECHO_C" >&6
43791 else
43792 if test x$gcc_no_link = xyes; then
43793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43795 { (exit 1); exit 1; }; }
43797 cat >conftest.$ac_ext <<_ACEOF
43798 /* confdefs.h. */
43799 _ACEOF
43800 cat confdefs.h >>conftest.$ac_ext
43801 cat >>conftest.$ac_ext <<_ACEOF
43802 /* end confdefs.h. */
43803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43805 #define $ac_func innocuous_$ac_func
43807 /* System header to define __stub macros and hopefully few prototypes,
43808 which can conflict with char $ac_func (); below.
43809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43810 <limits.h> exists even on freestanding compilers. */
43812 #ifdef __STDC__
43813 # include <limits.h>
43814 #else
43815 # include <assert.h>
43816 #endif
43818 #undef $ac_func
43820 /* Override any gcc2 internal prototype to avoid an error. */
43821 #ifdef __cplusplus
43822 extern "C"
43824 #endif
43825 /* We use char because int might match the return type of a gcc2
43826 builtin and then its argument prototype would still apply. */
43827 char $ac_func ();
43828 /* The GNU C library defines this for functions which it implements
43829 to always fail with ENOSYS. Some functions are actually named
43830 something starting with __ and the normal name is an alias. */
43831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43832 choke me
43833 #else
43834 char (*f) () = $ac_func;
43835 #endif
43836 #ifdef __cplusplus
43838 #endif
43841 main ()
43843 return f != $ac_func;
43845 return 0;
43847 _ACEOF
43848 rm -f conftest.$ac_objext conftest$ac_exeext
43849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43850 (eval $ac_link) 2>conftest.er1
43851 ac_status=$?
43852 grep -v '^ *+' conftest.er1 >conftest.err
43853 rm -f conftest.er1
43854 cat conftest.err >&5
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); } &&
43857 { ac_try='test -z "$ac_c_werror_flag"
43858 || test ! -s conftest.err'
43859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43860 (eval $ac_try) 2>&5
43861 ac_status=$?
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); }; } &&
43864 { ac_try='test -s conftest$ac_exeext'
43865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43866 (eval $ac_try) 2>&5
43867 ac_status=$?
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); }; }; then
43870 eval "$as_ac_var=yes"
43871 else
43872 echo "$as_me: failed program was:" >&5
43873 sed 's/^/| /' conftest.$ac_ext >&5
43875 eval "$as_ac_var=no"
43877 rm -f conftest.err conftest.$ac_objext \
43878 conftest$ac_exeext conftest.$ac_ext
43880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43882 if test `eval echo '${'$as_ac_var'}'` = yes; then
43883 cat >>confdefs.h <<_ACEOF
43884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43885 _ACEOF
43888 done
43890 else
43892 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43893 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43895 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43896 echo $ECHO_N "(cached) $ECHO_C" >&6
43897 else
43901 ac_ext=cc
43902 ac_cpp='$CXXCPP $CPPFLAGS'
43903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43907 cat >conftest.$ac_ext <<_ACEOF
43908 /* confdefs.h. */
43909 _ACEOF
43910 cat confdefs.h >>conftest.$ac_ext
43911 cat >>conftest.$ac_ext <<_ACEOF
43912 /* end confdefs.h. */
43913 #include <math.h>
43914 #ifdef HAVE_IEEEFP_H
43915 #include <ieeefp.h>
43916 #endif
43919 main ()
43921 _isnanl(0);
43923 return 0;
43925 _ACEOF
43926 rm -f conftest.$ac_objext
43927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43928 (eval $ac_compile) 2>conftest.er1
43929 ac_status=$?
43930 grep -v '^ *+' conftest.er1 >conftest.err
43931 rm -f conftest.er1
43932 cat conftest.err >&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } &&
43935 { ac_try='test -z "$ac_cxx_werror_flag"
43936 || test ! -s conftest.err'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43939 ac_status=$?
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; } &&
43942 { ac_try='test -s conftest.$ac_objext'
43943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944 (eval $ac_try) 2>&5
43945 ac_status=$?
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); }; }; then
43948 glibcxx_cv_func__isnanl_use=yes
43949 else
43950 echo "$as_me: failed program was:" >&5
43951 sed 's/^/| /' conftest.$ac_ext >&5
43953 glibcxx_cv_func__isnanl_use=no
43955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43956 ac_ext=c
43957 ac_cpp='$CPP $CPPFLAGS'
43958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43967 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43969 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43971 for ac_func in _isnanl
43973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43974 echo "$as_me:$LINENO: checking for $ac_func" >&5
43975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43976 if eval "test \"\${$as_ac_var+set}\" = set"; then
43977 echo $ECHO_N "(cached) $ECHO_C" >&6
43978 else
43979 if test x$gcc_no_link = xyes; then
43980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43982 { (exit 1); exit 1; }; }
43984 cat >conftest.$ac_ext <<_ACEOF
43985 /* confdefs.h. */
43986 _ACEOF
43987 cat confdefs.h >>conftest.$ac_ext
43988 cat >>conftest.$ac_ext <<_ACEOF
43989 /* end confdefs.h. */
43990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43992 #define $ac_func innocuous_$ac_func
43994 /* System header to define __stub macros and hopefully few prototypes,
43995 which can conflict with char $ac_func (); below.
43996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43997 <limits.h> exists even on freestanding compilers. */
43999 #ifdef __STDC__
44000 # include <limits.h>
44001 #else
44002 # include <assert.h>
44003 #endif
44005 #undef $ac_func
44007 /* Override any gcc2 internal prototype to avoid an error. */
44008 #ifdef __cplusplus
44009 extern "C"
44011 #endif
44012 /* We use char because int might match the return type of a gcc2
44013 builtin and then its argument prototype would still apply. */
44014 char $ac_func ();
44015 /* The GNU C library defines this for functions which it implements
44016 to always fail with ENOSYS. Some functions are actually named
44017 something starting with __ and the normal name is an alias. */
44018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44019 choke me
44020 #else
44021 char (*f) () = $ac_func;
44022 #endif
44023 #ifdef __cplusplus
44025 #endif
44028 main ()
44030 return f != $ac_func;
44032 return 0;
44034 _ACEOF
44035 rm -f conftest.$ac_objext conftest$ac_exeext
44036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44037 (eval $ac_link) 2>conftest.er1
44038 ac_status=$?
44039 grep -v '^ *+' conftest.er1 >conftest.err
44040 rm -f conftest.er1
44041 cat conftest.err >&5
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); } &&
44044 { ac_try='test -z "$ac_c_werror_flag"
44045 || test ! -s conftest.err'
44046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44047 (eval $ac_try) 2>&5
44048 ac_status=$?
44049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44050 (exit $ac_status); }; } &&
44051 { ac_try='test -s conftest$ac_exeext'
44052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44053 (eval $ac_try) 2>&5
44054 ac_status=$?
44055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056 (exit $ac_status); }; }; then
44057 eval "$as_ac_var=yes"
44058 else
44059 echo "$as_me: failed program was:" >&5
44060 sed 's/^/| /' conftest.$ac_ext >&5
44062 eval "$as_ac_var=no"
44064 rm -f conftest.err conftest.$ac_objext \
44065 conftest$ac_exeext conftest.$ac_ext
44067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44069 if test `eval echo '${'$as_ac_var'}'` = yes; then
44070 cat >>confdefs.h <<_ACEOF
44071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44072 _ACEOF
44075 done
44085 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44086 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44087 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44088 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44089 echo $ECHO_N "(cached) $ECHO_C" >&6
44090 else
44094 ac_ext=cc
44095 ac_cpp='$CXXCPP $CPPFLAGS'
44096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44100 cat >conftest.$ac_ext <<_ACEOF
44101 /* confdefs.h. */
44102 _ACEOF
44103 cat confdefs.h >>conftest.$ac_ext
44104 cat >>conftest.$ac_ext <<_ACEOF
44105 /* end confdefs.h. */
44106 #include <math.h>
44107 #ifdef HAVE_IEEEFP_H
44108 #include <ieeefp.h>
44109 #endif
44112 main ()
44114 isinfl(0);
44116 return 0;
44118 _ACEOF
44119 rm -f conftest.$ac_objext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44121 (eval $ac_compile) 2>conftest.er1
44122 ac_status=$?
44123 grep -v '^ *+' conftest.er1 >conftest.err
44124 rm -f conftest.er1
44125 cat conftest.err >&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } &&
44128 { ac_try='test -z "$ac_cxx_werror_flag"
44129 || test ! -s conftest.err'
44130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131 (eval $ac_try) 2>&5
44132 ac_status=$?
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); }; } &&
44135 { ac_try='test -s conftest.$ac_objext'
44136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44137 (eval $ac_try) 2>&5
44138 ac_status=$?
44139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140 (exit $ac_status); }; }; then
44141 glibcxx_cv_func_isinfl_use=yes
44142 else
44143 echo "$as_me: failed program was:" >&5
44144 sed 's/^/| /' conftest.$ac_ext >&5
44146 glibcxx_cv_func_isinfl_use=no
44148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44149 ac_ext=c
44150 ac_cpp='$CPP $CPPFLAGS'
44151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44160 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44162 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44164 for ac_func in isinfl
44166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44167 echo "$as_me:$LINENO: checking for $ac_func" >&5
44168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44169 if eval "test \"\${$as_ac_var+set}\" = set"; then
44170 echo $ECHO_N "(cached) $ECHO_C" >&6
44171 else
44172 if test x$gcc_no_link = xyes; then
44173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44175 { (exit 1); exit 1; }; }
44177 cat >conftest.$ac_ext <<_ACEOF
44178 /* confdefs.h. */
44179 _ACEOF
44180 cat confdefs.h >>conftest.$ac_ext
44181 cat >>conftest.$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44185 #define $ac_func innocuous_$ac_func
44187 /* System header to define __stub macros and hopefully few prototypes,
44188 which can conflict with char $ac_func (); below.
44189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44190 <limits.h> exists even on freestanding compilers. */
44192 #ifdef __STDC__
44193 # include <limits.h>
44194 #else
44195 # include <assert.h>
44196 #endif
44198 #undef $ac_func
44200 /* Override any gcc2 internal prototype to avoid an error. */
44201 #ifdef __cplusplus
44202 extern "C"
44204 #endif
44205 /* We use char because int might match the return type of a gcc2
44206 builtin and then its argument prototype would still apply. */
44207 char $ac_func ();
44208 /* The GNU C library defines this for functions which it implements
44209 to always fail with ENOSYS. Some functions are actually named
44210 something starting with __ and the normal name is an alias. */
44211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44212 choke me
44213 #else
44214 char (*f) () = $ac_func;
44215 #endif
44216 #ifdef __cplusplus
44218 #endif
44221 main ()
44223 return f != $ac_func;
44225 return 0;
44227 _ACEOF
44228 rm -f conftest.$ac_objext conftest$ac_exeext
44229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44230 (eval $ac_link) 2>conftest.er1
44231 ac_status=$?
44232 grep -v '^ *+' conftest.er1 >conftest.err
44233 rm -f conftest.er1
44234 cat conftest.err >&5
44235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44236 (exit $ac_status); } &&
44237 { ac_try='test -z "$ac_c_werror_flag"
44238 || test ! -s conftest.err'
44239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240 (eval $ac_try) 2>&5
44241 ac_status=$?
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); }; } &&
44244 { ac_try='test -s conftest$ac_exeext'
44245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44246 (eval $ac_try) 2>&5
44247 ac_status=$?
44248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44249 (exit $ac_status); }; }; then
44250 eval "$as_ac_var=yes"
44251 else
44252 echo "$as_me: failed program was:" >&5
44253 sed 's/^/| /' conftest.$ac_ext >&5
44255 eval "$as_ac_var=no"
44257 rm -f conftest.err conftest.$ac_objext \
44258 conftest$ac_exeext conftest.$ac_ext
44260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44262 if test `eval echo '${'$as_ac_var'}'` = yes; then
44263 cat >>confdefs.h <<_ACEOF
44264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44265 _ACEOF
44268 done
44270 else
44272 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44273 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44274 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44275 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44277 else
44281 ac_ext=cc
44282 ac_cpp='$CXXCPP $CPPFLAGS'
44283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44287 cat >conftest.$ac_ext <<_ACEOF
44288 /* confdefs.h. */
44289 _ACEOF
44290 cat confdefs.h >>conftest.$ac_ext
44291 cat >>conftest.$ac_ext <<_ACEOF
44292 /* end confdefs.h. */
44293 #include <math.h>
44294 #ifdef HAVE_IEEEFP_H
44295 #include <ieeefp.h>
44296 #endif
44299 main ()
44301 _isinfl(0);
44303 return 0;
44305 _ACEOF
44306 rm -f conftest.$ac_objext
44307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44308 (eval $ac_compile) 2>conftest.er1
44309 ac_status=$?
44310 grep -v '^ *+' conftest.er1 >conftest.err
44311 rm -f conftest.er1
44312 cat conftest.err >&5
44313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314 (exit $ac_status); } &&
44315 { ac_try='test -z "$ac_cxx_werror_flag"
44316 || test ! -s conftest.err'
44317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318 (eval $ac_try) 2>&5
44319 ac_status=$?
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); }; } &&
44322 { ac_try='test -s conftest.$ac_objext'
44323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44324 (eval $ac_try) 2>&5
44325 ac_status=$?
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); }; }; then
44328 glibcxx_cv_func__isinfl_use=yes
44329 else
44330 echo "$as_me: failed program was:" >&5
44331 sed 's/^/| /' conftest.$ac_ext >&5
44333 glibcxx_cv_func__isinfl_use=no
44335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44336 ac_ext=c
44337 ac_cpp='$CPP $CPPFLAGS'
44338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44347 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44349 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44351 for ac_func in _isinfl
44353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44354 echo "$as_me:$LINENO: checking for $ac_func" >&5
44355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44356 if eval "test \"\${$as_ac_var+set}\" = set"; then
44357 echo $ECHO_N "(cached) $ECHO_C" >&6
44358 else
44359 if test x$gcc_no_link = xyes; then
44360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44362 { (exit 1); exit 1; }; }
44364 cat >conftest.$ac_ext <<_ACEOF
44365 /* confdefs.h. */
44366 _ACEOF
44367 cat confdefs.h >>conftest.$ac_ext
44368 cat >>conftest.$ac_ext <<_ACEOF
44369 /* end confdefs.h. */
44370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44372 #define $ac_func innocuous_$ac_func
44374 /* System header to define __stub macros and hopefully few prototypes,
44375 which can conflict with char $ac_func (); below.
44376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44377 <limits.h> exists even on freestanding compilers. */
44379 #ifdef __STDC__
44380 # include <limits.h>
44381 #else
44382 # include <assert.h>
44383 #endif
44385 #undef $ac_func
44387 /* Override any gcc2 internal prototype to avoid an error. */
44388 #ifdef __cplusplus
44389 extern "C"
44391 #endif
44392 /* We use char because int might match the return type of a gcc2
44393 builtin and then its argument prototype would still apply. */
44394 char $ac_func ();
44395 /* The GNU C library defines this for functions which it implements
44396 to always fail with ENOSYS. Some functions are actually named
44397 something starting with __ and the normal name is an alias. */
44398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44399 choke me
44400 #else
44401 char (*f) () = $ac_func;
44402 #endif
44403 #ifdef __cplusplus
44405 #endif
44408 main ()
44410 return f != $ac_func;
44412 return 0;
44414 _ACEOF
44415 rm -f conftest.$ac_objext conftest$ac_exeext
44416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44417 (eval $ac_link) 2>conftest.er1
44418 ac_status=$?
44419 grep -v '^ *+' conftest.er1 >conftest.err
44420 rm -f conftest.er1
44421 cat conftest.err >&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); } &&
44424 { ac_try='test -z "$ac_c_werror_flag"
44425 || test ! -s conftest.err'
44426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44427 (eval $ac_try) 2>&5
44428 ac_status=$?
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); }; } &&
44431 { ac_try='test -s conftest$ac_exeext'
44432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44433 (eval $ac_try) 2>&5
44434 ac_status=$?
44435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436 (exit $ac_status); }; }; then
44437 eval "$as_ac_var=yes"
44438 else
44439 echo "$as_me: failed program was:" >&5
44440 sed 's/^/| /' conftest.$ac_ext >&5
44442 eval "$as_ac_var=no"
44444 rm -f conftest.err conftest.$ac_objext \
44445 conftest$ac_exeext conftest.$ac_ext
44447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44449 if test `eval echo '${'$as_ac_var'}'` = yes; then
44450 cat >>confdefs.h <<_ACEOF
44451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44452 _ACEOF
44455 done
44465 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44466 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44467 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44468 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 else
44474 ac_ext=cc
44475 ac_cpp='$CXXCPP $CPPFLAGS'
44476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44480 cat >conftest.$ac_ext <<_ACEOF
44481 /* confdefs.h. */
44482 _ACEOF
44483 cat confdefs.h >>conftest.$ac_ext
44484 cat >>conftest.$ac_ext <<_ACEOF
44485 /* end confdefs.h. */
44486 #include <math.h>
44488 main ()
44490 copysignl(0, 0);
44492 return 0;
44494 _ACEOF
44495 rm -f conftest.$ac_objext
44496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44497 (eval $ac_compile) 2>conftest.er1
44498 ac_status=$?
44499 grep -v '^ *+' conftest.er1 >conftest.err
44500 rm -f conftest.er1
44501 cat conftest.err >&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); } &&
44504 { ac_try='test -z "$ac_cxx_werror_flag"
44505 || test ! -s conftest.err'
44506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44507 (eval $ac_try) 2>&5
44508 ac_status=$?
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); }; } &&
44511 { ac_try='test -s conftest.$ac_objext'
44512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44513 (eval $ac_try) 2>&5
44514 ac_status=$?
44515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44516 (exit $ac_status); }; }; then
44517 glibcxx_cv_func_copysignl_use=yes
44518 else
44519 echo "$as_me: failed program was:" >&5
44520 sed 's/^/| /' conftest.$ac_ext >&5
44522 glibcxx_cv_func_copysignl_use=no
44524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44525 ac_ext=c
44526 ac_cpp='$CPP $CPPFLAGS'
44527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44536 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44538 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44540 for ac_func in copysignl
44542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44543 echo "$as_me:$LINENO: checking for $ac_func" >&5
44544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44545 if eval "test \"\${$as_ac_var+set}\" = set"; then
44546 echo $ECHO_N "(cached) $ECHO_C" >&6
44547 else
44548 if test x$gcc_no_link = xyes; then
44549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44551 { (exit 1); exit 1; }; }
44553 cat >conftest.$ac_ext <<_ACEOF
44554 /* confdefs.h. */
44555 _ACEOF
44556 cat confdefs.h >>conftest.$ac_ext
44557 cat >>conftest.$ac_ext <<_ACEOF
44558 /* end confdefs.h. */
44559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44561 #define $ac_func innocuous_$ac_func
44563 /* System header to define __stub macros and hopefully few prototypes,
44564 which can conflict with char $ac_func (); below.
44565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44566 <limits.h> exists even on freestanding compilers. */
44568 #ifdef __STDC__
44569 # include <limits.h>
44570 #else
44571 # include <assert.h>
44572 #endif
44574 #undef $ac_func
44576 /* Override any gcc2 internal prototype to avoid an error. */
44577 #ifdef __cplusplus
44578 extern "C"
44580 #endif
44581 /* We use char because int might match the return type of a gcc2
44582 builtin and then its argument prototype would still apply. */
44583 char $ac_func ();
44584 /* The GNU C library defines this for functions which it implements
44585 to always fail with ENOSYS. Some functions are actually named
44586 something starting with __ and the normal name is an alias. */
44587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44588 choke me
44589 #else
44590 char (*f) () = $ac_func;
44591 #endif
44592 #ifdef __cplusplus
44594 #endif
44597 main ()
44599 return f != $ac_func;
44601 return 0;
44603 _ACEOF
44604 rm -f conftest.$ac_objext conftest$ac_exeext
44605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44606 (eval $ac_link) 2>conftest.er1
44607 ac_status=$?
44608 grep -v '^ *+' conftest.er1 >conftest.err
44609 rm -f conftest.er1
44610 cat conftest.err >&5
44611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612 (exit $ac_status); } &&
44613 { ac_try='test -z "$ac_c_werror_flag"
44614 || test ! -s conftest.err'
44615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616 (eval $ac_try) 2>&5
44617 ac_status=$?
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; } &&
44620 { ac_try='test -s conftest$ac_exeext'
44621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44622 (eval $ac_try) 2>&5
44623 ac_status=$?
44624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44625 (exit $ac_status); }; }; then
44626 eval "$as_ac_var=yes"
44627 else
44628 echo "$as_me: failed program was:" >&5
44629 sed 's/^/| /' conftest.$ac_ext >&5
44631 eval "$as_ac_var=no"
44633 rm -f conftest.err conftest.$ac_objext \
44634 conftest$ac_exeext conftest.$ac_ext
44636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44638 if test `eval echo '${'$as_ac_var'}'` = yes; then
44639 cat >>confdefs.h <<_ACEOF
44640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44641 _ACEOF
44644 done
44646 else
44648 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44649 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44650 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44651 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44652 echo $ECHO_N "(cached) $ECHO_C" >&6
44653 else
44657 ac_ext=cc
44658 ac_cpp='$CXXCPP $CPPFLAGS'
44659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44663 cat >conftest.$ac_ext <<_ACEOF
44664 /* confdefs.h. */
44665 _ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44669 #include <math.h>
44671 main ()
44673 _copysignl(0, 0);
44675 return 0;
44677 _ACEOF
44678 rm -f conftest.$ac_objext
44679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44680 (eval $ac_compile) 2>conftest.er1
44681 ac_status=$?
44682 grep -v '^ *+' conftest.er1 >conftest.err
44683 rm -f conftest.er1
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } &&
44687 { ac_try='test -z "$ac_cxx_werror_flag"
44688 || test ! -s conftest.err'
44689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690 (eval $ac_try) 2>&5
44691 ac_status=$?
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); }; } &&
44694 { ac_try='test -s conftest.$ac_objext'
44695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44696 (eval $ac_try) 2>&5
44697 ac_status=$?
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); }; }; then
44700 glibcxx_cv_func__copysignl_use=yes
44701 else
44702 echo "$as_me: failed program was:" >&5
44703 sed 's/^/| /' conftest.$ac_ext >&5
44705 glibcxx_cv_func__copysignl_use=no
44707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44708 ac_ext=c
44709 ac_cpp='$CPP $CPPFLAGS'
44710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44719 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44721 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44723 for ac_func in _copysignl
44725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44726 echo "$as_me:$LINENO: checking for $ac_func" >&5
44727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44728 if eval "test \"\${$as_ac_var+set}\" = set"; then
44729 echo $ECHO_N "(cached) $ECHO_C" >&6
44730 else
44731 if test x$gcc_no_link = xyes; then
44732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44734 { (exit 1); exit 1; }; }
44736 cat >conftest.$ac_ext <<_ACEOF
44737 /* confdefs.h. */
44738 _ACEOF
44739 cat confdefs.h >>conftest.$ac_ext
44740 cat >>conftest.$ac_ext <<_ACEOF
44741 /* end confdefs.h. */
44742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44744 #define $ac_func innocuous_$ac_func
44746 /* System header to define __stub macros and hopefully few prototypes,
44747 which can conflict with char $ac_func (); below.
44748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44749 <limits.h> exists even on freestanding compilers. */
44751 #ifdef __STDC__
44752 # include <limits.h>
44753 #else
44754 # include <assert.h>
44755 #endif
44757 #undef $ac_func
44759 /* Override any gcc2 internal prototype to avoid an error. */
44760 #ifdef __cplusplus
44761 extern "C"
44763 #endif
44764 /* We use char because int might match the return type of a gcc2
44765 builtin and then its argument prototype would still apply. */
44766 char $ac_func ();
44767 /* The GNU C library defines this for functions which it implements
44768 to always fail with ENOSYS. Some functions are actually named
44769 something starting with __ and the normal name is an alias. */
44770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44771 choke me
44772 #else
44773 char (*f) () = $ac_func;
44774 #endif
44775 #ifdef __cplusplus
44777 #endif
44780 main ()
44782 return f != $ac_func;
44784 return 0;
44786 _ACEOF
44787 rm -f conftest.$ac_objext conftest$ac_exeext
44788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44789 (eval $ac_link) 2>conftest.er1
44790 ac_status=$?
44791 grep -v '^ *+' conftest.er1 >conftest.err
44792 rm -f conftest.er1
44793 cat conftest.err >&5
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); } &&
44796 { ac_try='test -z "$ac_c_werror_flag"
44797 || test ! -s conftest.err'
44798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44799 (eval $ac_try) 2>&5
44800 ac_status=$?
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); }; } &&
44803 { ac_try='test -s conftest$ac_exeext'
44804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44805 (eval $ac_try) 2>&5
44806 ac_status=$?
44807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808 (exit $ac_status); }; }; then
44809 eval "$as_ac_var=yes"
44810 else
44811 echo "$as_me: failed program was:" >&5
44812 sed 's/^/| /' conftest.$ac_ext >&5
44814 eval "$as_ac_var=no"
44816 rm -f conftest.err conftest.$ac_objext \
44817 conftest$ac_exeext conftest.$ac_ext
44819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44821 if test `eval echo '${'$as_ac_var'}'` = yes; then
44822 cat >>confdefs.h <<_ACEOF
44823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44824 _ACEOF
44827 done
44837 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
44838 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
44839 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44840 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
44841 echo $ECHO_N "(cached) $ECHO_C" >&6
44842 else
44846 ac_ext=cc
44847 ac_cpp='$CXXCPP $CPPFLAGS'
44848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44852 cat >conftest.$ac_ext <<_ACEOF
44853 /* confdefs.h. */
44854 _ACEOF
44855 cat confdefs.h >>conftest.$ac_ext
44856 cat >>conftest.$ac_ext <<_ACEOF
44857 /* end confdefs.h. */
44858 #include <math.h>
44860 main ()
44862 atan2l(0, 0);
44864 return 0;
44866 _ACEOF
44867 rm -f conftest.$ac_objext
44868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44869 (eval $ac_compile) 2>conftest.er1
44870 ac_status=$?
44871 grep -v '^ *+' conftest.er1 >conftest.err
44872 rm -f conftest.er1
44873 cat conftest.err >&5
44874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44875 (exit $ac_status); } &&
44876 { ac_try='test -z "$ac_cxx_werror_flag"
44877 || test ! -s conftest.err'
44878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44879 (eval $ac_try) 2>&5
44880 ac_status=$?
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); }; } &&
44883 { ac_try='test -s conftest.$ac_objext'
44884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44885 (eval $ac_try) 2>&5
44886 ac_status=$?
44887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888 (exit $ac_status); }; }; then
44889 glibcxx_cv_func_atan2l_use=yes
44890 else
44891 echo "$as_me: failed program was:" >&5
44892 sed 's/^/| /' conftest.$ac_ext >&5
44894 glibcxx_cv_func_atan2l_use=no
44896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44897 ac_ext=c
44898 ac_cpp='$CPP $CPPFLAGS'
44899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44908 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44910 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44912 for ac_func in atan2l
44914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44915 echo "$as_me:$LINENO: checking for $ac_func" >&5
44916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44917 if eval "test \"\${$as_ac_var+set}\" = set"; then
44918 echo $ECHO_N "(cached) $ECHO_C" >&6
44919 else
44920 if test x$gcc_no_link = xyes; then
44921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44923 { (exit 1); exit 1; }; }
44925 cat >conftest.$ac_ext <<_ACEOF
44926 /* confdefs.h. */
44927 _ACEOF
44928 cat confdefs.h >>conftest.$ac_ext
44929 cat >>conftest.$ac_ext <<_ACEOF
44930 /* end confdefs.h. */
44931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44933 #define $ac_func innocuous_$ac_func
44935 /* System header to define __stub macros and hopefully few prototypes,
44936 which can conflict with char $ac_func (); below.
44937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44938 <limits.h> exists even on freestanding compilers. */
44940 #ifdef __STDC__
44941 # include <limits.h>
44942 #else
44943 # include <assert.h>
44944 #endif
44946 #undef $ac_func
44948 /* Override any gcc2 internal prototype to avoid an error. */
44949 #ifdef __cplusplus
44950 extern "C"
44952 #endif
44953 /* We use char because int might match the return type of a gcc2
44954 builtin and then its argument prototype would still apply. */
44955 char $ac_func ();
44956 /* The GNU C library defines this for functions which it implements
44957 to always fail with ENOSYS. Some functions are actually named
44958 something starting with __ and the normal name is an alias. */
44959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44960 choke me
44961 #else
44962 char (*f) () = $ac_func;
44963 #endif
44964 #ifdef __cplusplus
44966 #endif
44969 main ()
44971 return f != $ac_func;
44973 return 0;
44975 _ACEOF
44976 rm -f conftest.$ac_objext conftest$ac_exeext
44977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44978 (eval $ac_link) 2>conftest.er1
44979 ac_status=$?
44980 grep -v '^ *+' conftest.er1 >conftest.err
44981 rm -f conftest.er1
44982 cat conftest.err >&5
44983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44984 (exit $ac_status); } &&
44985 { ac_try='test -z "$ac_c_werror_flag"
44986 || test ! -s conftest.err'
44987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988 (eval $ac_try) 2>&5
44989 ac_status=$?
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); }; } &&
44992 { ac_try='test -s conftest$ac_exeext'
44993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44994 (eval $ac_try) 2>&5
44995 ac_status=$?
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; }; then
44998 eval "$as_ac_var=yes"
44999 else
45000 echo "$as_me: failed program was:" >&5
45001 sed 's/^/| /' conftest.$ac_ext >&5
45003 eval "$as_ac_var=no"
45005 rm -f conftest.err conftest.$ac_objext \
45006 conftest$ac_exeext conftest.$ac_ext
45008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45010 if test `eval echo '${'$as_ac_var'}'` = yes; then
45011 cat >>confdefs.h <<_ACEOF
45012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45013 _ACEOF
45016 done
45018 else
45020 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45021 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45022 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45023 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45025 else
45029 ac_ext=cc
45030 ac_cpp='$CXXCPP $CPPFLAGS'
45031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45035 cat >conftest.$ac_ext <<_ACEOF
45036 /* confdefs.h. */
45037 _ACEOF
45038 cat confdefs.h >>conftest.$ac_ext
45039 cat >>conftest.$ac_ext <<_ACEOF
45040 /* end confdefs.h. */
45041 #include <math.h>
45043 main ()
45045 _atan2l(0, 0);
45047 return 0;
45049 _ACEOF
45050 rm -f conftest.$ac_objext
45051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45052 (eval $ac_compile) 2>conftest.er1
45053 ac_status=$?
45054 grep -v '^ *+' conftest.er1 >conftest.err
45055 rm -f conftest.er1
45056 cat conftest.err >&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); } &&
45059 { ac_try='test -z "$ac_cxx_werror_flag"
45060 || test ! -s conftest.err'
45061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45062 (eval $ac_try) 2>&5
45063 ac_status=$?
45064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45065 (exit $ac_status); }; } &&
45066 { ac_try='test -s conftest.$ac_objext'
45067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45068 (eval $ac_try) 2>&5
45069 ac_status=$?
45070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071 (exit $ac_status); }; }; then
45072 glibcxx_cv_func__atan2l_use=yes
45073 else
45074 echo "$as_me: failed program was:" >&5
45075 sed 's/^/| /' conftest.$ac_ext >&5
45077 glibcxx_cv_func__atan2l_use=no
45079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45080 ac_ext=c
45081 ac_cpp='$CPP $CPPFLAGS'
45082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45091 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45093 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45095 for ac_func in _atan2l
45097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45098 echo "$as_me:$LINENO: checking for $ac_func" >&5
45099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45100 if eval "test \"\${$as_ac_var+set}\" = set"; then
45101 echo $ECHO_N "(cached) $ECHO_C" >&6
45102 else
45103 if test x$gcc_no_link = xyes; then
45104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45106 { (exit 1); exit 1; }; }
45108 cat >conftest.$ac_ext <<_ACEOF
45109 /* confdefs.h. */
45110 _ACEOF
45111 cat confdefs.h >>conftest.$ac_ext
45112 cat >>conftest.$ac_ext <<_ACEOF
45113 /* end confdefs.h. */
45114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45116 #define $ac_func innocuous_$ac_func
45118 /* System header to define __stub macros and hopefully few prototypes,
45119 which can conflict with char $ac_func (); below.
45120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45121 <limits.h> exists even on freestanding compilers. */
45123 #ifdef __STDC__
45124 # include <limits.h>
45125 #else
45126 # include <assert.h>
45127 #endif
45129 #undef $ac_func
45131 /* Override any gcc2 internal prototype to avoid an error. */
45132 #ifdef __cplusplus
45133 extern "C"
45135 #endif
45136 /* We use char because int might match the return type of a gcc2
45137 builtin and then its argument prototype would still apply. */
45138 char $ac_func ();
45139 /* The GNU C library defines this for functions which it implements
45140 to always fail with ENOSYS. Some functions are actually named
45141 something starting with __ and the normal name is an alias. */
45142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45143 choke me
45144 #else
45145 char (*f) () = $ac_func;
45146 #endif
45147 #ifdef __cplusplus
45149 #endif
45152 main ()
45154 return f != $ac_func;
45156 return 0;
45158 _ACEOF
45159 rm -f conftest.$ac_objext conftest$ac_exeext
45160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45161 (eval $ac_link) 2>conftest.er1
45162 ac_status=$?
45163 grep -v '^ *+' conftest.er1 >conftest.err
45164 rm -f conftest.er1
45165 cat conftest.err >&5
45166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167 (exit $ac_status); } &&
45168 { ac_try='test -z "$ac_c_werror_flag"
45169 || test ! -s conftest.err'
45170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45171 (eval $ac_try) 2>&5
45172 ac_status=$?
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); }; } &&
45175 { ac_try='test -s conftest$ac_exeext'
45176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45177 (eval $ac_try) 2>&5
45178 ac_status=$?
45179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180 (exit $ac_status); }; }; then
45181 eval "$as_ac_var=yes"
45182 else
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45186 eval "$as_ac_var=no"
45188 rm -f conftest.err conftest.$ac_objext \
45189 conftest$ac_exeext conftest.$ac_ext
45191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45193 if test `eval echo '${'$as_ac_var'}'` = yes; then
45194 cat >>confdefs.h <<_ACEOF
45195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45196 _ACEOF
45199 done
45209 echo "$as_me:$LINENO: checking for expl declaration" >&5
45210 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45212 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45213 echo $ECHO_N "(cached) $ECHO_C" >&6
45214 else
45218 ac_ext=cc
45219 ac_cpp='$CXXCPP $CPPFLAGS'
45220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45224 cat >conftest.$ac_ext <<_ACEOF
45225 /* confdefs.h. */
45226 _ACEOF
45227 cat confdefs.h >>conftest.$ac_ext
45228 cat >>conftest.$ac_ext <<_ACEOF
45229 /* end confdefs.h. */
45230 #include <math.h>
45231 #ifdef HAVE_IEEEFP_H
45232 #include <ieeefp.h>
45233 #endif
45236 main ()
45238 expl(0);
45240 return 0;
45242 _ACEOF
45243 rm -f conftest.$ac_objext
45244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45245 (eval $ac_compile) 2>conftest.er1
45246 ac_status=$?
45247 grep -v '^ *+' conftest.er1 >conftest.err
45248 rm -f conftest.er1
45249 cat conftest.err >&5
45250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251 (exit $ac_status); } &&
45252 { ac_try='test -z "$ac_cxx_werror_flag"
45253 || test ! -s conftest.err'
45254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255 (eval $ac_try) 2>&5
45256 ac_status=$?
45257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258 (exit $ac_status); }; } &&
45259 { ac_try='test -s conftest.$ac_objext'
45260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261 (eval $ac_try) 2>&5
45262 ac_status=$?
45263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264 (exit $ac_status); }; }; then
45265 glibcxx_cv_func_expl_use=yes
45266 else
45267 echo "$as_me: failed program was:" >&5
45268 sed 's/^/| /' conftest.$ac_ext >&5
45270 glibcxx_cv_func_expl_use=no
45272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45273 ac_ext=c
45274 ac_cpp='$CPP $CPPFLAGS'
45275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45284 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45286 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45288 for ac_func in expl
45290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291 echo "$as_me:$LINENO: checking for $ac_func" >&5
45292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45293 if eval "test \"\${$as_ac_var+set}\" = set"; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296 if test x$gcc_no_link = xyes; then
45297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45299 { (exit 1); exit 1; }; }
45301 cat >conftest.$ac_ext <<_ACEOF
45302 /* confdefs.h. */
45303 _ACEOF
45304 cat confdefs.h >>conftest.$ac_ext
45305 cat >>conftest.$ac_ext <<_ACEOF
45306 /* end confdefs.h. */
45307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45309 #define $ac_func innocuous_$ac_func
45311 /* System header to define __stub macros and hopefully few prototypes,
45312 which can conflict with char $ac_func (); below.
45313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45314 <limits.h> exists even on freestanding compilers. */
45316 #ifdef __STDC__
45317 # include <limits.h>
45318 #else
45319 # include <assert.h>
45320 #endif
45322 #undef $ac_func
45324 /* Override any gcc2 internal prototype to avoid an error. */
45325 #ifdef __cplusplus
45326 extern "C"
45328 #endif
45329 /* We use char because int might match the return type of a gcc2
45330 builtin and then its argument prototype would still apply. */
45331 char $ac_func ();
45332 /* The GNU C library defines this for functions which it implements
45333 to always fail with ENOSYS. Some functions are actually named
45334 something starting with __ and the normal name is an alias. */
45335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45336 choke me
45337 #else
45338 char (*f) () = $ac_func;
45339 #endif
45340 #ifdef __cplusplus
45342 #endif
45345 main ()
45347 return f != $ac_func;
45349 return 0;
45351 _ACEOF
45352 rm -f conftest.$ac_objext conftest$ac_exeext
45353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45354 (eval $ac_link) 2>conftest.er1
45355 ac_status=$?
45356 grep -v '^ *+' conftest.er1 >conftest.err
45357 rm -f conftest.er1
45358 cat conftest.err >&5
45359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360 (exit $ac_status); } &&
45361 { ac_try='test -z "$ac_c_werror_flag"
45362 || test ! -s conftest.err'
45363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45364 (eval $ac_try) 2>&5
45365 ac_status=$?
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); }; } &&
45368 { ac_try='test -s conftest$ac_exeext'
45369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45370 (eval $ac_try) 2>&5
45371 ac_status=$?
45372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373 (exit $ac_status); }; }; then
45374 eval "$as_ac_var=yes"
45375 else
45376 echo "$as_me: failed program was:" >&5
45377 sed 's/^/| /' conftest.$ac_ext >&5
45379 eval "$as_ac_var=no"
45381 rm -f conftest.err conftest.$ac_objext \
45382 conftest$ac_exeext conftest.$ac_ext
45384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45386 if test `eval echo '${'$as_ac_var'}'` = yes; then
45387 cat >>confdefs.h <<_ACEOF
45388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45389 _ACEOF
45392 done
45394 else
45396 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45397 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45398 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45399 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45400 echo $ECHO_N "(cached) $ECHO_C" >&6
45401 else
45405 ac_ext=cc
45406 ac_cpp='$CXXCPP $CPPFLAGS'
45407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45411 cat >conftest.$ac_ext <<_ACEOF
45412 /* confdefs.h. */
45413 _ACEOF
45414 cat confdefs.h >>conftest.$ac_ext
45415 cat >>conftest.$ac_ext <<_ACEOF
45416 /* end confdefs.h. */
45417 #include <math.h>
45418 #ifdef HAVE_IEEEFP_H
45419 #include <ieeefp.h>
45420 #endif
45423 main ()
45425 _expl(0);
45427 return 0;
45429 _ACEOF
45430 rm -f conftest.$ac_objext
45431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45432 (eval $ac_compile) 2>conftest.er1
45433 ac_status=$?
45434 grep -v '^ *+' conftest.er1 >conftest.err
45435 rm -f conftest.er1
45436 cat conftest.err >&5
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); } &&
45439 { ac_try='test -z "$ac_cxx_werror_flag"
45440 || test ! -s conftest.err'
45441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442 (eval $ac_try) 2>&5
45443 ac_status=$?
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); }; } &&
45446 { ac_try='test -s conftest.$ac_objext'
45447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448 (eval $ac_try) 2>&5
45449 ac_status=$?
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); }; }; then
45452 glibcxx_cv_func__expl_use=yes
45453 else
45454 echo "$as_me: failed program was:" >&5
45455 sed 's/^/| /' conftest.$ac_ext >&5
45457 glibcxx_cv_func__expl_use=no
45459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45460 ac_ext=c
45461 ac_cpp='$CPP $CPPFLAGS'
45462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45471 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45473 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45475 for ac_func in _expl
45477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45478 echo "$as_me:$LINENO: checking for $ac_func" >&5
45479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45480 if eval "test \"\${$as_ac_var+set}\" = set"; then
45481 echo $ECHO_N "(cached) $ECHO_C" >&6
45482 else
45483 if test x$gcc_no_link = xyes; then
45484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45486 { (exit 1); exit 1; }; }
45488 cat >conftest.$ac_ext <<_ACEOF
45489 /* confdefs.h. */
45490 _ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45496 #define $ac_func innocuous_$ac_func
45498 /* System header to define __stub macros and hopefully few prototypes,
45499 which can conflict with char $ac_func (); below.
45500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45501 <limits.h> exists even on freestanding compilers. */
45503 #ifdef __STDC__
45504 # include <limits.h>
45505 #else
45506 # include <assert.h>
45507 #endif
45509 #undef $ac_func
45511 /* Override any gcc2 internal prototype to avoid an error. */
45512 #ifdef __cplusplus
45513 extern "C"
45515 #endif
45516 /* We use char because int might match the return type of a gcc2
45517 builtin and then its argument prototype would still apply. */
45518 char $ac_func ();
45519 /* The GNU C library defines this for functions which it implements
45520 to always fail with ENOSYS. Some functions are actually named
45521 something starting with __ and the normal name is an alias. */
45522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45523 choke me
45524 #else
45525 char (*f) () = $ac_func;
45526 #endif
45527 #ifdef __cplusplus
45529 #endif
45532 main ()
45534 return f != $ac_func;
45536 return 0;
45538 _ACEOF
45539 rm -f conftest.$ac_objext conftest$ac_exeext
45540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45541 (eval $ac_link) 2>conftest.er1
45542 ac_status=$?
45543 grep -v '^ *+' conftest.er1 >conftest.err
45544 rm -f conftest.er1
45545 cat conftest.err >&5
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); } &&
45548 { ac_try='test -z "$ac_c_werror_flag"
45549 || test ! -s conftest.err'
45550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45551 (eval $ac_try) 2>&5
45552 ac_status=$?
45553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45554 (exit $ac_status); }; } &&
45555 { ac_try='test -s conftest$ac_exeext'
45556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45557 (eval $ac_try) 2>&5
45558 ac_status=$?
45559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560 (exit $ac_status); }; }; then
45561 eval "$as_ac_var=yes"
45562 else
45563 echo "$as_me: failed program was:" >&5
45564 sed 's/^/| /' conftest.$ac_ext >&5
45566 eval "$as_ac_var=no"
45568 rm -f conftest.err conftest.$ac_objext \
45569 conftest$ac_exeext conftest.$ac_ext
45571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45573 if test `eval echo '${'$as_ac_var'}'` = yes; then
45574 cat >>confdefs.h <<_ACEOF
45575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45576 _ACEOF
45579 done
45589 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45590 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45591 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45592 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45593 echo $ECHO_N "(cached) $ECHO_C" >&6
45594 else
45598 ac_ext=cc
45599 ac_cpp='$CXXCPP $CPPFLAGS'
45600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45604 cat >conftest.$ac_ext <<_ACEOF
45605 /* confdefs.h. */
45606 _ACEOF
45607 cat confdefs.h >>conftest.$ac_ext
45608 cat >>conftest.$ac_ext <<_ACEOF
45609 /* end confdefs.h. */
45610 #include <math.h>
45611 #ifdef HAVE_IEEEFP_H
45612 #include <ieeefp.h>
45613 #endif
45616 main ()
45618 fabsl(0);
45620 return 0;
45622 _ACEOF
45623 rm -f conftest.$ac_objext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625 (eval $ac_compile) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_cxx_werror_flag"
45633 || test ! -s conftest.err'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; } &&
45639 { ac_try='test -s conftest.$ac_objext'
45640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641 (eval $ac_try) 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 glibcxx_cv_func_fabsl_use=yes
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45650 glibcxx_cv_func_fabsl_use=no
45652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45653 ac_ext=c
45654 ac_cpp='$CPP $CPPFLAGS'
45655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45664 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45666 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45668 for ac_func in fabsl
45670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45671 echo "$as_me:$LINENO: checking for $ac_func" >&5
45672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45673 if eval "test \"\${$as_ac_var+set}\" = set"; then
45674 echo $ECHO_N "(cached) $ECHO_C" >&6
45675 else
45676 if test x$gcc_no_link = xyes; then
45677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45679 { (exit 1); exit 1; }; }
45681 cat >conftest.$ac_ext <<_ACEOF
45682 /* confdefs.h. */
45683 _ACEOF
45684 cat confdefs.h >>conftest.$ac_ext
45685 cat >>conftest.$ac_ext <<_ACEOF
45686 /* end confdefs.h. */
45687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45689 #define $ac_func innocuous_$ac_func
45691 /* System header to define __stub macros and hopefully few prototypes,
45692 which can conflict with char $ac_func (); below.
45693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45694 <limits.h> exists even on freestanding compilers. */
45696 #ifdef __STDC__
45697 # include <limits.h>
45698 #else
45699 # include <assert.h>
45700 #endif
45702 #undef $ac_func
45704 /* Override any gcc2 internal prototype to avoid an error. */
45705 #ifdef __cplusplus
45706 extern "C"
45708 #endif
45709 /* We use char because int might match the return type of a gcc2
45710 builtin and then its argument prototype would still apply. */
45711 char $ac_func ();
45712 /* The GNU C library defines this for functions which it implements
45713 to always fail with ENOSYS. Some functions are actually named
45714 something starting with __ and the normal name is an alias. */
45715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45716 choke me
45717 #else
45718 char (*f) () = $ac_func;
45719 #endif
45720 #ifdef __cplusplus
45722 #endif
45725 main ()
45727 return f != $ac_func;
45729 return 0;
45731 _ACEOF
45732 rm -f conftest.$ac_objext conftest$ac_exeext
45733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45734 (eval $ac_link) 2>conftest.er1
45735 ac_status=$?
45736 grep -v '^ *+' conftest.er1 >conftest.err
45737 rm -f conftest.er1
45738 cat conftest.err >&5
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); } &&
45741 { ac_try='test -z "$ac_c_werror_flag"
45742 || test ! -s conftest.err'
45743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45744 (eval $ac_try) 2>&5
45745 ac_status=$?
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); }; } &&
45748 { ac_try='test -s conftest$ac_exeext'
45749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45750 (eval $ac_try) 2>&5
45751 ac_status=$?
45752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45753 (exit $ac_status); }; }; then
45754 eval "$as_ac_var=yes"
45755 else
45756 echo "$as_me: failed program was:" >&5
45757 sed 's/^/| /' conftest.$ac_ext >&5
45759 eval "$as_ac_var=no"
45761 rm -f conftest.err conftest.$ac_objext \
45762 conftest$ac_exeext conftest.$ac_ext
45764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45766 if test `eval echo '${'$as_ac_var'}'` = yes; then
45767 cat >>confdefs.h <<_ACEOF
45768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45769 _ACEOF
45772 done
45774 else
45776 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
45777 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
45778 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45779 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
45780 echo $ECHO_N "(cached) $ECHO_C" >&6
45781 else
45785 ac_ext=cc
45786 ac_cpp='$CXXCPP $CPPFLAGS'
45787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791 cat >conftest.$ac_ext <<_ACEOF
45792 /* confdefs.h. */
45793 _ACEOF
45794 cat confdefs.h >>conftest.$ac_ext
45795 cat >>conftest.$ac_ext <<_ACEOF
45796 /* end confdefs.h. */
45797 #include <math.h>
45798 #ifdef HAVE_IEEEFP_H
45799 #include <ieeefp.h>
45800 #endif
45803 main ()
45805 _fabsl(0);
45807 return 0;
45809 _ACEOF
45810 rm -f conftest.$ac_objext
45811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45812 (eval $ac_compile) 2>conftest.er1
45813 ac_status=$?
45814 grep -v '^ *+' conftest.er1 >conftest.err
45815 rm -f conftest.er1
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } &&
45819 { ac_try='test -z "$ac_cxx_werror_flag"
45820 || test ! -s conftest.err'
45821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822 (eval $ac_try) 2>&5
45823 ac_status=$?
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); }; } &&
45826 { ac_try='test -s conftest.$ac_objext'
45827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45828 (eval $ac_try) 2>&5
45829 ac_status=$?
45830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831 (exit $ac_status); }; }; then
45832 glibcxx_cv_func__fabsl_use=yes
45833 else
45834 echo "$as_me: failed program was:" >&5
45835 sed 's/^/| /' conftest.$ac_ext >&5
45837 glibcxx_cv_func__fabsl_use=no
45839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45840 ac_ext=c
45841 ac_cpp='$CPP $CPPFLAGS'
45842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
45851 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
45853 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45855 for ac_func in _fabsl
45857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45858 echo "$as_me:$LINENO: checking for $ac_func" >&5
45859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45860 if eval "test \"\${$as_ac_var+set}\" = set"; then
45861 echo $ECHO_N "(cached) $ECHO_C" >&6
45862 else
45863 if test x$gcc_no_link = xyes; then
45864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45866 { (exit 1); exit 1; }; }
45868 cat >conftest.$ac_ext <<_ACEOF
45869 /* confdefs.h. */
45870 _ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h. */
45874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45876 #define $ac_func innocuous_$ac_func
45878 /* System header to define __stub macros and hopefully few prototypes,
45879 which can conflict with char $ac_func (); below.
45880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45881 <limits.h> exists even on freestanding compilers. */
45883 #ifdef __STDC__
45884 # include <limits.h>
45885 #else
45886 # include <assert.h>
45887 #endif
45889 #undef $ac_func
45891 /* Override any gcc2 internal prototype to avoid an error. */
45892 #ifdef __cplusplus
45893 extern "C"
45895 #endif
45896 /* We use char because int might match the return type of a gcc2
45897 builtin and then its argument prototype would still apply. */
45898 char $ac_func ();
45899 /* The GNU C library defines this for functions which it implements
45900 to always fail with ENOSYS. Some functions are actually named
45901 something starting with __ and the normal name is an alias. */
45902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45903 choke me
45904 #else
45905 char (*f) () = $ac_func;
45906 #endif
45907 #ifdef __cplusplus
45909 #endif
45912 main ()
45914 return f != $ac_func;
45916 return 0;
45918 _ACEOF
45919 rm -f conftest.$ac_objext conftest$ac_exeext
45920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45921 (eval $ac_link) 2>conftest.er1
45922 ac_status=$?
45923 grep -v '^ *+' conftest.er1 >conftest.err
45924 rm -f conftest.er1
45925 cat conftest.err >&5
45926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45927 (exit $ac_status); } &&
45928 { ac_try='test -z "$ac_c_werror_flag"
45929 || test ! -s conftest.err'
45930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45931 (eval $ac_try) 2>&5
45932 ac_status=$?
45933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45934 (exit $ac_status); }; } &&
45935 { ac_try='test -s conftest$ac_exeext'
45936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45937 (eval $ac_try) 2>&5
45938 ac_status=$?
45939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45940 (exit $ac_status); }; }; then
45941 eval "$as_ac_var=yes"
45942 else
45943 echo "$as_me: failed program was:" >&5
45944 sed 's/^/| /' conftest.$ac_ext >&5
45946 eval "$as_ac_var=no"
45948 rm -f conftest.err conftest.$ac_objext \
45949 conftest$ac_exeext conftest.$ac_ext
45951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45953 if test `eval echo '${'$as_ac_var'}'` = yes; then
45954 cat >>confdefs.h <<_ACEOF
45955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45956 _ACEOF
45959 done
45969 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45970 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45971 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45972 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45973 echo $ECHO_N "(cached) $ECHO_C" >&6
45974 else
45978 ac_ext=cc
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45984 cat >conftest.$ac_ext <<_ACEOF
45985 /* confdefs.h. */
45986 _ACEOF
45987 cat confdefs.h >>conftest.$ac_ext
45988 cat >>conftest.$ac_ext <<_ACEOF
45989 /* end confdefs.h. */
45990 #include <math.h>
45992 main ()
45994 fmodl(0, 0);
45996 return 0;
45998 _ACEOF
45999 rm -f conftest.$ac_objext
46000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46001 (eval $ac_compile) 2>conftest.er1
46002 ac_status=$?
46003 grep -v '^ *+' conftest.er1 >conftest.err
46004 rm -f conftest.er1
46005 cat conftest.err >&5
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); } &&
46008 { ac_try='test -z "$ac_cxx_werror_flag"
46009 || test ! -s conftest.err'
46010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46011 (eval $ac_try) 2>&5
46012 ac_status=$?
46013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46014 (exit $ac_status); }; } &&
46015 { ac_try='test -s conftest.$ac_objext'
46016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46017 (eval $ac_try) 2>&5
46018 ac_status=$?
46019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); }; }; then
46021 glibcxx_cv_func_fmodl_use=yes
46022 else
46023 echo "$as_me: failed program was:" >&5
46024 sed 's/^/| /' conftest.$ac_ext >&5
46026 glibcxx_cv_func_fmodl_use=no
46028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46040 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46042 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46044 for ac_func in fmodl
46046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46047 echo "$as_me:$LINENO: checking for $ac_func" >&5
46048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46049 if eval "test \"\${$as_ac_var+set}\" = set"; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46051 else
46052 if test x$gcc_no_link = xyes; then
46053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46055 { (exit 1); exit 1; }; }
46057 cat >conftest.$ac_ext <<_ACEOF
46058 /* confdefs.h. */
46059 _ACEOF
46060 cat confdefs.h >>conftest.$ac_ext
46061 cat >>conftest.$ac_ext <<_ACEOF
46062 /* end confdefs.h. */
46063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46065 #define $ac_func innocuous_$ac_func
46067 /* System header to define __stub macros and hopefully few prototypes,
46068 which can conflict with char $ac_func (); below.
46069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46070 <limits.h> exists even on freestanding compilers. */
46072 #ifdef __STDC__
46073 # include <limits.h>
46074 #else
46075 # include <assert.h>
46076 #endif
46078 #undef $ac_func
46080 /* Override any gcc2 internal prototype to avoid an error. */
46081 #ifdef __cplusplus
46082 extern "C"
46084 #endif
46085 /* We use char because int might match the return type of a gcc2
46086 builtin and then its argument prototype would still apply. */
46087 char $ac_func ();
46088 /* The GNU C library defines this for functions which it implements
46089 to always fail with ENOSYS. Some functions are actually named
46090 something starting with __ and the normal name is an alias. */
46091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46092 choke me
46093 #else
46094 char (*f) () = $ac_func;
46095 #endif
46096 #ifdef __cplusplus
46098 #endif
46101 main ()
46103 return f != $ac_func;
46105 return 0;
46107 _ACEOF
46108 rm -f conftest.$ac_objext conftest$ac_exeext
46109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46110 (eval $ac_link) 2>conftest.er1
46111 ac_status=$?
46112 grep -v '^ *+' conftest.er1 >conftest.err
46113 rm -f conftest.er1
46114 cat conftest.err >&5
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); } &&
46117 { ac_try='test -z "$ac_c_werror_flag"
46118 || test ! -s conftest.err'
46119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46120 (eval $ac_try) 2>&5
46121 ac_status=$?
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); }; } &&
46124 { ac_try='test -s conftest$ac_exeext'
46125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46126 (eval $ac_try) 2>&5
46127 ac_status=$?
46128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46129 (exit $ac_status); }; }; then
46130 eval "$as_ac_var=yes"
46131 else
46132 echo "$as_me: failed program was:" >&5
46133 sed 's/^/| /' conftest.$ac_ext >&5
46135 eval "$as_ac_var=no"
46137 rm -f conftest.err conftest.$ac_objext \
46138 conftest$ac_exeext conftest.$ac_ext
46140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46142 if test `eval echo '${'$as_ac_var'}'` = yes; then
46143 cat >>confdefs.h <<_ACEOF
46144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46145 _ACEOF
46148 done
46150 else
46152 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46153 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46154 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46155 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46156 echo $ECHO_N "(cached) $ECHO_C" >&6
46157 else
46161 ac_ext=cc
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46167 cat >conftest.$ac_ext <<_ACEOF
46168 /* confdefs.h. */
46169 _ACEOF
46170 cat confdefs.h >>conftest.$ac_ext
46171 cat >>conftest.$ac_ext <<_ACEOF
46172 /* end confdefs.h. */
46173 #include <math.h>
46175 main ()
46177 _fmodl(0, 0);
46179 return 0;
46181 _ACEOF
46182 rm -f conftest.$ac_objext
46183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46184 (eval $ac_compile) 2>conftest.er1
46185 ac_status=$?
46186 grep -v '^ *+' conftest.er1 >conftest.err
46187 rm -f conftest.er1
46188 cat conftest.err >&5
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); } &&
46191 { ac_try='test -z "$ac_cxx_werror_flag"
46192 || test ! -s conftest.err'
46193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194 (eval $ac_try) 2>&5
46195 ac_status=$?
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); }; } &&
46198 { ac_try='test -s conftest.$ac_objext'
46199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200 (eval $ac_try) 2>&5
46201 ac_status=$?
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); }; }; then
46204 glibcxx_cv_func__fmodl_use=yes
46205 else
46206 echo "$as_me: failed program was:" >&5
46207 sed 's/^/| /' conftest.$ac_ext >&5
46209 glibcxx_cv_func__fmodl_use=no
46211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46223 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46225 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46227 for ac_func in _fmodl
46229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46230 echo "$as_me:$LINENO: checking for $ac_func" >&5
46231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46232 if eval "test \"\${$as_ac_var+set}\" = set"; then
46233 echo $ECHO_N "(cached) $ECHO_C" >&6
46234 else
46235 if test x$gcc_no_link = xyes; then
46236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46238 { (exit 1); exit 1; }; }
46240 cat >conftest.$ac_ext <<_ACEOF
46241 /* confdefs.h. */
46242 _ACEOF
46243 cat confdefs.h >>conftest.$ac_ext
46244 cat >>conftest.$ac_ext <<_ACEOF
46245 /* end confdefs.h. */
46246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46248 #define $ac_func innocuous_$ac_func
46250 /* System header to define __stub macros and hopefully few prototypes,
46251 which can conflict with char $ac_func (); below.
46252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46253 <limits.h> exists even on freestanding compilers. */
46255 #ifdef __STDC__
46256 # include <limits.h>
46257 #else
46258 # include <assert.h>
46259 #endif
46261 #undef $ac_func
46263 /* Override any gcc2 internal prototype to avoid an error. */
46264 #ifdef __cplusplus
46265 extern "C"
46267 #endif
46268 /* We use char because int might match the return type of a gcc2
46269 builtin and then its argument prototype would still apply. */
46270 char $ac_func ();
46271 /* The GNU C library defines this for functions which it implements
46272 to always fail with ENOSYS. Some functions are actually named
46273 something starting with __ and the normal name is an alias. */
46274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46275 choke me
46276 #else
46277 char (*f) () = $ac_func;
46278 #endif
46279 #ifdef __cplusplus
46281 #endif
46284 main ()
46286 return f != $ac_func;
46288 return 0;
46290 _ACEOF
46291 rm -f conftest.$ac_objext conftest$ac_exeext
46292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46293 (eval $ac_link) 2>conftest.er1
46294 ac_status=$?
46295 grep -v '^ *+' conftest.er1 >conftest.err
46296 rm -f conftest.er1
46297 cat conftest.err >&5
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); } &&
46300 { ac_try='test -z "$ac_c_werror_flag"
46301 || test ! -s conftest.err'
46302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46303 (eval $ac_try) 2>&5
46304 ac_status=$?
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); }; } &&
46307 { ac_try='test -s conftest$ac_exeext'
46308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309 (eval $ac_try) 2>&5
46310 ac_status=$?
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); }; }; then
46313 eval "$as_ac_var=yes"
46314 else
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46318 eval "$as_ac_var=no"
46320 rm -f conftest.err conftest.$ac_objext \
46321 conftest$ac_exeext conftest.$ac_ext
46323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46325 if test `eval echo '${'$as_ac_var'}'` = yes; then
46326 cat >>confdefs.h <<_ACEOF
46327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46328 _ACEOF
46331 done
46341 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46342 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46343 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46344 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46345 echo $ECHO_N "(cached) $ECHO_C" >&6
46346 else
46350 ac_ext=cc
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46356 cat >conftest.$ac_ext <<_ACEOF
46357 /* confdefs.h. */
46358 _ACEOF
46359 cat confdefs.h >>conftest.$ac_ext
46360 cat >>conftest.$ac_ext <<_ACEOF
46361 /* end confdefs.h. */
46362 #include <math.h>
46364 main ()
46366 frexpl(0, 0);
46368 return 0;
46370 _ACEOF
46371 rm -f conftest.$ac_objext
46372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46373 (eval $ac_compile) 2>conftest.er1
46374 ac_status=$?
46375 grep -v '^ *+' conftest.er1 >conftest.err
46376 rm -f conftest.er1
46377 cat conftest.err >&5
46378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379 (exit $ac_status); } &&
46380 { ac_try='test -z "$ac_cxx_werror_flag"
46381 || test ! -s conftest.err'
46382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383 (eval $ac_try) 2>&5
46384 ac_status=$?
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); }; } &&
46387 { ac_try='test -s conftest.$ac_objext'
46388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46389 (eval $ac_try) 2>&5
46390 ac_status=$?
46391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392 (exit $ac_status); }; }; then
46393 glibcxx_cv_func_frexpl_use=yes
46394 else
46395 echo "$as_me: failed program was:" >&5
46396 sed 's/^/| /' conftest.$ac_ext >&5
46398 glibcxx_cv_func_frexpl_use=no
46400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46401 ac_ext=c
46402 ac_cpp='$CPP $CPPFLAGS'
46403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46412 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46414 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46416 for ac_func in frexpl
46418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46419 echo "$as_me:$LINENO: checking for $ac_func" >&5
46420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46421 if eval "test \"\${$as_ac_var+set}\" = set"; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46423 else
46424 if test x$gcc_no_link = xyes; then
46425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46427 { (exit 1); exit 1; }; }
46429 cat >conftest.$ac_ext <<_ACEOF
46430 /* confdefs.h. */
46431 _ACEOF
46432 cat confdefs.h >>conftest.$ac_ext
46433 cat >>conftest.$ac_ext <<_ACEOF
46434 /* end confdefs.h. */
46435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46437 #define $ac_func innocuous_$ac_func
46439 /* System header to define __stub macros and hopefully few prototypes,
46440 which can conflict with char $ac_func (); below.
46441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46442 <limits.h> exists even on freestanding compilers. */
46444 #ifdef __STDC__
46445 # include <limits.h>
46446 #else
46447 # include <assert.h>
46448 #endif
46450 #undef $ac_func
46452 /* Override any gcc2 internal prototype to avoid an error. */
46453 #ifdef __cplusplus
46454 extern "C"
46456 #endif
46457 /* We use char because int might match the return type of a gcc2
46458 builtin and then its argument prototype would still apply. */
46459 char $ac_func ();
46460 /* The GNU C library defines this for functions which it implements
46461 to always fail with ENOSYS. Some functions are actually named
46462 something starting with __ and the normal name is an alias. */
46463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46464 choke me
46465 #else
46466 char (*f) () = $ac_func;
46467 #endif
46468 #ifdef __cplusplus
46470 #endif
46473 main ()
46475 return f != $ac_func;
46477 return 0;
46479 _ACEOF
46480 rm -f conftest.$ac_objext conftest$ac_exeext
46481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46482 (eval $ac_link) 2>conftest.er1
46483 ac_status=$?
46484 grep -v '^ *+' conftest.er1 >conftest.err
46485 rm -f conftest.er1
46486 cat conftest.err >&5
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); } &&
46489 { ac_try='test -z "$ac_c_werror_flag"
46490 || test ! -s conftest.err'
46491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46492 (eval $ac_try) 2>&5
46493 ac_status=$?
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); }; } &&
46496 { ac_try='test -s conftest$ac_exeext'
46497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46498 (eval $ac_try) 2>&5
46499 ac_status=$?
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); }; }; then
46502 eval "$as_ac_var=yes"
46503 else
46504 echo "$as_me: failed program was:" >&5
46505 sed 's/^/| /' conftest.$ac_ext >&5
46507 eval "$as_ac_var=no"
46509 rm -f conftest.err conftest.$ac_objext \
46510 conftest$ac_exeext conftest.$ac_ext
46512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46514 if test `eval echo '${'$as_ac_var'}'` = yes; then
46515 cat >>confdefs.h <<_ACEOF
46516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46517 _ACEOF
46520 done
46522 else
46524 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46525 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46526 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46527 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46528 echo $ECHO_N "(cached) $ECHO_C" >&6
46529 else
46533 ac_ext=cc
46534 ac_cpp='$CXXCPP $CPPFLAGS'
46535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46539 cat >conftest.$ac_ext <<_ACEOF
46540 /* confdefs.h. */
46541 _ACEOF
46542 cat confdefs.h >>conftest.$ac_ext
46543 cat >>conftest.$ac_ext <<_ACEOF
46544 /* end confdefs.h. */
46545 #include <math.h>
46547 main ()
46549 _frexpl(0, 0);
46551 return 0;
46553 _ACEOF
46554 rm -f conftest.$ac_objext
46555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46556 (eval $ac_compile) 2>conftest.er1
46557 ac_status=$?
46558 grep -v '^ *+' conftest.er1 >conftest.err
46559 rm -f conftest.er1
46560 cat conftest.err >&5
46561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46562 (exit $ac_status); } &&
46563 { ac_try='test -z "$ac_cxx_werror_flag"
46564 || test ! -s conftest.err'
46565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46566 (eval $ac_try) 2>&5
46567 ac_status=$?
46568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46569 (exit $ac_status); }; } &&
46570 { ac_try='test -s conftest.$ac_objext'
46571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46572 (eval $ac_try) 2>&5
46573 ac_status=$?
46574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46575 (exit $ac_status); }; }; then
46576 glibcxx_cv_func__frexpl_use=yes
46577 else
46578 echo "$as_me: failed program was:" >&5
46579 sed 's/^/| /' conftest.$ac_ext >&5
46581 glibcxx_cv_func__frexpl_use=no
46583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46584 ac_ext=c
46585 ac_cpp='$CPP $CPPFLAGS'
46586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46595 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46597 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46599 for ac_func in _frexpl
46601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46602 echo "$as_me:$LINENO: checking for $ac_func" >&5
46603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46604 if eval "test \"\${$as_ac_var+set}\" = set"; then
46605 echo $ECHO_N "(cached) $ECHO_C" >&6
46606 else
46607 if test x$gcc_no_link = xyes; then
46608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46610 { (exit 1); exit 1; }; }
46612 cat >conftest.$ac_ext <<_ACEOF
46613 /* confdefs.h. */
46614 _ACEOF
46615 cat confdefs.h >>conftest.$ac_ext
46616 cat >>conftest.$ac_ext <<_ACEOF
46617 /* end confdefs.h. */
46618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46620 #define $ac_func innocuous_$ac_func
46622 /* System header to define __stub macros and hopefully few prototypes,
46623 which can conflict with char $ac_func (); below.
46624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46625 <limits.h> exists even on freestanding compilers. */
46627 #ifdef __STDC__
46628 # include <limits.h>
46629 #else
46630 # include <assert.h>
46631 #endif
46633 #undef $ac_func
46635 /* Override any gcc2 internal prototype to avoid an error. */
46636 #ifdef __cplusplus
46637 extern "C"
46639 #endif
46640 /* We use char because int might match the return type of a gcc2
46641 builtin and then its argument prototype would still apply. */
46642 char $ac_func ();
46643 /* The GNU C library defines this for functions which it implements
46644 to always fail with ENOSYS. Some functions are actually named
46645 something starting with __ and the normal name is an alias. */
46646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46647 choke me
46648 #else
46649 char (*f) () = $ac_func;
46650 #endif
46651 #ifdef __cplusplus
46653 #endif
46656 main ()
46658 return f != $ac_func;
46660 return 0;
46662 _ACEOF
46663 rm -f conftest.$ac_objext conftest$ac_exeext
46664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46665 (eval $ac_link) 2>conftest.er1
46666 ac_status=$?
46667 grep -v '^ *+' conftest.er1 >conftest.err
46668 rm -f conftest.er1
46669 cat conftest.err >&5
46670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671 (exit $ac_status); } &&
46672 { ac_try='test -z "$ac_c_werror_flag"
46673 || test ! -s conftest.err'
46674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46675 (eval $ac_try) 2>&5
46676 ac_status=$?
46677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46678 (exit $ac_status); }; } &&
46679 { ac_try='test -s conftest$ac_exeext'
46680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46681 (eval $ac_try) 2>&5
46682 ac_status=$?
46683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46684 (exit $ac_status); }; }; then
46685 eval "$as_ac_var=yes"
46686 else
46687 echo "$as_me: failed program was:" >&5
46688 sed 's/^/| /' conftest.$ac_ext >&5
46690 eval "$as_ac_var=no"
46692 rm -f conftest.err conftest.$ac_objext \
46693 conftest$ac_exeext conftest.$ac_ext
46695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46697 if test `eval echo '${'$as_ac_var'}'` = yes; then
46698 cat >>confdefs.h <<_ACEOF
46699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46700 _ACEOF
46703 done
46713 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46714 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46715 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46716 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46717 echo $ECHO_N "(cached) $ECHO_C" >&6
46718 else
46722 ac_ext=cc
46723 ac_cpp='$CXXCPP $CPPFLAGS'
46724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46728 cat >conftest.$ac_ext <<_ACEOF
46729 /* confdefs.h. */
46730 _ACEOF
46731 cat confdefs.h >>conftest.$ac_ext
46732 cat >>conftest.$ac_ext <<_ACEOF
46733 /* end confdefs.h. */
46734 #include <math.h>
46736 main ()
46738 hypotl(0, 0);
46740 return 0;
46742 _ACEOF
46743 rm -f conftest.$ac_objext
46744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46745 (eval $ac_compile) 2>conftest.er1
46746 ac_status=$?
46747 grep -v '^ *+' conftest.er1 >conftest.err
46748 rm -f conftest.er1
46749 cat conftest.err >&5
46750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46751 (exit $ac_status); } &&
46752 { ac_try='test -z "$ac_cxx_werror_flag"
46753 || test ! -s conftest.err'
46754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46755 (eval $ac_try) 2>&5
46756 ac_status=$?
46757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46758 (exit $ac_status); }; } &&
46759 { ac_try='test -s conftest.$ac_objext'
46760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46761 (eval $ac_try) 2>&5
46762 ac_status=$?
46763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46764 (exit $ac_status); }; }; then
46765 glibcxx_cv_func_hypotl_use=yes
46766 else
46767 echo "$as_me: failed program was:" >&5
46768 sed 's/^/| /' conftest.$ac_ext >&5
46770 glibcxx_cv_func_hypotl_use=no
46772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46773 ac_ext=c
46774 ac_cpp='$CPP $CPPFLAGS'
46775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
46784 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
46786 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46788 for ac_func in hypotl
46790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46791 echo "$as_me:$LINENO: checking for $ac_func" >&5
46792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46793 if eval "test \"\${$as_ac_var+set}\" = set"; then
46794 echo $ECHO_N "(cached) $ECHO_C" >&6
46795 else
46796 if test x$gcc_no_link = xyes; then
46797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46799 { (exit 1); exit 1; }; }
46801 cat >conftest.$ac_ext <<_ACEOF
46802 /* confdefs.h. */
46803 _ACEOF
46804 cat confdefs.h >>conftest.$ac_ext
46805 cat >>conftest.$ac_ext <<_ACEOF
46806 /* end confdefs.h. */
46807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46809 #define $ac_func innocuous_$ac_func
46811 /* System header to define __stub macros and hopefully few prototypes,
46812 which can conflict with char $ac_func (); below.
46813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46814 <limits.h> exists even on freestanding compilers. */
46816 #ifdef __STDC__
46817 # include <limits.h>
46818 #else
46819 # include <assert.h>
46820 #endif
46822 #undef $ac_func
46824 /* Override any gcc2 internal prototype to avoid an error. */
46825 #ifdef __cplusplus
46826 extern "C"
46828 #endif
46829 /* We use char because int might match the return type of a gcc2
46830 builtin and then its argument prototype would still apply. */
46831 char $ac_func ();
46832 /* The GNU C library defines this for functions which it implements
46833 to always fail with ENOSYS. Some functions are actually named
46834 something starting with __ and the normal name is an alias. */
46835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46836 choke me
46837 #else
46838 char (*f) () = $ac_func;
46839 #endif
46840 #ifdef __cplusplus
46842 #endif
46845 main ()
46847 return f != $ac_func;
46849 return 0;
46851 _ACEOF
46852 rm -f conftest.$ac_objext conftest$ac_exeext
46853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46854 (eval $ac_link) 2>conftest.er1
46855 ac_status=$?
46856 grep -v '^ *+' conftest.er1 >conftest.err
46857 rm -f conftest.er1
46858 cat conftest.err >&5
46859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46860 (exit $ac_status); } &&
46861 { ac_try='test -z "$ac_c_werror_flag"
46862 || test ! -s conftest.err'
46863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46864 (eval $ac_try) 2>&5
46865 ac_status=$?
46866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46867 (exit $ac_status); }; } &&
46868 { ac_try='test -s conftest$ac_exeext'
46869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46870 (eval $ac_try) 2>&5
46871 ac_status=$?
46872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46873 (exit $ac_status); }; }; then
46874 eval "$as_ac_var=yes"
46875 else
46876 echo "$as_me: failed program was:" >&5
46877 sed 's/^/| /' conftest.$ac_ext >&5
46879 eval "$as_ac_var=no"
46881 rm -f conftest.err conftest.$ac_objext \
46882 conftest$ac_exeext conftest.$ac_ext
46884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46886 if test `eval echo '${'$as_ac_var'}'` = yes; then
46887 cat >>confdefs.h <<_ACEOF
46888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46889 _ACEOF
46892 done
46894 else
46896 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46897 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46898 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46899 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46900 echo $ECHO_N "(cached) $ECHO_C" >&6
46901 else
46905 ac_ext=cc
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46911 cat >conftest.$ac_ext <<_ACEOF
46912 /* confdefs.h. */
46913 _ACEOF
46914 cat confdefs.h >>conftest.$ac_ext
46915 cat >>conftest.$ac_ext <<_ACEOF
46916 /* end confdefs.h. */
46917 #include <math.h>
46919 main ()
46921 _hypotl(0, 0);
46923 return 0;
46925 _ACEOF
46926 rm -f conftest.$ac_objext
46927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46928 (eval $ac_compile) 2>conftest.er1
46929 ac_status=$?
46930 grep -v '^ *+' conftest.er1 >conftest.err
46931 rm -f conftest.er1
46932 cat conftest.err >&5
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); } &&
46935 { ac_try='test -z "$ac_cxx_werror_flag"
46936 || test ! -s conftest.err'
46937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46938 (eval $ac_try) 2>&5
46939 ac_status=$?
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); }; } &&
46942 { ac_try='test -s conftest.$ac_objext'
46943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46944 (eval $ac_try) 2>&5
46945 ac_status=$?
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; }; then
46948 glibcxx_cv_func__hypotl_use=yes
46949 else
46950 echo "$as_me: failed program was:" >&5
46951 sed 's/^/| /' conftest.$ac_ext >&5
46953 glibcxx_cv_func__hypotl_use=no
46955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46956 ac_ext=c
46957 ac_cpp='$CPP $CPPFLAGS'
46958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46967 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46969 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46971 for ac_func in _hypotl
46973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46974 echo "$as_me:$LINENO: checking for $ac_func" >&5
46975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46976 if eval "test \"\${$as_ac_var+set}\" = set"; then
46977 echo $ECHO_N "(cached) $ECHO_C" >&6
46978 else
46979 if test x$gcc_no_link = xyes; then
46980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46982 { (exit 1); exit 1; }; }
46984 cat >conftest.$ac_ext <<_ACEOF
46985 /* confdefs.h. */
46986 _ACEOF
46987 cat confdefs.h >>conftest.$ac_ext
46988 cat >>conftest.$ac_ext <<_ACEOF
46989 /* end confdefs.h. */
46990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46992 #define $ac_func innocuous_$ac_func
46994 /* System header to define __stub macros and hopefully few prototypes,
46995 which can conflict with char $ac_func (); below.
46996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46997 <limits.h> exists even on freestanding compilers. */
46999 #ifdef __STDC__
47000 # include <limits.h>
47001 #else
47002 # include <assert.h>
47003 #endif
47005 #undef $ac_func
47007 /* Override any gcc2 internal prototype to avoid an error. */
47008 #ifdef __cplusplus
47009 extern "C"
47011 #endif
47012 /* We use char because int might match the return type of a gcc2
47013 builtin and then its argument prototype would still apply. */
47014 char $ac_func ();
47015 /* The GNU C library defines this for functions which it implements
47016 to always fail with ENOSYS. Some functions are actually named
47017 something starting with __ and the normal name is an alias. */
47018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47019 choke me
47020 #else
47021 char (*f) () = $ac_func;
47022 #endif
47023 #ifdef __cplusplus
47025 #endif
47028 main ()
47030 return f != $ac_func;
47032 return 0;
47034 _ACEOF
47035 rm -f conftest.$ac_objext conftest$ac_exeext
47036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47037 (eval $ac_link) 2>conftest.er1
47038 ac_status=$?
47039 grep -v '^ *+' conftest.er1 >conftest.err
47040 rm -f conftest.er1
47041 cat conftest.err >&5
47042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47043 (exit $ac_status); } &&
47044 { ac_try='test -z "$ac_c_werror_flag"
47045 || test ! -s conftest.err'
47046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47047 (eval $ac_try) 2>&5
47048 ac_status=$?
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); }; } &&
47051 { ac_try='test -s conftest$ac_exeext'
47052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47053 (eval $ac_try) 2>&5
47054 ac_status=$?
47055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056 (exit $ac_status); }; }; then
47057 eval "$as_ac_var=yes"
47058 else
47059 echo "$as_me: failed program was:" >&5
47060 sed 's/^/| /' conftest.$ac_ext >&5
47062 eval "$as_ac_var=no"
47064 rm -f conftest.err conftest.$ac_objext \
47065 conftest$ac_exeext conftest.$ac_ext
47067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47069 if test `eval echo '${'$as_ac_var'}'` = yes; then
47070 cat >>confdefs.h <<_ACEOF
47071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47072 _ACEOF
47075 done
47085 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47086 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47087 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47088 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47089 echo $ECHO_N "(cached) $ECHO_C" >&6
47090 else
47094 ac_ext=cc
47095 ac_cpp='$CXXCPP $CPPFLAGS'
47096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47100 cat >conftest.$ac_ext <<_ACEOF
47101 /* confdefs.h. */
47102 _ACEOF
47103 cat confdefs.h >>conftest.$ac_ext
47104 cat >>conftest.$ac_ext <<_ACEOF
47105 /* end confdefs.h. */
47106 #include <math.h>
47108 main ()
47110 ldexpl(0, 0);
47112 return 0;
47114 _ACEOF
47115 rm -f conftest.$ac_objext
47116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47117 (eval $ac_compile) 2>conftest.er1
47118 ac_status=$?
47119 grep -v '^ *+' conftest.er1 >conftest.err
47120 rm -f conftest.er1
47121 cat conftest.err >&5
47122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47123 (exit $ac_status); } &&
47124 { ac_try='test -z "$ac_cxx_werror_flag"
47125 || test ! -s conftest.err'
47126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47127 (eval $ac_try) 2>&5
47128 ac_status=$?
47129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130 (exit $ac_status); }; } &&
47131 { ac_try='test -s conftest.$ac_objext'
47132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47133 (eval $ac_try) 2>&5
47134 ac_status=$?
47135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136 (exit $ac_status); }; }; then
47137 glibcxx_cv_func_ldexpl_use=yes
47138 else
47139 echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47142 glibcxx_cv_func_ldexpl_use=no
47144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47145 ac_ext=c
47146 ac_cpp='$CPP $CPPFLAGS'
47147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47156 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47158 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47160 for ac_func in ldexpl
47162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47163 echo "$as_me:$LINENO: checking for $ac_func" >&5
47164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47165 if eval "test \"\${$as_ac_var+set}\" = set"; then
47166 echo $ECHO_N "(cached) $ECHO_C" >&6
47167 else
47168 if test x$gcc_no_link = xyes; then
47169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47171 { (exit 1); exit 1; }; }
47173 cat >conftest.$ac_ext <<_ACEOF
47174 /* confdefs.h. */
47175 _ACEOF
47176 cat confdefs.h >>conftest.$ac_ext
47177 cat >>conftest.$ac_ext <<_ACEOF
47178 /* end confdefs.h. */
47179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47181 #define $ac_func innocuous_$ac_func
47183 /* System header to define __stub macros and hopefully few prototypes,
47184 which can conflict with char $ac_func (); below.
47185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47186 <limits.h> exists even on freestanding compilers. */
47188 #ifdef __STDC__
47189 # include <limits.h>
47190 #else
47191 # include <assert.h>
47192 #endif
47194 #undef $ac_func
47196 /* Override any gcc2 internal prototype to avoid an error. */
47197 #ifdef __cplusplus
47198 extern "C"
47200 #endif
47201 /* We use char because int might match the return type of a gcc2
47202 builtin and then its argument prototype would still apply. */
47203 char $ac_func ();
47204 /* The GNU C library defines this for functions which it implements
47205 to always fail with ENOSYS. Some functions are actually named
47206 something starting with __ and the normal name is an alias. */
47207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47208 choke me
47209 #else
47210 char (*f) () = $ac_func;
47211 #endif
47212 #ifdef __cplusplus
47214 #endif
47217 main ()
47219 return f != $ac_func;
47221 return 0;
47223 _ACEOF
47224 rm -f conftest.$ac_objext conftest$ac_exeext
47225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47226 (eval $ac_link) 2>conftest.er1
47227 ac_status=$?
47228 grep -v '^ *+' conftest.er1 >conftest.err
47229 rm -f conftest.er1
47230 cat conftest.err >&5
47231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47232 (exit $ac_status); } &&
47233 { ac_try='test -z "$ac_c_werror_flag"
47234 || test ! -s conftest.err'
47235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47236 (eval $ac_try) 2>&5
47237 ac_status=$?
47238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47239 (exit $ac_status); }; } &&
47240 { ac_try='test -s conftest$ac_exeext'
47241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47242 (eval $ac_try) 2>&5
47243 ac_status=$?
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }; }; then
47246 eval "$as_ac_var=yes"
47247 else
47248 echo "$as_me: failed program was:" >&5
47249 sed 's/^/| /' conftest.$ac_ext >&5
47251 eval "$as_ac_var=no"
47253 rm -f conftest.err conftest.$ac_objext \
47254 conftest$ac_exeext conftest.$ac_ext
47256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47258 if test `eval echo '${'$as_ac_var'}'` = yes; then
47259 cat >>confdefs.h <<_ACEOF
47260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47261 _ACEOF
47264 done
47266 else
47268 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47269 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47270 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47271 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47272 echo $ECHO_N "(cached) $ECHO_C" >&6
47273 else
47277 ac_ext=cc
47278 ac_cpp='$CXXCPP $CPPFLAGS'
47279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47283 cat >conftest.$ac_ext <<_ACEOF
47284 /* confdefs.h. */
47285 _ACEOF
47286 cat confdefs.h >>conftest.$ac_ext
47287 cat >>conftest.$ac_ext <<_ACEOF
47288 /* end confdefs.h. */
47289 #include <math.h>
47291 main ()
47293 _ldexpl(0, 0);
47295 return 0;
47297 _ACEOF
47298 rm -f conftest.$ac_objext
47299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47300 (eval $ac_compile) 2>conftest.er1
47301 ac_status=$?
47302 grep -v '^ *+' conftest.er1 >conftest.err
47303 rm -f conftest.er1
47304 cat conftest.err >&5
47305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47306 (exit $ac_status); } &&
47307 { ac_try='test -z "$ac_cxx_werror_flag"
47308 || test ! -s conftest.err'
47309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47310 (eval $ac_try) 2>&5
47311 ac_status=$?
47312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313 (exit $ac_status); }; } &&
47314 { ac_try='test -s conftest.$ac_objext'
47315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47316 (eval $ac_try) 2>&5
47317 ac_status=$?
47318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 (exit $ac_status); }; }; then
47320 glibcxx_cv_func__ldexpl_use=yes
47321 else
47322 echo "$as_me: failed program was:" >&5
47323 sed 's/^/| /' conftest.$ac_ext >&5
47325 glibcxx_cv_func__ldexpl_use=no
47327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47328 ac_ext=c
47329 ac_cpp='$CPP $CPPFLAGS'
47330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47339 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47341 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47343 for ac_func in _ldexpl
47345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47346 echo "$as_me:$LINENO: checking for $ac_func" >&5
47347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47348 if eval "test \"\${$as_ac_var+set}\" = set"; then
47349 echo $ECHO_N "(cached) $ECHO_C" >&6
47350 else
47351 if test x$gcc_no_link = xyes; then
47352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47354 { (exit 1); exit 1; }; }
47356 cat >conftest.$ac_ext <<_ACEOF
47357 /* confdefs.h. */
47358 _ACEOF
47359 cat confdefs.h >>conftest.$ac_ext
47360 cat >>conftest.$ac_ext <<_ACEOF
47361 /* end confdefs.h. */
47362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47364 #define $ac_func innocuous_$ac_func
47366 /* System header to define __stub macros and hopefully few prototypes,
47367 which can conflict with char $ac_func (); below.
47368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47369 <limits.h> exists even on freestanding compilers. */
47371 #ifdef __STDC__
47372 # include <limits.h>
47373 #else
47374 # include <assert.h>
47375 #endif
47377 #undef $ac_func
47379 /* Override any gcc2 internal prototype to avoid an error. */
47380 #ifdef __cplusplus
47381 extern "C"
47383 #endif
47384 /* We use char because int might match the return type of a gcc2
47385 builtin and then its argument prototype would still apply. */
47386 char $ac_func ();
47387 /* The GNU C library defines this for functions which it implements
47388 to always fail with ENOSYS. Some functions are actually named
47389 something starting with __ and the normal name is an alias. */
47390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47391 choke me
47392 #else
47393 char (*f) () = $ac_func;
47394 #endif
47395 #ifdef __cplusplus
47397 #endif
47400 main ()
47402 return f != $ac_func;
47404 return 0;
47406 _ACEOF
47407 rm -f conftest.$ac_objext conftest$ac_exeext
47408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47409 (eval $ac_link) 2>conftest.er1
47410 ac_status=$?
47411 grep -v '^ *+' conftest.er1 >conftest.err
47412 rm -f conftest.er1
47413 cat conftest.err >&5
47414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47415 (exit $ac_status); } &&
47416 { ac_try='test -z "$ac_c_werror_flag"
47417 || test ! -s conftest.err'
47418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47419 (eval $ac_try) 2>&5
47420 ac_status=$?
47421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47422 (exit $ac_status); }; } &&
47423 { ac_try='test -s conftest$ac_exeext'
47424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47425 (eval $ac_try) 2>&5
47426 ac_status=$?
47427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47428 (exit $ac_status); }; }; then
47429 eval "$as_ac_var=yes"
47430 else
47431 echo "$as_me: failed program was:" >&5
47432 sed 's/^/| /' conftest.$ac_ext >&5
47434 eval "$as_ac_var=no"
47436 rm -f conftest.err conftest.$ac_objext \
47437 conftest$ac_exeext conftest.$ac_ext
47439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47441 if test `eval echo '${'$as_ac_var'}'` = yes; then
47442 cat >>confdefs.h <<_ACEOF
47443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47444 _ACEOF
47447 done
47457 echo "$as_me:$LINENO: checking for logl declaration" >&5
47458 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47460 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47461 echo $ECHO_N "(cached) $ECHO_C" >&6
47462 else
47466 ac_ext=cc
47467 ac_cpp='$CXXCPP $CPPFLAGS'
47468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47472 cat >conftest.$ac_ext <<_ACEOF
47473 /* confdefs.h. */
47474 _ACEOF
47475 cat confdefs.h >>conftest.$ac_ext
47476 cat >>conftest.$ac_ext <<_ACEOF
47477 /* end confdefs.h. */
47478 #include <math.h>
47479 #ifdef HAVE_IEEEFP_H
47480 #include <ieeefp.h>
47481 #endif
47484 main ()
47486 logl(0);
47488 return 0;
47490 _ACEOF
47491 rm -f conftest.$ac_objext
47492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47493 (eval $ac_compile) 2>conftest.er1
47494 ac_status=$?
47495 grep -v '^ *+' conftest.er1 >conftest.err
47496 rm -f conftest.er1
47497 cat conftest.err >&5
47498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499 (exit $ac_status); } &&
47500 { ac_try='test -z "$ac_cxx_werror_flag"
47501 || test ! -s conftest.err'
47502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47503 (eval $ac_try) 2>&5
47504 ac_status=$?
47505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47506 (exit $ac_status); }; } &&
47507 { ac_try='test -s conftest.$ac_objext'
47508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47509 (eval $ac_try) 2>&5
47510 ac_status=$?
47511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47512 (exit $ac_status); }; }; then
47513 glibcxx_cv_func_logl_use=yes
47514 else
47515 echo "$as_me: failed program was:" >&5
47516 sed 's/^/| /' conftest.$ac_ext >&5
47518 glibcxx_cv_func_logl_use=no
47520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47521 ac_ext=c
47522 ac_cpp='$CPP $CPPFLAGS'
47523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47532 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47534 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47536 for ac_func in logl
47538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47539 echo "$as_me:$LINENO: checking for $ac_func" >&5
47540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47541 if eval "test \"\${$as_ac_var+set}\" = set"; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 else
47544 if test x$gcc_no_link = xyes; then
47545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47547 { (exit 1); exit 1; }; }
47549 cat >conftest.$ac_ext <<_ACEOF
47550 /* confdefs.h. */
47551 _ACEOF
47552 cat confdefs.h >>conftest.$ac_ext
47553 cat >>conftest.$ac_ext <<_ACEOF
47554 /* end confdefs.h. */
47555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47557 #define $ac_func innocuous_$ac_func
47559 /* System header to define __stub macros and hopefully few prototypes,
47560 which can conflict with char $ac_func (); below.
47561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47562 <limits.h> exists even on freestanding compilers. */
47564 #ifdef __STDC__
47565 # include <limits.h>
47566 #else
47567 # include <assert.h>
47568 #endif
47570 #undef $ac_func
47572 /* Override any gcc2 internal prototype to avoid an error. */
47573 #ifdef __cplusplus
47574 extern "C"
47576 #endif
47577 /* We use char because int might match the return type of a gcc2
47578 builtin and then its argument prototype would still apply. */
47579 char $ac_func ();
47580 /* The GNU C library defines this for functions which it implements
47581 to always fail with ENOSYS. Some functions are actually named
47582 something starting with __ and the normal name is an alias. */
47583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47584 choke me
47585 #else
47586 char (*f) () = $ac_func;
47587 #endif
47588 #ifdef __cplusplus
47590 #endif
47593 main ()
47595 return f != $ac_func;
47597 return 0;
47599 _ACEOF
47600 rm -f conftest.$ac_objext conftest$ac_exeext
47601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47602 (eval $ac_link) 2>conftest.er1
47603 ac_status=$?
47604 grep -v '^ *+' conftest.er1 >conftest.err
47605 rm -f conftest.er1
47606 cat conftest.err >&5
47607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47608 (exit $ac_status); } &&
47609 { ac_try='test -z "$ac_c_werror_flag"
47610 || test ! -s conftest.err'
47611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47612 (eval $ac_try) 2>&5
47613 ac_status=$?
47614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47615 (exit $ac_status); }; } &&
47616 { ac_try='test -s conftest$ac_exeext'
47617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47618 (eval $ac_try) 2>&5
47619 ac_status=$?
47620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47621 (exit $ac_status); }; }; then
47622 eval "$as_ac_var=yes"
47623 else
47624 echo "$as_me: failed program was:" >&5
47625 sed 's/^/| /' conftest.$ac_ext >&5
47627 eval "$as_ac_var=no"
47629 rm -f conftest.err conftest.$ac_objext \
47630 conftest$ac_exeext conftest.$ac_ext
47632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47634 if test `eval echo '${'$as_ac_var'}'` = yes; then
47635 cat >>confdefs.h <<_ACEOF
47636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47637 _ACEOF
47640 done
47642 else
47644 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47645 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47646 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47647 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47648 echo $ECHO_N "(cached) $ECHO_C" >&6
47649 else
47653 ac_ext=cc
47654 ac_cpp='$CXXCPP $CPPFLAGS'
47655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47659 cat >conftest.$ac_ext <<_ACEOF
47660 /* confdefs.h. */
47661 _ACEOF
47662 cat confdefs.h >>conftest.$ac_ext
47663 cat >>conftest.$ac_ext <<_ACEOF
47664 /* end confdefs.h. */
47665 #include <math.h>
47666 #ifdef HAVE_IEEEFP_H
47667 #include <ieeefp.h>
47668 #endif
47671 main ()
47673 _logl(0);
47675 return 0;
47677 _ACEOF
47678 rm -f conftest.$ac_objext
47679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47680 (eval $ac_compile) 2>conftest.er1
47681 ac_status=$?
47682 grep -v '^ *+' conftest.er1 >conftest.err
47683 rm -f conftest.er1
47684 cat conftest.err >&5
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); } &&
47687 { ac_try='test -z "$ac_cxx_werror_flag"
47688 || test ! -s conftest.err'
47689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47690 (eval $ac_try) 2>&5
47691 ac_status=$?
47692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693 (exit $ac_status); }; } &&
47694 { ac_try='test -s conftest.$ac_objext'
47695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47696 (eval $ac_try) 2>&5
47697 ac_status=$?
47698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699 (exit $ac_status); }; }; then
47700 glibcxx_cv_func__logl_use=yes
47701 else
47702 echo "$as_me: failed program was:" >&5
47703 sed 's/^/| /' conftest.$ac_ext >&5
47705 glibcxx_cv_func__logl_use=no
47707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47708 ac_ext=c
47709 ac_cpp='$CPP $CPPFLAGS'
47710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47719 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47721 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47723 for ac_func in _logl
47725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47726 echo "$as_me:$LINENO: checking for $ac_func" >&5
47727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47728 if eval "test \"\${$as_ac_var+set}\" = set"; then
47729 echo $ECHO_N "(cached) $ECHO_C" >&6
47730 else
47731 if test x$gcc_no_link = xyes; then
47732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47734 { (exit 1); exit 1; }; }
47736 cat >conftest.$ac_ext <<_ACEOF
47737 /* confdefs.h. */
47738 _ACEOF
47739 cat confdefs.h >>conftest.$ac_ext
47740 cat >>conftest.$ac_ext <<_ACEOF
47741 /* end confdefs.h. */
47742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47744 #define $ac_func innocuous_$ac_func
47746 /* System header to define __stub macros and hopefully few prototypes,
47747 which can conflict with char $ac_func (); below.
47748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47749 <limits.h> exists even on freestanding compilers. */
47751 #ifdef __STDC__
47752 # include <limits.h>
47753 #else
47754 # include <assert.h>
47755 #endif
47757 #undef $ac_func
47759 /* Override any gcc2 internal prototype to avoid an error. */
47760 #ifdef __cplusplus
47761 extern "C"
47763 #endif
47764 /* We use char because int might match the return type of a gcc2
47765 builtin and then its argument prototype would still apply. */
47766 char $ac_func ();
47767 /* The GNU C library defines this for functions which it implements
47768 to always fail with ENOSYS. Some functions are actually named
47769 something starting with __ and the normal name is an alias. */
47770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47771 choke me
47772 #else
47773 char (*f) () = $ac_func;
47774 #endif
47775 #ifdef __cplusplus
47777 #endif
47780 main ()
47782 return f != $ac_func;
47784 return 0;
47786 _ACEOF
47787 rm -f conftest.$ac_objext conftest$ac_exeext
47788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47789 (eval $ac_link) 2>conftest.er1
47790 ac_status=$?
47791 grep -v '^ *+' conftest.er1 >conftest.err
47792 rm -f conftest.er1
47793 cat conftest.err >&5
47794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47795 (exit $ac_status); } &&
47796 { ac_try='test -z "$ac_c_werror_flag"
47797 || test ! -s conftest.err'
47798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47799 (eval $ac_try) 2>&5
47800 ac_status=$?
47801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47802 (exit $ac_status); }; } &&
47803 { ac_try='test -s conftest$ac_exeext'
47804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47805 (eval $ac_try) 2>&5
47806 ac_status=$?
47807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47808 (exit $ac_status); }; }; then
47809 eval "$as_ac_var=yes"
47810 else
47811 echo "$as_me: failed program was:" >&5
47812 sed 's/^/| /' conftest.$ac_ext >&5
47814 eval "$as_ac_var=no"
47816 rm -f conftest.err conftest.$ac_objext \
47817 conftest$ac_exeext conftest.$ac_ext
47819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47821 if test `eval echo '${'$as_ac_var'}'` = yes; then
47822 cat >>confdefs.h <<_ACEOF
47823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47824 _ACEOF
47827 done
47837 echo "$as_me:$LINENO: checking for log10l declaration" >&5
47838 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
47839 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
47840 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
47841 echo $ECHO_N "(cached) $ECHO_C" >&6
47842 else
47846 ac_ext=cc
47847 ac_cpp='$CXXCPP $CPPFLAGS'
47848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47852 cat >conftest.$ac_ext <<_ACEOF
47853 /* confdefs.h. */
47854 _ACEOF
47855 cat confdefs.h >>conftest.$ac_ext
47856 cat >>conftest.$ac_ext <<_ACEOF
47857 /* end confdefs.h. */
47858 #include <math.h>
47859 #ifdef HAVE_IEEEFP_H
47860 #include <ieeefp.h>
47861 #endif
47864 main ()
47866 log10l(0);
47868 return 0;
47870 _ACEOF
47871 rm -f conftest.$ac_objext
47872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47873 (eval $ac_compile) 2>conftest.er1
47874 ac_status=$?
47875 grep -v '^ *+' conftest.er1 >conftest.err
47876 rm -f conftest.er1
47877 cat conftest.err >&5
47878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879 (exit $ac_status); } &&
47880 { ac_try='test -z "$ac_cxx_werror_flag"
47881 || test ! -s conftest.err'
47882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47883 (eval $ac_try) 2>&5
47884 ac_status=$?
47885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886 (exit $ac_status); }; } &&
47887 { ac_try='test -s conftest.$ac_objext'
47888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47889 (eval $ac_try) 2>&5
47890 ac_status=$?
47891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47892 (exit $ac_status); }; }; then
47893 glibcxx_cv_func_log10l_use=yes
47894 else
47895 echo "$as_me: failed program was:" >&5
47896 sed 's/^/| /' conftest.$ac_ext >&5
47898 glibcxx_cv_func_log10l_use=no
47900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47901 ac_ext=c
47902 ac_cpp='$CPP $CPPFLAGS'
47903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47912 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47914 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47916 for ac_func in log10l
47918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47919 echo "$as_me:$LINENO: checking for $ac_func" >&5
47920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47921 if eval "test \"\${$as_ac_var+set}\" = set"; then
47922 echo $ECHO_N "(cached) $ECHO_C" >&6
47923 else
47924 if test x$gcc_no_link = xyes; then
47925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47927 { (exit 1); exit 1; }; }
47929 cat >conftest.$ac_ext <<_ACEOF
47930 /* confdefs.h. */
47931 _ACEOF
47932 cat confdefs.h >>conftest.$ac_ext
47933 cat >>conftest.$ac_ext <<_ACEOF
47934 /* end confdefs.h. */
47935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47937 #define $ac_func innocuous_$ac_func
47939 /* System header to define __stub macros and hopefully few prototypes,
47940 which can conflict with char $ac_func (); below.
47941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47942 <limits.h> exists even on freestanding compilers. */
47944 #ifdef __STDC__
47945 # include <limits.h>
47946 #else
47947 # include <assert.h>
47948 #endif
47950 #undef $ac_func
47952 /* Override any gcc2 internal prototype to avoid an error. */
47953 #ifdef __cplusplus
47954 extern "C"
47956 #endif
47957 /* We use char because int might match the return type of a gcc2
47958 builtin and then its argument prototype would still apply. */
47959 char $ac_func ();
47960 /* The GNU C library defines this for functions which it implements
47961 to always fail with ENOSYS. Some functions are actually named
47962 something starting with __ and the normal name is an alias. */
47963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47964 choke me
47965 #else
47966 char (*f) () = $ac_func;
47967 #endif
47968 #ifdef __cplusplus
47970 #endif
47973 main ()
47975 return f != $ac_func;
47977 return 0;
47979 _ACEOF
47980 rm -f conftest.$ac_objext conftest$ac_exeext
47981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47982 (eval $ac_link) 2>conftest.er1
47983 ac_status=$?
47984 grep -v '^ *+' conftest.er1 >conftest.err
47985 rm -f conftest.er1
47986 cat conftest.err >&5
47987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47988 (exit $ac_status); } &&
47989 { ac_try='test -z "$ac_c_werror_flag"
47990 || test ! -s conftest.err'
47991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47992 (eval $ac_try) 2>&5
47993 ac_status=$?
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); }; } &&
47996 { ac_try='test -s conftest$ac_exeext'
47997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47998 (eval $ac_try) 2>&5
47999 ac_status=$?
48000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001 (exit $ac_status); }; }; then
48002 eval "$as_ac_var=yes"
48003 else
48004 echo "$as_me: failed program was:" >&5
48005 sed 's/^/| /' conftest.$ac_ext >&5
48007 eval "$as_ac_var=no"
48009 rm -f conftest.err conftest.$ac_objext \
48010 conftest$ac_exeext conftest.$ac_ext
48012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48014 if test `eval echo '${'$as_ac_var'}'` = yes; then
48015 cat >>confdefs.h <<_ACEOF
48016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48017 _ACEOF
48020 done
48022 else
48024 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48025 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48026 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48027 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48028 echo $ECHO_N "(cached) $ECHO_C" >&6
48029 else
48033 ac_ext=cc
48034 ac_cpp='$CXXCPP $CPPFLAGS'
48035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48039 cat >conftest.$ac_ext <<_ACEOF
48040 /* confdefs.h. */
48041 _ACEOF
48042 cat confdefs.h >>conftest.$ac_ext
48043 cat >>conftest.$ac_ext <<_ACEOF
48044 /* end confdefs.h. */
48045 #include <math.h>
48046 #ifdef HAVE_IEEEFP_H
48047 #include <ieeefp.h>
48048 #endif
48051 main ()
48053 _log10l(0);
48055 return 0;
48057 _ACEOF
48058 rm -f conftest.$ac_objext
48059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48060 (eval $ac_compile) 2>conftest.er1
48061 ac_status=$?
48062 grep -v '^ *+' conftest.er1 >conftest.err
48063 rm -f conftest.er1
48064 cat conftest.err >&5
48065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066 (exit $ac_status); } &&
48067 { ac_try='test -z "$ac_cxx_werror_flag"
48068 || test ! -s conftest.err'
48069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48070 (eval $ac_try) 2>&5
48071 ac_status=$?
48072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48073 (exit $ac_status); }; } &&
48074 { ac_try='test -s conftest.$ac_objext'
48075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48076 (eval $ac_try) 2>&5
48077 ac_status=$?
48078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079 (exit $ac_status); }; }; then
48080 glibcxx_cv_func__log10l_use=yes
48081 else
48082 echo "$as_me: failed program was:" >&5
48083 sed 's/^/| /' conftest.$ac_ext >&5
48085 glibcxx_cv_func__log10l_use=no
48087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48088 ac_ext=c
48089 ac_cpp='$CPP $CPPFLAGS'
48090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48099 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48101 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48103 for ac_func in _log10l
48105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48106 echo "$as_me:$LINENO: checking for $ac_func" >&5
48107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48108 if eval "test \"\${$as_ac_var+set}\" = set"; then
48109 echo $ECHO_N "(cached) $ECHO_C" >&6
48110 else
48111 if test x$gcc_no_link = xyes; then
48112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48114 { (exit 1); exit 1; }; }
48116 cat >conftest.$ac_ext <<_ACEOF
48117 /* confdefs.h. */
48118 _ACEOF
48119 cat confdefs.h >>conftest.$ac_ext
48120 cat >>conftest.$ac_ext <<_ACEOF
48121 /* end confdefs.h. */
48122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48124 #define $ac_func innocuous_$ac_func
48126 /* System header to define __stub macros and hopefully few prototypes,
48127 which can conflict with char $ac_func (); below.
48128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48129 <limits.h> exists even on freestanding compilers. */
48131 #ifdef __STDC__
48132 # include <limits.h>
48133 #else
48134 # include <assert.h>
48135 #endif
48137 #undef $ac_func
48139 /* Override any gcc2 internal prototype to avoid an error. */
48140 #ifdef __cplusplus
48141 extern "C"
48143 #endif
48144 /* We use char because int might match the return type of a gcc2
48145 builtin and then its argument prototype would still apply. */
48146 char $ac_func ();
48147 /* The GNU C library defines this for functions which it implements
48148 to always fail with ENOSYS. Some functions are actually named
48149 something starting with __ and the normal name is an alias. */
48150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48151 choke me
48152 #else
48153 char (*f) () = $ac_func;
48154 #endif
48155 #ifdef __cplusplus
48157 #endif
48160 main ()
48162 return f != $ac_func;
48164 return 0;
48166 _ACEOF
48167 rm -f conftest.$ac_objext conftest$ac_exeext
48168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48169 (eval $ac_link) 2>conftest.er1
48170 ac_status=$?
48171 grep -v '^ *+' conftest.er1 >conftest.err
48172 rm -f conftest.er1
48173 cat conftest.err >&5
48174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175 (exit $ac_status); } &&
48176 { ac_try='test -z "$ac_c_werror_flag"
48177 || test ! -s conftest.err'
48178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48179 (eval $ac_try) 2>&5
48180 ac_status=$?
48181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48182 (exit $ac_status); }; } &&
48183 { ac_try='test -s conftest$ac_exeext'
48184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48185 (eval $ac_try) 2>&5
48186 ac_status=$?
48187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48188 (exit $ac_status); }; }; then
48189 eval "$as_ac_var=yes"
48190 else
48191 echo "$as_me: failed program was:" >&5
48192 sed 's/^/| /' conftest.$ac_ext >&5
48194 eval "$as_ac_var=no"
48196 rm -f conftest.err conftest.$ac_objext \
48197 conftest$ac_exeext conftest.$ac_ext
48199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48201 if test `eval echo '${'$as_ac_var'}'` = yes; then
48202 cat >>confdefs.h <<_ACEOF
48203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48204 _ACEOF
48207 done
48217 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48218 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48219 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48220 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48221 echo $ECHO_N "(cached) $ECHO_C" >&6
48222 else
48226 ac_ext=cc
48227 ac_cpp='$CXXCPP $CPPFLAGS'
48228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48232 cat >conftest.$ac_ext <<_ACEOF
48233 /* confdefs.h. */
48234 _ACEOF
48235 cat confdefs.h >>conftest.$ac_ext
48236 cat >>conftest.$ac_ext <<_ACEOF
48237 /* end confdefs.h. */
48238 #include <math.h>
48240 main ()
48242 modfl(0, 0);
48244 return 0;
48246 _ACEOF
48247 rm -f conftest.$ac_objext
48248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48249 (eval $ac_compile) 2>conftest.er1
48250 ac_status=$?
48251 grep -v '^ *+' conftest.er1 >conftest.err
48252 rm -f conftest.er1
48253 cat conftest.err >&5
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); } &&
48256 { ac_try='test -z "$ac_cxx_werror_flag"
48257 || test ! -s conftest.err'
48258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259 (eval $ac_try) 2>&5
48260 ac_status=$?
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); }; } &&
48263 { ac_try='test -s conftest.$ac_objext'
48264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48265 (eval $ac_try) 2>&5
48266 ac_status=$?
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); }; }; then
48269 glibcxx_cv_func_modfl_use=yes
48270 else
48271 echo "$as_me: failed program was:" >&5
48272 sed 's/^/| /' conftest.$ac_ext >&5
48274 glibcxx_cv_func_modfl_use=no
48276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48277 ac_ext=c
48278 ac_cpp='$CPP $CPPFLAGS'
48279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48287 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48288 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48290 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48292 for ac_func in modfl
48294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48295 echo "$as_me:$LINENO: checking for $ac_func" >&5
48296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48297 if eval "test \"\${$as_ac_var+set}\" = set"; then
48298 echo $ECHO_N "(cached) $ECHO_C" >&6
48299 else
48300 if test x$gcc_no_link = xyes; then
48301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48303 { (exit 1); exit 1; }; }
48305 cat >conftest.$ac_ext <<_ACEOF
48306 /* confdefs.h. */
48307 _ACEOF
48308 cat confdefs.h >>conftest.$ac_ext
48309 cat >>conftest.$ac_ext <<_ACEOF
48310 /* end confdefs.h. */
48311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48313 #define $ac_func innocuous_$ac_func
48315 /* System header to define __stub macros and hopefully few prototypes,
48316 which can conflict with char $ac_func (); below.
48317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48318 <limits.h> exists even on freestanding compilers. */
48320 #ifdef __STDC__
48321 # include <limits.h>
48322 #else
48323 # include <assert.h>
48324 #endif
48326 #undef $ac_func
48328 /* Override any gcc2 internal prototype to avoid an error. */
48329 #ifdef __cplusplus
48330 extern "C"
48332 #endif
48333 /* We use char because int might match the return type of a gcc2
48334 builtin and then its argument prototype would still apply. */
48335 char $ac_func ();
48336 /* The GNU C library defines this for functions which it implements
48337 to always fail with ENOSYS. Some functions are actually named
48338 something starting with __ and the normal name is an alias. */
48339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48340 choke me
48341 #else
48342 char (*f) () = $ac_func;
48343 #endif
48344 #ifdef __cplusplus
48346 #endif
48349 main ()
48351 return f != $ac_func;
48353 return 0;
48355 _ACEOF
48356 rm -f conftest.$ac_objext conftest$ac_exeext
48357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48358 (eval $ac_link) 2>conftest.er1
48359 ac_status=$?
48360 grep -v '^ *+' conftest.er1 >conftest.err
48361 rm -f conftest.er1
48362 cat conftest.err >&5
48363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48364 (exit $ac_status); } &&
48365 { ac_try='test -z "$ac_c_werror_flag"
48366 || test ! -s conftest.err'
48367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48368 (eval $ac_try) 2>&5
48369 ac_status=$?
48370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371 (exit $ac_status); }; } &&
48372 { ac_try='test -s conftest$ac_exeext'
48373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374 (eval $ac_try) 2>&5
48375 ac_status=$?
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); }; }; then
48378 eval "$as_ac_var=yes"
48379 else
48380 echo "$as_me: failed program was:" >&5
48381 sed 's/^/| /' conftest.$ac_ext >&5
48383 eval "$as_ac_var=no"
48385 rm -f conftest.err conftest.$ac_objext \
48386 conftest$ac_exeext conftest.$ac_ext
48388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48390 if test `eval echo '${'$as_ac_var'}'` = yes; then
48391 cat >>confdefs.h <<_ACEOF
48392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48393 _ACEOF
48396 done
48398 else
48400 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48401 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48402 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48403 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48404 echo $ECHO_N "(cached) $ECHO_C" >&6
48405 else
48409 ac_ext=cc
48410 ac_cpp='$CXXCPP $CPPFLAGS'
48411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48415 cat >conftest.$ac_ext <<_ACEOF
48416 /* confdefs.h. */
48417 _ACEOF
48418 cat confdefs.h >>conftest.$ac_ext
48419 cat >>conftest.$ac_ext <<_ACEOF
48420 /* end confdefs.h. */
48421 #include <math.h>
48423 main ()
48425 _modfl(0, 0);
48427 return 0;
48429 _ACEOF
48430 rm -f conftest.$ac_objext
48431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48432 (eval $ac_compile) 2>conftest.er1
48433 ac_status=$?
48434 grep -v '^ *+' conftest.er1 >conftest.err
48435 rm -f conftest.er1
48436 cat conftest.err >&5
48437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438 (exit $ac_status); } &&
48439 { ac_try='test -z "$ac_cxx_werror_flag"
48440 || test ! -s conftest.err'
48441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48442 (eval $ac_try) 2>&5
48443 ac_status=$?
48444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48445 (exit $ac_status); }; } &&
48446 { ac_try='test -s conftest.$ac_objext'
48447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48448 (eval $ac_try) 2>&5
48449 ac_status=$?
48450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451 (exit $ac_status); }; }; then
48452 glibcxx_cv_func__modfl_use=yes
48453 else
48454 echo "$as_me: failed program was:" >&5
48455 sed 's/^/| /' conftest.$ac_ext >&5
48457 glibcxx_cv_func__modfl_use=no
48459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48460 ac_ext=c
48461 ac_cpp='$CPP $CPPFLAGS'
48462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48471 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48473 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48475 for ac_func in _modfl
48477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48478 echo "$as_me:$LINENO: checking for $ac_func" >&5
48479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48480 if eval "test \"\${$as_ac_var+set}\" = set"; then
48481 echo $ECHO_N "(cached) $ECHO_C" >&6
48482 else
48483 if test x$gcc_no_link = xyes; then
48484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48486 { (exit 1); exit 1; }; }
48488 cat >conftest.$ac_ext <<_ACEOF
48489 /* confdefs.h. */
48490 _ACEOF
48491 cat confdefs.h >>conftest.$ac_ext
48492 cat >>conftest.$ac_ext <<_ACEOF
48493 /* end confdefs.h. */
48494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48496 #define $ac_func innocuous_$ac_func
48498 /* System header to define __stub macros and hopefully few prototypes,
48499 which can conflict with char $ac_func (); below.
48500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48501 <limits.h> exists even on freestanding compilers. */
48503 #ifdef __STDC__
48504 # include <limits.h>
48505 #else
48506 # include <assert.h>
48507 #endif
48509 #undef $ac_func
48511 /* Override any gcc2 internal prototype to avoid an error. */
48512 #ifdef __cplusplus
48513 extern "C"
48515 #endif
48516 /* We use char because int might match the return type of a gcc2
48517 builtin and then its argument prototype would still apply. */
48518 char $ac_func ();
48519 /* The GNU C library defines this for functions which it implements
48520 to always fail with ENOSYS. Some functions are actually named
48521 something starting with __ and the normal name is an alias. */
48522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48523 choke me
48524 #else
48525 char (*f) () = $ac_func;
48526 #endif
48527 #ifdef __cplusplus
48529 #endif
48532 main ()
48534 return f != $ac_func;
48536 return 0;
48538 _ACEOF
48539 rm -f conftest.$ac_objext conftest$ac_exeext
48540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48541 (eval $ac_link) 2>conftest.er1
48542 ac_status=$?
48543 grep -v '^ *+' conftest.er1 >conftest.err
48544 rm -f conftest.er1
48545 cat conftest.err >&5
48546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547 (exit $ac_status); } &&
48548 { ac_try='test -z "$ac_c_werror_flag"
48549 || test ! -s conftest.err'
48550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48551 (eval $ac_try) 2>&5
48552 ac_status=$?
48553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554 (exit $ac_status); }; } &&
48555 { ac_try='test -s conftest$ac_exeext'
48556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48557 (eval $ac_try) 2>&5
48558 ac_status=$?
48559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48560 (exit $ac_status); }; }; then
48561 eval "$as_ac_var=yes"
48562 else
48563 echo "$as_me: failed program was:" >&5
48564 sed 's/^/| /' conftest.$ac_ext >&5
48566 eval "$as_ac_var=no"
48568 rm -f conftest.err conftest.$ac_objext \
48569 conftest$ac_exeext conftest.$ac_ext
48571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48573 if test `eval echo '${'$as_ac_var'}'` = yes; then
48574 cat >>confdefs.h <<_ACEOF
48575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48576 _ACEOF
48579 done
48589 echo "$as_me:$LINENO: checking for powl declaration" >&5
48590 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48591 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48592 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48593 echo $ECHO_N "(cached) $ECHO_C" >&6
48594 else
48598 ac_ext=cc
48599 ac_cpp='$CXXCPP $CPPFLAGS'
48600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48604 cat >conftest.$ac_ext <<_ACEOF
48605 /* confdefs.h. */
48606 _ACEOF
48607 cat confdefs.h >>conftest.$ac_ext
48608 cat >>conftest.$ac_ext <<_ACEOF
48609 /* end confdefs.h. */
48610 #include <math.h>
48612 main ()
48614 powl(0, 0);
48616 return 0;
48618 _ACEOF
48619 rm -f conftest.$ac_objext
48620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48621 (eval $ac_compile) 2>conftest.er1
48622 ac_status=$?
48623 grep -v '^ *+' conftest.er1 >conftest.err
48624 rm -f conftest.er1
48625 cat conftest.err >&5
48626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627 (exit $ac_status); } &&
48628 { ac_try='test -z "$ac_cxx_werror_flag"
48629 || test ! -s conftest.err'
48630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631 (eval $ac_try) 2>&5
48632 ac_status=$?
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; } &&
48635 { ac_try='test -s conftest.$ac_objext'
48636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48637 (eval $ac_try) 2>&5
48638 ac_status=$?
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); }; }; then
48641 glibcxx_cv_func_powl_use=yes
48642 else
48643 echo "$as_me: failed program was:" >&5
48644 sed 's/^/| /' conftest.$ac_ext >&5
48646 glibcxx_cv_func_powl_use=no
48648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48649 ac_ext=c
48650 ac_cpp='$CPP $CPPFLAGS'
48651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48659 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48660 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48662 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48664 for ac_func in powl
48666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48667 echo "$as_me:$LINENO: checking for $ac_func" >&5
48668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48669 if eval "test \"\${$as_ac_var+set}\" = set"; then
48670 echo $ECHO_N "(cached) $ECHO_C" >&6
48671 else
48672 if test x$gcc_no_link = xyes; then
48673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48675 { (exit 1); exit 1; }; }
48677 cat >conftest.$ac_ext <<_ACEOF
48678 /* confdefs.h. */
48679 _ACEOF
48680 cat confdefs.h >>conftest.$ac_ext
48681 cat >>conftest.$ac_ext <<_ACEOF
48682 /* end confdefs.h. */
48683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48685 #define $ac_func innocuous_$ac_func
48687 /* System header to define __stub macros and hopefully few prototypes,
48688 which can conflict with char $ac_func (); below.
48689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48690 <limits.h> exists even on freestanding compilers. */
48692 #ifdef __STDC__
48693 # include <limits.h>
48694 #else
48695 # include <assert.h>
48696 #endif
48698 #undef $ac_func
48700 /* Override any gcc2 internal prototype to avoid an error. */
48701 #ifdef __cplusplus
48702 extern "C"
48704 #endif
48705 /* We use char because int might match the return type of a gcc2
48706 builtin and then its argument prototype would still apply. */
48707 char $ac_func ();
48708 /* The GNU C library defines this for functions which it implements
48709 to always fail with ENOSYS. Some functions are actually named
48710 something starting with __ and the normal name is an alias. */
48711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48712 choke me
48713 #else
48714 char (*f) () = $ac_func;
48715 #endif
48716 #ifdef __cplusplus
48718 #endif
48721 main ()
48723 return f != $ac_func;
48725 return 0;
48727 _ACEOF
48728 rm -f conftest.$ac_objext conftest$ac_exeext
48729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48730 (eval $ac_link) 2>conftest.er1
48731 ac_status=$?
48732 grep -v '^ *+' conftest.er1 >conftest.err
48733 rm -f conftest.er1
48734 cat conftest.err >&5
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); } &&
48737 { ac_try='test -z "$ac_c_werror_flag"
48738 || test ! -s conftest.err'
48739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48740 (eval $ac_try) 2>&5
48741 ac_status=$?
48742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48743 (exit $ac_status); }; } &&
48744 { ac_try='test -s conftest$ac_exeext'
48745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48746 (eval $ac_try) 2>&5
48747 ac_status=$?
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); }; }; then
48750 eval "$as_ac_var=yes"
48751 else
48752 echo "$as_me: failed program was:" >&5
48753 sed 's/^/| /' conftest.$ac_ext >&5
48755 eval "$as_ac_var=no"
48757 rm -f conftest.err conftest.$ac_objext \
48758 conftest$ac_exeext conftest.$ac_ext
48760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48762 if test `eval echo '${'$as_ac_var'}'` = yes; then
48763 cat >>confdefs.h <<_ACEOF
48764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48765 _ACEOF
48768 done
48770 else
48772 echo "$as_me:$LINENO: checking for _powl declaration" >&5
48773 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
48774 if test x${glibcxx_cv_func__powl_use+set} != xset; then
48775 if test "${glibcxx_cv_func__powl_use+set}" = set; then
48776 echo $ECHO_N "(cached) $ECHO_C" >&6
48777 else
48781 ac_ext=cc
48782 ac_cpp='$CXXCPP $CPPFLAGS'
48783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48787 cat >conftest.$ac_ext <<_ACEOF
48788 /* confdefs.h. */
48789 _ACEOF
48790 cat confdefs.h >>conftest.$ac_ext
48791 cat >>conftest.$ac_ext <<_ACEOF
48792 /* end confdefs.h. */
48793 #include <math.h>
48795 main ()
48797 _powl(0, 0);
48799 return 0;
48801 _ACEOF
48802 rm -f conftest.$ac_objext
48803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48804 (eval $ac_compile) 2>conftest.er1
48805 ac_status=$?
48806 grep -v '^ *+' conftest.er1 >conftest.err
48807 rm -f conftest.er1
48808 cat conftest.err >&5
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); } &&
48811 { ac_try='test -z "$ac_cxx_werror_flag"
48812 || test ! -s conftest.err'
48813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48814 (eval $ac_try) 2>&5
48815 ac_status=$?
48816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48817 (exit $ac_status); }; } &&
48818 { ac_try='test -s conftest.$ac_objext'
48819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48820 (eval $ac_try) 2>&5
48821 ac_status=$?
48822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823 (exit $ac_status); }; }; then
48824 glibcxx_cv_func__powl_use=yes
48825 else
48826 echo "$as_me: failed program was:" >&5
48827 sed 's/^/| /' conftest.$ac_ext >&5
48829 glibcxx_cv_func__powl_use=no
48831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48832 ac_ext=c
48833 ac_cpp='$CPP $CPPFLAGS'
48834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
48843 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
48845 if test x$glibcxx_cv_func__powl_use = x"yes"; then
48847 for ac_func in _powl
48849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48850 echo "$as_me:$LINENO: checking for $ac_func" >&5
48851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48852 if eval "test \"\${$as_ac_var+set}\" = set"; then
48853 echo $ECHO_N "(cached) $ECHO_C" >&6
48854 else
48855 if test x$gcc_no_link = xyes; then
48856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48858 { (exit 1); exit 1; }; }
48860 cat >conftest.$ac_ext <<_ACEOF
48861 /* confdefs.h. */
48862 _ACEOF
48863 cat confdefs.h >>conftest.$ac_ext
48864 cat >>conftest.$ac_ext <<_ACEOF
48865 /* end confdefs.h. */
48866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48868 #define $ac_func innocuous_$ac_func
48870 /* System header to define __stub macros and hopefully few prototypes,
48871 which can conflict with char $ac_func (); below.
48872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48873 <limits.h> exists even on freestanding compilers. */
48875 #ifdef __STDC__
48876 # include <limits.h>
48877 #else
48878 # include <assert.h>
48879 #endif
48881 #undef $ac_func
48883 /* Override any gcc2 internal prototype to avoid an error. */
48884 #ifdef __cplusplus
48885 extern "C"
48887 #endif
48888 /* We use char because int might match the return type of a gcc2
48889 builtin and then its argument prototype would still apply. */
48890 char $ac_func ();
48891 /* The GNU C library defines this for functions which it implements
48892 to always fail with ENOSYS. Some functions are actually named
48893 something starting with __ and the normal name is an alias. */
48894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48895 choke me
48896 #else
48897 char (*f) () = $ac_func;
48898 #endif
48899 #ifdef __cplusplus
48901 #endif
48904 main ()
48906 return f != $ac_func;
48908 return 0;
48910 _ACEOF
48911 rm -f conftest.$ac_objext conftest$ac_exeext
48912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48913 (eval $ac_link) 2>conftest.er1
48914 ac_status=$?
48915 grep -v '^ *+' conftest.er1 >conftest.err
48916 rm -f conftest.er1
48917 cat conftest.err >&5
48918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919 (exit $ac_status); } &&
48920 { ac_try='test -z "$ac_c_werror_flag"
48921 || test ! -s conftest.err'
48922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48923 (eval $ac_try) 2>&5
48924 ac_status=$?
48925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48926 (exit $ac_status); }; } &&
48927 { ac_try='test -s conftest$ac_exeext'
48928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48929 (eval $ac_try) 2>&5
48930 ac_status=$?
48931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48932 (exit $ac_status); }; }; then
48933 eval "$as_ac_var=yes"
48934 else
48935 echo "$as_me: failed program was:" >&5
48936 sed 's/^/| /' conftest.$ac_ext >&5
48938 eval "$as_ac_var=no"
48940 rm -f conftest.err conftest.$ac_objext \
48941 conftest$ac_exeext conftest.$ac_ext
48943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48945 if test `eval echo '${'$as_ac_var'}'` = yes; then
48946 cat >>confdefs.h <<_ACEOF
48947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48948 _ACEOF
48951 done
48961 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48962 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48963 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48964 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48965 echo $ECHO_N "(cached) $ECHO_C" >&6
48966 else
48970 ac_ext=cc
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48976 cat >conftest.$ac_ext <<_ACEOF
48977 /* confdefs.h. */
48978 _ACEOF
48979 cat confdefs.h >>conftest.$ac_ext
48980 cat >>conftest.$ac_ext <<_ACEOF
48981 /* end confdefs.h. */
48982 #include <math.h>
48983 #ifdef HAVE_IEEEFP_H
48984 #include <ieeefp.h>
48985 #endif
48988 main ()
48990 sqrtl(0);
48992 return 0;
48994 _ACEOF
48995 rm -f conftest.$ac_objext
48996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48997 (eval $ac_compile) 2>conftest.er1
48998 ac_status=$?
48999 grep -v '^ *+' conftest.er1 >conftest.err
49000 rm -f conftest.er1
49001 cat conftest.err >&5
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); } &&
49004 { ac_try='test -z "$ac_cxx_werror_flag"
49005 || test ! -s conftest.err'
49006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49007 (eval $ac_try) 2>&5
49008 ac_status=$?
49009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49010 (exit $ac_status); }; } &&
49011 { ac_try='test -s conftest.$ac_objext'
49012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49013 (eval $ac_try) 2>&5
49014 ac_status=$?
49015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016 (exit $ac_status); }; }; then
49017 glibcxx_cv_func_sqrtl_use=yes
49018 else
49019 echo "$as_me: failed program was:" >&5
49020 sed 's/^/| /' conftest.$ac_ext >&5
49022 glibcxx_cv_func_sqrtl_use=no
49024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49025 ac_ext=c
49026 ac_cpp='$CPP $CPPFLAGS'
49027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49036 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49038 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49040 for ac_func in sqrtl
49042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49043 echo "$as_me:$LINENO: checking for $ac_func" >&5
49044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49045 if eval "test \"\${$as_ac_var+set}\" = set"; then
49046 echo $ECHO_N "(cached) $ECHO_C" >&6
49047 else
49048 if test x$gcc_no_link = xyes; then
49049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49051 { (exit 1); exit 1; }; }
49053 cat >conftest.$ac_ext <<_ACEOF
49054 /* confdefs.h. */
49055 _ACEOF
49056 cat confdefs.h >>conftest.$ac_ext
49057 cat >>conftest.$ac_ext <<_ACEOF
49058 /* end confdefs.h. */
49059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49061 #define $ac_func innocuous_$ac_func
49063 /* System header to define __stub macros and hopefully few prototypes,
49064 which can conflict with char $ac_func (); below.
49065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49066 <limits.h> exists even on freestanding compilers. */
49068 #ifdef __STDC__
49069 # include <limits.h>
49070 #else
49071 # include <assert.h>
49072 #endif
49074 #undef $ac_func
49076 /* Override any gcc2 internal prototype to avoid an error. */
49077 #ifdef __cplusplus
49078 extern "C"
49080 #endif
49081 /* We use char because int might match the return type of a gcc2
49082 builtin and then its argument prototype would still apply. */
49083 char $ac_func ();
49084 /* The GNU C library defines this for functions which it implements
49085 to always fail with ENOSYS. Some functions are actually named
49086 something starting with __ and the normal name is an alias. */
49087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49088 choke me
49089 #else
49090 char (*f) () = $ac_func;
49091 #endif
49092 #ifdef __cplusplus
49094 #endif
49097 main ()
49099 return f != $ac_func;
49101 return 0;
49103 _ACEOF
49104 rm -f conftest.$ac_objext conftest$ac_exeext
49105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49106 (eval $ac_link) 2>conftest.er1
49107 ac_status=$?
49108 grep -v '^ *+' conftest.er1 >conftest.err
49109 rm -f conftest.er1
49110 cat conftest.err >&5
49111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112 (exit $ac_status); } &&
49113 { ac_try='test -z "$ac_c_werror_flag"
49114 || test ! -s conftest.err'
49115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49116 (eval $ac_try) 2>&5
49117 ac_status=$?
49118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119 (exit $ac_status); }; } &&
49120 { ac_try='test -s conftest$ac_exeext'
49121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49122 (eval $ac_try) 2>&5
49123 ac_status=$?
49124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49125 (exit $ac_status); }; }; then
49126 eval "$as_ac_var=yes"
49127 else
49128 echo "$as_me: failed program was:" >&5
49129 sed 's/^/| /' conftest.$ac_ext >&5
49131 eval "$as_ac_var=no"
49133 rm -f conftest.err conftest.$ac_objext \
49134 conftest$ac_exeext conftest.$ac_ext
49136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49138 if test `eval echo '${'$as_ac_var'}'` = yes; then
49139 cat >>confdefs.h <<_ACEOF
49140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49141 _ACEOF
49144 done
49146 else
49148 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49149 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49150 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49151 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49152 echo $ECHO_N "(cached) $ECHO_C" >&6
49153 else
49157 ac_ext=cc
49158 ac_cpp='$CXXCPP $CPPFLAGS'
49159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49163 cat >conftest.$ac_ext <<_ACEOF
49164 /* confdefs.h. */
49165 _ACEOF
49166 cat confdefs.h >>conftest.$ac_ext
49167 cat >>conftest.$ac_ext <<_ACEOF
49168 /* end confdefs.h. */
49169 #include <math.h>
49170 #ifdef HAVE_IEEEFP_H
49171 #include <ieeefp.h>
49172 #endif
49175 main ()
49177 _sqrtl(0);
49179 return 0;
49181 _ACEOF
49182 rm -f conftest.$ac_objext
49183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49184 (eval $ac_compile) 2>conftest.er1
49185 ac_status=$?
49186 grep -v '^ *+' conftest.er1 >conftest.err
49187 rm -f conftest.er1
49188 cat conftest.err >&5
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); } &&
49191 { ac_try='test -z "$ac_cxx_werror_flag"
49192 || test ! -s conftest.err'
49193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194 (eval $ac_try) 2>&5
49195 ac_status=$?
49196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197 (exit $ac_status); }; } &&
49198 { ac_try='test -s conftest.$ac_objext'
49199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200 (eval $ac_try) 2>&5
49201 ac_status=$?
49202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203 (exit $ac_status); }; }; then
49204 glibcxx_cv_func__sqrtl_use=yes
49205 else
49206 echo "$as_me: failed program was:" >&5
49207 sed 's/^/| /' conftest.$ac_ext >&5
49209 glibcxx_cv_func__sqrtl_use=no
49211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49212 ac_ext=c
49213 ac_cpp='$CPP $CPPFLAGS'
49214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49223 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49225 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49227 for ac_func in _sqrtl
49229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49230 echo "$as_me:$LINENO: checking for $ac_func" >&5
49231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49232 if eval "test \"\${$as_ac_var+set}\" = set"; then
49233 echo $ECHO_N "(cached) $ECHO_C" >&6
49234 else
49235 if test x$gcc_no_link = xyes; then
49236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49238 { (exit 1); exit 1; }; }
49240 cat >conftest.$ac_ext <<_ACEOF
49241 /* confdefs.h. */
49242 _ACEOF
49243 cat confdefs.h >>conftest.$ac_ext
49244 cat >>conftest.$ac_ext <<_ACEOF
49245 /* end confdefs.h. */
49246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49248 #define $ac_func innocuous_$ac_func
49250 /* System header to define __stub macros and hopefully few prototypes,
49251 which can conflict with char $ac_func (); below.
49252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49253 <limits.h> exists even on freestanding compilers. */
49255 #ifdef __STDC__
49256 # include <limits.h>
49257 #else
49258 # include <assert.h>
49259 #endif
49261 #undef $ac_func
49263 /* Override any gcc2 internal prototype to avoid an error. */
49264 #ifdef __cplusplus
49265 extern "C"
49267 #endif
49268 /* We use char because int might match the return type of a gcc2
49269 builtin and then its argument prototype would still apply. */
49270 char $ac_func ();
49271 /* The GNU C library defines this for functions which it implements
49272 to always fail with ENOSYS. Some functions are actually named
49273 something starting with __ and the normal name is an alias. */
49274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49275 choke me
49276 #else
49277 char (*f) () = $ac_func;
49278 #endif
49279 #ifdef __cplusplus
49281 #endif
49284 main ()
49286 return f != $ac_func;
49288 return 0;
49290 _ACEOF
49291 rm -f conftest.$ac_objext conftest$ac_exeext
49292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49293 (eval $ac_link) 2>conftest.er1
49294 ac_status=$?
49295 grep -v '^ *+' conftest.er1 >conftest.err
49296 rm -f conftest.er1
49297 cat conftest.err >&5
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); } &&
49300 { ac_try='test -z "$ac_c_werror_flag"
49301 || test ! -s conftest.err'
49302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49303 (eval $ac_try) 2>&5
49304 ac_status=$?
49305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49306 (exit $ac_status); }; } &&
49307 { ac_try='test -s conftest$ac_exeext'
49308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49309 (eval $ac_try) 2>&5
49310 ac_status=$?
49311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49312 (exit $ac_status); }; }; then
49313 eval "$as_ac_var=yes"
49314 else
49315 echo "$as_me: failed program was:" >&5
49316 sed 's/^/| /' conftest.$ac_ext >&5
49318 eval "$as_ac_var=no"
49320 rm -f conftest.err conftest.$ac_objext \
49321 conftest$ac_exeext conftest.$ac_ext
49323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49325 if test `eval echo '${'$as_ac_var'}'` = yes; then
49326 cat >>confdefs.h <<_ACEOF
49327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49328 _ACEOF
49331 done
49341 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49342 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49343 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49344 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49345 echo $ECHO_N "(cached) $ECHO_C" >&6
49346 else
49350 ac_ext=cc
49351 ac_cpp='$CXXCPP $CPPFLAGS'
49352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49356 cat >conftest.$ac_ext <<_ACEOF
49357 /* confdefs.h. */
49358 _ACEOF
49359 cat confdefs.h >>conftest.$ac_ext
49360 cat >>conftest.$ac_ext <<_ACEOF
49361 /* end confdefs.h. */
49362 #include <math.h>
49364 main ()
49366 sincosl(0, 0, 0);
49368 return 0;
49370 _ACEOF
49371 rm -f conftest.$ac_objext
49372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49373 (eval $ac_compile) 2>conftest.er1
49374 ac_status=$?
49375 grep -v '^ *+' conftest.er1 >conftest.err
49376 rm -f conftest.er1
49377 cat conftest.err >&5
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); } &&
49380 { ac_try='test -z "$ac_cxx_werror_flag"
49381 || test ! -s conftest.err'
49382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383 (eval $ac_try) 2>&5
49384 ac_status=$?
49385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386 (exit $ac_status); }; } &&
49387 { ac_try='test -s conftest.$ac_objext'
49388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49389 (eval $ac_try) 2>&5
49390 ac_status=$?
49391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392 (exit $ac_status); }; }; then
49393 glibcxx_cv_func_sincosl_use=yes
49394 else
49395 echo "$as_me: failed program was:" >&5
49396 sed 's/^/| /' conftest.$ac_ext >&5
49398 glibcxx_cv_func_sincosl_use=no
49400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49401 ac_ext=c
49402 ac_cpp='$CPP $CPPFLAGS'
49403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49412 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49414 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49416 for ac_func in sincosl
49418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49419 echo "$as_me:$LINENO: checking for $ac_func" >&5
49420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49421 if eval "test \"\${$as_ac_var+set}\" = set"; then
49422 echo $ECHO_N "(cached) $ECHO_C" >&6
49423 else
49424 if test x$gcc_no_link = xyes; then
49425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49427 { (exit 1); exit 1; }; }
49429 cat >conftest.$ac_ext <<_ACEOF
49430 /* confdefs.h. */
49431 _ACEOF
49432 cat confdefs.h >>conftest.$ac_ext
49433 cat >>conftest.$ac_ext <<_ACEOF
49434 /* end confdefs.h. */
49435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49437 #define $ac_func innocuous_$ac_func
49439 /* System header to define __stub macros and hopefully few prototypes,
49440 which can conflict with char $ac_func (); below.
49441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49442 <limits.h> exists even on freestanding compilers. */
49444 #ifdef __STDC__
49445 # include <limits.h>
49446 #else
49447 # include <assert.h>
49448 #endif
49450 #undef $ac_func
49452 /* Override any gcc2 internal prototype to avoid an error. */
49453 #ifdef __cplusplus
49454 extern "C"
49456 #endif
49457 /* We use char because int might match the return type of a gcc2
49458 builtin and then its argument prototype would still apply. */
49459 char $ac_func ();
49460 /* The GNU C library defines this for functions which it implements
49461 to always fail with ENOSYS. Some functions are actually named
49462 something starting with __ and the normal name is an alias. */
49463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49464 choke me
49465 #else
49466 char (*f) () = $ac_func;
49467 #endif
49468 #ifdef __cplusplus
49470 #endif
49473 main ()
49475 return f != $ac_func;
49477 return 0;
49479 _ACEOF
49480 rm -f conftest.$ac_objext conftest$ac_exeext
49481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49482 (eval $ac_link) 2>conftest.er1
49483 ac_status=$?
49484 grep -v '^ *+' conftest.er1 >conftest.err
49485 rm -f conftest.er1
49486 cat conftest.err >&5
49487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49488 (exit $ac_status); } &&
49489 { ac_try='test -z "$ac_c_werror_flag"
49490 || test ! -s conftest.err'
49491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49492 (eval $ac_try) 2>&5
49493 ac_status=$?
49494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49495 (exit $ac_status); }; } &&
49496 { ac_try='test -s conftest$ac_exeext'
49497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49498 (eval $ac_try) 2>&5
49499 ac_status=$?
49500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501 (exit $ac_status); }; }; then
49502 eval "$as_ac_var=yes"
49503 else
49504 echo "$as_me: failed program was:" >&5
49505 sed 's/^/| /' conftest.$ac_ext >&5
49507 eval "$as_ac_var=no"
49509 rm -f conftest.err conftest.$ac_objext \
49510 conftest$ac_exeext conftest.$ac_ext
49512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49514 if test `eval echo '${'$as_ac_var'}'` = yes; then
49515 cat >>confdefs.h <<_ACEOF
49516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49517 _ACEOF
49520 done
49522 else
49524 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49525 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49526 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49527 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49528 echo $ECHO_N "(cached) $ECHO_C" >&6
49529 else
49533 ac_ext=cc
49534 ac_cpp='$CXXCPP $CPPFLAGS'
49535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49539 cat >conftest.$ac_ext <<_ACEOF
49540 /* confdefs.h. */
49541 _ACEOF
49542 cat confdefs.h >>conftest.$ac_ext
49543 cat >>conftest.$ac_ext <<_ACEOF
49544 /* end confdefs.h. */
49545 #include <math.h>
49547 main ()
49549 _sincosl(0, 0, 0);
49551 return 0;
49553 _ACEOF
49554 rm -f conftest.$ac_objext
49555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49556 (eval $ac_compile) 2>conftest.er1
49557 ac_status=$?
49558 grep -v '^ *+' conftest.er1 >conftest.err
49559 rm -f conftest.er1
49560 cat conftest.err >&5
49561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49562 (exit $ac_status); } &&
49563 { ac_try='test -z "$ac_cxx_werror_flag"
49564 || test ! -s conftest.err'
49565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49566 (eval $ac_try) 2>&5
49567 ac_status=$?
49568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49569 (exit $ac_status); }; } &&
49570 { ac_try='test -s conftest.$ac_objext'
49571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49572 (eval $ac_try) 2>&5
49573 ac_status=$?
49574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49575 (exit $ac_status); }; }; then
49576 glibcxx_cv_func__sincosl_use=yes
49577 else
49578 echo "$as_me: failed program was:" >&5
49579 sed 's/^/| /' conftest.$ac_ext >&5
49581 glibcxx_cv_func__sincosl_use=no
49583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49584 ac_ext=c
49585 ac_cpp='$CPP $CPPFLAGS'
49586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49595 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49597 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49599 for ac_func in _sincosl
49601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49602 echo "$as_me:$LINENO: checking for $ac_func" >&5
49603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49604 if eval "test \"\${$as_ac_var+set}\" = set"; then
49605 echo $ECHO_N "(cached) $ECHO_C" >&6
49606 else
49607 if test x$gcc_no_link = xyes; then
49608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49610 { (exit 1); exit 1; }; }
49612 cat >conftest.$ac_ext <<_ACEOF
49613 /* confdefs.h. */
49614 _ACEOF
49615 cat confdefs.h >>conftest.$ac_ext
49616 cat >>conftest.$ac_ext <<_ACEOF
49617 /* end confdefs.h. */
49618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49620 #define $ac_func innocuous_$ac_func
49622 /* System header to define __stub macros and hopefully few prototypes,
49623 which can conflict with char $ac_func (); below.
49624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49625 <limits.h> exists even on freestanding compilers. */
49627 #ifdef __STDC__
49628 # include <limits.h>
49629 #else
49630 # include <assert.h>
49631 #endif
49633 #undef $ac_func
49635 /* Override any gcc2 internal prototype to avoid an error. */
49636 #ifdef __cplusplus
49637 extern "C"
49639 #endif
49640 /* We use char because int might match the return type of a gcc2
49641 builtin and then its argument prototype would still apply. */
49642 char $ac_func ();
49643 /* The GNU C library defines this for functions which it implements
49644 to always fail with ENOSYS. Some functions are actually named
49645 something starting with __ and the normal name is an alias. */
49646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49647 choke me
49648 #else
49649 char (*f) () = $ac_func;
49650 #endif
49651 #ifdef __cplusplus
49653 #endif
49656 main ()
49658 return f != $ac_func;
49660 return 0;
49662 _ACEOF
49663 rm -f conftest.$ac_objext conftest$ac_exeext
49664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49665 (eval $ac_link) 2>conftest.er1
49666 ac_status=$?
49667 grep -v '^ *+' conftest.er1 >conftest.err
49668 rm -f conftest.er1
49669 cat conftest.err >&5
49670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49671 (exit $ac_status); } &&
49672 { ac_try='test -z "$ac_c_werror_flag"
49673 || test ! -s conftest.err'
49674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49675 (eval $ac_try) 2>&5
49676 ac_status=$?
49677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49678 (exit $ac_status); }; } &&
49679 { ac_try='test -s conftest$ac_exeext'
49680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49681 (eval $ac_try) 2>&5
49682 ac_status=$?
49683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49684 (exit $ac_status); }; }; then
49685 eval "$as_ac_var=yes"
49686 else
49687 echo "$as_me: failed program was:" >&5
49688 sed 's/^/| /' conftest.$ac_ext >&5
49690 eval "$as_ac_var=no"
49692 rm -f conftest.err conftest.$ac_objext \
49693 conftest$ac_exeext conftest.$ac_ext
49695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49697 if test `eval echo '${'$as_ac_var'}'` = yes; then
49698 cat >>confdefs.h <<_ACEOF
49699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49700 _ACEOF
49703 done
49713 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49714 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49715 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49716 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49717 echo $ECHO_N "(cached) $ECHO_C" >&6
49718 else
49722 ac_ext=cc
49723 ac_cpp='$CXXCPP $CPPFLAGS'
49724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49728 cat >conftest.$ac_ext <<_ACEOF
49729 /* confdefs.h. */
49730 _ACEOF
49731 cat confdefs.h >>conftest.$ac_ext
49732 cat >>conftest.$ac_ext <<_ACEOF
49733 /* end confdefs.h. */
49734 #include <math.h>
49735 #ifdef HAVE_IEEEFP_H
49736 #include <ieeefp.h>
49737 #endif
49740 main ()
49742 finitel(0);
49744 return 0;
49746 _ACEOF
49747 rm -f conftest.$ac_objext
49748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49749 (eval $ac_compile) 2>conftest.er1
49750 ac_status=$?
49751 grep -v '^ *+' conftest.er1 >conftest.err
49752 rm -f conftest.er1
49753 cat conftest.err >&5
49754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49755 (exit $ac_status); } &&
49756 { ac_try='test -z "$ac_cxx_werror_flag"
49757 || test ! -s conftest.err'
49758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49759 (eval $ac_try) 2>&5
49760 ac_status=$?
49761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49762 (exit $ac_status); }; } &&
49763 { ac_try='test -s conftest.$ac_objext'
49764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49765 (eval $ac_try) 2>&5
49766 ac_status=$?
49767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49768 (exit $ac_status); }; }; then
49769 glibcxx_cv_func_finitel_use=yes
49770 else
49771 echo "$as_me: failed program was:" >&5
49772 sed 's/^/| /' conftest.$ac_ext >&5
49774 glibcxx_cv_func_finitel_use=no
49776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49777 ac_ext=c
49778 ac_cpp='$CPP $CPPFLAGS'
49779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
49788 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
49790 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
49792 for ac_func in finitel
49794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49795 echo "$as_me:$LINENO: checking for $ac_func" >&5
49796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49797 if eval "test \"\${$as_ac_var+set}\" = set"; then
49798 echo $ECHO_N "(cached) $ECHO_C" >&6
49799 else
49800 if test x$gcc_no_link = xyes; then
49801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49803 { (exit 1); exit 1; }; }
49805 cat >conftest.$ac_ext <<_ACEOF
49806 /* confdefs.h. */
49807 _ACEOF
49808 cat confdefs.h >>conftest.$ac_ext
49809 cat >>conftest.$ac_ext <<_ACEOF
49810 /* end confdefs.h. */
49811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49813 #define $ac_func innocuous_$ac_func
49815 /* System header to define __stub macros and hopefully few prototypes,
49816 which can conflict with char $ac_func (); below.
49817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49818 <limits.h> exists even on freestanding compilers. */
49820 #ifdef __STDC__
49821 # include <limits.h>
49822 #else
49823 # include <assert.h>
49824 #endif
49826 #undef $ac_func
49828 /* Override any gcc2 internal prototype to avoid an error. */
49829 #ifdef __cplusplus
49830 extern "C"
49832 #endif
49833 /* We use char because int might match the return type of a gcc2
49834 builtin and then its argument prototype would still apply. */
49835 char $ac_func ();
49836 /* The GNU C library defines this for functions which it implements
49837 to always fail with ENOSYS. Some functions are actually named
49838 something starting with __ and the normal name is an alias. */
49839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49840 choke me
49841 #else
49842 char (*f) () = $ac_func;
49843 #endif
49844 #ifdef __cplusplus
49846 #endif
49849 main ()
49851 return f != $ac_func;
49853 return 0;
49855 _ACEOF
49856 rm -f conftest.$ac_objext conftest$ac_exeext
49857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49858 (eval $ac_link) 2>conftest.er1
49859 ac_status=$?
49860 grep -v '^ *+' conftest.er1 >conftest.err
49861 rm -f conftest.er1
49862 cat conftest.err >&5
49863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49864 (exit $ac_status); } &&
49865 { ac_try='test -z "$ac_c_werror_flag"
49866 || test ! -s conftest.err'
49867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49868 (eval $ac_try) 2>&5
49869 ac_status=$?
49870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49871 (exit $ac_status); }; } &&
49872 { ac_try='test -s conftest$ac_exeext'
49873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49874 (eval $ac_try) 2>&5
49875 ac_status=$?
49876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49877 (exit $ac_status); }; }; then
49878 eval "$as_ac_var=yes"
49879 else
49880 echo "$as_me: failed program was:" >&5
49881 sed 's/^/| /' conftest.$ac_ext >&5
49883 eval "$as_ac_var=no"
49885 rm -f conftest.err conftest.$ac_objext \
49886 conftest$ac_exeext conftest.$ac_ext
49888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49890 if test `eval echo '${'$as_ac_var'}'` = yes; then
49891 cat >>confdefs.h <<_ACEOF
49892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49893 _ACEOF
49896 done
49898 else
49900 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49901 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49902 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49903 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49904 echo $ECHO_N "(cached) $ECHO_C" >&6
49905 else
49909 ac_ext=cc
49910 ac_cpp='$CXXCPP $CPPFLAGS'
49911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49915 cat >conftest.$ac_ext <<_ACEOF
49916 /* confdefs.h. */
49917 _ACEOF
49918 cat confdefs.h >>conftest.$ac_ext
49919 cat >>conftest.$ac_ext <<_ACEOF
49920 /* end confdefs.h. */
49921 #include <math.h>
49922 #ifdef HAVE_IEEEFP_H
49923 #include <ieeefp.h>
49924 #endif
49927 main ()
49929 _finitel(0);
49931 return 0;
49933 _ACEOF
49934 rm -f conftest.$ac_objext
49935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49936 (eval $ac_compile) 2>conftest.er1
49937 ac_status=$?
49938 grep -v '^ *+' conftest.er1 >conftest.err
49939 rm -f conftest.er1
49940 cat conftest.err >&5
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); } &&
49943 { ac_try='test -z "$ac_cxx_werror_flag"
49944 || test ! -s conftest.err'
49945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49946 (eval $ac_try) 2>&5
49947 ac_status=$?
49948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49949 (exit $ac_status); }; } &&
49950 { ac_try='test -s conftest.$ac_objext'
49951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49952 (eval $ac_try) 2>&5
49953 ac_status=$?
49954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49955 (exit $ac_status); }; }; then
49956 glibcxx_cv_func__finitel_use=yes
49957 else
49958 echo "$as_me: failed program was:" >&5
49959 sed 's/^/| /' conftest.$ac_ext >&5
49961 glibcxx_cv_func__finitel_use=no
49963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49964 ac_ext=c
49965 ac_cpp='$CPP $CPPFLAGS'
49966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49975 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49977 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49979 for ac_func in _finitel
49981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49982 echo "$as_me:$LINENO: checking for $ac_func" >&5
49983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49984 if eval "test \"\${$as_ac_var+set}\" = set"; then
49985 echo $ECHO_N "(cached) $ECHO_C" >&6
49986 else
49987 if test x$gcc_no_link = xyes; then
49988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49990 { (exit 1); exit 1; }; }
49992 cat >conftest.$ac_ext <<_ACEOF
49993 /* confdefs.h. */
49994 _ACEOF
49995 cat confdefs.h >>conftest.$ac_ext
49996 cat >>conftest.$ac_ext <<_ACEOF
49997 /* end confdefs.h. */
49998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50000 #define $ac_func innocuous_$ac_func
50002 /* System header to define __stub macros and hopefully few prototypes,
50003 which can conflict with char $ac_func (); below.
50004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50005 <limits.h> exists even on freestanding compilers. */
50007 #ifdef __STDC__
50008 # include <limits.h>
50009 #else
50010 # include <assert.h>
50011 #endif
50013 #undef $ac_func
50015 /* Override any gcc2 internal prototype to avoid an error. */
50016 #ifdef __cplusplus
50017 extern "C"
50019 #endif
50020 /* We use char because int might match the return type of a gcc2
50021 builtin and then its argument prototype would still apply. */
50022 char $ac_func ();
50023 /* The GNU C library defines this for functions which it implements
50024 to always fail with ENOSYS. Some functions are actually named
50025 something starting with __ and the normal name is an alias. */
50026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50027 choke me
50028 #else
50029 char (*f) () = $ac_func;
50030 #endif
50031 #ifdef __cplusplus
50033 #endif
50036 main ()
50038 return f != $ac_func;
50040 return 0;
50042 _ACEOF
50043 rm -f conftest.$ac_objext conftest$ac_exeext
50044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50045 (eval $ac_link) 2>conftest.er1
50046 ac_status=$?
50047 grep -v '^ *+' conftest.er1 >conftest.err
50048 rm -f conftest.er1
50049 cat conftest.err >&5
50050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051 (exit $ac_status); } &&
50052 { ac_try='test -z "$ac_c_werror_flag"
50053 || test ! -s conftest.err'
50054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50055 (eval $ac_try) 2>&5
50056 ac_status=$?
50057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50058 (exit $ac_status); }; } &&
50059 { ac_try='test -s conftest$ac_exeext'
50060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50061 (eval $ac_try) 2>&5
50062 ac_status=$?
50063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50064 (exit $ac_status); }; }; then
50065 eval "$as_ac_var=yes"
50066 else
50067 echo "$as_me: failed program was:" >&5
50068 sed 's/^/| /' conftest.$ac_ext >&5
50070 eval "$as_ac_var=no"
50072 rm -f conftest.err conftest.$ac_objext \
50073 conftest$ac_exeext conftest.$ac_ext
50075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50077 if test `eval echo '${'$as_ac_var'}'` = yes; then
50078 cat >>confdefs.h <<_ACEOF
50079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50080 _ACEOF
50083 done
50092 LIBS="$ac_save_LIBS"
50093 CXXFLAGS="$ac_save_CXXFLAGS"
50097 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50098 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50099 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50100 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50101 echo $ECHO_N "(cached) $ECHO_C" >&6
50102 else
50106 ac_ext=cc
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50112 cat >conftest.$ac_ext <<_ACEOF
50113 /* confdefs.h. */
50114 _ACEOF
50115 cat confdefs.h >>conftest.$ac_ext
50116 cat >>conftest.$ac_ext <<_ACEOF
50117 /* end confdefs.h. */
50118 #include <math.h>
50120 main ()
50122 __builtin_abs(0);
50124 return 0;
50126 _ACEOF
50127 rm -f conftest.$ac_objext
50128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50129 (eval $ac_compile) 2>conftest.er1
50130 ac_status=$?
50131 grep -v '^ *+' conftest.er1 >conftest.err
50132 rm -f conftest.er1
50133 cat conftest.err >&5
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); } &&
50136 { ac_try='test -z "$ac_cxx_werror_flag"
50137 || test ! -s conftest.err'
50138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139 (eval $ac_try) 2>&5
50140 ac_status=$?
50141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142 (exit $ac_status); }; } &&
50143 { ac_try='test -s conftest.$ac_objext'
50144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145 (eval $ac_try) 2>&5
50146 ac_status=$?
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); }; }; then
50149 glibcxx_cv_func___builtin_abs_use=yes
50150 else
50151 echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50154 glibcxx_cv_func___builtin_abs_use=no
50156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50167 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50168 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50169 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50170 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50171 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50172 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50173 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50174 echo $ECHO_N "(cached) $ECHO_C" >&6
50175 else
50177 if test x$gcc_no_link = xyes; then
50178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50180 { (exit 1); exit 1; }; }
50182 cat >conftest.$ac_ext <<_ACEOF
50183 /* confdefs.h. */
50184 _ACEOF
50185 cat confdefs.h >>conftest.$ac_ext
50186 cat >>conftest.$ac_ext <<_ACEOF
50187 /* end confdefs.h. */
50188 #include <math.h>
50190 main ()
50192 __builtin_abs(0);
50194 return 0;
50196 _ACEOF
50197 rm -f conftest.$ac_objext conftest$ac_exeext
50198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50199 (eval $ac_link) 2>conftest.er1
50200 ac_status=$?
50201 grep -v '^ *+' conftest.er1 >conftest.err
50202 rm -f conftest.er1
50203 cat conftest.err >&5
50204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50205 (exit $ac_status); } &&
50206 { ac_try='test -z "$ac_c_werror_flag"
50207 || test ! -s conftest.err'
50208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50209 (eval $ac_try) 2>&5
50210 ac_status=$?
50211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50212 (exit $ac_status); }; } &&
50213 { ac_try='test -s conftest$ac_exeext'
50214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50215 (eval $ac_try) 2>&5
50216 ac_status=$?
50217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50218 (exit $ac_status); }; }; then
50219 glibcxx_cv_func___builtin_abs_link=yes
50220 else
50221 echo "$as_me: failed program was:" >&5
50222 sed 's/^/| /' conftest.$ac_ext >&5
50224 glibcxx_cv_func___builtin_abs_link=no
50226 rm -f conftest.err conftest.$ac_objext \
50227 conftest$ac_exeext conftest.$ac_ext
50232 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50233 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50235 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50237 cat >>confdefs.h <<\_ACEOF
50238 #define HAVE___BUILTIN_ABS 1
50239 _ACEOF
50246 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50247 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50248 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50249 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50250 echo $ECHO_N "(cached) $ECHO_C" >&6
50251 else
50255 ac_ext=cc
50256 ac_cpp='$CXXCPP $CPPFLAGS'
50257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50261 cat >conftest.$ac_ext <<_ACEOF
50262 /* confdefs.h. */
50263 _ACEOF
50264 cat confdefs.h >>conftest.$ac_ext
50265 cat >>conftest.$ac_ext <<_ACEOF
50266 /* end confdefs.h. */
50267 #include <math.h>
50269 main ()
50271 __builtin_fabsf(0);
50273 return 0;
50275 _ACEOF
50276 rm -f conftest.$ac_objext
50277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50278 (eval $ac_compile) 2>conftest.er1
50279 ac_status=$?
50280 grep -v '^ *+' conftest.er1 >conftest.err
50281 rm -f conftest.er1
50282 cat conftest.err >&5
50283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284 (exit $ac_status); } &&
50285 { ac_try='test -z "$ac_cxx_werror_flag"
50286 || test ! -s conftest.err'
50287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288 (eval $ac_try) 2>&5
50289 ac_status=$?
50290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291 (exit $ac_status); }; } &&
50292 { ac_try='test -s conftest.$ac_objext'
50293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50294 (eval $ac_try) 2>&5
50295 ac_status=$?
50296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50297 (exit $ac_status); }; }; then
50298 glibcxx_cv_func___builtin_fabsf_use=yes
50299 else
50300 echo "$as_me: failed program was:" >&5
50301 sed 's/^/| /' conftest.$ac_ext >&5
50303 glibcxx_cv_func___builtin_fabsf_use=no
50305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50306 ac_ext=c
50307 ac_cpp='$CPP $CPPFLAGS'
50308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50316 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50317 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50318 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50319 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50320 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50321 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50322 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50323 echo $ECHO_N "(cached) $ECHO_C" >&6
50324 else
50326 if test x$gcc_no_link = xyes; then
50327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50329 { (exit 1); exit 1; }; }
50331 cat >conftest.$ac_ext <<_ACEOF
50332 /* confdefs.h. */
50333 _ACEOF
50334 cat confdefs.h >>conftest.$ac_ext
50335 cat >>conftest.$ac_ext <<_ACEOF
50336 /* end confdefs.h. */
50337 #include <math.h>
50339 main ()
50341 __builtin_fabsf(0);
50343 return 0;
50345 _ACEOF
50346 rm -f conftest.$ac_objext conftest$ac_exeext
50347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50348 (eval $ac_link) 2>conftest.er1
50349 ac_status=$?
50350 grep -v '^ *+' conftest.er1 >conftest.err
50351 rm -f conftest.er1
50352 cat conftest.err >&5
50353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354 (exit $ac_status); } &&
50355 { ac_try='test -z "$ac_c_werror_flag"
50356 || test ! -s conftest.err'
50357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50358 (eval $ac_try) 2>&5
50359 ac_status=$?
50360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50361 (exit $ac_status); }; } &&
50362 { ac_try='test -s conftest$ac_exeext'
50363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50364 (eval $ac_try) 2>&5
50365 ac_status=$?
50366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50367 (exit $ac_status); }; }; then
50368 glibcxx_cv_func___builtin_fabsf_link=yes
50369 else
50370 echo "$as_me: failed program was:" >&5
50371 sed 's/^/| /' conftest.$ac_ext >&5
50373 glibcxx_cv_func___builtin_fabsf_link=no
50375 rm -f conftest.err conftest.$ac_objext \
50376 conftest$ac_exeext conftest.$ac_ext
50381 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50382 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50384 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50386 cat >>confdefs.h <<\_ACEOF
50387 #define HAVE___BUILTIN_FABSF 1
50388 _ACEOF
50395 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50396 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50397 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50398 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50399 echo $ECHO_N "(cached) $ECHO_C" >&6
50400 else
50404 ac_ext=cc
50405 ac_cpp='$CXXCPP $CPPFLAGS'
50406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50410 cat >conftest.$ac_ext <<_ACEOF
50411 /* confdefs.h. */
50412 _ACEOF
50413 cat confdefs.h >>conftest.$ac_ext
50414 cat >>conftest.$ac_ext <<_ACEOF
50415 /* end confdefs.h. */
50416 #include <math.h>
50418 main ()
50420 __builtin_fabs(0);
50422 return 0;
50424 _ACEOF
50425 rm -f conftest.$ac_objext
50426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50427 (eval $ac_compile) 2>conftest.er1
50428 ac_status=$?
50429 grep -v '^ *+' conftest.er1 >conftest.err
50430 rm -f conftest.er1
50431 cat conftest.err >&5
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); } &&
50434 { ac_try='test -z "$ac_cxx_werror_flag"
50435 || test ! -s conftest.err'
50436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50437 (eval $ac_try) 2>&5
50438 ac_status=$?
50439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50440 (exit $ac_status); }; } &&
50441 { ac_try='test -s conftest.$ac_objext'
50442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50443 (eval $ac_try) 2>&5
50444 ac_status=$?
50445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50446 (exit $ac_status); }; }; then
50447 glibcxx_cv_func___builtin_fabs_use=yes
50448 else
50449 echo "$as_me: failed program was:" >&5
50450 sed 's/^/| /' conftest.$ac_ext >&5
50452 glibcxx_cv_func___builtin_fabs_use=no
50454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50455 ac_ext=c
50456 ac_cpp='$CPP $CPPFLAGS'
50457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50465 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50466 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50467 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50468 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50469 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50470 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50471 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50472 echo $ECHO_N "(cached) $ECHO_C" >&6
50473 else
50475 if test x$gcc_no_link = xyes; then
50476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50478 { (exit 1); exit 1; }; }
50480 cat >conftest.$ac_ext <<_ACEOF
50481 /* confdefs.h. */
50482 _ACEOF
50483 cat confdefs.h >>conftest.$ac_ext
50484 cat >>conftest.$ac_ext <<_ACEOF
50485 /* end confdefs.h. */
50486 #include <math.h>
50488 main ()
50490 __builtin_fabs(0);
50492 return 0;
50494 _ACEOF
50495 rm -f conftest.$ac_objext conftest$ac_exeext
50496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50497 (eval $ac_link) 2>conftest.er1
50498 ac_status=$?
50499 grep -v '^ *+' conftest.er1 >conftest.err
50500 rm -f conftest.er1
50501 cat conftest.err >&5
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); } &&
50504 { ac_try='test -z "$ac_c_werror_flag"
50505 || test ! -s conftest.err'
50506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50507 (eval $ac_try) 2>&5
50508 ac_status=$?
50509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50510 (exit $ac_status); }; } &&
50511 { ac_try='test -s conftest$ac_exeext'
50512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50513 (eval $ac_try) 2>&5
50514 ac_status=$?
50515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516 (exit $ac_status); }; }; then
50517 glibcxx_cv_func___builtin_fabs_link=yes
50518 else
50519 echo "$as_me: failed program was:" >&5
50520 sed 's/^/| /' conftest.$ac_ext >&5
50522 glibcxx_cv_func___builtin_fabs_link=no
50524 rm -f conftest.err conftest.$ac_objext \
50525 conftest$ac_exeext conftest.$ac_ext
50530 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50531 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50533 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50535 cat >>confdefs.h <<\_ACEOF
50536 #define HAVE___BUILTIN_FABS 1
50537 _ACEOF
50544 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50545 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50546 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50547 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50548 echo $ECHO_N "(cached) $ECHO_C" >&6
50549 else
50553 ac_ext=cc
50554 ac_cpp='$CXXCPP $CPPFLAGS'
50555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50559 cat >conftest.$ac_ext <<_ACEOF
50560 /* confdefs.h. */
50561 _ACEOF
50562 cat confdefs.h >>conftest.$ac_ext
50563 cat >>conftest.$ac_ext <<_ACEOF
50564 /* end confdefs.h. */
50565 #include <math.h>
50567 main ()
50569 __builtin_fabsl(0);
50571 return 0;
50573 _ACEOF
50574 rm -f conftest.$ac_objext
50575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50576 (eval $ac_compile) 2>conftest.er1
50577 ac_status=$?
50578 grep -v '^ *+' conftest.er1 >conftest.err
50579 rm -f conftest.er1
50580 cat conftest.err >&5
50581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582 (exit $ac_status); } &&
50583 { ac_try='test -z "$ac_cxx_werror_flag"
50584 || test ! -s conftest.err'
50585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50586 (eval $ac_try) 2>&5
50587 ac_status=$?
50588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50589 (exit $ac_status); }; } &&
50590 { ac_try='test -s conftest.$ac_objext'
50591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50592 (eval $ac_try) 2>&5
50593 ac_status=$?
50594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50595 (exit $ac_status); }; }; then
50596 glibcxx_cv_func___builtin_fabsl_use=yes
50597 else
50598 echo "$as_me: failed program was:" >&5
50599 sed 's/^/| /' conftest.$ac_ext >&5
50601 glibcxx_cv_func___builtin_fabsl_use=no
50603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50604 ac_ext=c
50605 ac_cpp='$CPP $CPPFLAGS'
50606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50614 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50615 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50616 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50617 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50618 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50619 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50620 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50621 echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50624 if test x$gcc_no_link = xyes; then
50625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50627 { (exit 1); exit 1; }; }
50629 cat >conftest.$ac_ext <<_ACEOF
50630 /* confdefs.h. */
50631 _ACEOF
50632 cat confdefs.h >>conftest.$ac_ext
50633 cat >>conftest.$ac_ext <<_ACEOF
50634 /* end confdefs.h. */
50635 #include <math.h>
50637 main ()
50639 __builtin_fabsl(0);
50641 return 0;
50643 _ACEOF
50644 rm -f conftest.$ac_objext conftest$ac_exeext
50645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50646 (eval $ac_link) 2>conftest.er1
50647 ac_status=$?
50648 grep -v '^ *+' conftest.er1 >conftest.err
50649 rm -f conftest.er1
50650 cat conftest.err >&5
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); } &&
50653 { ac_try='test -z "$ac_c_werror_flag"
50654 || test ! -s conftest.err'
50655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50656 (eval $ac_try) 2>&5
50657 ac_status=$?
50658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659 (exit $ac_status); }; } &&
50660 { ac_try='test -s conftest$ac_exeext'
50661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662 (eval $ac_try) 2>&5
50663 ac_status=$?
50664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665 (exit $ac_status); }; }; then
50666 glibcxx_cv_func___builtin_fabsl_link=yes
50667 else
50668 echo "$as_me: failed program was:" >&5
50669 sed 's/^/| /' conftest.$ac_ext >&5
50671 glibcxx_cv_func___builtin_fabsl_link=no
50673 rm -f conftest.err conftest.$ac_objext \
50674 conftest$ac_exeext conftest.$ac_ext
50679 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50680 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50682 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50684 cat >>confdefs.h <<\_ACEOF
50685 #define HAVE___BUILTIN_FABSL 1
50686 _ACEOF
50693 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50694 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50695 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50696 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50697 echo $ECHO_N "(cached) $ECHO_C" >&6
50698 else
50702 ac_ext=cc
50703 ac_cpp='$CXXCPP $CPPFLAGS'
50704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50708 cat >conftest.$ac_ext <<_ACEOF
50709 /* confdefs.h. */
50710 _ACEOF
50711 cat confdefs.h >>conftest.$ac_ext
50712 cat >>conftest.$ac_ext <<_ACEOF
50713 /* end confdefs.h. */
50714 #include <math.h>
50716 main ()
50718 __builtin_labs(0);
50720 return 0;
50722 _ACEOF
50723 rm -f conftest.$ac_objext
50724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50725 (eval $ac_compile) 2>conftest.er1
50726 ac_status=$?
50727 grep -v '^ *+' conftest.er1 >conftest.err
50728 rm -f conftest.er1
50729 cat conftest.err >&5
50730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731 (exit $ac_status); } &&
50732 { ac_try='test -z "$ac_cxx_werror_flag"
50733 || test ! -s conftest.err'
50734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50735 (eval $ac_try) 2>&5
50736 ac_status=$?
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); }; } &&
50739 { ac_try='test -s conftest.$ac_objext'
50740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50741 (eval $ac_try) 2>&5
50742 ac_status=$?
50743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50744 (exit $ac_status); }; }; then
50745 glibcxx_cv_func___builtin_labs_use=yes
50746 else
50747 echo "$as_me: failed program was:" >&5
50748 sed 's/^/| /' conftest.$ac_ext >&5
50750 glibcxx_cv_func___builtin_labs_use=no
50752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50753 ac_ext=c
50754 ac_cpp='$CPP $CPPFLAGS'
50755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50763 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50764 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50765 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50766 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50767 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50768 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50769 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50770 echo $ECHO_N "(cached) $ECHO_C" >&6
50771 else
50773 if test x$gcc_no_link = xyes; then
50774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50776 { (exit 1); exit 1; }; }
50778 cat >conftest.$ac_ext <<_ACEOF
50779 /* confdefs.h. */
50780 _ACEOF
50781 cat confdefs.h >>conftest.$ac_ext
50782 cat >>conftest.$ac_ext <<_ACEOF
50783 /* end confdefs.h. */
50784 #include <math.h>
50786 main ()
50788 __builtin_labs(0);
50790 return 0;
50792 _ACEOF
50793 rm -f conftest.$ac_objext conftest$ac_exeext
50794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50795 (eval $ac_link) 2>conftest.er1
50796 ac_status=$?
50797 grep -v '^ *+' conftest.er1 >conftest.err
50798 rm -f conftest.er1
50799 cat conftest.err >&5
50800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50801 (exit $ac_status); } &&
50802 { ac_try='test -z "$ac_c_werror_flag"
50803 || test ! -s conftest.err'
50804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50805 (eval $ac_try) 2>&5
50806 ac_status=$?
50807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50808 (exit $ac_status); }; } &&
50809 { ac_try='test -s conftest$ac_exeext'
50810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50811 (eval $ac_try) 2>&5
50812 ac_status=$?
50813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50814 (exit $ac_status); }; }; then
50815 glibcxx_cv_func___builtin_labs_link=yes
50816 else
50817 echo "$as_me: failed program was:" >&5
50818 sed 's/^/| /' conftest.$ac_ext >&5
50820 glibcxx_cv_func___builtin_labs_link=no
50822 rm -f conftest.err conftest.$ac_objext \
50823 conftest$ac_exeext conftest.$ac_ext
50828 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50829 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50831 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50833 cat >>confdefs.h <<\_ACEOF
50834 #define HAVE___BUILTIN_LABS 1
50835 _ACEOF
50843 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50844 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50845 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50846 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50847 echo $ECHO_N "(cached) $ECHO_C" >&6
50848 else
50852 ac_ext=cc
50853 ac_cpp='$CXXCPP $CPPFLAGS'
50854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50858 cat >conftest.$ac_ext <<_ACEOF
50859 /* confdefs.h. */
50860 _ACEOF
50861 cat confdefs.h >>conftest.$ac_ext
50862 cat >>conftest.$ac_ext <<_ACEOF
50863 /* end confdefs.h. */
50864 #include <math.h>
50866 main ()
50868 __builtin_sqrtf(0);
50870 return 0;
50872 _ACEOF
50873 rm -f conftest.$ac_objext
50874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50875 (eval $ac_compile) 2>conftest.er1
50876 ac_status=$?
50877 grep -v '^ *+' conftest.er1 >conftest.err
50878 rm -f conftest.er1
50879 cat conftest.err >&5
50880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50881 (exit $ac_status); } &&
50882 { ac_try='test -z "$ac_cxx_werror_flag"
50883 || test ! -s conftest.err'
50884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50885 (eval $ac_try) 2>&5
50886 ac_status=$?
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); }; } &&
50889 { ac_try='test -s conftest.$ac_objext'
50890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50891 (eval $ac_try) 2>&5
50892 ac_status=$?
50893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50894 (exit $ac_status); }; }; then
50895 glibcxx_cv_func___builtin_sqrtf_use=yes
50896 else
50897 echo "$as_me: failed program was:" >&5
50898 sed 's/^/| /' conftest.$ac_ext >&5
50900 glibcxx_cv_func___builtin_sqrtf_use=no
50902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50903 ac_ext=c
50904 ac_cpp='$CPP $CPPFLAGS'
50905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50913 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50914 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50915 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50916 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50917 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50918 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50919 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50920 echo $ECHO_N "(cached) $ECHO_C" >&6
50921 else
50923 if test x$gcc_no_link = xyes; then
50924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50926 { (exit 1); exit 1; }; }
50928 cat >conftest.$ac_ext <<_ACEOF
50929 /* confdefs.h. */
50930 _ACEOF
50931 cat confdefs.h >>conftest.$ac_ext
50932 cat >>conftest.$ac_ext <<_ACEOF
50933 /* end confdefs.h. */
50934 #include <math.h>
50936 main ()
50938 __builtin_sqrtf(0);
50940 return 0;
50942 _ACEOF
50943 rm -f conftest.$ac_objext conftest$ac_exeext
50944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50945 (eval $ac_link) 2>conftest.er1
50946 ac_status=$?
50947 grep -v '^ *+' conftest.er1 >conftest.err
50948 rm -f conftest.er1
50949 cat conftest.err >&5
50950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50951 (exit $ac_status); } &&
50952 { ac_try='test -z "$ac_c_werror_flag"
50953 || test ! -s conftest.err'
50954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50955 (eval $ac_try) 2>&5
50956 ac_status=$?
50957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50958 (exit $ac_status); }; } &&
50959 { ac_try='test -s conftest$ac_exeext'
50960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50961 (eval $ac_try) 2>&5
50962 ac_status=$?
50963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50964 (exit $ac_status); }; }; then
50965 glibcxx_cv_func___builtin_sqrtf_link=yes
50966 else
50967 echo "$as_me: failed program was:" >&5
50968 sed 's/^/| /' conftest.$ac_ext >&5
50970 glibcxx_cv_func___builtin_sqrtf_link=no
50972 rm -f conftest.err conftest.$ac_objext \
50973 conftest$ac_exeext conftest.$ac_ext
50978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50979 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50981 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50983 cat >>confdefs.h <<\_ACEOF
50984 #define HAVE___BUILTIN_SQRTF 1
50985 _ACEOF
50992 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50993 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50994 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50995 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50997 else
51001 ac_ext=cc
51002 ac_cpp='$CXXCPP $CPPFLAGS'
51003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51007 cat >conftest.$ac_ext <<_ACEOF
51008 /* confdefs.h. */
51009 _ACEOF
51010 cat confdefs.h >>conftest.$ac_ext
51011 cat >>conftest.$ac_ext <<_ACEOF
51012 /* end confdefs.h. */
51013 #include <math.h>
51015 main ()
51017 __builtin_sqrt(0);
51019 return 0;
51021 _ACEOF
51022 rm -f conftest.$ac_objext
51023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51024 (eval $ac_compile) 2>conftest.er1
51025 ac_status=$?
51026 grep -v '^ *+' conftest.er1 >conftest.err
51027 rm -f conftest.er1
51028 cat conftest.err >&5
51029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51030 (exit $ac_status); } &&
51031 { ac_try='test -z "$ac_cxx_werror_flag"
51032 || test ! -s conftest.err'
51033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51034 (eval $ac_try) 2>&5
51035 ac_status=$?
51036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51037 (exit $ac_status); }; } &&
51038 { ac_try='test -s conftest.$ac_objext'
51039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51040 (eval $ac_try) 2>&5
51041 ac_status=$?
51042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51043 (exit $ac_status); }; }; then
51044 glibcxx_cv_func___builtin_sqrt_use=yes
51045 else
51046 echo "$as_me: failed program was:" >&5
51047 sed 's/^/| /' conftest.$ac_ext >&5
51049 glibcxx_cv_func___builtin_sqrt_use=no
51051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51052 ac_ext=c
51053 ac_cpp='$CPP $CPPFLAGS'
51054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51062 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51063 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51064 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51065 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51066 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51067 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51068 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51069 echo $ECHO_N "(cached) $ECHO_C" >&6
51070 else
51072 if test x$gcc_no_link = xyes; then
51073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51075 { (exit 1); exit 1; }; }
51077 cat >conftest.$ac_ext <<_ACEOF
51078 /* confdefs.h. */
51079 _ACEOF
51080 cat confdefs.h >>conftest.$ac_ext
51081 cat >>conftest.$ac_ext <<_ACEOF
51082 /* end confdefs.h. */
51083 #include <math.h>
51085 main ()
51087 __builtin_sqrt(0);
51089 return 0;
51091 _ACEOF
51092 rm -f conftest.$ac_objext conftest$ac_exeext
51093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51094 (eval $ac_link) 2>conftest.er1
51095 ac_status=$?
51096 grep -v '^ *+' conftest.er1 >conftest.err
51097 rm -f conftest.er1
51098 cat conftest.err >&5
51099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51100 (exit $ac_status); } &&
51101 { ac_try='test -z "$ac_c_werror_flag"
51102 || test ! -s conftest.err'
51103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51104 (eval $ac_try) 2>&5
51105 ac_status=$?
51106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51107 (exit $ac_status); }; } &&
51108 { ac_try='test -s conftest$ac_exeext'
51109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51110 (eval $ac_try) 2>&5
51111 ac_status=$?
51112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51113 (exit $ac_status); }; }; then
51114 glibcxx_cv_func___builtin_sqrt_link=yes
51115 else
51116 echo "$as_me: failed program was:" >&5
51117 sed 's/^/| /' conftest.$ac_ext >&5
51119 glibcxx_cv_func___builtin_sqrt_link=no
51121 rm -f conftest.err conftest.$ac_objext \
51122 conftest$ac_exeext conftest.$ac_ext
51127 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51128 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51130 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51132 cat >>confdefs.h <<\_ACEOF
51133 #define HAVE___BUILTIN_SQRT 1
51134 _ACEOF
51141 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51142 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51143 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51144 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51145 echo $ECHO_N "(cached) $ECHO_C" >&6
51146 else
51150 ac_ext=cc
51151 ac_cpp='$CXXCPP $CPPFLAGS'
51152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51156 cat >conftest.$ac_ext <<_ACEOF
51157 /* confdefs.h. */
51158 _ACEOF
51159 cat confdefs.h >>conftest.$ac_ext
51160 cat >>conftest.$ac_ext <<_ACEOF
51161 /* end confdefs.h. */
51162 #include <math.h>
51164 main ()
51166 __builtin_sqrtl(0);
51168 return 0;
51170 _ACEOF
51171 rm -f conftest.$ac_objext
51172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51173 (eval $ac_compile) 2>conftest.er1
51174 ac_status=$?
51175 grep -v '^ *+' conftest.er1 >conftest.err
51176 rm -f conftest.er1
51177 cat conftest.err >&5
51178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51179 (exit $ac_status); } &&
51180 { ac_try='test -z "$ac_cxx_werror_flag"
51181 || test ! -s conftest.err'
51182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51183 (eval $ac_try) 2>&5
51184 ac_status=$?
51185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51186 (exit $ac_status); }; } &&
51187 { ac_try='test -s conftest.$ac_objext'
51188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51189 (eval $ac_try) 2>&5
51190 ac_status=$?
51191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51192 (exit $ac_status); }; }; then
51193 glibcxx_cv_func___builtin_sqrtl_use=yes
51194 else
51195 echo "$as_me: failed program was:" >&5
51196 sed 's/^/| /' conftest.$ac_ext >&5
51198 glibcxx_cv_func___builtin_sqrtl_use=no
51200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51201 ac_ext=c
51202 ac_cpp='$CPP $CPPFLAGS'
51203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51211 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51212 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51213 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51214 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51215 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51216 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51217 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51218 echo $ECHO_N "(cached) $ECHO_C" >&6
51219 else
51221 if test x$gcc_no_link = xyes; then
51222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51224 { (exit 1); exit 1; }; }
51226 cat >conftest.$ac_ext <<_ACEOF
51227 /* confdefs.h. */
51228 _ACEOF
51229 cat confdefs.h >>conftest.$ac_ext
51230 cat >>conftest.$ac_ext <<_ACEOF
51231 /* end confdefs.h. */
51232 #include <math.h>
51234 main ()
51236 __builtin_sqrtl(0);
51238 return 0;
51240 _ACEOF
51241 rm -f conftest.$ac_objext conftest$ac_exeext
51242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51243 (eval $ac_link) 2>conftest.er1
51244 ac_status=$?
51245 grep -v '^ *+' conftest.er1 >conftest.err
51246 rm -f conftest.er1
51247 cat conftest.err >&5
51248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249 (exit $ac_status); } &&
51250 { ac_try='test -z "$ac_c_werror_flag"
51251 || test ! -s conftest.err'
51252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51253 (eval $ac_try) 2>&5
51254 ac_status=$?
51255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51256 (exit $ac_status); }; } &&
51257 { ac_try='test -s conftest$ac_exeext'
51258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51259 (eval $ac_try) 2>&5
51260 ac_status=$?
51261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51262 (exit $ac_status); }; }; then
51263 glibcxx_cv_func___builtin_sqrtl_link=yes
51264 else
51265 echo "$as_me: failed program was:" >&5
51266 sed 's/^/| /' conftest.$ac_ext >&5
51268 glibcxx_cv_func___builtin_sqrtl_link=no
51270 rm -f conftest.err conftest.$ac_objext \
51271 conftest$ac_exeext conftest.$ac_ext
51276 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51277 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51279 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51281 cat >>confdefs.h <<\_ACEOF
51282 #define HAVE___BUILTIN_SQRTL 1
51283 _ACEOF
51291 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51292 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51293 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51294 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51295 echo $ECHO_N "(cached) $ECHO_C" >&6
51296 else
51300 ac_ext=cc
51301 ac_cpp='$CXXCPP $CPPFLAGS'
51302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51306 cat >conftest.$ac_ext <<_ACEOF
51307 /* confdefs.h. */
51308 _ACEOF
51309 cat confdefs.h >>conftest.$ac_ext
51310 cat >>conftest.$ac_ext <<_ACEOF
51311 /* end confdefs.h. */
51312 #include <math.h>
51314 main ()
51316 __builtin_sinf(0);
51318 return 0;
51320 _ACEOF
51321 rm -f conftest.$ac_objext
51322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51323 (eval $ac_compile) 2>conftest.er1
51324 ac_status=$?
51325 grep -v '^ *+' conftest.er1 >conftest.err
51326 rm -f conftest.er1
51327 cat conftest.err >&5
51328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329 (exit $ac_status); } &&
51330 { ac_try='test -z "$ac_cxx_werror_flag"
51331 || test ! -s conftest.err'
51332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51333 (eval $ac_try) 2>&5
51334 ac_status=$?
51335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51336 (exit $ac_status); }; } &&
51337 { ac_try='test -s conftest.$ac_objext'
51338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51339 (eval $ac_try) 2>&5
51340 ac_status=$?
51341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51342 (exit $ac_status); }; }; then
51343 glibcxx_cv_func___builtin_sinf_use=yes
51344 else
51345 echo "$as_me: failed program was:" >&5
51346 sed 's/^/| /' conftest.$ac_ext >&5
51348 glibcxx_cv_func___builtin_sinf_use=no
51350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51351 ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51361 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51362 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51363 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51364 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51365 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51366 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51367 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51368 echo $ECHO_N "(cached) $ECHO_C" >&6
51369 else
51371 if test x$gcc_no_link = xyes; then
51372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51374 { (exit 1); exit 1; }; }
51376 cat >conftest.$ac_ext <<_ACEOF
51377 /* confdefs.h. */
51378 _ACEOF
51379 cat confdefs.h >>conftest.$ac_ext
51380 cat >>conftest.$ac_ext <<_ACEOF
51381 /* end confdefs.h. */
51382 #include <math.h>
51384 main ()
51386 __builtin_sinf(0);
51388 return 0;
51390 _ACEOF
51391 rm -f conftest.$ac_objext conftest$ac_exeext
51392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51393 (eval $ac_link) 2>conftest.er1
51394 ac_status=$?
51395 grep -v '^ *+' conftest.er1 >conftest.err
51396 rm -f conftest.er1
51397 cat conftest.err >&5
51398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51399 (exit $ac_status); } &&
51400 { ac_try='test -z "$ac_c_werror_flag"
51401 || test ! -s conftest.err'
51402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51403 (eval $ac_try) 2>&5
51404 ac_status=$?
51405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406 (exit $ac_status); }; } &&
51407 { ac_try='test -s conftest$ac_exeext'
51408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51409 (eval $ac_try) 2>&5
51410 ac_status=$?
51411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51412 (exit $ac_status); }; }; then
51413 glibcxx_cv_func___builtin_sinf_link=yes
51414 else
51415 echo "$as_me: failed program was:" >&5
51416 sed 's/^/| /' conftest.$ac_ext >&5
51418 glibcxx_cv_func___builtin_sinf_link=no
51420 rm -f conftest.err conftest.$ac_objext \
51421 conftest$ac_exeext conftest.$ac_ext
51426 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51427 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51429 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51431 cat >>confdefs.h <<\_ACEOF
51432 #define HAVE___BUILTIN_SINF 1
51433 _ACEOF
51440 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51441 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51442 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51443 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51444 echo $ECHO_N "(cached) $ECHO_C" >&6
51445 else
51449 ac_ext=cc
51450 ac_cpp='$CXXCPP $CPPFLAGS'
51451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51455 cat >conftest.$ac_ext <<_ACEOF
51456 /* confdefs.h. */
51457 _ACEOF
51458 cat confdefs.h >>conftest.$ac_ext
51459 cat >>conftest.$ac_ext <<_ACEOF
51460 /* end confdefs.h. */
51461 #include <math.h>
51463 main ()
51465 __builtin_sin(0);
51467 return 0;
51469 _ACEOF
51470 rm -f conftest.$ac_objext
51471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51472 (eval $ac_compile) 2>conftest.er1
51473 ac_status=$?
51474 grep -v '^ *+' conftest.er1 >conftest.err
51475 rm -f conftest.er1
51476 cat conftest.err >&5
51477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51478 (exit $ac_status); } &&
51479 { ac_try='test -z "$ac_cxx_werror_flag"
51480 || test ! -s conftest.err'
51481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51482 (eval $ac_try) 2>&5
51483 ac_status=$?
51484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51485 (exit $ac_status); }; } &&
51486 { ac_try='test -s conftest.$ac_objext'
51487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51488 (eval $ac_try) 2>&5
51489 ac_status=$?
51490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51491 (exit $ac_status); }; }; then
51492 glibcxx_cv_func___builtin_sin_use=yes
51493 else
51494 echo "$as_me: failed program was:" >&5
51495 sed 's/^/| /' conftest.$ac_ext >&5
51497 glibcxx_cv_func___builtin_sin_use=no
51499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51500 ac_ext=c
51501 ac_cpp='$CPP $CPPFLAGS'
51502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51510 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51511 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51512 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51513 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51514 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51515 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51516 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51517 echo $ECHO_N "(cached) $ECHO_C" >&6
51518 else
51520 if test x$gcc_no_link = xyes; then
51521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51523 { (exit 1); exit 1; }; }
51525 cat >conftest.$ac_ext <<_ACEOF
51526 /* confdefs.h. */
51527 _ACEOF
51528 cat confdefs.h >>conftest.$ac_ext
51529 cat >>conftest.$ac_ext <<_ACEOF
51530 /* end confdefs.h. */
51531 #include <math.h>
51533 main ()
51535 __builtin_sin(0);
51537 return 0;
51539 _ACEOF
51540 rm -f conftest.$ac_objext conftest$ac_exeext
51541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51542 (eval $ac_link) 2>conftest.er1
51543 ac_status=$?
51544 grep -v '^ *+' conftest.er1 >conftest.err
51545 rm -f conftest.er1
51546 cat conftest.err >&5
51547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51548 (exit $ac_status); } &&
51549 { ac_try='test -z "$ac_c_werror_flag"
51550 || test ! -s conftest.err'
51551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552 (eval $ac_try) 2>&5
51553 ac_status=$?
51554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555 (exit $ac_status); }; } &&
51556 { ac_try='test -s conftest$ac_exeext'
51557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51558 (eval $ac_try) 2>&5
51559 ac_status=$?
51560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51561 (exit $ac_status); }; }; then
51562 glibcxx_cv_func___builtin_sin_link=yes
51563 else
51564 echo "$as_me: failed program was:" >&5
51565 sed 's/^/| /' conftest.$ac_ext >&5
51567 glibcxx_cv_func___builtin_sin_link=no
51569 rm -f conftest.err conftest.$ac_objext \
51570 conftest$ac_exeext conftest.$ac_ext
51575 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51576 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51578 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51580 cat >>confdefs.h <<\_ACEOF
51581 #define HAVE___BUILTIN_SIN 1
51582 _ACEOF
51589 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51590 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51591 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51592 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51593 echo $ECHO_N "(cached) $ECHO_C" >&6
51594 else
51598 ac_ext=cc
51599 ac_cpp='$CXXCPP $CPPFLAGS'
51600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51604 cat >conftest.$ac_ext <<_ACEOF
51605 /* confdefs.h. */
51606 _ACEOF
51607 cat confdefs.h >>conftest.$ac_ext
51608 cat >>conftest.$ac_ext <<_ACEOF
51609 /* end confdefs.h. */
51610 #include <math.h>
51612 main ()
51614 __builtin_sinl(0);
51616 return 0;
51618 _ACEOF
51619 rm -f conftest.$ac_objext
51620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51621 (eval $ac_compile) 2>conftest.er1
51622 ac_status=$?
51623 grep -v '^ *+' conftest.er1 >conftest.err
51624 rm -f conftest.er1
51625 cat conftest.err >&5
51626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627 (exit $ac_status); } &&
51628 { ac_try='test -z "$ac_cxx_werror_flag"
51629 || test ! -s conftest.err'
51630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51631 (eval $ac_try) 2>&5
51632 ac_status=$?
51633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634 (exit $ac_status); }; } &&
51635 { ac_try='test -s conftest.$ac_objext'
51636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637 (eval $ac_try) 2>&5
51638 ac_status=$?
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); }; }; then
51641 glibcxx_cv_func___builtin_sinl_use=yes
51642 else
51643 echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51646 glibcxx_cv_func___builtin_sinl_use=no
51648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51649 ac_ext=c
51650 ac_cpp='$CPP $CPPFLAGS'
51651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51659 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51660 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51661 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51662 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51663 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51664 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51665 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51666 echo $ECHO_N "(cached) $ECHO_C" >&6
51667 else
51669 if test x$gcc_no_link = xyes; then
51670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51672 { (exit 1); exit 1; }; }
51674 cat >conftest.$ac_ext <<_ACEOF
51675 /* confdefs.h. */
51676 _ACEOF
51677 cat confdefs.h >>conftest.$ac_ext
51678 cat >>conftest.$ac_ext <<_ACEOF
51679 /* end confdefs.h. */
51680 #include <math.h>
51682 main ()
51684 __builtin_sinl(0);
51686 return 0;
51688 _ACEOF
51689 rm -f conftest.$ac_objext conftest$ac_exeext
51690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51691 (eval $ac_link) 2>conftest.er1
51692 ac_status=$?
51693 grep -v '^ *+' conftest.er1 >conftest.err
51694 rm -f conftest.er1
51695 cat conftest.err >&5
51696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51697 (exit $ac_status); } &&
51698 { ac_try='test -z "$ac_c_werror_flag"
51699 || test ! -s conftest.err'
51700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51701 (eval $ac_try) 2>&5
51702 ac_status=$?
51703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51704 (exit $ac_status); }; } &&
51705 { ac_try='test -s conftest$ac_exeext'
51706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51707 (eval $ac_try) 2>&5
51708 ac_status=$?
51709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51710 (exit $ac_status); }; }; then
51711 glibcxx_cv_func___builtin_sinl_link=yes
51712 else
51713 echo "$as_me: failed program was:" >&5
51714 sed 's/^/| /' conftest.$ac_ext >&5
51716 glibcxx_cv_func___builtin_sinl_link=no
51718 rm -f conftest.err conftest.$ac_objext \
51719 conftest$ac_exeext conftest.$ac_ext
51724 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51725 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51727 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51729 cat >>confdefs.h <<\_ACEOF
51730 #define HAVE___BUILTIN_SINL 1
51731 _ACEOF
51739 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51740 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51741 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51742 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51743 echo $ECHO_N "(cached) $ECHO_C" >&6
51744 else
51748 ac_ext=cc
51749 ac_cpp='$CXXCPP $CPPFLAGS'
51750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51754 cat >conftest.$ac_ext <<_ACEOF
51755 /* confdefs.h. */
51756 _ACEOF
51757 cat confdefs.h >>conftest.$ac_ext
51758 cat >>conftest.$ac_ext <<_ACEOF
51759 /* end confdefs.h. */
51760 #include <math.h>
51762 main ()
51764 __builtin_cosf(0);
51766 return 0;
51768 _ACEOF
51769 rm -f conftest.$ac_objext
51770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51771 (eval $ac_compile) 2>conftest.er1
51772 ac_status=$?
51773 grep -v '^ *+' conftest.er1 >conftest.err
51774 rm -f conftest.er1
51775 cat conftest.err >&5
51776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51777 (exit $ac_status); } &&
51778 { ac_try='test -z "$ac_cxx_werror_flag"
51779 || test ! -s conftest.err'
51780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51781 (eval $ac_try) 2>&5
51782 ac_status=$?
51783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51784 (exit $ac_status); }; } &&
51785 { ac_try='test -s conftest.$ac_objext'
51786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51787 (eval $ac_try) 2>&5
51788 ac_status=$?
51789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51790 (exit $ac_status); }; }; then
51791 glibcxx_cv_func___builtin_cosf_use=yes
51792 else
51793 echo "$as_me: failed program was:" >&5
51794 sed 's/^/| /' conftest.$ac_ext >&5
51796 glibcxx_cv_func___builtin_cosf_use=no
51798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51799 ac_ext=c
51800 ac_cpp='$CPP $CPPFLAGS'
51801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51810 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51811 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51812 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51813 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51814 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51815 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51816 echo $ECHO_N "(cached) $ECHO_C" >&6
51817 else
51819 if test x$gcc_no_link = xyes; then
51820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51822 { (exit 1); exit 1; }; }
51824 cat >conftest.$ac_ext <<_ACEOF
51825 /* confdefs.h. */
51826 _ACEOF
51827 cat confdefs.h >>conftest.$ac_ext
51828 cat >>conftest.$ac_ext <<_ACEOF
51829 /* end confdefs.h. */
51830 #include <math.h>
51832 main ()
51834 __builtin_cosf(0);
51836 return 0;
51838 _ACEOF
51839 rm -f conftest.$ac_objext conftest$ac_exeext
51840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51841 (eval $ac_link) 2>conftest.er1
51842 ac_status=$?
51843 grep -v '^ *+' conftest.er1 >conftest.err
51844 rm -f conftest.er1
51845 cat conftest.err >&5
51846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51847 (exit $ac_status); } &&
51848 { ac_try='test -z "$ac_c_werror_flag"
51849 || test ! -s conftest.err'
51850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51851 (eval $ac_try) 2>&5
51852 ac_status=$?
51853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854 (exit $ac_status); }; } &&
51855 { ac_try='test -s conftest$ac_exeext'
51856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51857 (eval $ac_try) 2>&5
51858 ac_status=$?
51859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51860 (exit $ac_status); }; }; then
51861 glibcxx_cv_func___builtin_cosf_link=yes
51862 else
51863 echo "$as_me: failed program was:" >&5
51864 sed 's/^/| /' conftest.$ac_ext >&5
51866 glibcxx_cv_func___builtin_cosf_link=no
51868 rm -f conftest.err conftest.$ac_objext \
51869 conftest$ac_exeext conftest.$ac_ext
51874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51875 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51877 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51879 cat >>confdefs.h <<\_ACEOF
51880 #define HAVE___BUILTIN_COSF 1
51881 _ACEOF
51888 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51889 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51890 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51891 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51892 echo $ECHO_N "(cached) $ECHO_C" >&6
51893 else
51897 ac_ext=cc
51898 ac_cpp='$CXXCPP $CPPFLAGS'
51899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51903 cat >conftest.$ac_ext <<_ACEOF
51904 /* confdefs.h. */
51905 _ACEOF
51906 cat confdefs.h >>conftest.$ac_ext
51907 cat >>conftest.$ac_ext <<_ACEOF
51908 /* end confdefs.h. */
51909 #include <math.h>
51911 main ()
51913 __builtin_cos(0);
51915 return 0;
51917 _ACEOF
51918 rm -f conftest.$ac_objext
51919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51920 (eval $ac_compile) 2>conftest.er1
51921 ac_status=$?
51922 grep -v '^ *+' conftest.er1 >conftest.err
51923 rm -f conftest.er1
51924 cat conftest.err >&5
51925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51926 (exit $ac_status); } &&
51927 { ac_try='test -z "$ac_cxx_werror_flag"
51928 || test ! -s conftest.err'
51929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51930 (eval $ac_try) 2>&5
51931 ac_status=$?
51932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51933 (exit $ac_status); }; } &&
51934 { ac_try='test -s conftest.$ac_objext'
51935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51936 (eval $ac_try) 2>&5
51937 ac_status=$?
51938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51939 (exit $ac_status); }; }; then
51940 glibcxx_cv_func___builtin_cos_use=yes
51941 else
51942 echo "$as_me: failed program was:" >&5
51943 sed 's/^/| /' conftest.$ac_ext >&5
51945 glibcxx_cv_func___builtin_cos_use=no
51947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51948 ac_ext=c
51949 ac_cpp='$CPP $CPPFLAGS'
51950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51959 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51960 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51961 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51962 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51963 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51964 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51965 echo $ECHO_N "(cached) $ECHO_C" >&6
51966 else
51968 if test x$gcc_no_link = xyes; then
51969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51971 { (exit 1); exit 1; }; }
51973 cat >conftest.$ac_ext <<_ACEOF
51974 /* confdefs.h. */
51975 _ACEOF
51976 cat confdefs.h >>conftest.$ac_ext
51977 cat >>conftest.$ac_ext <<_ACEOF
51978 /* end confdefs.h. */
51979 #include <math.h>
51981 main ()
51983 __builtin_cos(0);
51985 return 0;
51987 _ACEOF
51988 rm -f conftest.$ac_objext conftest$ac_exeext
51989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51990 (eval $ac_link) 2>conftest.er1
51991 ac_status=$?
51992 grep -v '^ *+' conftest.er1 >conftest.err
51993 rm -f conftest.er1
51994 cat conftest.err >&5
51995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51996 (exit $ac_status); } &&
51997 { ac_try='test -z "$ac_c_werror_flag"
51998 || test ! -s conftest.err'
51999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52000 (eval $ac_try) 2>&5
52001 ac_status=$?
52002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52003 (exit $ac_status); }; } &&
52004 { ac_try='test -s conftest$ac_exeext'
52005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52006 (eval $ac_try) 2>&5
52007 ac_status=$?
52008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52009 (exit $ac_status); }; }; then
52010 glibcxx_cv_func___builtin_cos_link=yes
52011 else
52012 echo "$as_me: failed program was:" >&5
52013 sed 's/^/| /' conftest.$ac_ext >&5
52015 glibcxx_cv_func___builtin_cos_link=no
52017 rm -f conftest.err conftest.$ac_objext \
52018 conftest$ac_exeext conftest.$ac_ext
52023 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52024 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52026 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52028 cat >>confdefs.h <<\_ACEOF
52029 #define HAVE___BUILTIN_COS 1
52030 _ACEOF
52037 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52038 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52039 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52040 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52041 echo $ECHO_N "(cached) $ECHO_C" >&6
52042 else
52046 ac_ext=cc
52047 ac_cpp='$CXXCPP $CPPFLAGS'
52048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52052 cat >conftest.$ac_ext <<_ACEOF
52053 /* confdefs.h. */
52054 _ACEOF
52055 cat confdefs.h >>conftest.$ac_ext
52056 cat >>conftest.$ac_ext <<_ACEOF
52057 /* end confdefs.h. */
52058 #include <math.h>
52060 main ()
52062 __builtin_cosl(0);
52064 return 0;
52066 _ACEOF
52067 rm -f conftest.$ac_objext
52068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52069 (eval $ac_compile) 2>conftest.er1
52070 ac_status=$?
52071 grep -v '^ *+' conftest.er1 >conftest.err
52072 rm -f conftest.er1
52073 cat conftest.err >&5
52074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075 (exit $ac_status); } &&
52076 { ac_try='test -z "$ac_cxx_werror_flag"
52077 || test ! -s conftest.err'
52078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52079 (eval $ac_try) 2>&5
52080 ac_status=$?
52081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52082 (exit $ac_status); }; } &&
52083 { ac_try='test -s conftest.$ac_objext'
52084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52085 (eval $ac_try) 2>&5
52086 ac_status=$?
52087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52088 (exit $ac_status); }; }; then
52089 glibcxx_cv_func___builtin_cosl_use=yes
52090 else
52091 echo "$as_me: failed program was:" >&5
52092 sed 's/^/| /' conftest.$ac_ext >&5
52094 glibcxx_cv_func___builtin_cosl_use=no
52096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52097 ac_ext=c
52098 ac_cpp='$CPP $CPPFLAGS'
52099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52107 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52108 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52109 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52110 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52111 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52112 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52113 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52114 echo $ECHO_N "(cached) $ECHO_C" >&6
52115 else
52117 if test x$gcc_no_link = xyes; then
52118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52120 { (exit 1); exit 1; }; }
52122 cat >conftest.$ac_ext <<_ACEOF
52123 /* confdefs.h. */
52124 _ACEOF
52125 cat confdefs.h >>conftest.$ac_ext
52126 cat >>conftest.$ac_ext <<_ACEOF
52127 /* end confdefs.h. */
52128 #include <math.h>
52130 main ()
52132 __builtin_cosl(0);
52134 return 0;
52136 _ACEOF
52137 rm -f conftest.$ac_objext conftest$ac_exeext
52138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52139 (eval $ac_link) 2>conftest.er1
52140 ac_status=$?
52141 grep -v '^ *+' conftest.er1 >conftest.err
52142 rm -f conftest.er1
52143 cat conftest.err >&5
52144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52145 (exit $ac_status); } &&
52146 { ac_try='test -z "$ac_c_werror_flag"
52147 || test ! -s conftest.err'
52148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52149 (eval $ac_try) 2>&5
52150 ac_status=$?
52151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52152 (exit $ac_status); }; } &&
52153 { ac_try='test -s conftest$ac_exeext'
52154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52155 (eval $ac_try) 2>&5
52156 ac_status=$?
52157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52158 (exit $ac_status); }; }; then
52159 glibcxx_cv_func___builtin_cosl_link=yes
52160 else
52161 echo "$as_me: failed program was:" >&5
52162 sed 's/^/| /' conftest.$ac_ext >&5
52164 glibcxx_cv_func___builtin_cosl_link=no
52166 rm -f conftest.err conftest.$ac_objext \
52167 conftest$ac_exeext conftest.$ac_ext
52172 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52173 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52175 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52177 cat >>confdefs.h <<\_ACEOF
52178 #define HAVE___BUILTIN_COSL 1
52179 _ACEOF
52188 echo "$as_me:$LINENO: checking for main in -lm" >&5
52189 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52190 if test "${ac_cv_lib_m_main+set}" = set; then
52191 echo $ECHO_N "(cached) $ECHO_C" >&6
52192 else
52193 ac_check_lib_save_LIBS=$LIBS
52194 LIBS="-lm $LIBS"
52195 if test x$gcc_no_link = xyes; then
52196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52198 { (exit 1); exit 1; }; }
52200 cat >conftest.$ac_ext <<_ACEOF
52201 /* confdefs.h. */
52202 _ACEOF
52203 cat confdefs.h >>conftest.$ac_ext
52204 cat >>conftest.$ac_ext <<_ACEOF
52205 /* end confdefs.h. */
52209 main ()
52211 main ();
52213 return 0;
52215 _ACEOF
52216 rm -f conftest.$ac_objext conftest$ac_exeext
52217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52218 (eval $ac_link) 2>conftest.er1
52219 ac_status=$?
52220 grep -v '^ *+' conftest.er1 >conftest.err
52221 rm -f conftest.er1
52222 cat conftest.err >&5
52223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224 (exit $ac_status); } &&
52225 { ac_try='test -z "$ac_c_werror_flag"
52226 || test ! -s conftest.err'
52227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52228 (eval $ac_try) 2>&5
52229 ac_status=$?
52230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52231 (exit $ac_status); }; } &&
52232 { ac_try='test -s conftest$ac_exeext'
52233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52234 (eval $ac_try) 2>&5
52235 ac_status=$?
52236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237 (exit $ac_status); }; }; then
52238 ac_cv_lib_m_main=yes
52239 else
52240 echo "$as_me: failed program was:" >&5
52241 sed 's/^/| /' conftest.$ac_ext >&5
52243 ac_cv_lib_m_main=no
52245 rm -f conftest.err conftest.$ac_objext \
52246 conftest$ac_exeext conftest.$ac_ext
52247 LIBS=$ac_check_lib_save_LIBS
52249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52250 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52251 if test $ac_cv_lib_m_main = yes; then
52252 cat >>confdefs.h <<_ACEOF
52253 #define HAVE_LIBM 1
52254 _ACEOF
52256 LIBS="-lm $LIBS"
52261 for ac_func in copysignf
52263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52264 echo "$as_me:$LINENO: checking for $ac_func" >&5
52265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52266 if eval "test \"\${$as_ac_var+set}\" = set"; then
52267 echo $ECHO_N "(cached) $ECHO_C" >&6
52268 else
52269 if test x$gcc_no_link = xyes; then
52270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52272 { (exit 1); exit 1; }; }
52274 cat >conftest.$ac_ext <<_ACEOF
52275 /* confdefs.h. */
52276 _ACEOF
52277 cat confdefs.h >>conftest.$ac_ext
52278 cat >>conftest.$ac_ext <<_ACEOF
52279 /* end confdefs.h. */
52280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52282 #define $ac_func innocuous_$ac_func
52284 /* System header to define __stub macros and hopefully few prototypes,
52285 which can conflict with char $ac_func (); below.
52286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52287 <limits.h> exists even on freestanding compilers. */
52289 #ifdef __STDC__
52290 # include <limits.h>
52291 #else
52292 # include <assert.h>
52293 #endif
52295 #undef $ac_func
52297 /* Override any gcc2 internal prototype to avoid an error. */
52298 #ifdef __cplusplus
52299 extern "C"
52301 #endif
52302 /* We use char because int might match the return type of a gcc2
52303 builtin and then its argument prototype would still apply. */
52304 char $ac_func ();
52305 /* The GNU C library defines this for functions which it implements
52306 to always fail with ENOSYS. Some functions are actually named
52307 something starting with __ and the normal name is an alias. */
52308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52309 choke me
52310 #else
52311 char (*f) () = $ac_func;
52312 #endif
52313 #ifdef __cplusplus
52315 #endif
52318 main ()
52320 return f != $ac_func;
52322 return 0;
52324 _ACEOF
52325 rm -f conftest.$ac_objext conftest$ac_exeext
52326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52327 (eval $ac_link) 2>conftest.er1
52328 ac_status=$?
52329 grep -v '^ *+' conftest.er1 >conftest.err
52330 rm -f conftest.er1
52331 cat conftest.err >&5
52332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52333 (exit $ac_status); } &&
52334 { ac_try='test -z "$ac_c_werror_flag"
52335 || test ! -s conftest.err'
52336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52337 (eval $ac_try) 2>&5
52338 ac_status=$?
52339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52340 (exit $ac_status); }; } &&
52341 { ac_try='test -s conftest$ac_exeext'
52342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52343 (eval $ac_try) 2>&5
52344 ac_status=$?
52345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52346 (exit $ac_status); }; }; then
52347 eval "$as_ac_var=yes"
52348 else
52349 echo "$as_me: failed program was:" >&5
52350 sed 's/^/| /' conftest.$ac_ext >&5
52352 eval "$as_ac_var=no"
52354 rm -f conftest.err conftest.$ac_objext \
52355 conftest$ac_exeext conftest.$ac_ext
52357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52359 if test `eval echo '${'$as_ac_var'}'` = yes; then
52360 cat >>confdefs.h <<_ACEOF
52361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52362 _ACEOF
52364 else
52365 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52367 done
52371 for ac_func in __signbit
52373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52374 echo "$as_me:$LINENO: checking for $ac_func" >&5
52375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52376 if eval "test \"\${$as_ac_var+set}\" = set"; then
52377 echo $ECHO_N "(cached) $ECHO_C" >&6
52378 else
52379 if test x$gcc_no_link = xyes; then
52380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52382 { (exit 1); exit 1; }; }
52384 cat >conftest.$ac_ext <<_ACEOF
52385 /* confdefs.h. */
52386 _ACEOF
52387 cat confdefs.h >>conftest.$ac_ext
52388 cat >>conftest.$ac_ext <<_ACEOF
52389 /* end confdefs.h. */
52390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52392 #define $ac_func innocuous_$ac_func
52394 /* System header to define __stub macros and hopefully few prototypes,
52395 which can conflict with char $ac_func (); below.
52396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52397 <limits.h> exists even on freestanding compilers. */
52399 #ifdef __STDC__
52400 # include <limits.h>
52401 #else
52402 # include <assert.h>
52403 #endif
52405 #undef $ac_func
52407 /* Override any gcc2 internal prototype to avoid an error. */
52408 #ifdef __cplusplus
52409 extern "C"
52411 #endif
52412 /* We use char because int might match the return type of a gcc2
52413 builtin and then its argument prototype would still apply. */
52414 char $ac_func ();
52415 /* The GNU C library defines this for functions which it implements
52416 to always fail with ENOSYS. Some functions are actually named
52417 something starting with __ and the normal name is an alias. */
52418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52419 choke me
52420 #else
52421 char (*f) () = $ac_func;
52422 #endif
52423 #ifdef __cplusplus
52425 #endif
52428 main ()
52430 return f != $ac_func;
52432 return 0;
52434 _ACEOF
52435 rm -f conftest.$ac_objext conftest$ac_exeext
52436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52437 (eval $ac_link) 2>conftest.er1
52438 ac_status=$?
52439 grep -v '^ *+' conftest.er1 >conftest.err
52440 rm -f conftest.er1
52441 cat conftest.err >&5
52442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52443 (exit $ac_status); } &&
52444 { ac_try='test -z "$ac_c_werror_flag"
52445 || test ! -s conftest.err'
52446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52447 (eval $ac_try) 2>&5
52448 ac_status=$?
52449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450 (exit $ac_status); }; } &&
52451 { ac_try='test -s conftest$ac_exeext'
52452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52453 (eval $ac_try) 2>&5
52454 ac_status=$?
52455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52456 (exit $ac_status); }; }; then
52457 eval "$as_ac_var=yes"
52458 else
52459 echo "$as_me: failed program was:" >&5
52460 sed 's/^/| /' conftest.$ac_ext >&5
52462 eval "$as_ac_var=no"
52464 rm -f conftest.err conftest.$ac_objext \
52465 conftest$ac_exeext conftest.$ac_ext
52467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52469 if test `eval echo '${'$as_ac_var'}'` = yes; then
52470 cat >>confdefs.h <<_ACEOF
52471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52472 _ACEOF
52474 else
52475 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52477 done
52481 for ac_func in __signbitf
52483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52484 echo "$as_me:$LINENO: checking for $ac_func" >&5
52485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52486 if eval "test \"\${$as_ac_var+set}\" = set"; then
52487 echo $ECHO_N "(cached) $ECHO_C" >&6
52488 else
52489 if test x$gcc_no_link = xyes; then
52490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52492 { (exit 1); exit 1; }; }
52494 cat >conftest.$ac_ext <<_ACEOF
52495 /* confdefs.h. */
52496 _ACEOF
52497 cat confdefs.h >>conftest.$ac_ext
52498 cat >>conftest.$ac_ext <<_ACEOF
52499 /* end confdefs.h. */
52500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52502 #define $ac_func innocuous_$ac_func
52504 /* System header to define __stub macros and hopefully few prototypes,
52505 which can conflict with char $ac_func (); below.
52506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52507 <limits.h> exists even on freestanding compilers. */
52509 #ifdef __STDC__
52510 # include <limits.h>
52511 #else
52512 # include <assert.h>
52513 #endif
52515 #undef $ac_func
52517 /* Override any gcc2 internal prototype to avoid an error. */
52518 #ifdef __cplusplus
52519 extern "C"
52521 #endif
52522 /* We use char because int might match the return type of a gcc2
52523 builtin and then its argument prototype would still apply. */
52524 char $ac_func ();
52525 /* The GNU C library defines this for functions which it implements
52526 to always fail with ENOSYS. Some functions are actually named
52527 something starting with __ and the normal name is an alias. */
52528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52529 choke me
52530 #else
52531 char (*f) () = $ac_func;
52532 #endif
52533 #ifdef __cplusplus
52535 #endif
52538 main ()
52540 return f != $ac_func;
52542 return 0;
52544 _ACEOF
52545 rm -f conftest.$ac_objext conftest$ac_exeext
52546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52547 (eval $ac_link) 2>conftest.er1
52548 ac_status=$?
52549 grep -v '^ *+' conftest.er1 >conftest.err
52550 rm -f conftest.er1
52551 cat conftest.err >&5
52552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52553 (exit $ac_status); } &&
52554 { ac_try='test -z "$ac_c_werror_flag"
52555 || test ! -s conftest.err'
52556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52557 (eval $ac_try) 2>&5
52558 ac_status=$?
52559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52560 (exit $ac_status); }; } &&
52561 { ac_try='test -s conftest$ac_exeext'
52562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52563 (eval $ac_try) 2>&5
52564 ac_status=$?
52565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52566 (exit $ac_status); }; }; then
52567 eval "$as_ac_var=yes"
52568 else
52569 echo "$as_me: failed program was:" >&5
52570 sed 's/^/| /' conftest.$ac_ext >&5
52572 eval "$as_ac_var=no"
52574 rm -f conftest.err conftest.$ac_objext \
52575 conftest$ac_exeext conftest.$ac_ext
52577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52579 if test `eval echo '${'$as_ac_var'}'` = yes; then
52580 cat >>confdefs.h <<_ACEOF
52581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52582 _ACEOF
52584 else
52585 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52587 done
52590 if test x$ac_cv_func_copysignl = x"yes"; then
52592 for ac_func in __signbitl
52594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52595 echo "$as_me:$LINENO: checking for $ac_func" >&5
52596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52597 if eval "test \"\${$as_ac_var+set}\" = set"; then
52598 echo $ECHO_N "(cached) $ECHO_C" >&6
52599 else
52600 if test x$gcc_no_link = xyes; then
52601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52603 { (exit 1); exit 1; }; }
52605 cat >conftest.$ac_ext <<_ACEOF
52606 /* confdefs.h. */
52607 _ACEOF
52608 cat confdefs.h >>conftest.$ac_ext
52609 cat >>conftest.$ac_ext <<_ACEOF
52610 /* end confdefs.h. */
52611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52613 #define $ac_func innocuous_$ac_func
52615 /* System header to define __stub macros and hopefully few prototypes,
52616 which can conflict with char $ac_func (); below.
52617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52618 <limits.h> exists even on freestanding compilers. */
52620 #ifdef __STDC__
52621 # include <limits.h>
52622 #else
52623 # include <assert.h>
52624 #endif
52626 #undef $ac_func
52628 /* Override any gcc2 internal prototype to avoid an error. */
52629 #ifdef __cplusplus
52630 extern "C"
52632 #endif
52633 /* We use char because int might match the return type of a gcc2
52634 builtin and then its argument prototype would still apply. */
52635 char $ac_func ();
52636 /* The GNU C library defines this for functions which it implements
52637 to always fail with ENOSYS. Some functions are actually named
52638 something starting with __ and the normal name is an alias. */
52639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52640 choke me
52641 #else
52642 char (*f) () = $ac_func;
52643 #endif
52644 #ifdef __cplusplus
52646 #endif
52649 main ()
52651 return f != $ac_func;
52653 return 0;
52655 _ACEOF
52656 rm -f conftest.$ac_objext conftest$ac_exeext
52657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52658 (eval $ac_link) 2>conftest.er1
52659 ac_status=$?
52660 grep -v '^ *+' conftest.er1 >conftest.err
52661 rm -f conftest.er1
52662 cat conftest.err >&5
52663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52664 (exit $ac_status); } &&
52665 { ac_try='test -z "$ac_c_werror_flag"
52666 || test ! -s conftest.err'
52667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52668 (eval $ac_try) 2>&5
52669 ac_status=$?
52670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52671 (exit $ac_status); }; } &&
52672 { ac_try='test -s conftest$ac_exeext'
52673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52674 (eval $ac_try) 2>&5
52675 ac_status=$?
52676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52677 (exit $ac_status); }; }; then
52678 eval "$as_ac_var=yes"
52679 else
52680 echo "$as_me: failed program was:" >&5
52681 sed 's/^/| /' conftest.$ac_ext >&5
52683 eval "$as_ac_var=no"
52685 rm -f conftest.err conftest.$ac_objext \
52686 conftest$ac_exeext conftest.$ac_ext
52688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52690 if test `eval echo '${'$as_ac_var'}'` = yes; then
52691 cat >>confdefs.h <<_ACEOF
52692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52693 _ACEOF
52695 else
52696 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52698 done
52702 # Used in libmath/Makefile.am.
52703 if test -n "$LIBMATHOBJS"; then
52704 need_libmath=yes
52710 enable_iconv=no
52711 # Only continue checking if the ISO C99 headers exist and support is on.
52712 if test x"$enable_wchar_t" = xyes; then
52714 # Use iconv for wchar_t to char conversions. As such, check for
52715 # X/Open Portability Guide, version 2 features (XPG2).
52716 if test "${ac_cv_header_iconv_h+set}" = set; then
52717 echo "$as_me:$LINENO: checking for iconv.h" >&5
52718 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52719 if test "${ac_cv_header_iconv_h+set}" = set; then
52720 echo $ECHO_N "(cached) $ECHO_C" >&6
52722 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52723 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52724 else
52725 # Is the header compilable?
52726 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52727 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52728 cat >conftest.$ac_ext <<_ACEOF
52729 /* confdefs.h. */
52730 _ACEOF
52731 cat confdefs.h >>conftest.$ac_ext
52732 cat >>conftest.$ac_ext <<_ACEOF
52733 /* end confdefs.h. */
52734 $ac_includes_default
52735 #include <iconv.h>
52736 _ACEOF
52737 rm -f conftest.$ac_objext
52738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52739 (eval $ac_compile) 2>conftest.er1
52740 ac_status=$?
52741 grep -v '^ *+' conftest.er1 >conftest.err
52742 rm -f conftest.er1
52743 cat conftest.err >&5
52744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52745 (exit $ac_status); } &&
52746 { ac_try='test -z "$ac_c_werror_flag"
52747 || test ! -s conftest.err'
52748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52749 (eval $ac_try) 2>&5
52750 ac_status=$?
52751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52752 (exit $ac_status); }; } &&
52753 { ac_try='test -s conftest.$ac_objext'
52754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52755 (eval $ac_try) 2>&5
52756 ac_status=$?
52757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52758 (exit $ac_status); }; }; then
52759 ac_header_compiler=yes
52760 else
52761 echo "$as_me: failed program was:" >&5
52762 sed 's/^/| /' conftest.$ac_ext >&5
52764 ac_header_compiler=no
52766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52768 echo "${ECHO_T}$ac_header_compiler" >&6
52770 # Is the header present?
52771 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52772 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52773 cat >conftest.$ac_ext <<_ACEOF
52774 /* confdefs.h. */
52775 _ACEOF
52776 cat confdefs.h >>conftest.$ac_ext
52777 cat >>conftest.$ac_ext <<_ACEOF
52778 /* end confdefs.h. */
52779 #include <iconv.h>
52780 _ACEOF
52781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52783 ac_status=$?
52784 grep -v '^ *+' conftest.er1 >conftest.err
52785 rm -f conftest.er1
52786 cat conftest.err >&5
52787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52788 (exit $ac_status); } >/dev/null; then
52789 if test -s conftest.err; then
52790 ac_cpp_err=$ac_c_preproc_warn_flag
52791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52792 else
52793 ac_cpp_err=
52795 else
52796 ac_cpp_err=yes
52798 if test -z "$ac_cpp_err"; then
52799 ac_header_preproc=yes
52800 else
52801 echo "$as_me: failed program was:" >&5
52802 sed 's/^/| /' conftest.$ac_ext >&5
52804 ac_header_preproc=no
52806 rm -f conftest.err conftest.$ac_ext
52807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52808 echo "${ECHO_T}$ac_header_preproc" >&6
52810 # So? What about this header?
52811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52812 yes:no: )
52813 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52814 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52815 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
52816 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
52817 ac_header_preproc=yes
52819 no:yes:* )
52820 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52821 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52822 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52823 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52824 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
52825 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
52826 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
52827 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
52828 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52829 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52830 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
52831 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
52833 cat <<\_ASBOX
52834 ## ----------------------------------------- ##
52835 ## Report this to the package-unused lists. ##
52836 ## ----------------------------------------- ##
52837 _ASBOX
52839 sed "s/^/$as_me: WARNING: /" >&2
52841 esac
52842 echo "$as_me:$LINENO: checking for iconv.h" >&5
52843 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52844 if test "${ac_cv_header_iconv_h+set}" = set; then
52845 echo $ECHO_N "(cached) $ECHO_C" >&6
52846 else
52847 ac_cv_header_iconv_h=$ac_header_preproc
52849 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52850 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52853 if test $ac_cv_header_iconv_h = yes; then
52854 ac_has_iconv_h=yes
52855 else
52856 ac_has_iconv_h=no
52860 if test "${ac_cv_header_langinfo_h+set}" = set; then
52861 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52862 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52863 if test "${ac_cv_header_langinfo_h+set}" = set; then
52864 echo $ECHO_N "(cached) $ECHO_C" >&6
52866 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52867 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52868 else
52869 # Is the header compilable?
52870 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52871 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52872 cat >conftest.$ac_ext <<_ACEOF
52873 /* confdefs.h. */
52874 _ACEOF
52875 cat confdefs.h >>conftest.$ac_ext
52876 cat >>conftest.$ac_ext <<_ACEOF
52877 /* end confdefs.h. */
52878 $ac_includes_default
52879 #include <langinfo.h>
52880 _ACEOF
52881 rm -f conftest.$ac_objext
52882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52883 (eval $ac_compile) 2>conftest.er1
52884 ac_status=$?
52885 grep -v '^ *+' conftest.er1 >conftest.err
52886 rm -f conftest.er1
52887 cat conftest.err >&5
52888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889 (exit $ac_status); } &&
52890 { ac_try='test -z "$ac_c_werror_flag"
52891 || test ! -s conftest.err'
52892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893 (eval $ac_try) 2>&5
52894 ac_status=$?
52895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896 (exit $ac_status); }; } &&
52897 { ac_try='test -s conftest.$ac_objext'
52898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52899 (eval $ac_try) 2>&5
52900 ac_status=$?
52901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902 (exit $ac_status); }; }; then
52903 ac_header_compiler=yes
52904 else
52905 echo "$as_me: failed program was:" >&5
52906 sed 's/^/| /' conftest.$ac_ext >&5
52908 ac_header_compiler=no
52910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52912 echo "${ECHO_T}$ac_header_compiler" >&6
52914 # Is the header present?
52915 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52916 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52917 cat >conftest.$ac_ext <<_ACEOF
52918 /* confdefs.h. */
52919 _ACEOF
52920 cat confdefs.h >>conftest.$ac_ext
52921 cat >>conftest.$ac_ext <<_ACEOF
52922 /* end confdefs.h. */
52923 #include <langinfo.h>
52924 _ACEOF
52925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52926 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52927 ac_status=$?
52928 grep -v '^ *+' conftest.er1 >conftest.err
52929 rm -f conftest.er1
52930 cat conftest.err >&5
52931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52932 (exit $ac_status); } >/dev/null; then
52933 if test -s conftest.err; then
52934 ac_cpp_err=$ac_c_preproc_warn_flag
52935 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52936 else
52937 ac_cpp_err=
52939 else
52940 ac_cpp_err=yes
52942 if test -z "$ac_cpp_err"; then
52943 ac_header_preproc=yes
52944 else
52945 echo "$as_me: failed program was:" >&5
52946 sed 's/^/| /' conftest.$ac_ext >&5
52948 ac_header_preproc=no
52950 rm -f conftest.err conftest.$ac_ext
52951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52952 echo "${ECHO_T}$ac_header_preproc" >&6
52954 # So? What about this header?
52955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52956 yes:no: )
52957 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52958 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52959 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52960 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52961 ac_header_preproc=yes
52963 no:yes:* )
52964 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52965 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52966 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52967 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52968 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52969 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52970 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
52971 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
52972 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52973 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52974 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52975 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52977 cat <<\_ASBOX
52978 ## ----------------------------------------- ##
52979 ## Report this to the package-unused lists. ##
52980 ## ----------------------------------------- ##
52981 _ASBOX
52983 sed "s/^/$as_me: WARNING: /" >&2
52985 esac
52986 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52987 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52988 if test "${ac_cv_header_langinfo_h+set}" = set; then
52989 echo $ECHO_N "(cached) $ECHO_C" >&6
52990 else
52991 ac_cv_header_langinfo_h=$ac_header_preproc
52993 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52994 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52997 if test $ac_cv_header_langinfo_h = yes; then
52998 ac_has_langinfo_h=yes
52999 else
53000 ac_has_langinfo_h=no
53005 # Check for existence of libiconv.a providing XPG2 wchar_t support.
53006 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
53007 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
53008 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
53009 echo $ECHO_N "(cached) $ECHO_C" >&6
53010 else
53011 ac_check_lib_save_LIBS=$LIBS
53012 LIBS="-liconv $LIBS"
53013 if test x$gcc_no_link = xyes; then
53014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53016 { (exit 1); exit 1; }; }
53018 cat >conftest.$ac_ext <<_ACEOF
53019 /* confdefs.h. */
53020 _ACEOF
53021 cat confdefs.h >>conftest.$ac_ext
53022 cat >>conftest.$ac_ext <<_ACEOF
53023 /* end confdefs.h. */
53025 /* Override any gcc2 internal prototype to avoid an error. */
53026 #ifdef __cplusplus
53027 extern "C"
53028 #endif
53029 /* We use char because int might match the return type of a gcc2
53030 builtin and then its argument prototype would still apply. */
53031 char iconv ();
53033 main ()
53035 iconv ();
53037 return 0;
53039 _ACEOF
53040 rm -f conftest.$ac_objext conftest$ac_exeext
53041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53042 (eval $ac_link) 2>conftest.er1
53043 ac_status=$?
53044 grep -v '^ *+' conftest.er1 >conftest.err
53045 rm -f conftest.er1
53046 cat conftest.err >&5
53047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53048 (exit $ac_status); } &&
53049 { ac_try='test -z "$ac_c_werror_flag"
53050 || test ! -s conftest.err'
53051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53052 (eval $ac_try) 2>&5
53053 ac_status=$?
53054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53055 (exit $ac_status); }; } &&
53056 { ac_try='test -s conftest$ac_exeext'
53057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53058 (eval $ac_try) 2>&5
53059 ac_status=$?
53060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061 (exit $ac_status); }; }; then
53062 ac_cv_lib_iconv_iconv=yes
53063 else
53064 echo "$as_me: failed program was:" >&5
53065 sed 's/^/| /' conftest.$ac_ext >&5
53067 ac_cv_lib_iconv_iconv=no
53069 rm -f conftest.err conftest.$ac_objext \
53070 conftest$ac_exeext conftest.$ac_ext
53071 LIBS=$ac_check_lib_save_LIBS
53073 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
53074 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
53075 if test $ac_cv_lib_iconv_iconv = yes; then
53076 LIBICONV="-liconv"
53079 ac_save_LIBS="$LIBS"
53080 LIBS="$LIBS $LIBICONV"
53087 for ac_func in iconv_open iconv_close iconv nl_langinfo
53089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53090 echo "$as_me:$LINENO: checking for $ac_func" >&5
53091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53092 if eval "test \"\${$as_ac_var+set}\" = set"; then
53093 echo $ECHO_N "(cached) $ECHO_C" >&6
53094 else
53095 if test x$gcc_no_link = xyes; then
53096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53098 { (exit 1); exit 1; }; }
53100 cat >conftest.$ac_ext <<_ACEOF
53101 /* confdefs.h. */
53102 _ACEOF
53103 cat confdefs.h >>conftest.$ac_ext
53104 cat >>conftest.$ac_ext <<_ACEOF
53105 /* end confdefs.h. */
53106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53108 #define $ac_func innocuous_$ac_func
53110 /* System header to define __stub macros and hopefully few prototypes,
53111 which can conflict with char $ac_func (); below.
53112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53113 <limits.h> exists even on freestanding compilers. */
53115 #ifdef __STDC__
53116 # include <limits.h>
53117 #else
53118 # include <assert.h>
53119 #endif
53121 #undef $ac_func
53123 /* Override any gcc2 internal prototype to avoid an error. */
53124 #ifdef __cplusplus
53125 extern "C"
53127 #endif
53128 /* We use char because int might match the return type of a gcc2
53129 builtin and then its argument prototype would still apply. */
53130 char $ac_func ();
53131 /* The GNU C library defines this for functions which it implements
53132 to always fail with ENOSYS. Some functions are actually named
53133 something starting with __ and the normal name is an alias. */
53134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53135 choke me
53136 #else
53137 char (*f) () = $ac_func;
53138 #endif
53139 #ifdef __cplusplus
53141 #endif
53144 main ()
53146 return f != $ac_func;
53148 return 0;
53150 _ACEOF
53151 rm -f conftest.$ac_objext conftest$ac_exeext
53152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53153 (eval $ac_link) 2>conftest.er1
53154 ac_status=$?
53155 grep -v '^ *+' conftest.er1 >conftest.err
53156 rm -f conftest.er1
53157 cat conftest.err >&5
53158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53159 (exit $ac_status); } &&
53160 { ac_try='test -z "$ac_c_werror_flag"
53161 || test ! -s conftest.err'
53162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53163 (eval $ac_try) 2>&5
53164 ac_status=$?
53165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53166 (exit $ac_status); }; } &&
53167 { ac_try='test -s conftest$ac_exeext'
53168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169 (eval $ac_try) 2>&5
53170 ac_status=$?
53171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172 (exit $ac_status); }; }; then
53173 eval "$as_ac_var=yes"
53174 else
53175 echo "$as_me: failed program was:" >&5
53176 sed 's/^/| /' conftest.$ac_ext >&5
53178 eval "$as_ac_var=no"
53180 rm -f conftest.err conftest.$ac_objext \
53181 conftest$ac_exeext conftest.$ac_ext
53183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53185 if test `eval echo '${'$as_ac_var'}'` = yes; then
53186 cat >>confdefs.h <<_ACEOF
53187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53188 _ACEOF
53189 ac_XPG2funcs=yes
53190 else
53191 ac_XPG2funcs=no
53193 done
53196 LIBS="$ac_save_LIBS"
53198 if test x"$ac_has_iconv_h" = xyes &&
53199 test x"$ac_has_langinfo_h" = xyes &&
53200 test x"$ac_XPG2funcs" = xyes;
53201 then
53203 cat >>confdefs.h <<\_ACEOF
53204 #define _GLIBCXX_USE_ICONV 1
53205 _ACEOF
53207 enable_iconv=yes
53210 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
53211 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
53212 echo "$as_me:$LINENO: result: $enable_iconv" >&5
53213 echo "${ECHO_T}$enable_iconv" >&6
53216 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53217 ac_save_CXXFLAGS="$CXXFLAGS"
53218 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53221 echo "$as_me:$LINENO: checking for strtold declaration" >&5
53222 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53223 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53224 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53225 echo $ECHO_N "(cached) $ECHO_C" >&6
53226 else
53230 ac_ext=cc
53231 ac_cpp='$CXXCPP $CPPFLAGS'
53232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53236 cat >conftest.$ac_ext <<_ACEOF
53237 /* confdefs.h. */
53238 _ACEOF
53239 cat confdefs.h >>conftest.$ac_ext
53240 cat >>conftest.$ac_ext <<_ACEOF
53241 /* end confdefs.h. */
53242 #include <stdlib.h>
53244 main ()
53246 strtold(0, 0);
53248 return 0;
53250 _ACEOF
53251 rm -f conftest.$ac_objext
53252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53253 (eval $ac_compile) 2>conftest.er1
53254 ac_status=$?
53255 grep -v '^ *+' conftest.er1 >conftest.err
53256 rm -f conftest.er1
53257 cat conftest.err >&5
53258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53259 (exit $ac_status); } &&
53260 { ac_try='test -z "$ac_cxx_werror_flag"
53261 || test ! -s conftest.err'
53262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53263 (eval $ac_try) 2>&5
53264 ac_status=$?
53265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53266 (exit $ac_status); }; } &&
53267 { ac_try='test -s conftest.$ac_objext'
53268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53269 (eval $ac_try) 2>&5
53270 ac_status=$?
53271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53272 (exit $ac_status); }; }; then
53273 glibcxx_cv_func_strtold_use=yes
53274 else
53275 echo "$as_me: failed program was:" >&5
53276 sed 's/^/| /' conftest.$ac_ext >&5
53278 glibcxx_cv_func_strtold_use=no
53280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53281 ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53292 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53293 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53295 for ac_func in strtold
53297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53298 echo "$as_me:$LINENO: checking for $ac_func" >&5
53299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53300 if eval "test \"\${$as_ac_var+set}\" = set"; then
53301 echo $ECHO_N "(cached) $ECHO_C" >&6
53302 else
53303 if test x$gcc_no_link = xyes; then
53304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53306 { (exit 1); exit 1; }; }
53308 cat >conftest.$ac_ext <<_ACEOF
53309 /* confdefs.h. */
53310 _ACEOF
53311 cat confdefs.h >>conftest.$ac_ext
53312 cat >>conftest.$ac_ext <<_ACEOF
53313 /* end confdefs.h. */
53314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53316 #define $ac_func innocuous_$ac_func
53318 /* System header to define __stub macros and hopefully few prototypes,
53319 which can conflict with char $ac_func (); below.
53320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53321 <limits.h> exists even on freestanding compilers. */
53323 #ifdef __STDC__
53324 # include <limits.h>
53325 #else
53326 # include <assert.h>
53327 #endif
53329 #undef $ac_func
53331 /* Override any gcc2 internal prototype to avoid an error. */
53332 #ifdef __cplusplus
53333 extern "C"
53335 #endif
53336 /* We use char because int might match the return type of a gcc2
53337 builtin and then its argument prototype would still apply. */
53338 char $ac_func ();
53339 /* The GNU C library defines this for functions which it implements
53340 to always fail with ENOSYS. Some functions are actually named
53341 something starting with __ and the normal name is an alias. */
53342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53343 choke me
53344 #else
53345 char (*f) () = $ac_func;
53346 #endif
53347 #ifdef __cplusplus
53349 #endif
53352 main ()
53354 return f != $ac_func;
53356 return 0;
53358 _ACEOF
53359 rm -f conftest.$ac_objext conftest$ac_exeext
53360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53361 (eval $ac_link) 2>conftest.er1
53362 ac_status=$?
53363 grep -v '^ *+' conftest.er1 >conftest.err
53364 rm -f conftest.er1
53365 cat conftest.err >&5
53366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367 (exit $ac_status); } &&
53368 { ac_try='test -z "$ac_c_werror_flag"
53369 || test ! -s conftest.err'
53370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53371 (eval $ac_try) 2>&5
53372 ac_status=$?
53373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53374 (exit $ac_status); }; } &&
53375 { ac_try='test -s conftest$ac_exeext'
53376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53377 (eval $ac_try) 2>&5
53378 ac_status=$?
53379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53380 (exit $ac_status); }; }; then
53381 eval "$as_ac_var=yes"
53382 else
53383 echo "$as_me: failed program was:" >&5
53384 sed 's/^/| /' conftest.$ac_ext >&5
53386 eval "$as_ac_var=no"
53388 rm -f conftest.err conftest.$ac_objext \
53389 conftest$ac_exeext conftest.$ac_ext
53391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53393 if test `eval echo '${'$as_ac_var'}'` = yes; then
53394 cat >>confdefs.h <<_ACEOF
53395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53396 _ACEOF
53399 done
53407 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53408 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53409 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53410 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53411 echo $ECHO_N "(cached) $ECHO_C" >&6
53412 else
53416 ac_ext=cc
53417 ac_cpp='$CXXCPP $CPPFLAGS'
53418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53422 cat >conftest.$ac_ext <<_ACEOF
53423 /* confdefs.h. */
53424 _ACEOF
53425 cat confdefs.h >>conftest.$ac_ext
53426 cat >>conftest.$ac_ext <<_ACEOF
53427 /* end confdefs.h. */
53428 #include <stdlib.h>
53430 main ()
53432 strtof(0, 0);
53434 return 0;
53436 _ACEOF
53437 rm -f conftest.$ac_objext
53438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53439 (eval $ac_compile) 2>conftest.er1
53440 ac_status=$?
53441 grep -v '^ *+' conftest.er1 >conftest.err
53442 rm -f conftest.er1
53443 cat conftest.err >&5
53444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53445 (exit $ac_status); } &&
53446 { ac_try='test -z "$ac_cxx_werror_flag"
53447 || test ! -s conftest.err'
53448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53449 (eval $ac_try) 2>&5
53450 ac_status=$?
53451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452 (exit $ac_status); }; } &&
53453 { ac_try='test -s conftest.$ac_objext'
53454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53455 (eval $ac_try) 2>&5
53456 ac_status=$?
53457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53458 (exit $ac_status); }; }; then
53459 glibcxx_cv_func_strtof_use=yes
53460 else
53461 echo "$as_me: failed program was:" >&5
53462 sed 's/^/| /' conftest.$ac_ext >&5
53464 glibcxx_cv_func_strtof_use=no
53466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53467 ac_ext=c
53468 ac_cpp='$CPP $CPPFLAGS'
53469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53478 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53479 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53481 for ac_func in strtof
53483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53484 echo "$as_me:$LINENO: checking for $ac_func" >&5
53485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53486 if eval "test \"\${$as_ac_var+set}\" = set"; then
53487 echo $ECHO_N "(cached) $ECHO_C" >&6
53488 else
53489 if test x$gcc_no_link = xyes; then
53490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53492 { (exit 1); exit 1; }; }
53494 cat >conftest.$ac_ext <<_ACEOF
53495 /* confdefs.h. */
53496 _ACEOF
53497 cat confdefs.h >>conftest.$ac_ext
53498 cat >>conftest.$ac_ext <<_ACEOF
53499 /* end confdefs.h. */
53500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53502 #define $ac_func innocuous_$ac_func
53504 /* System header to define __stub macros and hopefully few prototypes,
53505 which can conflict with char $ac_func (); below.
53506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53507 <limits.h> exists even on freestanding compilers. */
53509 #ifdef __STDC__
53510 # include <limits.h>
53511 #else
53512 # include <assert.h>
53513 #endif
53515 #undef $ac_func
53517 /* Override any gcc2 internal prototype to avoid an error. */
53518 #ifdef __cplusplus
53519 extern "C"
53521 #endif
53522 /* We use char because int might match the return type of a gcc2
53523 builtin and then its argument prototype would still apply. */
53524 char $ac_func ();
53525 /* The GNU C library defines this for functions which it implements
53526 to always fail with ENOSYS. Some functions are actually named
53527 something starting with __ and the normal name is an alias. */
53528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53529 choke me
53530 #else
53531 char (*f) () = $ac_func;
53532 #endif
53533 #ifdef __cplusplus
53535 #endif
53538 main ()
53540 return f != $ac_func;
53542 return 0;
53544 _ACEOF
53545 rm -f conftest.$ac_objext conftest$ac_exeext
53546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53547 (eval $ac_link) 2>conftest.er1
53548 ac_status=$?
53549 grep -v '^ *+' conftest.er1 >conftest.err
53550 rm -f conftest.er1
53551 cat conftest.err >&5
53552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553 (exit $ac_status); } &&
53554 { ac_try='test -z "$ac_c_werror_flag"
53555 || test ! -s conftest.err'
53556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53557 (eval $ac_try) 2>&5
53558 ac_status=$?
53559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53560 (exit $ac_status); }; } &&
53561 { ac_try='test -s conftest$ac_exeext'
53562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53563 (eval $ac_try) 2>&5
53564 ac_status=$?
53565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53566 (exit $ac_status); }; }; then
53567 eval "$as_ac_var=yes"
53568 else
53569 echo "$as_me: failed program was:" >&5
53570 sed 's/^/| /' conftest.$ac_ext >&5
53572 eval "$as_ac_var=no"
53574 rm -f conftest.err conftest.$ac_objext \
53575 conftest$ac_exeext conftest.$ac_ext
53577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53579 if test `eval echo '${'$as_ac_var'}'` = yes; then
53580 cat >>confdefs.h <<_ACEOF
53581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53582 _ACEOF
53585 done
53593 CXXFLAGS="$ac_save_CXXFLAGS"
53596 # For showmanyc_helper().
53599 for ac_header in sys/ioctl.h sys/filio.h
53601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53603 echo "$as_me:$LINENO: checking for $ac_header" >&5
53604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53606 echo $ECHO_N "(cached) $ECHO_C" >&6
53608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53610 else
53611 # Is the header compilable?
53612 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53614 cat >conftest.$ac_ext <<_ACEOF
53615 /* confdefs.h. */
53616 _ACEOF
53617 cat confdefs.h >>conftest.$ac_ext
53618 cat >>conftest.$ac_ext <<_ACEOF
53619 /* end confdefs.h. */
53620 $ac_includes_default
53621 #include <$ac_header>
53622 _ACEOF
53623 rm -f conftest.$ac_objext
53624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53625 (eval $ac_compile) 2>conftest.er1
53626 ac_status=$?
53627 grep -v '^ *+' conftest.er1 >conftest.err
53628 rm -f conftest.er1
53629 cat conftest.err >&5
53630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53631 (exit $ac_status); } &&
53632 { ac_try='test -z "$ac_c_werror_flag"
53633 || test ! -s conftest.err'
53634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53635 (eval $ac_try) 2>&5
53636 ac_status=$?
53637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53638 (exit $ac_status); }; } &&
53639 { ac_try='test -s conftest.$ac_objext'
53640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53641 (eval $ac_try) 2>&5
53642 ac_status=$?
53643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53644 (exit $ac_status); }; }; then
53645 ac_header_compiler=yes
53646 else
53647 echo "$as_me: failed program was:" >&5
53648 sed 's/^/| /' conftest.$ac_ext >&5
53650 ac_header_compiler=no
53652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53654 echo "${ECHO_T}$ac_header_compiler" >&6
53656 # Is the header present?
53657 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53659 cat >conftest.$ac_ext <<_ACEOF
53660 /* confdefs.h. */
53661 _ACEOF
53662 cat confdefs.h >>conftest.$ac_ext
53663 cat >>conftest.$ac_ext <<_ACEOF
53664 /* end confdefs.h. */
53665 #include <$ac_header>
53666 _ACEOF
53667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53669 ac_status=$?
53670 grep -v '^ *+' conftest.er1 >conftest.err
53671 rm -f conftest.er1
53672 cat conftest.err >&5
53673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53674 (exit $ac_status); } >/dev/null; then
53675 if test -s conftest.err; then
53676 ac_cpp_err=$ac_c_preproc_warn_flag
53677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53678 else
53679 ac_cpp_err=
53681 else
53682 ac_cpp_err=yes
53684 if test -z "$ac_cpp_err"; then
53685 ac_header_preproc=yes
53686 else
53687 echo "$as_me: failed program was:" >&5
53688 sed 's/^/| /' conftest.$ac_ext >&5
53690 ac_header_preproc=no
53692 rm -f conftest.err conftest.$ac_ext
53693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53694 echo "${ECHO_T}$ac_header_preproc" >&6
53696 # So? What about this header?
53697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53698 yes:no: )
53699 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53700 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53702 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53703 ac_header_preproc=yes
53705 no:yes:* )
53706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53707 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53709 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53710 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53711 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53712 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53713 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53716 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53717 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53719 cat <<\_ASBOX
53720 ## ----------------------------------------- ##
53721 ## Report this to the package-unused lists. ##
53722 ## ----------------------------------------- ##
53723 _ASBOX
53725 sed "s/^/$as_me: WARNING: /" >&2
53727 esac
53728 echo "$as_me:$LINENO: checking for $ac_header" >&5
53729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53731 echo $ECHO_N "(cached) $ECHO_C" >&6
53732 else
53733 eval "$as_ac_Header=\$ac_header_preproc"
53735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53740 cat >>confdefs.h <<_ACEOF
53741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53742 _ACEOF
53746 done
53749 echo "$as_me:$LINENO: checking for poll" >&5
53750 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53751 if test "${glibcxx_cv_POLL+set}" = set; then
53752 echo $ECHO_N "(cached) $ECHO_C" >&6
53753 else
53755 if test x$gcc_no_link = xyes; then
53756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53758 { (exit 1); exit 1; }; }
53760 cat >conftest.$ac_ext <<_ACEOF
53761 /* confdefs.h. */
53762 _ACEOF
53763 cat confdefs.h >>conftest.$ac_ext
53764 cat >>conftest.$ac_ext <<_ACEOF
53765 /* end confdefs.h. */
53766 #include <poll.h>
53768 main ()
53770 struct pollfd pfd[1];
53771 pfd[0].events = POLLIN;
53772 poll(pfd, 1, 0);
53774 return 0;
53776 _ACEOF
53777 rm -f conftest.$ac_objext conftest$ac_exeext
53778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53779 (eval $ac_link) 2>conftest.er1
53780 ac_status=$?
53781 grep -v '^ *+' conftest.er1 >conftest.err
53782 rm -f conftest.er1
53783 cat conftest.err >&5
53784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53785 (exit $ac_status); } &&
53786 { ac_try='test -z "$ac_c_werror_flag"
53787 || test ! -s conftest.err'
53788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53789 (eval $ac_try) 2>&5
53790 ac_status=$?
53791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53792 (exit $ac_status); }; } &&
53793 { ac_try='test -s conftest$ac_exeext'
53794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53795 (eval $ac_try) 2>&5
53796 ac_status=$?
53797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53798 (exit $ac_status); }; }; then
53799 glibcxx_cv_POLL=yes
53800 else
53801 echo "$as_me: failed program was:" >&5
53802 sed 's/^/| /' conftest.$ac_ext >&5
53804 glibcxx_cv_POLL=no
53806 rm -f conftest.err conftest.$ac_objext \
53807 conftest$ac_exeext conftest.$ac_ext
53811 if test $glibcxx_cv_POLL = yes; then
53813 cat >>confdefs.h <<\_ACEOF
53814 #define HAVE_POLL 1
53815 _ACEOF
53818 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53819 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53822 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53823 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53824 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53825 echo $ECHO_N "(cached) $ECHO_C" >&6
53826 else
53828 if test x$gcc_no_link = xyes; then
53829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53831 { (exit 1); exit 1; }; }
53833 cat >conftest.$ac_ext <<_ACEOF
53834 /* confdefs.h. */
53835 _ACEOF
53836 cat confdefs.h >>conftest.$ac_ext
53837 cat >>conftest.$ac_ext <<_ACEOF
53838 /* end confdefs.h. */
53839 #include <sys/stat.h>
53841 main ()
53843 struct stat buffer;
53844 fstat(0, &buffer);
53845 S_ISREG(buffer.st_mode);
53847 return 0;
53849 _ACEOF
53850 rm -f conftest.$ac_objext conftest$ac_exeext
53851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53852 (eval $ac_link) 2>conftest.er1
53853 ac_status=$?
53854 grep -v '^ *+' conftest.er1 >conftest.err
53855 rm -f conftest.er1
53856 cat conftest.err >&5
53857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53858 (exit $ac_status); } &&
53859 { ac_try='test -z "$ac_c_werror_flag"
53860 || test ! -s conftest.err'
53861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53862 (eval $ac_try) 2>&5
53863 ac_status=$?
53864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53865 (exit $ac_status); }; } &&
53866 { ac_try='test -s conftest$ac_exeext'
53867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53868 (eval $ac_try) 2>&5
53869 ac_status=$?
53870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53871 (exit $ac_status); }; }; then
53872 glibcxx_cv_S_ISREG=yes
53873 else
53874 echo "$as_me: failed program was:" >&5
53875 sed 's/^/| /' conftest.$ac_ext >&5
53877 glibcxx_cv_S_ISREG=no
53879 rm -f conftest.err conftest.$ac_objext \
53880 conftest$ac_exeext conftest.$ac_ext
53884 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53885 echo $ECHO_N "(cached) $ECHO_C" >&6
53886 else
53888 if test x$gcc_no_link = xyes; then
53889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53891 { (exit 1); exit 1; }; }
53893 cat >conftest.$ac_ext <<_ACEOF
53894 /* confdefs.h. */
53895 _ACEOF
53896 cat confdefs.h >>conftest.$ac_ext
53897 cat >>conftest.$ac_ext <<_ACEOF
53898 /* end confdefs.h. */
53899 #include <sys/stat.h>
53901 main ()
53903 struct stat buffer;
53904 fstat(0, &buffer);
53905 S_IFREG & buffer.st_mode;
53907 return 0;
53909 _ACEOF
53910 rm -f conftest.$ac_objext conftest$ac_exeext
53911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53912 (eval $ac_link) 2>conftest.er1
53913 ac_status=$?
53914 grep -v '^ *+' conftest.er1 >conftest.err
53915 rm -f conftest.er1
53916 cat conftest.err >&5
53917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53918 (exit $ac_status); } &&
53919 { ac_try='test -z "$ac_c_werror_flag"
53920 || test ! -s conftest.err'
53921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53922 (eval $ac_try) 2>&5
53923 ac_status=$?
53924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925 (exit $ac_status); }; } &&
53926 { ac_try='test -s conftest$ac_exeext'
53927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53928 (eval $ac_try) 2>&5
53929 ac_status=$?
53930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53931 (exit $ac_status); }; }; then
53932 glibcxx_cv_S_IFREG=yes
53933 else
53934 echo "$as_me: failed program was:" >&5
53935 sed 's/^/| /' conftest.$ac_ext >&5
53937 glibcxx_cv_S_IFREG=no
53939 rm -f conftest.err conftest.$ac_objext \
53940 conftest$ac_exeext conftest.$ac_ext
53944 res=no
53945 if test $glibcxx_cv_S_ISREG = yes; then
53947 cat >>confdefs.h <<\_ACEOF
53948 #define HAVE_S_ISREG 1
53949 _ACEOF
53951 res=S_ISREG
53952 elif test $glibcxx_cv_S_IFREG = yes; then
53954 cat >>confdefs.h <<\_ACEOF
53955 #define HAVE_S_IFREG 1
53956 _ACEOF
53958 res=S_IFREG
53960 echo "$as_me:$LINENO: result: $res" >&5
53961 echo "${ECHO_T}$res" >&6
53964 # For xsputn_2().
53966 for ac_header in sys/uio.h
53968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53970 echo "$as_me:$LINENO: checking for $ac_header" >&5
53971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53973 echo $ECHO_N "(cached) $ECHO_C" >&6
53975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53977 else
53978 # Is the header compilable?
53979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53981 cat >conftest.$ac_ext <<_ACEOF
53982 /* confdefs.h. */
53983 _ACEOF
53984 cat confdefs.h >>conftest.$ac_ext
53985 cat >>conftest.$ac_ext <<_ACEOF
53986 /* end confdefs.h. */
53987 $ac_includes_default
53988 #include <$ac_header>
53989 _ACEOF
53990 rm -f conftest.$ac_objext
53991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53992 (eval $ac_compile) 2>conftest.er1
53993 ac_status=$?
53994 grep -v '^ *+' conftest.er1 >conftest.err
53995 rm -f conftest.er1
53996 cat conftest.err >&5
53997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53998 (exit $ac_status); } &&
53999 { ac_try='test -z "$ac_c_werror_flag"
54000 || test ! -s conftest.err'
54001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54002 (eval $ac_try) 2>&5
54003 ac_status=$?
54004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54005 (exit $ac_status); }; } &&
54006 { ac_try='test -s conftest.$ac_objext'
54007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54008 (eval $ac_try) 2>&5
54009 ac_status=$?
54010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54011 (exit $ac_status); }; }; then
54012 ac_header_compiler=yes
54013 else
54014 echo "$as_me: failed program was:" >&5
54015 sed 's/^/| /' conftest.$ac_ext >&5
54017 ac_header_compiler=no
54019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54021 echo "${ECHO_T}$ac_header_compiler" >&6
54023 # Is the header present?
54024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54026 cat >conftest.$ac_ext <<_ACEOF
54027 /* confdefs.h. */
54028 _ACEOF
54029 cat confdefs.h >>conftest.$ac_ext
54030 cat >>conftest.$ac_ext <<_ACEOF
54031 /* end confdefs.h. */
54032 #include <$ac_header>
54033 _ACEOF
54034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54036 ac_status=$?
54037 grep -v '^ *+' conftest.er1 >conftest.err
54038 rm -f conftest.er1
54039 cat conftest.err >&5
54040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54041 (exit $ac_status); } >/dev/null; then
54042 if test -s conftest.err; then
54043 ac_cpp_err=$ac_c_preproc_warn_flag
54044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54045 else
54046 ac_cpp_err=
54048 else
54049 ac_cpp_err=yes
54051 if test -z "$ac_cpp_err"; then
54052 ac_header_preproc=yes
54053 else
54054 echo "$as_me: failed program was:" >&5
54055 sed 's/^/| /' conftest.$ac_ext >&5
54057 ac_header_preproc=no
54059 rm -f conftest.err conftest.$ac_ext
54060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54061 echo "${ECHO_T}$ac_header_preproc" >&6
54063 # So? What about this header?
54064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54065 yes:no: )
54066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54070 ac_header_preproc=yes
54072 no:yes:* )
54073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54086 cat <<\_ASBOX
54087 ## ----------------------------------------- ##
54088 ## Report this to the package-unused lists. ##
54089 ## ----------------------------------------- ##
54090 _ASBOX
54092 sed "s/^/$as_me: WARNING: /" >&2
54094 esac
54095 echo "$as_me:$LINENO: checking for $ac_header" >&5
54096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54098 echo $ECHO_N "(cached) $ECHO_C" >&6
54099 else
54100 eval "$as_ac_Header=\$ac_header_preproc"
54102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54107 cat >>confdefs.h <<_ACEOF
54108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54109 _ACEOF
54113 done
54116 echo "$as_me:$LINENO: checking for writev" >&5
54117 echo $ECHO_N "checking for writev... $ECHO_C" >&6
54118 if test "${glibcxx_cv_WRITEV+set}" = set; then
54119 echo $ECHO_N "(cached) $ECHO_C" >&6
54120 else
54122 if test x$gcc_no_link = xyes; then
54123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54125 { (exit 1); exit 1; }; }
54127 cat >conftest.$ac_ext <<_ACEOF
54128 /* confdefs.h. */
54129 _ACEOF
54130 cat confdefs.h >>conftest.$ac_ext
54131 cat >>conftest.$ac_ext <<_ACEOF
54132 /* end confdefs.h. */
54133 #include <sys/uio.h>
54135 main ()
54137 struct iovec iov[2];
54138 writev(0, iov, 0);
54140 return 0;
54142 _ACEOF
54143 rm -f conftest.$ac_objext conftest$ac_exeext
54144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54145 (eval $ac_link) 2>conftest.er1
54146 ac_status=$?
54147 grep -v '^ *+' conftest.er1 >conftest.err
54148 rm -f conftest.er1
54149 cat conftest.err >&5
54150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54151 (exit $ac_status); } &&
54152 { ac_try='test -z "$ac_c_werror_flag"
54153 || test ! -s conftest.err'
54154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54155 (eval $ac_try) 2>&5
54156 ac_status=$?
54157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54158 (exit $ac_status); }; } &&
54159 { ac_try='test -s conftest$ac_exeext'
54160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54161 (eval $ac_try) 2>&5
54162 ac_status=$?
54163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54164 (exit $ac_status); }; }; then
54165 glibcxx_cv_WRITEV=yes
54166 else
54167 echo "$as_me: failed program was:" >&5
54168 sed 's/^/| /' conftest.$ac_ext >&5
54170 glibcxx_cv_WRITEV=no
54172 rm -f conftest.err conftest.$ac_objext \
54173 conftest$ac_exeext conftest.$ac_ext
54177 if test $glibcxx_cv_WRITEV = yes; then
54179 cat >>confdefs.h <<\_ACEOF
54180 #define HAVE_WRITEV 1
54181 _ACEOF
54184 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
54185 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
54188 cat >>confdefs.h <<\_ACEOF
54189 #define HAVE_LC_MESSAGES 1
54190 _ACEOF
54193 cat >conftest.$ac_ext <<_ACEOF
54194 /* confdefs.h. */
54195 _ACEOF
54196 cat confdefs.h >>conftest.$ac_ext
54197 cat >>conftest.$ac_ext <<_ACEOF
54198 /* end confdefs.h. */
54199 #include <setjmp.h>
54201 main ()
54203 sigjmp_buf env;
54204 while (! sigsetjmp (env, 1))
54205 siglongjmp (env, 1);
54208 return 0;
54210 _ACEOF
54211 rm -f conftest.$ac_objext
54212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54213 (eval $ac_compile) 2>conftest.er1
54214 ac_status=$?
54215 grep -v '^ *+' conftest.er1 >conftest.err
54216 rm -f conftest.er1
54217 cat conftest.err >&5
54218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54219 (exit $ac_status); } &&
54220 { ac_try='test -z "$ac_c_werror_flag"
54221 || test ! -s conftest.err'
54222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54223 (eval $ac_try) 2>&5
54224 ac_status=$?
54225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54226 (exit $ac_status); }; } &&
54227 { ac_try='test -s conftest.$ac_objext'
54228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54229 (eval $ac_try) 2>&5
54230 ac_status=$?
54231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54232 (exit $ac_status); }; }; then
54234 cat >>confdefs.h <<\_ACEOF
54235 #define HAVE_SIGSETJMP 1
54236 _ACEOF
54238 else
54239 echo "$as_me: failed program was:" >&5
54240 sed 's/^/| /' conftest.$ac_ext >&5
54243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54245 cat >>confdefs.h <<\_ACEOF
54246 #define HAVE_MMAP 1
54247 _ACEOF
54251 *djgpp)
54272 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54273 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54274 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54275 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54279 echo "$as_me:$LINENO: checking for $ac_header" >&5
54280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54282 echo $ECHO_N "(cached) $ECHO_C" >&6
54284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54286 else
54287 # Is the header compilable?
54288 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54290 cat >conftest.$ac_ext <<_ACEOF
54291 /* confdefs.h. */
54292 _ACEOF
54293 cat confdefs.h >>conftest.$ac_ext
54294 cat >>conftest.$ac_ext <<_ACEOF
54295 /* end confdefs.h. */
54296 $ac_includes_default
54297 #include <$ac_header>
54298 _ACEOF
54299 rm -f conftest.$ac_objext
54300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54301 (eval $ac_compile) 2>conftest.er1
54302 ac_status=$?
54303 grep -v '^ *+' conftest.er1 >conftest.err
54304 rm -f conftest.er1
54305 cat conftest.err >&5
54306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54307 (exit $ac_status); } &&
54308 { ac_try='test -z "$ac_c_werror_flag"
54309 || test ! -s conftest.err'
54310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54311 (eval $ac_try) 2>&5
54312 ac_status=$?
54313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54314 (exit $ac_status); }; } &&
54315 { ac_try='test -s conftest.$ac_objext'
54316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54317 (eval $ac_try) 2>&5
54318 ac_status=$?
54319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320 (exit $ac_status); }; }; then
54321 ac_header_compiler=yes
54322 else
54323 echo "$as_me: failed program was:" >&5
54324 sed 's/^/| /' conftest.$ac_ext >&5
54326 ac_header_compiler=no
54328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54330 echo "${ECHO_T}$ac_header_compiler" >&6
54332 # Is the header present?
54333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54335 cat >conftest.$ac_ext <<_ACEOF
54336 /* confdefs.h. */
54337 _ACEOF
54338 cat confdefs.h >>conftest.$ac_ext
54339 cat >>conftest.$ac_ext <<_ACEOF
54340 /* end confdefs.h. */
54341 #include <$ac_header>
54342 _ACEOF
54343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54345 ac_status=$?
54346 grep -v '^ *+' conftest.er1 >conftest.err
54347 rm -f conftest.er1
54348 cat conftest.err >&5
54349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54350 (exit $ac_status); } >/dev/null; then
54351 if test -s conftest.err; then
54352 ac_cpp_err=$ac_c_preproc_warn_flag
54353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54354 else
54355 ac_cpp_err=
54357 else
54358 ac_cpp_err=yes
54360 if test -z "$ac_cpp_err"; then
54361 ac_header_preproc=yes
54362 else
54363 echo "$as_me: failed program was:" >&5
54364 sed 's/^/| /' conftest.$ac_ext >&5
54366 ac_header_preproc=no
54368 rm -f conftest.err conftest.$ac_ext
54369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54370 echo "${ECHO_T}$ac_header_preproc" >&6
54372 # So? What about this header?
54373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54374 yes:no: )
54375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54378 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54379 ac_header_preproc=yes
54381 no:yes:* )
54382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54387 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54389 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54395 cat <<\_ASBOX
54396 ## ----------------------------------------- ##
54397 ## Report this to the package-unused lists. ##
54398 ## ----------------------------------------- ##
54399 _ASBOX
54401 sed "s/^/$as_me: WARNING: /" >&2
54403 esac
54404 echo "$as_me:$LINENO: checking for $ac_header" >&5
54405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54407 echo $ECHO_N "(cached) $ECHO_C" >&6
54408 else
54409 eval "$as_ac_Header=\$ac_header_preproc"
54411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54416 cat >>confdefs.h <<_ACEOF
54417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54418 _ACEOF
54422 done
54425 # If we're not using GNU ld, then there's no point in even trying these
54426 # tests. Check for that first. We should have already tested for gld
54427 # by now (in libtool), but require it now just to be safe...
54428 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54429 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54433 # The name set by libtool depends on the version of libtool. Shame on us
54434 # for depending on an impl detail, but c'est la vie. Older versions used
54435 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54436 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54437 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54438 # set (hence we're using an older libtool), then set it.
54439 if test x${with_gnu_ld+set} != xset; then
54440 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54441 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54442 with_gnu_ld=no
54443 else
54444 with_gnu_ld=$ac_cv_prog_gnu_ld
54448 # Start by getting the version number. I think the libtool test already
54449 # does some of this, but throws away the result.
54450 if test x"$with_gnu_ld" = x"yes"; then
54451 echo "$as_me:$LINENO: checking for ld version" >&5
54452 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54454 ldver=`$LD --version 2>/dev/null | head -1 | \
54455 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
54457 glibcxx_gnu_ld_version=`echo $ldver | \
54458 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54459 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54460 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54463 # Set --gc-sections.
54464 glibcxx_gcsections_min_ld=21602
54465 if test x"$with_gnu_ld" = x"yes" &&
54466 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54468 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54469 # NB: This flag only works reliably after 2.16.1. Configure tests
54470 # for this are difficult, so hard wire a value that should work.
54472 ac_test_CFLAGS="${CFLAGS+set}"
54473 ac_save_CFLAGS="$CFLAGS"
54474 CFLAGS='-Wl,--gc-sections'
54476 # Check for -Wl,--gc-sections
54477 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54478 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54479 if test x$gcc_no_link = xyes; then
54480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54482 { (exit 1); exit 1; }; }
54484 cat >conftest.$ac_ext <<_ACEOF
54485 /* confdefs.h. */
54486 _ACEOF
54487 cat confdefs.h >>conftest.$ac_ext
54488 cat >>conftest.$ac_ext <<_ACEOF
54489 /* end confdefs.h. */
54490 int one(void) { return 1; }
54491 int two(void) { return 2; }
54494 main ()
54496 two();
54498 return 0;
54500 _ACEOF
54501 rm -f conftest.$ac_objext conftest$ac_exeext
54502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54503 (eval $ac_link) 2>conftest.er1
54504 ac_status=$?
54505 grep -v '^ *+' conftest.er1 >conftest.err
54506 rm -f conftest.er1
54507 cat conftest.err >&5
54508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54509 (exit $ac_status); } &&
54510 { ac_try='test -z "$ac_c_werror_flag"
54511 || test ! -s conftest.err'
54512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54513 (eval $ac_try) 2>&5
54514 ac_status=$?
54515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54516 (exit $ac_status); }; } &&
54517 { ac_try='test -s conftest$ac_exeext'
54518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54519 (eval $ac_try) 2>&5
54520 ac_status=$?
54521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54522 (exit $ac_status); }; }; then
54523 ac_gcsections=yes
54524 else
54525 echo "$as_me: failed program was:" >&5
54526 sed 's/^/| /' conftest.$ac_ext >&5
54528 ac_gcsections=no
54530 rm -f conftest.err conftest.$ac_objext \
54531 conftest$ac_exeext conftest.$ac_ext
54532 if test "$ac_gcsections" = "yes"; then
54533 rm -f conftest.c
54534 touch conftest.c
54535 if $CC -c conftest.c; then
54536 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54537 grep "Warning: gc-sections option ignored" > /dev/null; then
54538 ac_gcsections=no
54541 rm -f conftest.c conftest.o conftest
54543 if test "$ac_gcsections" = "yes"; then
54544 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54546 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54547 echo "${ECHO_T}$ac_gcsections" >&6
54549 if test "$ac_test_CFLAGS" = set; then
54550 CFLAGS="$ac_save_CFLAGS"
54551 else
54552 # this is the suspicious part
54553 CFLAGS=''
54557 # Set -z,relro.
54558 # Note this is only for shared objects.
54559 ac_ld_relro=no
54560 if test x"$with_gnu_ld" = x"yes"; then
54561 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54562 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54563 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54564 if test -n "$cxx_z_relo"; then
54565 OPT_LDFLAGS="-Wl,-z,relro"
54566 ac_ld_relro=yes
54568 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54569 echo "${ECHO_T}$ac_ld_relro" >&6
54572 # Set linker optimization flags.
54573 if test x"$with_gnu_ld" = x"yes"; then
54574 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54581 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54582 ac_save_CXXFLAGS="$CXXFLAGS"
54583 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54585 echo "$as_me:$LINENO: checking for sin in -lm" >&5
54586 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
54587 if test "${ac_cv_lib_m_sin+set}" = set; then
54588 echo $ECHO_N "(cached) $ECHO_C" >&6
54589 else
54590 ac_check_lib_save_LIBS=$LIBS
54591 LIBS="-lm $LIBS"
54592 if test x$gcc_no_link = xyes; then
54593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54595 { (exit 1); exit 1; }; }
54597 cat >conftest.$ac_ext <<_ACEOF
54598 /* confdefs.h. */
54599 _ACEOF
54600 cat confdefs.h >>conftest.$ac_ext
54601 cat >>conftest.$ac_ext <<_ACEOF
54602 /* end confdefs.h. */
54604 /* Override any gcc2 internal prototype to avoid an error. */
54605 #ifdef __cplusplus
54606 extern "C"
54607 #endif
54608 /* We use char because int might match the return type of a gcc2
54609 builtin and then its argument prototype would still apply. */
54610 char sin ();
54612 main ()
54614 sin ();
54616 return 0;
54618 _ACEOF
54619 rm -f conftest.$ac_objext conftest$ac_exeext
54620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54621 (eval $ac_link) 2>conftest.er1
54622 ac_status=$?
54623 grep -v '^ *+' conftest.er1 >conftest.err
54624 rm -f conftest.er1
54625 cat conftest.err >&5
54626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54627 (exit $ac_status); } &&
54628 { ac_try='test -z "$ac_c_werror_flag"
54629 || test ! -s conftest.err'
54630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54631 (eval $ac_try) 2>&5
54632 ac_status=$?
54633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54634 (exit $ac_status); }; } &&
54635 { ac_try='test -s conftest$ac_exeext'
54636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54637 (eval $ac_try) 2>&5
54638 ac_status=$?
54639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54640 (exit $ac_status); }; }; then
54641 ac_cv_lib_m_sin=yes
54642 else
54643 echo "$as_me: failed program was:" >&5
54644 sed 's/^/| /' conftest.$ac_ext >&5
54646 ac_cv_lib_m_sin=no
54648 rm -f conftest.err conftest.$ac_objext \
54649 conftest$ac_exeext conftest.$ac_ext
54650 LIBS=$ac_check_lib_save_LIBS
54652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
54653 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
54654 if test $ac_cv_lib_m_sin = yes; then
54655 libm="-lm"
54658 ac_save_LIBS="$LIBS"
54659 LIBS="$LIBS $libm"
54663 echo "$as_me:$LINENO: checking for isinf declaration" >&5
54664 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
54665 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54666 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
54667 echo $ECHO_N "(cached) $ECHO_C" >&6
54668 else
54672 ac_ext=cc
54673 ac_cpp='$CXXCPP $CPPFLAGS'
54674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54678 cat >conftest.$ac_ext <<_ACEOF
54679 /* confdefs.h. */
54680 _ACEOF
54681 cat confdefs.h >>conftest.$ac_ext
54682 cat >>conftest.$ac_ext <<_ACEOF
54683 /* end confdefs.h. */
54684 #include <math.h>
54685 #ifdef HAVE_IEEEFP_H
54686 #include <ieeefp.h>
54687 #endif
54690 main ()
54692 isinf(0);
54694 return 0;
54696 _ACEOF
54697 rm -f conftest.$ac_objext
54698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54699 (eval $ac_compile) 2>conftest.er1
54700 ac_status=$?
54701 grep -v '^ *+' conftest.er1 >conftest.err
54702 rm -f conftest.er1
54703 cat conftest.err >&5
54704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54705 (exit $ac_status); } &&
54706 { ac_try='test -z "$ac_cxx_werror_flag"
54707 || test ! -s conftest.err'
54708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54709 (eval $ac_try) 2>&5
54710 ac_status=$?
54711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54712 (exit $ac_status); }; } &&
54713 { ac_try='test -s conftest.$ac_objext'
54714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54715 (eval $ac_try) 2>&5
54716 ac_status=$?
54717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54718 (exit $ac_status); }; }; then
54719 glibcxx_cv_func_isinf_use=yes
54720 else
54721 echo "$as_me: failed program was:" >&5
54722 sed 's/^/| /' conftest.$ac_ext >&5
54724 glibcxx_cv_func_isinf_use=no
54726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54727 ac_ext=c
54728 ac_cpp='$CPP $CPPFLAGS'
54729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
54738 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
54740 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54742 for ac_func in isinf
54744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54745 echo "$as_me:$LINENO: checking for $ac_func" >&5
54746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54747 if eval "test \"\${$as_ac_var+set}\" = set"; then
54748 echo $ECHO_N "(cached) $ECHO_C" >&6
54749 else
54750 if test x$gcc_no_link = xyes; then
54751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54753 { (exit 1); exit 1; }; }
54755 cat >conftest.$ac_ext <<_ACEOF
54756 /* confdefs.h. */
54757 _ACEOF
54758 cat confdefs.h >>conftest.$ac_ext
54759 cat >>conftest.$ac_ext <<_ACEOF
54760 /* end confdefs.h. */
54761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54763 #define $ac_func innocuous_$ac_func
54765 /* System header to define __stub macros and hopefully few prototypes,
54766 which can conflict with char $ac_func (); below.
54767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54768 <limits.h> exists even on freestanding compilers. */
54770 #ifdef __STDC__
54771 # include <limits.h>
54772 #else
54773 # include <assert.h>
54774 #endif
54776 #undef $ac_func
54778 /* Override any gcc2 internal prototype to avoid an error. */
54779 #ifdef __cplusplus
54780 extern "C"
54782 #endif
54783 /* We use char because int might match the return type of a gcc2
54784 builtin and then its argument prototype would still apply. */
54785 char $ac_func ();
54786 /* The GNU C library defines this for functions which it implements
54787 to always fail with ENOSYS. Some functions are actually named
54788 something starting with __ and the normal name is an alias. */
54789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54790 choke me
54791 #else
54792 char (*f) () = $ac_func;
54793 #endif
54794 #ifdef __cplusplus
54796 #endif
54799 main ()
54801 return f != $ac_func;
54803 return 0;
54805 _ACEOF
54806 rm -f conftest.$ac_objext conftest$ac_exeext
54807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54808 (eval $ac_link) 2>conftest.er1
54809 ac_status=$?
54810 grep -v '^ *+' conftest.er1 >conftest.err
54811 rm -f conftest.er1
54812 cat conftest.err >&5
54813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54814 (exit $ac_status); } &&
54815 { ac_try='test -z "$ac_c_werror_flag"
54816 || test ! -s conftest.err'
54817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54818 (eval $ac_try) 2>&5
54819 ac_status=$?
54820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54821 (exit $ac_status); }; } &&
54822 { ac_try='test -s conftest$ac_exeext'
54823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54824 (eval $ac_try) 2>&5
54825 ac_status=$?
54826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54827 (exit $ac_status); }; }; then
54828 eval "$as_ac_var=yes"
54829 else
54830 echo "$as_me: failed program was:" >&5
54831 sed 's/^/| /' conftest.$ac_ext >&5
54833 eval "$as_ac_var=no"
54835 rm -f conftest.err conftest.$ac_objext \
54836 conftest$ac_exeext conftest.$ac_ext
54838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54840 if test `eval echo '${'$as_ac_var'}'` = yes; then
54841 cat >>confdefs.h <<_ACEOF
54842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54843 _ACEOF
54846 done
54848 else
54850 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
54851 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
54852 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54853 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
54854 echo $ECHO_N "(cached) $ECHO_C" >&6
54855 else
54859 ac_ext=cc
54860 ac_cpp='$CXXCPP $CPPFLAGS'
54861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54865 cat >conftest.$ac_ext <<_ACEOF
54866 /* confdefs.h. */
54867 _ACEOF
54868 cat confdefs.h >>conftest.$ac_ext
54869 cat >>conftest.$ac_ext <<_ACEOF
54870 /* end confdefs.h. */
54871 #include <math.h>
54872 #ifdef HAVE_IEEEFP_H
54873 #include <ieeefp.h>
54874 #endif
54877 main ()
54879 _isinf(0);
54881 return 0;
54883 _ACEOF
54884 rm -f conftest.$ac_objext
54885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54886 (eval $ac_compile) 2>conftest.er1
54887 ac_status=$?
54888 grep -v '^ *+' conftest.er1 >conftest.err
54889 rm -f conftest.er1
54890 cat conftest.err >&5
54891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54892 (exit $ac_status); } &&
54893 { ac_try='test -z "$ac_cxx_werror_flag"
54894 || test ! -s conftest.err'
54895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54896 (eval $ac_try) 2>&5
54897 ac_status=$?
54898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54899 (exit $ac_status); }; } &&
54900 { ac_try='test -s conftest.$ac_objext'
54901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54902 (eval $ac_try) 2>&5
54903 ac_status=$?
54904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54905 (exit $ac_status); }; }; then
54906 glibcxx_cv_func__isinf_use=yes
54907 else
54908 echo "$as_me: failed program was:" >&5
54909 sed 's/^/| /' conftest.$ac_ext >&5
54911 glibcxx_cv_func__isinf_use=no
54913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54914 ac_ext=c
54915 ac_cpp='$CPP $CPPFLAGS'
54916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54925 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54927 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54929 for ac_func in _isinf
54931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54932 echo "$as_me:$LINENO: checking for $ac_func" >&5
54933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54934 if eval "test \"\${$as_ac_var+set}\" = set"; then
54935 echo $ECHO_N "(cached) $ECHO_C" >&6
54936 else
54937 if test x$gcc_no_link = xyes; then
54938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54940 { (exit 1); exit 1; }; }
54942 cat >conftest.$ac_ext <<_ACEOF
54943 /* confdefs.h. */
54944 _ACEOF
54945 cat confdefs.h >>conftest.$ac_ext
54946 cat >>conftest.$ac_ext <<_ACEOF
54947 /* end confdefs.h. */
54948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54950 #define $ac_func innocuous_$ac_func
54952 /* System header to define __stub macros and hopefully few prototypes,
54953 which can conflict with char $ac_func (); below.
54954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54955 <limits.h> exists even on freestanding compilers. */
54957 #ifdef __STDC__
54958 # include <limits.h>
54959 #else
54960 # include <assert.h>
54961 #endif
54963 #undef $ac_func
54965 /* Override any gcc2 internal prototype to avoid an error. */
54966 #ifdef __cplusplus
54967 extern "C"
54969 #endif
54970 /* We use char because int might match the return type of a gcc2
54971 builtin and then its argument prototype would still apply. */
54972 char $ac_func ();
54973 /* The GNU C library defines this for functions which it implements
54974 to always fail with ENOSYS. Some functions are actually named
54975 something starting with __ and the normal name is an alias. */
54976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54977 choke me
54978 #else
54979 char (*f) () = $ac_func;
54980 #endif
54981 #ifdef __cplusplus
54983 #endif
54986 main ()
54988 return f != $ac_func;
54990 return 0;
54992 _ACEOF
54993 rm -f conftest.$ac_objext conftest$ac_exeext
54994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54995 (eval $ac_link) 2>conftest.er1
54996 ac_status=$?
54997 grep -v '^ *+' conftest.er1 >conftest.err
54998 rm -f conftest.er1
54999 cat conftest.err >&5
55000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55001 (exit $ac_status); } &&
55002 { ac_try='test -z "$ac_c_werror_flag"
55003 || test ! -s conftest.err'
55004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55005 (eval $ac_try) 2>&5
55006 ac_status=$?
55007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55008 (exit $ac_status); }; } &&
55009 { ac_try='test -s conftest$ac_exeext'
55010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55011 (eval $ac_try) 2>&5
55012 ac_status=$?
55013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55014 (exit $ac_status); }; }; then
55015 eval "$as_ac_var=yes"
55016 else
55017 echo "$as_me: failed program was:" >&5
55018 sed 's/^/| /' conftest.$ac_ext >&5
55020 eval "$as_ac_var=no"
55022 rm -f conftest.err conftest.$ac_objext \
55023 conftest$ac_exeext conftest.$ac_ext
55025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55027 if test `eval echo '${'$as_ac_var'}'` = yes; then
55028 cat >>confdefs.h <<_ACEOF
55029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55030 _ACEOF
55033 done
55043 echo "$as_me:$LINENO: checking for isnan declaration" >&5
55044 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
55045 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55046 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
55047 echo $ECHO_N "(cached) $ECHO_C" >&6
55048 else
55052 ac_ext=cc
55053 ac_cpp='$CXXCPP $CPPFLAGS'
55054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
55065 #ifdef HAVE_IEEEFP_H
55066 #include <ieeefp.h>
55067 #endif
55070 main ()
55072 isnan(0);
55074 return 0;
55076 _ACEOF
55077 rm -f conftest.$ac_objext
55078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55079 (eval $ac_compile) 2>conftest.er1
55080 ac_status=$?
55081 grep -v '^ *+' conftest.er1 >conftest.err
55082 rm -f conftest.er1
55083 cat conftest.err >&5
55084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085 (exit $ac_status); } &&
55086 { ac_try='test -z "$ac_cxx_werror_flag"
55087 || test ! -s conftest.err'
55088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55089 (eval $ac_try) 2>&5
55090 ac_status=$?
55091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55092 (exit $ac_status); }; } &&
55093 { ac_try='test -s conftest.$ac_objext'
55094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55095 (eval $ac_try) 2>&5
55096 ac_status=$?
55097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55098 (exit $ac_status); }; }; then
55099 glibcxx_cv_func_isnan_use=yes
55100 else
55101 echo "$as_me: failed program was:" >&5
55102 sed 's/^/| /' conftest.$ac_ext >&5
55104 glibcxx_cv_func_isnan_use=no
55106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55107 ac_ext=c
55108 ac_cpp='$CPP $CPPFLAGS'
55109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
55118 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
55120 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55122 for ac_func in isnan
55124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55125 echo "$as_me:$LINENO: checking for $ac_func" >&5
55126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55127 if eval "test \"\${$as_ac_var+set}\" = set"; then
55128 echo $ECHO_N "(cached) $ECHO_C" >&6
55129 else
55130 if test x$gcc_no_link = xyes; then
55131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55133 { (exit 1); exit 1; }; }
55135 cat >conftest.$ac_ext <<_ACEOF
55136 /* confdefs.h. */
55137 _ACEOF
55138 cat confdefs.h >>conftest.$ac_ext
55139 cat >>conftest.$ac_ext <<_ACEOF
55140 /* end confdefs.h. */
55141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55143 #define $ac_func innocuous_$ac_func
55145 /* System header to define __stub macros and hopefully few prototypes,
55146 which can conflict with char $ac_func (); below.
55147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55148 <limits.h> exists even on freestanding compilers. */
55150 #ifdef __STDC__
55151 # include <limits.h>
55152 #else
55153 # include <assert.h>
55154 #endif
55156 #undef $ac_func
55158 /* Override any gcc2 internal prototype to avoid an error. */
55159 #ifdef __cplusplus
55160 extern "C"
55162 #endif
55163 /* We use char because int might match the return type of a gcc2
55164 builtin and then its argument prototype would still apply. */
55165 char $ac_func ();
55166 /* The GNU C library defines this for functions which it implements
55167 to always fail with ENOSYS. Some functions are actually named
55168 something starting with __ and the normal name is an alias. */
55169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55170 choke me
55171 #else
55172 char (*f) () = $ac_func;
55173 #endif
55174 #ifdef __cplusplus
55176 #endif
55179 main ()
55181 return f != $ac_func;
55183 return 0;
55185 _ACEOF
55186 rm -f conftest.$ac_objext conftest$ac_exeext
55187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55188 (eval $ac_link) 2>conftest.er1
55189 ac_status=$?
55190 grep -v '^ *+' conftest.er1 >conftest.err
55191 rm -f conftest.er1
55192 cat conftest.err >&5
55193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55194 (exit $ac_status); } &&
55195 { ac_try='test -z "$ac_c_werror_flag"
55196 || test ! -s conftest.err'
55197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55198 (eval $ac_try) 2>&5
55199 ac_status=$?
55200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55201 (exit $ac_status); }; } &&
55202 { ac_try='test -s conftest$ac_exeext'
55203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55204 (eval $ac_try) 2>&5
55205 ac_status=$?
55206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55207 (exit $ac_status); }; }; then
55208 eval "$as_ac_var=yes"
55209 else
55210 echo "$as_me: failed program was:" >&5
55211 sed 's/^/| /' conftest.$ac_ext >&5
55213 eval "$as_ac_var=no"
55215 rm -f conftest.err conftest.$ac_objext \
55216 conftest$ac_exeext conftest.$ac_ext
55218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55220 if test `eval echo '${'$as_ac_var'}'` = yes; then
55221 cat >>confdefs.h <<_ACEOF
55222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55223 _ACEOF
55226 done
55228 else
55230 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55231 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55232 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55233 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55234 echo $ECHO_N "(cached) $ECHO_C" >&6
55235 else
55239 ac_ext=cc
55240 ac_cpp='$CXXCPP $CPPFLAGS'
55241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55245 cat >conftest.$ac_ext <<_ACEOF
55246 /* confdefs.h. */
55247 _ACEOF
55248 cat confdefs.h >>conftest.$ac_ext
55249 cat >>conftest.$ac_ext <<_ACEOF
55250 /* end confdefs.h. */
55251 #include <math.h>
55252 #ifdef HAVE_IEEEFP_H
55253 #include <ieeefp.h>
55254 #endif
55257 main ()
55259 _isnan(0);
55261 return 0;
55263 _ACEOF
55264 rm -f conftest.$ac_objext
55265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55266 (eval $ac_compile) 2>conftest.er1
55267 ac_status=$?
55268 grep -v '^ *+' conftest.er1 >conftest.err
55269 rm -f conftest.er1
55270 cat conftest.err >&5
55271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55272 (exit $ac_status); } &&
55273 { ac_try='test -z "$ac_cxx_werror_flag"
55274 || test ! -s conftest.err'
55275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55276 (eval $ac_try) 2>&5
55277 ac_status=$?
55278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279 (exit $ac_status); }; } &&
55280 { ac_try='test -s conftest.$ac_objext'
55281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55282 (eval $ac_try) 2>&5
55283 ac_status=$?
55284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55285 (exit $ac_status); }; }; then
55286 glibcxx_cv_func__isnan_use=yes
55287 else
55288 echo "$as_me: failed program was:" >&5
55289 sed 's/^/| /' conftest.$ac_ext >&5
55291 glibcxx_cv_func__isnan_use=no
55293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55294 ac_ext=c
55295 ac_cpp='$CPP $CPPFLAGS'
55296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55304 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
55305 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
55307 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55309 for ac_func in _isnan
55311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55312 echo "$as_me:$LINENO: checking for $ac_func" >&5
55313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55314 if eval "test \"\${$as_ac_var+set}\" = set"; then
55315 echo $ECHO_N "(cached) $ECHO_C" >&6
55316 else
55317 if test x$gcc_no_link = xyes; then
55318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55320 { (exit 1); exit 1; }; }
55322 cat >conftest.$ac_ext <<_ACEOF
55323 /* confdefs.h. */
55324 _ACEOF
55325 cat confdefs.h >>conftest.$ac_ext
55326 cat >>conftest.$ac_ext <<_ACEOF
55327 /* end confdefs.h. */
55328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55330 #define $ac_func innocuous_$ac_func
55332 /* System header to define __stub macros and hopefully few prototypes,
55333 which can conflict with char $ac_func (); below.
55334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55335 <limits.h> exists even on freestanding compilers. */
55337 #ifdef __STDC__
55338 # include <limits.h>
55339 #else
55340 # include <assert.h>
55341 #endif
55343 #undef $ac_func
55345 /* Override any gcc2 internal prototype to avoid an error. */
55346 #ifdef __cplusplus
55347 extern "C"
55349 #endif
55350 /* We use char because int might match the return type of a gcc2
55351 builtin and then its argument prototype would still apply. */
55352 char $ac_func ();
55353 /* The GNU C library defines this for functions which it implements
55354 to always fail with ENOSYS. Some functions are actually named
55355 something starting with __ and the normal name is an alias. */
55356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55357 choke me
55358 #else
55359 char (*f) () = $ac_func;
55360 #endif
55361 #ifdef __cplusplus
55363 #endif
55366 main ()
55368 return f != $ac_func;
55370 return 0;
55372 _ACEOF
55373 rm -f conftest.$ac_objext conftest$ac_exeext
55374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55375 (eval $ac_link) 2>conftest.er1
55376 ac_status=$?
55377 grep -v '^ *+' conftest.er1 >conftest.err
55378 rm -f conftest.er1
55379 cat conftest.err >&5
55380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381 (exit $ac_status); } &&
55382 { ac_try='test -z "$ac_c_werror_flag"
55383 || test ! -s conftest.err'
55384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55385 (eval $ac_try) 2>&5
55386 ac_status=$?
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); }; } &&
55389 { ac_try='test -s conftest$ac_exeext'
55390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55391 (eval $ac_try) 2>&5
55392 ac_status=$?
55393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55394 (exit $ac_status); }; }; then
55395 eval "$as_ac_var=yes"
55396 else
55397 echo "$as_me: failed program was:" >&5
55398 sed 's/^/| /' conftest.$ac_ext >&5
55400 eval "$as_ac_var=no"
55402 rm -f conftest.err conftest.$ac_objext \
55403 conftest$ac_exeext conftest.$ac_ext
55405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55407 if test `eval echo '${'$as_ac_var'}'` = yes; then
55408 cat >>confdefs.h <<_ACEOF
55409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55410 _ACEOF
55413 done
55423 echo "$as_me:$LINENO: checking for finite declaration" >&5
55424 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
55425 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55426 if test "${glibcxx_cv_func_finite_use+set}" = set; then
55427 echo $ECHO_N "(cached) $ECHO_C" >&6
55428 else
55432 ac_ext=cc
55433 ac_cpp='$CXXCPP $CPPFLAGS'
55434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55438 cat >conftest.$ac_ext <<_ACEOF
55439 /* confdefs.h. */
55440 _ACEOF
55441 cat confdefs.h >>conftest.$ac_ext
55442 cat >>conftest.$ac_ext <<_ACEOF
55443 /* end confdefs.h. */
55444 #include <math.h>
55445 #ifdef HAVE_IEEEFP_H
55446 #include <ieeefp.h>
55447 #endif
55450 main ()
55452 finite(0);
55454 return 0;
55456 _ACEOF
55457 rm -f conftest.$ac_objext
55458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55459 (eval $ac_compile) 2>conftest.er1
55460 ac_status=$?
55461 grep -v '^ *+' conftest.er1 >conftest.err
55462 rm -f conftest.er1
55463 cat conftest.err >&5
55464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55465 (exit $ac_status); } &&
55466 { ac_try='test -z "$ac_cxx_werror_flag"
55467 || test ! -s conftest.err'
55468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55469 (eval $ac_try) 2>&5
55470 ac_status=$?
55471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55472 (exit $ac_status); }; } &&
55473 { ac_try='test -s conftest.$ac_objext'
55474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55475 (eval $ac_try) 2>&5
55476 ac_status=$?
55477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55478 (exit $ac_status); }; }; then
55479 glibcxx_cv_func_finite_use=yes
55480 else
55481 echo "$as_me: failed program was:" >&5
55482 sed 's/^/| /' conftest.$ac_ext >&5
55484 glibcxx_cv_func_finite_use=no
55486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55487 ac_ext=c
55488 ac_cpp='$CPP $CPPFLAGS'
55489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55497 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
55498 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
55500 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55502 for ac_func in finite
55504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55505 echo "$as_me:$LINENO: checking for $ac_func" >&5
55506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55507 if eval "test \"\${$as_ac_var+set}\" = set"; then
55508 echo $ECHO_N "(cached) $ECHO_C" >&6
55509 else
55510 if test x$gcc_no_link = xyes; then
55511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55513 { (exit 1); exit 1; }; }
55515 cat >conftest.$ac_ext <<_ACEOF
55516 /* confdefs.h. */
55517 _ACEOF
55518 cat confdefs.h >>conftest.$ac_ext
55519 cat >>conftest.$ac_ext <<_ACEOF
55520 /* end confdefs.h. */
55521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55523 #define $ac_func innocuous_$ac_func
55525 /* System header to define __stub macros and hopefully few prototypes,
55526 which can conflict with char $ac_func (); below.
55527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55528 <limits.h> exists even on freestanding compilers. */
55530 #ifdef __STDC__
55531 # include <limits.h>
55532 #else
55533 # include <assert.h>
55534 #endif
55536 #undef $ac_func
55538 /* Override any gcc2 internal prototype to avoid an error. */
55539 #ifdef __cplusplus
55540 extern "C"
55542 #endif
55543 /* We use char because int might match the return type of a gcc2
55544 builtin and then its argument prototype would still apply. */
55545 char $ac_func ();
55546 /* The GNU C library defines this for functions which it implements
55547 to always fail with ENOSYS. Some functions are actually named
55548 something starting with __ and the normal name is an alias. */
55549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55550 choke me
55551 #else
55552 char (*f) () = $ac_func;
55553 #endif
55554 #ifdef __cplusplus
55556 #endif
55559 main ()
55561 return f != $ac_func;
55563 return 0;
55565 _ACEOF
55566 rm -f conftest.$ac_objext conftest$ac_exeext
55567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55568 (eval $ac_link) 2>conftest.er1
55569 ac_status=$?
55570 grep -v '^ *+' conftest.er1 >conftest.err
55571 rm -f conftest.er1
55572 cat conftest.err >&5
55573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55574 (exit $ac_status); } &&
55575 { ac_try='test -z "$ac_c_werror_flag"
55576 || test ! -s conftest.err'
55577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55578 (eval $ac_try) 2>&5
55579 ac_status=$?
55580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581 (exit $ac_status); }; } &&
55582 { ac_try='test -s conftest$ac_exeext'
55583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55584 (eval $ac_try) 2>&5
55585 ac_status=$?
55586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55587 (exit $ac_status); }; }; then
55588 eval "$as_ac_var=yes"
55589 else
55590 echo "$as_me: failed program was:" >&5
55591 sed 's/^/| /' conftest.$ac_ext >&5
55593 eval "$as_ac_var=no"
55595 rm -f conftest.err conftest.$ac_objext \
55596 conftest$ac_exeext conftest.$ac_ext
55598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55600 if test `eval echo '${'$as_ac_var'}'` = yes; then
55601 cat >>confdefs.h <<_ACEOF
55602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55603 _ACEOF
55606 done
55608 else
55610 echo "$as_me:$LINENO: checking for _finite declaration" >&5
55611 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
55612 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55613 if test "${glibcxx_cv_func__finite_use+set}" = set; then
55614 echo $ECHO_N "(cached) $ECHO_C" >&6
55615 else
55619 ac_ext=cc
55620 ac_cpp='$CXXCPP $CPPFLAGS'
55621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55625 cat >conftest.$ac_ext <<_ACEOF
55626 /* confdefs.h. */
55627 _ACEOF
55628 cat confdefs.h >>conftest.$ac_ext
55629 cat >>conftest.$ac_ext <<_ACEOF
55630 /* end confdefs.h. */
55631 #include <math.h>
55632 #ifdef HAVE_IEEEFP_H
55633 #include <ieeefp.h>
55634 #endif
55637 main ()
55639 _finite(0);
55641 return 0;
55643 _ACEOF
55644 rm -f conftest.$ac_objext
55645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55646 (eval $ac_compile) 2>conftest.er1
55647 ac_status=$?
55648 grep -v '^ *+' conftest.er1 >conftest.err
55649 rm -f conftest.er1
55650 cat conftest.err >&5
55651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55652 (exit $ac_status); } &&
55653 { ac_try='test -z "$ac_cxx_werror_flag"
55654 || test ! -s conftest.err'
55655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55656 (eval $ac_try) 2>&5
55657 ac_status=$?
55658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55659 (exit $ac_status); }; } &&
55660 { ac_try='test -s conftest.$ac_objext'
55661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55662 (eval $ac_try) 2>&5
55663 ac_status=$?
55664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55665 (exit $ac_status); }; }; then
55666 glibcxx_cv_func__finite_use=yes
55667 else
55668 echo "$as_me: failed program was:" >&5
55669 sed 's/^/| /' conftest.$ac_ext >&5
55671 glibcxx_cv_func__finite_use=no
55673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55674 ac_ext=c
55675 ac_cpp='$CPP $CPPFLAGS'
55676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
55685 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
55687 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55689 for ac_func in _finite
55691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55692 echo "$as_me:$LINENO: checking for $ac_func" >&5
55693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55694 if eval "test \"\${$as_ac_var+set}\" = set"; then
55695 echo $ECHO_N "(cached) $ECHO_C" >&6
55696 else
55697 if test x$gcc_no_link = xyes; then
55698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55700 { (exit 1); exit 1; }; }
55702 cat >conftest.$ac_ext <<_ACEOF
55703 /* confdefs.h. */
55704 _ACEOF
55705 cat confdefs.h >>conftest.$ac_ext
55706 cat >>conftest.$ac_ext <<_ACEOF
55707 /* end confdefs.h. */
55708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55710 #define $ac_func innocuous_$ac_func
55712 /* System header to define __stub macros and hopefully few prototypes,
55713 which can conflict with char $ac_func (); below.
55714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55715 <limits.h> exists even on freestanding compilers. */
55717 #ifdef __STDC__
55718 # include <limits.h>
55719 #else
55720 # include <assert.h>
55721 #endif
55723 #undef $ac_func
55725 /* Override any gcc2 internal prototype to avoid an error. */
55726 #ifdef __cplusplus
55727 extern "C"
55729 #endif
55730 /* We use char because int might match the return type of a gcc2
55731 builtin and then its argument prototype would still apply. */
55732 char $ac_func ();
55733 /* The GNU C library defines this for functions which it implements
55734 to always fail with ENOSYS. Some functions are actually named
55735 something starting with __ and the normal name is an alias. */
55736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55737 choke me
55738 #else
55739 char (*f) () = $ac_func;
55740 #endif
55741 #ifdef __cplusplus
55743 #endif
55746 main ()
55748 return f != $ac_func;
55750 return 0;
55752 _ACEOF
55753 rm -f conftest.$ac_objext conftest$ac_exeext
55754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55755 (eval $ac_link) 2>conftest.er1
55756 ac_status=$?
55757 grep -v '^ *+' conftest.er1 >conftest.err
55758 rm -f conftest.er1
55759 cat conftest.err >&5
55760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761 (exit $ac_status); } &&
55762 { ac_try='test -z "$ac_c_werror_flag"
55763 || test ! -s conftest.err'
55764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55765 (eval $ac_try) 2>&5
55766 ac_status=$?
55767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768 (exit $ac_status); }; } &&
55769 { ac_try='test -s conftest$ac_exeext'
55770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55771 (eval $ac_try) 2>&5
55772 ac_status=$?
55773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774 (exit $ac_status); }; }; then
55775 eval "$as_ac_var=yes"
55776 else
55777 echo "$as_me: failed program was:" >&5
55778 sed 's/^/| /' conftest.$ac_ext >&5
55780 eval "$as_ac_var=no"
55782 rm -f conftest.err conftest.$ac_objext \
55783 conftest$ac_exeext conftest.$ac_ext
55785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55787 if test `eval echo '${'$as_ac_var'}'` = yes; then
55788 cat >>confdefs.h <<_ACEOF
55789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55790 _ACEOF
55793 done
55803 echo "$as_me:$LINENO: checking for copysign declaration" >&5
55804 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
55805 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
55806 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
55807 echo $ECHO_N "(cached) $ECHO_C" >&6
55808 else
55812 ac_ext=cc
55813 ac_cpp='$CXXCPP $CPPFLAGS'
55814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55818 cat >conftest.$ac_ext <<_ACEOF
55819 /* confdefs.h. */
55820 _ACEOF
55821 cat confdefs.h >>conftest.$ac_ext
55822 cat >>conftest.$ac_ext <<_ACEOF
55823 /* end confdefs.h. */
55824 #include <math.h>
55826 main ()
55828 copysign(0, 0);
55830 return 0;
55832 _ACEOF
55833 rm -f conftest.$ac_objext
55834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55835 (eval $ac_compile) 2>conftest.er1
55836 ac_status=$?
55837 grep -v '^ *+' conftest.er1 >conftest.err
55838 rm -f conftest.er1
55839 cat conftest.err >&5
55840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55841 (exit $ac_status); } &&
55842 { ac_try='test -z "$ac_cxx_werror_flag"
55843 || test ! -s conftest.err'
55844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55845 (eval $ac_try) 2>&5
55846 ac_status=$?
55847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55848 (exit $ac_status); }; } &&
55849 { ac_try='test -s conftest.$ac_objext'
55850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55851 (eval $ac_try) 2>&5
55852 ac_status=$?
55853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55854 (exit $ac_status); }; }; then
55855 glibcxx_cv_func_copysign_use=yes
55856 else
55857 echo "$as_me: failed program was:" >&5
55858 sed 's/^/| /' conftest.$ac_ext >&5
55860 glibcxx_cv_func_copysign_use=no
55862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55863 ac_ext=c
55864 ac_cpp='$CPP $CPPFLAGS'
55865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
55874 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
55876 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
55878 for ac_func in copysign
55880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55881 echo "$as_me:$LINENO: checking for $ac_func" >&5
55882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55883 if eval "test \"\${$as_ac_var+set}\" = set"; then
55884 echo $ECHO_N "(cached) $ECHO_C" >&6
55885 else
55886 if test x$gcc_no_link = xyes; then
55887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55889 { (exit 1); exit 1; }; }
55891 cat >conftest.$ac_ext <<_ACEOF
55892 /* confdefs.h. */
55893 _ACEOF
55894 cat confdefs.h >>conftest.$ac_ext
55895 cat >>conftest.$ac_ext <<_ACEOF
55896 /* end confdefs.h. */
55897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55899 #define $ac_func innocuous_$ac_func
55901 /* System header to define __stub macros and hopefully few prototypes,
55902 which can conflict with char $ac_func (); below.
55903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55904 <limits.h> exists even on freestanding compilers. */
55906 #ifdef __STDC__
55907 # include <limits.h>
55908 #else
55909 # include <assert.h>
55910 #endif
55912 #undef $ac_func
55914 /* Override any gcc2 internal prototype to avoid an error. */
55915 #ifdef __cplusplus
55916 extern "C"
55918 #endif
55919 /* We use char because int might match the return type of a gcc2
55920 builtin and then its argument prototype would still apply. */
55921 char $ac_func ();
55922 /* The GNU C library defines this for functions which it implements
55923 to always fail with ENOSYS. Some functions are actually named
55924 something starting with __ and the normal name is an alias. */
55925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55926 choke me
55927 #else
55928 char (*f) () = $ac_func;
55929 #endif
55930 #ifdef __cplusplus
55932 #endif
55935 main ()
55937 return f != $ac_func;
55939 return 0;
55941 _ACEOF
55942 rm -f conftest.$ac_objext conftest$ac_exeext
55943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55944 (eval $ac_link) 2>conftest.er1
55945 ac_status=$?
55946 grep -v '^ *+' conftest.er1 >conftest.err
55947 rm -f conftest.er1
55948 cat conftest.err >&5
55949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55950 (exit $ac_status); } &&
55951 { ac_try='test -z "$ac_c_werror_flag"
55952 || test ! -s conftest.err'
55953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55954 (eval $ac_try) 2>&5
55955 ac_status=$?
55956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55957 (exit $ac_status); }; } &&
55958 { ac_try='test -s conftest$ac_exeext'
55959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55960 (eval $ac_try) 2>&5
55961 ac_status=$?
55962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55963 (exit $ac_status); }; }; then
55964 eval "$as_ac_var=yes"
55965 else
55966 echo "$as_me: failed program was:" >&5
55967 sed 's/^/| /' conftest.$ac_ext >&5
55969 eval "$as_ac_var=no"
55971 rm -f conftest.err conftest.$ac_objext \
55972 conftest$ac_exeext conftest.$ac_ext
55974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55976 if test `eval echo '${'$as_ac_var'}'` = yes; then
55977 cat >>confdefs.h <<_ACEOF
55978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55979 _ACEOF
55982 done
55984 else
55986 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55987 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55988 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55989 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55990 echo $ECHO_N "(cached) $ECHO_C" >&6
55991 else
55995 ac_ext=cc
55996 ac_cpp='$CXXCPP $CPPFLAGS'
55997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56001 cat >conftest.$ac_ext <<_ACEOF
56002 /* confdefs.h. */
56003 _ACEOF
56004 cat confdefs.h >>conftest.$ac_ext
56005 cat >>conftest.$ac_ext <<_ACEOF
56006 /* end confdefs.h. */
56007 #include <math.h>
56009 main ()
56011 _copysign(0, 0);
56013 return 0;
56015 _ACEOF
56016 rm -f conftest.$ac_objext
56017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56018 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__copysign_use=yes
56039 else
56040 echo "$as_me: failed program was:" >&5
56041 sed 's/^/| /' conftest.$ac_ext >&5
56043 glibcxx_cv_func__copysign_use=no
56045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56046 ac_ext=c
56047 ac_cpp='$CPP $CPPFLAGS'
56048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
56057 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
56059 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
56061 for ac_func in _copysign
56063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56064 echo "$as_me:$LINENO: checking for $ac_func" >&5
56065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56066 if eval "test \"\${$as_ac_var+set}\" = set"; then
56067 echo $ECHO_N "(cached) $ECHO_C" >&6
56068 else
56069 if test x$gcc_no_link = xyes; then
56070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56072 { (exit 1); exit 1; }; }
56074 cat >conftest.$ac_ext <<_ACEOF
56075 /* confdefs.h. */
56076 _ACEOF
56077 cat confdefs.h >>conftest.$ac_ext
56078 cat >>conftest.$ac_ext <<_ACEOF
56079 /* end confdefs.h. */
56080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56082 #define $ac_func innocuous_$ac_func
56084 /* System header to define __stub macros and hopefully few prototypes,
56085 which can conflict with char $ac_func (); below.
56086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56087 <limits.h> exists even on freestanding compilers. */
56089 #ifdef __STDC__
56090 # include <limits.h>
56091 #else
56092 # include <assert.h>
56093 #endif
56095 #undef $ac_func
56097 /* Override any gcc2 internal prototype to avoid an error. */
56098 #ifdef __cplusplus
56099 extern "C"
56101 #endif
56102 /* We use char because int might match the return type of a gcc2
56103 builtin and then its argument prototype would still apply. */
56104 char $ac_func ();
56105 /* The GNU C library defines this for functions which it implements
56106 to always fail with ENOSYS. Some functions are actually named
56107 something starting with __ and the normal name is an alias. */
56108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56109 choke me
56110 #else
56111 char (*f) () = $ac_func;
56112 #endif
56113 #ifdef __cplusplus
56115 #endif
56118 main ()
56120 return f != $ac_func;
56122 return 0;
56124 _ACEOF
56125 rm -f conftest.$ac_objext conftest$ac_exeext
56126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56127 (eval $ac_link) 2>conftest.er1
56128 ac_status=$?
56129 grep -v '^ *+' conftest.er1 >conftest.err
56130 rm -f conftest.er1
56131 cat conftest.err >&5
56132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133 (exit $ac_status); } &&
56134 { ac_try='test -z "$ac_c_werror_flag"
56135 || test ! -s conftest.err'
56136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56137 (eval $ac_try) 2>&5
56138 ac_status=$?
56139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56140 (exit $ac_status); }; } &&
56141 { ac_try='test -s conftest$ac_exeext'
56142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56143 (eval $ac_try) 2>&5
56144 ac_status=$?
56145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146 (exit $ac_status); }; }; then
56147 eval "$as_ac_var=yes"
56148 else
56149 echo "$as_me: failed program was:" >&5
56150 sed 's/^/| /' conftest.$ac_ext >&5
56152 eval "$as_ac_var=no"
56154 rm -f conftest.err conftest.$ac_objext \
56155 conftest$ac_exeext conftest.$ac_ext
56157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56159 if test `eval echo '${'$as_ac_var'}'` = yes; then
56160 cat >>confdefs.h <<_ACEOF
56161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56162 _ACEOF
56165 done
56175 echo "$as_me:$LINENO: checking for sincos declaration" >&5
56176 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
56177 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56178 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56179 echo $ECHO_N "(cached) $ECHO_C" >&6
56180 else
56184 ac_ext=cc
56185 ac_cpp='$CXXCPP $CPPFLAGS'
56186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56190 cat >conftest.$ac_ext <<_ACEOF
56191 /* confdefs.h. */
56192 _ACEOF
56193 cat confdefs.h >>conftest.$ac_ext
56194 cat >>conftest.$ac_ext <<_ACEOF
56195 /* end confdefs.h. */
56196 #include <math.h>
56198 main ()
56200 sincos(0, 0, 0);
56202 return 0;
56204 _ACEOF
56205 rm -f conftest.$ac_objext
56206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56207 (eval $ac_compile) 2>conftest.er1
56208 ac_status=$?
56209 grep -v '^ *+' conftest.er1 >conftest.err
56210 rm -f conftest.er1
56211 cat conftest.err >&5
56212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56213 (exit $ac_status); } &&
56214 { ac_try='test -z "$ac_cxx_werror_flag"
56215 || test ! -s conftest.err'
56216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56217 (eval $ac_try) 2>&5
56218 ac_status=$?
56219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220 (exit $ac_status); }; } &&
56221 { ac_try='test -s conftest.$ac_objext'
56222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56223 (eval $ac_try) 2>&5
56224 ac_status=$?
56225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56226 (exit $ac_status); }; }; then
56227 glibcxx_cv_func_sincos_use=yes
56228 else
56229 echo "$as_me: failed program was:" >&5
56230 sed 's/^/| /' conftest.$ac_ext >&5
56232 glibcxx_cv_func_sincos_use=no
56234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56235 ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56246 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56248 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56250 for ac_func in sincos
56252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56253 echo "$as_me:$LINENO: checking for $ac_func" >&5
56254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56255 if eval "test \"\${$as_ac_var+set}\" = set"; then
56256 echo $ECHO_N "(cached) $ECHO_C" >&6
56257 else
56258 if test x$gcc_no_link = xyes; then
56259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56261 { (exit 1); exit 1; }; }
56263 cat >conftest.$ac_ext <<_ACEOF
56264 /* confdefs.h. */
56265 _ACEOF
56266 cat confdefs.h >>conftest.$ac_ext
56267 cat >>conftest.$ac_ext <<_ACEOF
56268 /* end confdefs.h. */
56269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56271 #define $ac_func innocuous_$ac_func
56273 /* System header to define __stub macros and hopefully few prototypes,
56274 which can conflict with char $ac_func (); below.
56275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56276 <limits.h> exists even on freestanding compilers. */
56278 #ifdef __STDC__
56279 # include <limits.h>
56280 #else
56281 # include <assert.h>
56282 #endif
56284 #undef $ac_func
56286 /* Override any gcc2 internal prototype to avoid an error. */
56287 #ifdef __cplusplus
56288 extern "C"
56290 #endif
56291 /* We use char because int might match the return type of a gcc2
56292 builtin and then its argument prototype would still apply. */
56293 char $ac_func ();
56294 /* The GNU C library defines this for functions which it implements
56295 to always fail with ENOSYS. Some functions are actually named
56296 something starting with __ and the normal name is an alias. */
56297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56298 choke me
56299 #else
56300 char (*f) () = $ac_func;
56301 #endif
56302 #ifdef __cplusplus
56304 #endif
56307 main ()
56309 return f != $ac_func;
56311 return 0;
56313 _ACEOF
56314 rm -f conftest.$ac_objext conftest$ac_exeext
56315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56316 (eval $ac_link) 2>conftest.er1
56317 ac_status=$?
56318 grep -v '^ *+' conftest.er1 >conftest.err
56319 rm -f conftest.er1
56320 cat conftest.err >&5
56321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56322 (exit $ac_status); } &&
56323 { ac_try='test -z "$ac_c_werror_flag"
56324 || test ! -s conftest.err'
56325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56326 (eval $ac_try) 2>&5
56327 ac_status=$?
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); }; } &&
56330 { ac_try='test -s conftest$ac_exeext'
56331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56332 (eval $ac_try) 2>&5
56333 ac_status=$?
56334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56335 (exit $ac_status); }; }; then
56336 eval "$as_ac_var=yes"
56337 else
56338 echo "$as_me: failed program was:" >&5
56339 sed 's/^/| /' conftest.$ac_ext >&5
56341 eval "$as_ac_var=no"
56343 rm -f conftest.err conftest.$ac_objext \
56344 conftest$ac_exeext conftest.$ac_ext
56346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56348 if test `eval echo '${'$as_ac_var'}'` = yes; then
56349 cat >>confdefs.h <<_ACEOF
56350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56351 _ACEOF
56354 done
56356 else
56358 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
56359 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
56360 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
56361 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
56362 echo $ECHO_N "(cached) $ECHO_C" >&6
56363 else
56367 ac_ext=cc
56368 ac_cpp='$CXXCPP $CPPFLAGS'
56369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56373 cat >conftest.$ac_ext <<_ACEOF
56374 /* confdefs.h. */
56375 _ACEOF
56376 cat confdefs.h >>conftest.$ac_ext
56377 cat >>conftest.$ac_ext <<_ACEOF
56378 /* end confdefs.h. */
56379 #include <math.h>
56381 main ()
56383 _sincos(0, 0, 0);
56385 return 0;
56387 _ACEOF
56388 rm -f conftest.$ac_objext
56389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56390 (eval $ac_compile) 2>conftest.er1
56391 ac_status=$?
56392 grep -v '^ *+' conftest.er1 >conftest.err
56393 rm -f conftest.er1
56394 cat conftest.err >&5
56395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56396 (exit $ac_status); } &&
56397 { ac_try='test -z "$ac_cxx_werror_flag"
56398 || test ! -s conftest.err'
56399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56400 (eval $ac_try) 2>&5
56401 ac_status=$?
56402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56403 (exit $ac_status); }; } &&
56404 { ac_try='test -s conftest.$ac_objext'
56405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56406 (eval $ac_try) 2>&5
56407 ac_status=$?
56408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56409 (exit $ac_status); }; }; then
56410 glibcxx_cv_func__sincos_use=yes
56411 else
56412 echo "$as_me: failed program was:" >&5
56413 sed 's/^/| /' conftest.$ac_ext >&5
56415 glibcxx_cv_func__sincos_use=no
56417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
56429 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
56431 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
56433 for ac_func in _sincos
56435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56436 echo "$as_me:$LINENO: checking for $ac_func" >&5
56437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56438 if eval "test \"\${$as_ac_var+set}\" = set"; then
56439 echo $ECHO_N "(cached) $ECHO_C" >&6
56440 else
56441 if test x$gcc_no_link = xyes; then
56442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56444 { (exit 1); exit 1; }; }
56446 cat >conftest.$ac_ext <<_ACEOF
56447 /* confdefs.h. */
56448 _ACEOF
56449 cat confdefs.h >>conftest.$ac_ext
56450 cat >>conftest.$ac_ext <<_ACEOF
56451 /* end confdefs.h. */
56452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56454 #define $ac_func innocuous_$ac_func
56456 /* System header to define __stub macros and hopefully few prototypes,
56457 which can conflict with char $ac_func (); below.
56458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56459 <limits.h> exists even on freestanding compilers. */
56461 #ifdef __STDC__
56462 # include <limits.h>
56463 #else
56464 # include <assert.h>
56465 #endif
56467 #undef $ac_func
56469 /* Override any gcc2 internal prototype to avoid an error. */
56470 #ifdef __cplusplus
56471 extern "C"
56473 #endif
56474 /* We use char because int might match the return type of a gcc2
56475 builtin and then its argument prototype would still apply. */
56476 char $ac_func ();
56477 /* The GNU C library defines this for functions which it implements
56478 to always fail with ENOSYS. Some functions are actually named
56479 something starting with __ and the normal name is an alias. */
56480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56481 choke me
56482 #else
56483 char (*f) () = $ac_func;
56484 #endif
56485 #ifdef __cplusplus
56487 #endif
56490 main ()
56492 return f != $ac_func;
56494 return 0;
56496 _ACEOF
56497 rm -f conftest.$ac_objext conftest$ac_exeext
56498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56499 (eval $ac_link) 2>conftest.er1
56500 ac_status=$?
56501 grep -v '^ *+' conftest.er1 >conftest.err
56502 rm -f conftest.er1
56503 cat conftest.err >&5
56504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56505 (exit $ac_status); } &&
56506 { ac_try='test -z "$ac_c_werror_flag"
56507 || test ! -s conftest.err'
56508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56509 (eval $ac_try) 2>&5
56510 ac_status=$?
56511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56512 (exit $ac_status); }; } &&
56513 { ac_try='test -s conftest$ac_exeext'
56514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56515 (eval $ac_try) 2>&5
56516 ac_status=$?
56517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56518 (exit $ac_status); }; }; then
56519 eval "$as_ac_var=yes"
56520 else
56521 echo "$as_me: failed program was:" >&5
56522 sed 's/^/| /' conftest.$ac_ext >&5
56524 eval "$as_ac_var=no"
56526 rm -f conftest.err conftest.$ac_objext \
56527 conftest$ac_exeext conftest.$ac_ext
56529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56531 if test `eval echo '${'$as_ac_var'}'` = yes; then
56532 cat >>confdefs.h <<_ACEOF
56533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56534 _ACEOF
56537 done
56547 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
56548 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
56549 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
56550 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
56551 echo $ECHO_N "(cached) $ECHO_C" >&6
56552 else
56556 ac_ext=cc
56557 ac_cpp='$CXXCPP $CPPFLAGS'
56558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56562 cat >conftest.$ac_ext <<_ACEOF
56563 /* confdefs.h. */
56564 _ACEOF
56565 cat confdefs.h >>conftest.$ac_ext
56566 cat >>conftest.$ac_ext <<_ACEOF
56567 /* end confdefs.h. */
56568 #include <math.h>
56569 #ifdef HAVE_IEEEFP_H
56570 #include <ieeefp.h>
56571 #endif
56574 main ()
56576 fpclass(0);
56578 return 0;
56580 _ACEOF
56581 rm -f conftest.$ac_objext
56582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56583 (eval $ac_compile) 2>conftest.er1
56584 ac_status=$?
56585 grep -v '^ *+' conftest.er1 >conftest.err
56586 rm -f conftest.er1
56587 cat conftest.err >&5
56588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56589 (exit $ac_status); } &&
56590 { ac_try='test -z "$ac_cxx_werror_flag"
56591 || test ! -s conftest.err'
56592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56593 (eval $ac_try) 2>&5
56594 ac_status=$?
56595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56596 (exit $ac_status); }; } &&
56597 { ac_try='test -s conftest.$ac_objext'
56598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56599 (eval $ac_try) 2>&5
56600 ac_status=$?
56601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602 (exit $ac_status); }; }; then
56603 glibcxx_cv_func_fpclass_use=yes
56604 else
56605 echo "$as_me: failed program was:" >&5
56606 sed 's/^/| /' conftest.$ac_ext >&5
56608 glibcxx_cv_func_fpclass_use=no
56610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56611 ac_ext=c
56612 ac_cpp='$CPP $CPPFLAGS'
56613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
56622 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
56624 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
56626 for ac_func in fpclass
56628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56629 echo "$as_me:$LINENO: checking for $ac_func" >&5
56630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56631 if eval "test \"\${$as_ac_var+set}\" = set"; then
56632 echo $ECHO_N "(cached) $ECHO_C" >&6
56633 else
56634 if test x$gcc_no_link = xyes; then
56635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56637 { (exit 1); exit 1; }; }
56639 cat >conftest.$ac_ext <<_ACEOF
56640 /* confdefs.h. */
56641 _ACEOF
56642 cat confdefs.h >>conftest.$ac_ext
56643 cat >>conftest.$ac_ext <<_ACEOF
56644 /* end confdefs.h. */
56645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56647 #define $ac_func innocuous_$ac_func
56649 /* System header to define __stub macros and hopefully few prototypes,
56650 which can conflict with char $ac_func (); below.
56651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56652 <limits.h> exists even on freestanding compilers. */
56654 #ifdef __STDC__
56655 # include <limits.h>
56656 #else
56657 # include <assert.h>
56658 #endif
56660 #undef $ac_func
56662 /* Override any gcc2 internal prototype to avoid an error. */
56663 #ifdef __cplusplus
56664 extern "C"
56666 #endif
56667 /* We use char because int might match the return type of a gcc2
56668 builtin and then its argument prototype would still apply. */
56669 char $ac_func ();
56670 /* The GNU C library defines this for functions which it implements
56671 to always fail with ENOSYS. Some functions are actually named
56672 something starting with __ and the normal name is an alias. */
56673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56674 choke me
56675 #else
56676 char (*f) () = $ac_func;
56677 #endif
56678 #ifdef __cplusplus
56680 #endif
56683 main ()
56685 return f != $ac_func;
56687 return 0;
56689 _ACEOF
56690 rm -f conftest.$ac_objext conftest$ac_exeext
56691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56692 (eval $ac_link) 2>conftest.er1
56693 ac_status=$?
56694 grep -v '^ *+' conftest.er1 >conftest.err
56695 rm -f conftest.er1
56696 cat conftest.err >&5
56697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56698 (exit $ac_status); } &&
56699 { ac_try='test -z "$ac_c_werror_flag"
56700 || test ! -s conftest.err'
56701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56702 (eval $ac_try) 2>&5
56703 ac_status=$?
56704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56705 (exit $ac_status); }; } &&
56706 { ac_try='test -s conftest$ac_exeext'
56707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56708 (eval $ac_try) 2>&5
56709 ac_status=$?
56710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711 (exit $ac_status); }; }; then
56712 eval "$as_ac_var=yes"
56713 else
56714 echo "$as_me: failed program was:" >&5
56715 sed 's/^/| /' conftest.$ac_ext >&5
56717 eval "$as_ac_var=no"
56719 rm -f conftest.err conftest.$ac_objext \
56720 conftest$ac_exeext conftest.$ac_ext
56722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56724 if test `eval echo '${'$as_ac_var'}'` = yes; then
56725 cat >>confdefs.h <<_ACEOF
56726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56727 _ACEOF
56730 done
56732 else
56734 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
56735 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
56736 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
56737 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
56738 echo $ECHO_N "(cached) $ECHO_C" >&6
56739 else
56743 ac_ext=cc
56744 ac_cpp='$CXXCPP $CPPFLAGS'
56745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56749 cat >conftest.$ac_ext <<_ACEOF
56750 /* confdefs.h. */
56751 _ACEOF
56752 cat confdefs.h >>conftest.$ac_ext
56753 cat >>conftest.$ac_ext <<_ACEOF
56754 /* end confdefs.h. */
56755 #include <math.h>
56756 #ifdef HAVE_IEEEFP_H
56757 #include <ieeefp.h>
56758 #endif
56761 main ()
56763 _fpclass(0);
56765 return 0;
56767 _ACEOF
56768 rm -f conftest.$ac_objext
56769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56770 (eval $ac_compile) 2>conftest.er1
56771 ac_status=$?
56772 grep -v '^ *+' conftest.er1 >conftest.err
56773 rm -f conftest.er1
56774 cat conftest.err >&5
56775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56776 (exit $ac_status); } &&
56777 { ac_try='test -z "$ac_cxx_werror_flag"
56778 || test ! -s conftest.err'
56779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56780 (eval $ac_try) 2>&5
56781 ac_status=$?
56782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56783 (exit $ac_status); }; } &&
56784 { ac_try='test -s conftest.$ac_objext'
56785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56786 (eval $ac_try) 2>&5
56787 ac_status=$?
56788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56789 (exit $ac_status); }; }; then
56790 glibcxx_cv_func__fpclass_use=yes
56791 else
56792 echo "$as_me: failed program was:" >&5
56793 sed 's/^/| /' conftest.$ac_ext >&5
56795 glibcxx_cv_func__fpclass_use=no
56797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56798 ac_ext=c
56799 ac_cpp='$CPP $CPPFLAGS'
56800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
56809 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
56811 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
56813 for ac_func in _fpclass
56815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56816 echo "$as_me:$LINENO: checking for $ac_func" >&5
56817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56818 if eval "test \"\${$as_ac_var+set}\" = set"; then
56819 echo $ECHO_N "(cached) $ECHO_C" >&6
56820 else
56821 if test x$gcc_no_link = xyes; then
56822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56824 { (exit 1); exit 1; }; }
56826 cat >conftest.$ac_ext <<_ACEOF
56827 /* confdefs.h. */
56828 _ACEOF
56829 cat confdefs.h >>conftest.$ac_ext
56830 cat >>conftest.$ac_ext <<_ACEOF
56831 /* end confdefs.h. */
56832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56834 #define $ac_func innocuous_$ac_func
56836 /* System header to define __stub macros and hopefully few prototypes,
56837 which can conflict with char $ac_func (); below.
56838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56839 <limits.h> exists even on freestanding compilers. */
56841 #ifdef __STDC__
56842 # include <limits.h>
56843 #else
56844 # include <assert.h>
56845 #endif
56847 #undef $ac_func
56849 /* Override any gcc2 internal prototype to avoid an error. */
56850 #ifdef __cplusplus
56851 extern "C"
56853 #endif
56854 /* We use char because int might match the return type of a gcc2
56855 builtin and then its argument prototype would still apply. */
56856 char $ac_func ();
56857 /* The GNU C library defines this for functions which it implements
56858 to always fail with ENOSYS. Some functions are actually named
56859 something starting with __ and the normal name is an alias. */
56860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56861 choke me
56862 #else
56863 char (*f) () = $ac_func;
56864 #endif
56865 #ifdef __cplusplus
56867 #endif
56870 main ()
56872 return f != $ac_func;
56874 return 0;
56876 _ACEOF
56877 rm -f conftest.$ac_objext conftest$ac_exeext
56878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56879 (eval $ac_link) 2>conftest.er1
56880 ac_status=$?
56881 grep -v '^ *+' conftest.er1 >conftest.err
56882 rm -f conftest.er1
56883 cat conftest.err >&5
56884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56885 (exit $ac_status); } &&
56886 { ac_try='test -z "$ac_c_werror_flag"
56887 || test ! -s conftest.err'
56888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56889 (eval $ac_try) 2>&5
56890 ac_status=$?
56891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892 (exit $ac_status); }; } &&
56893 { ac_try='test -s conftest$ac_exeext'
56894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56895 (eval $ac_try) 2>&5
56896 ac_status=$?
56897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56898 (exit $ac_status); }; }; then
56899 eval "$as_ac_var=yes"
56900 else
56901 echo "$as_me: failed program was:" >&5
56902 sed 's/^/| /' conftest.$ac_ext >&5
56904 eval "$as_ac_var=no"
56906 rm -f conftest.err conftest.$ac_objext \
56907 conftest$ac_exeext conftest.$ac_ext
56909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56911 if test `eval echo '${'$as_ac_var'}'` = yes; then
56912 cat >>confdefs.h <<_ACEOF
56913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56914 _ACEOF
56917 done
56927 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
56928 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
56929 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
56930 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
56931 echo $ECHO_N "(cached) $ECHO_C" >&6
56932 else
56936 ac_ext=cc
56937 ac_cpp='$CXXCPP $CPPFLAGS'
56938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56942 cat >conftest.$ac_ext <<_ACEOF
56943 /* confdefs.h. */
56944 _ACEOF
56945 cat confdefs.h >>conftest.$ac_ext
56946 cat >>conftest.$ac_ext <<_ACEOF
56947 /* end confdefs.h. */
56948 #include <math.h>
56949 #ifdef HAVE_IEEEFP_H
56950 #include <ieeefp.h>
56951 #endif
56954 main ()
56956 qfpclass(0);
56958 return 0;
56960 _ACEOF
56961 rm -f conftest.$ac_objext
56962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56963 (eval $ac_compile) 2>conftest.er1
56964 ac_status=$?
56965 grep -v '^ *+' conftest.er1 >conftest.err
56966 rm -f conftest.er1
56967 cat conftest.err >&5
56968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56969 (exit $ac_status); } &&
56970 { ac_try='test -z "$ac_cxx_werror_flag"
56971 || test ! -s conftest.err'
56972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56973 (eval $ac_try) 2>&5
56974 ac_status=$?
56975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56976 (exit $ac_status); }; } &&
56977 { ac_try='test -s conftest.$ac_objext'
56978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56979 (eval $ac_try) 2>&5
56980 ac_status=$?
56981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982 (exit $ac_status); }; }; then
56983 glibcxx_cv_func_qfpclass_use=yes
56984 else
56985 echo "$as_me: failed program was:" >&5
56986 sed 's/^/| /' conftest.$ac_ext >&5
56988 glibcxx_cv_func_qfpclass_use=no
56990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56991 ac_ext=c
56992 ac_cpp='$CPP $CPPFLAGS'
56993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
57002 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
57004 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57006 for ac_func in qfpclass
57008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57009 echo "$as_me:$LINENO: checking for $ac_func" >&5
57010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57011 if eval "test \"\${$as_ac_var+set}\" = set"; then
57012 echo $ECHO_N "(cached) $ECHO_C" >&6
57013 else
57014 if test x$gcc_no_link = xyes; then
57015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57017 { (exit 1); exit 1; }; }
57019 cat >conftest.$ac_ext <<_ACEOF
57020 /* confdefs.h. */
57021 _ACEOF
57022 cat confdefs.h >>conftest.$ac_ext
57023 cat >>conftest.$ac_ext <<_ACEOF
57024 /* end confdefs.h. */
57025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57027 #define $ac_func innocuous_$ac_func
57029 /* System header to define __stub macros and hopefully few prototypes,
57030 which can conflict with char $ac_func (); below.
57031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57032 <limits.h> exists even on freestanding compilers. */
57034 #ifdef __STDC__
57035 # include <limits.h>
57036 #else
57037 # include <assert.h>
57038 #endif
57040 #undef $ac_func
57042 /* Override any gcc2 internal prototype to avoid an error. */
57043 #ifdef __cplusplus
57044 extern "C"
57046 #endif
57047 /* We use char because int might match the return type of a gcc2
57048 builtin and then its argument prototype would still apply. */
57049 char $ac_func ();
57050 /* The GNU C library defines this for functions which it implements
57051 to always fail with ENOSYS. Some functions are actually named
57052 something starting with __ and the normal name is an alias. */
57053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57054 choke me
57055 #else
57056 char (*f) () = $ac_func;
57057 #endif
57058 #ifdef __cplusplus
57060 #endif
57063 main ()
57065 return f != $ac_func;
57067 return 0;
57069 _ACEOF
57070 rm -f conftest.$ac_objext conftest$ac_exeext
57071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57072 (eval $ac_link) 2>conftest.er1
57073 ac_status=$?
57074 grep -v '^ *+' conftest.er1 >conftest.err
57075 rm -f conftest.er1
57076 cat conftest.err >&5
57077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57078 (exit $ac_status); } &&
57079 { ac_try='test -z "$ac_c_werror_flag"
57080 || test ! -s conftest.err'
57081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57082 (eval $ac_try) 2>&5
57083 ac_status=$?
57084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57085 (exit $ac_status); }; } &&
57086 { ac_try='test -s conftest$ac_exeext'
57087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57088 (eval $ac_try) 2>&5
57089 ac_status=$?
57090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57091 (exit $ac_status); }; }; then
57092 eval "$as_ac_var=yes"
57093 else
57094 echo "$as_me: failed program was:" >&5
57095 sed 's/^/| /' conftest.$ac_ext >&5
57097 eval "$as_ac_var=no"
57099 rm -f conftest.err conftest.$ac_objext \
57100 conftest$ac_exeext conftest.$ac_ext
57102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57104 if test `eval echo '${'$as_ac_var'}'` = yes; then
57105 cat >>confdefs.h <<_ACEOF
57106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57107 _ACEOF
57110 done
57112 else
57114 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
57115 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
57116 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57117 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
57118 echo $ECHO_N "(cached) $ECHO_C" >&6
57119 else
57123 ac_ext=cc
57124 ac_cpp='$CXXCPP $CPPFLAGS'
57125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57129 cat >conftest.$ac_ext <<_ACEOF
57130 /* confdefs.h. */
57131 _ACEOF
57132 cat confdefs.h >>conftest.$ac_ext
57133 cat >>conftest.$ac_ext <<_ACEOF
57134 /* end confdefs.h. */
57135 #include <math.h>
57136 #ifdef HAVE_IEEEFP_H
57137 #include <ieeefp.h>
57138 #endif
57141 main ()
57143 _qfpclass(0);
57145 return 0;
57147 _ACEOF
57148 rm -f conftest.$ac_objext
57149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57150 (eval $ac_compile) 2>conftest.er1
57151 ac_status=$?
57152 grep -v '^ *+' conftest.er1 >conftest.err
57153 rm -f conftest.er1
57154 cat conftest.err >&5
57155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156 (exit $ac_status); } &&
57157 { ac_try='test -z "$ac_cxx_werror_flag"
57158 || test ! -s conftest.err'
57159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57160 (eval $ac_try) 2>&5
57161 ac_status=$?
57162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57163 (exit $ac_status); }; } &&
57164 { ac_try='test -s conftest.$ac_objext'
57165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57166 (eval $ac_try) 2>&5
57167 ac_status=$?
57168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57169 (exit $ac_status); }; }; then
57170 glibcxx_cv_func__qfpclass_use=yes
57171 else
57172 echo "$as_me: failed program was:" >&5
57173 sed 's/^/| /' conftest.$ac_ext >&5
57175 glibcxx_cv_func__qfpclass_use=no
57177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57178 ac_ext=c
57179 ac_cpp='$CPP $CPPFLAGS'
57180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57189 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57191 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57193 for ac_func in _qfpclass
57195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57196 echo "$as_me:$LINENO: checking for $ac_func" >&5
57197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57198 if eval "test \"\${$as_ac_var+set}\" = set"; then
57199 echo $ECHO_N "(cached) $ECHO_C" >&6
57200 else
57201 if test x$gcc_no_link = xyes; then
57202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57204 { (exit 1); exit 1; }; }
57206 cat >conftest.$ac_ext <<_ACEOF
57207 /* confdefs.h. */
57208 _ACEOF
57209 cat confdefs.h >>conftest.$ac_ext
57210 cat >>conftest.$ac_ext <<_ACEOF
57211 /* end confdefs.h. */
57212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57214 #define $ac_func innocuous_$ac_func
57216 /* System header to define __stub macros and hopefully few prototypes,
57217 which can conflict with char $ac_func (); below.
57218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57219 <limits.h> exists even on freestanding compilers. */
57221 #ifdef __STDC__
57222 # include <limits.h>
57223 #else
57224 # include <assert.h>
57225 #endif
57227 #undef $ac_func
57229 /* Override any gcc2 internal prototype to avoid an error. */
57230 #ifdef __cplusplus
57231 extern "C"
57233 #endif
57234 /* We use char because int might match the return type of a gcc2
57235 builtin and then its argument prototype would still apply. */
57236 char $ac_func ();
57237 /* The GNU C library defines this for functions which it implements
57238 to always fail with ENOSYS. Some functions are actually named
57239 something starting with __ and the normal name is an alias. */
57240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57241 choke me
57242 #else
57243 char (*f) () = $ac_func;
57244 #endif
57245 #ifdef __cplusplus
57247 #endif
57250 main ()
57252 return f != $ac_func;
57254 return 0;
57256 _ACEOF
57257 rm -f conftest.$ac_objext conftest$ac_exeext
57258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57259 (eval $ac_link) 2>conftest.er1
57260 ac_status=$?
57261 grep -v '^ *+' conftest.er1 >conftest.err
57262 rm -f conftest.er1
57263 cat conftest.err >&5
57264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265 (exit $ac_status); } &&
57266 { ac_try='test -z "$ac_c_werror_flag"
57267 || test ! -s conftest.err'
57268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57269 (eval $ac_try) 2>&5
57270 ac_status=$?
57271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57272 (exit $ac_status); }; } &&
57273 { ac_try='test -s conftest$ac_exeext'
57274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57275 (eval $ac_try) 2>&5
57276 ac_status=$?
57277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57278 (exit $ac_status); }; }; then
57279 eval "$as_ac_var=yes"
57280 else
57281 echo "$as_me: failed program was:" >&5
57282 sed 's/^/| /' conftest.$ac_ext >&5
57284 eval "$as_ac_var=no"
57286 rm -f conftest.err conftest.$ac_objext \
57287 conftest$ac_exeext conftest.$ac_ext
57289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57291 if test `eval echo '${'$as_ac_var'}'` = yes; then
57292 cat >>confdefs.h <<_ACEOF
57293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57294 _ACEOF
57297 done
57307 echo "$as_me:$LINENO: checking for hypot declaration" >&5
57308 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
57309 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
57310 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
57311 echo $ECHO_N "(cached) $ECHO_C" >&6
57312 else
57316 ac_ext=cc
57317 ac_cpp='$CXXCPP $CPPFLAGS'
57318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57322 cat >conftest.$ac_ext <<_ACEOF
57323 /* confdefs.h. */
57324 _ACEOF
57325 cat confdefs.h >>conftest.$ac_ext
57326 cat >>conftest.$ac_ext <<_ACEOF
57327 /* end confdefs.h. */
57328 #include <math.h>
57330 main ()
57332 hypot(0, 0);
57334 return 0;
57336 _ACEOF
57337 rm -f conftest.$ac_objext
57338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57339 (eval $ac_compile) 2>conftest.er1
57340 ac_status=$?
57341 grep -v '^ *+' conftest.er1 >conftest.err
57342 rm -f conftest.er1
57343 cat conftest.err >&5
57344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57345 (exit $ac_status); } &&
57346 { ac_try='test -z "$ac_cxx_werror_flag"
57347 || test ! -s conftest.err'
57348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57349 (eval $ac_try) 2>&5
57350 ac_status=$?
57351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57352 (exit $ac_status); }; } &&
57353 { ac_try='test -s conftest.$ac_objext'
57354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57355 (eval $ac_try) 2>&5
57356 ac_status=$?
57357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57358 (exit $ac_status); }; }; then
57359 glibcxx_cv_func_hypot_use=yes
57360 else
57361 echo "$as_me: failed program was:" >&5
57362 sed 's/^/| /' conftest.$ac_ext >&5
57364 glibcxx_cv_func_hypot_use=no
57366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57367 ac_ext=c
57368 ac_cpp='$CPP $CPPFLAGS'
57369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
57378 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
57380 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
57382 for ac_func in hypot
57384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57385 echo "$as_me:$LINENO: checking for $ac_func" >&5
57386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57387 if eval "test \"\${$as_ac_var+set}\" = set"; then
57388 echo $ECHO_N "(cached) $ECHO_C" >&6
57389 else
57390 if test x$gcc_no_link = xyes; then
57391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57393 { (exit 1); exit 1; }; }
57395 cat >conftest.$ac_ext <<_ACEOF
57396 /* confdefs.h. */
57397 _ACEOF
57398 cat confdefs.h >>conftest.$ac_ext
57399 cat >>conftest.$ac_ext <<_ACEOF
57400 /* end confdefs.h. */
57401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57403 #define $ac_func innocuous_$ac_func
57405 /* System header to define __stub macros and hopefully few prototypes,
57406 which can conflict with char $ac_func (); below.
57407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57408 <limits.h> exists even on freestanding compilers. */
57410 #ifdef __STDC__
57411 # include <limits.h>
57412 #else
57413 # include <assert.h>
57414 #endif
57416 #undef $ac_func
57418 /* Override any gcc2 internal prototype to avoid an error. */
57419 #ifdef __cplusplus
57420 extern "C"
57422 #endif
57423 /* We use char because int might match the return type of a gcc2
57424 builtin and then its argument prototype would still apply. */
57425 char $ac_func ();
57426 /* The GNU C library defines this for functions which it implements
57427 to always fail with ENOSYS. Some functions are actually named
57428 something starting with __ and the normal name is an alias. */
57429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57430 choke me
57431 #else
57432 char (*f) () = $ac_func;
57433 #endif
57434 #ifdef __cplusplus
57436 #endif
57439 main ()
57441 return f != $ac_func;
57443 return 0;
57445 _ACEOF
57446 rm -f conftest.$ac_objext conftest$ac_exeext
57447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57448 (eval $ac_link) 2>conftest.er1
57449 ac_status=$?
57450 grep -v '^ *+' conftest.er1 >conftest.err
57451 rm -f conftest.er1
57452 cat conftest.err >&5
57453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57454 (exit $ac_status); } &&
57455 { ac_try='test -z "$ac_c_werror_flag"
57456 || test ! -s conftest.err'
57457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57458 (eval $ac_try) 2>&5
57459 ac_status=$?
57460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57461 (exit $ac_status); }; } &&
57462 { ac_try='test -s conftest$ac_exeext'
57463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57464 (eval $ac_try) 2>&5
57465 ac_status=$?
57466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467 (exit $ac_status); }; }; then
57468 eval "$as_ac_var=yes"
57469 else
57470 echo "$as_me: failed program was:" >&5
57471 sed 's/^/| /' conftest.$ac_ext >&5
57473 eval "$as_ac_var=no"
57475 rm -f conftest.err conftest.$ac_objext \
57476 conftest$ac_exeext conftest.$ac_ext
57478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57480 if test `eval echo '${'$as_ac_var'}'` = yes; then
57481 cat >>confdefs.h <<_ACEOF
57482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57483 _ACEOF
57486 done
57488 else
57490 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
57491 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
57492 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
57493 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
57494 echo $ECHO_N "(cached) $ECHO_C" >&6
57495 else
57499 ac_ext=cc
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57505 cat >conftest.$ac_ext <<_ACEOF
57506 /* confdefs.h. */
57507 _ACEOF
57508 cat confdefs.h >>conftest.$ac_ext
57509 cat >>conftest.$ac_ext <<_ACEOF
57510 /* end confdefs.h. */
57511 #include <math.h>
57513 main ()
57515 _hypot(0, 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__hypot_use=yes
57543 else
57544 echo "$as_me: failed program was:" >&5
57545 sed 's/^/| /' conftest.$ac_ext >&5
57547 glibcxx_cv_func__hypot_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__hypot_use" >&5
57561 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
57563 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
57565 for ac_func in _hypot
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
57679 echo "$as_me:$LINENO: checking for float trig functions" >&5
57680 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
57681 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
57682 echo $ECHO_N "(cached) $ECHO_C" >&6
57683 else
57687 ac_ext=cc
57688 ac_cpp='$CXXCPP $CPPFLAGS'
57689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693 cat >conftest.$ac_ext <<_ACEOF
57694 /* confdefs.h. */
57695 _ACEOF
57696 cat confdefs.h >>conftest.$ac_ext
57697 cat >>conftest.$ac_ext <<_ACEOF
57698 /* end confdefs.h. */
57699 #include <math.h>
57701 main ()
57703 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
57705 return 0;
57707 _ACEOF
57708 rm -f conftest.$ac_objext
57709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57710 (eval $ac_compile) 2>conftest.er1
57711 ac_status=$?
57712 grep -v '^ *+' conftest.er1 >conftest.err
57713 rm -f conftest.er1
57714 cat conftest.err >&5
57715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57716 (exit $ac_status); } &&
57717 { ac_try='test -z "$ac_cxx_werror_flag"
57718 || test ! -s conftest.err'
57719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57720 (eval $ac_try) 2>&5
57721 ac_status=$?
57722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57723 (exit $ac_status); }; } &&
57724 { ac_try='test -s conftest.$ac_objext'
57725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57726 (eval $ac_try) 2>&5
57727 ac_status=$?
57728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57729 (exit $ac_status); }; }; then
57730 glibcxx_cv_func_float_trig_use=yes
57731 else
57732 echo "$as_me: failed program was:" >&5
57733 sed 's/^/| /' conftest.$ac_ext >&5
57735 glibcxx_cv_func_float_trig_use=no
57737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57738 ac_ext=c
57739 ac_cpp='$CPP $CPPFLAGS'
57740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
57747 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
57748 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
57758 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
57760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57761 echo "$as_me:$LINENO: checking for $ac_func" >&5
57762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57763 if eval "test \"\${$as_ac_var+set}\" = set"; then
57764 echo $ECHO_N "(cached) $ECHO_C" >&6
57765 else
57766 if test x$gcc_no_link = xyes; then
57767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57769 { (exit 1); exit 1; }; }
57771 cat >conftest.$ac_ext <<_ACEOF
57772 /* confdefs.h. */
57773 _ACEOF
57774 cat confdefs.h >>conftest.$ac_ext
57775 cat >>conftest.$ac_ext <<_ACEOF
57776 /* end confdefs.h. */
57777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57779 #define $ac_func innocuous_$ac_func
57781 /* System header to define __stub macros and hopefully few prototypes,
57782 which can conflict with char $ac_func (); below.
57783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57784 <limits.h> exists even on freestanding compilers. */
57786 #ifdef __STDC__
57787 # include <limits.h>
57788 #else
57789 # include <assert.h>
57790 #endif
57792 #undef $ac_func
57794 /* Override any gcc2 internal prototype to avoid an error. */
57795 #ifdef __cplusplus
57796 extern "C"
57798 #endif
57799 /* We use char because int might match the return type of a gcc2
57800 builtin and then its argument prototype would still apply. */
57801 char $ac_func ();
57802 /* The GNU C library defines this for functions which it implements
57803 to always fail with ENOSYS. Some functions are actually named
57804 something starting with __ and the normal name is an alias. */
57805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57806 choke me
57807 #else
57808 char (*f) () = $ac_func;
57809 #endif
57810 #ifdef __cplusplus
57812 #endif
57815 main ()
57817 return f != $ac_func;
57819 return 0;
57821 _ACEOF
57822 rm -f conftest.$ac_objext conftest$ac_exeext
57823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57824 (eval $ac_link) 2>conftest.er1
57825 ac_status=$?
57826 grep -v '^ *+' conftest.er1 >conftest.err
57827 rm -f conftest.er1
57828 cat conftest.err >&5
57829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830 (exit $ac_status); } &&
57831 { ac_try='test -z "$ac_c_werror_flag"
57832 || test ! -s conftest.err'
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); }; } &&
57838 { ac_try='test -s conftest$ac_exeext'
57839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57840 (eval $ac_try) 2>&5
57841 ac_status=$?
57842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843 (exit $ac_status); }; }; then
57844 eval "$as_ac_var=yes"
57845 else
57846 echo "$as_me: failed program was:" >&5
57847 sed 's/^/| /' conftest.$ac_ext >&5
57849 eval "$as_ac_var=no"
57851 rm -f conftest.err conftest.$ac_objext \
57852 conftest$ac_exeext conftest.$ac_ext
57854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57856 if test `eval echo '${'$as_ac_var'}'` = yes; then
57857 cat >>confdefs.h <<_ACEOF
57858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57859 _ACEOF
57862 done
57864 else
57865 echo "$as_me:$LINENO: checking for _float trig functions" >&5
57866 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
57867 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
57868 echo $ECHO_N "(cached) $ECHO_C" >&6
57869 else
57873 ac_ext=cc
57874 ac_cpp='$CXXCPP $CPPFLAGS'
57875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57879 cat >conftest.$ac_ext <<_ACEOF
57880 /* confdefs.h. */
57881 _ACEOF
57882 cat confdefs.h >>conftest.$ac_ext
57883 cat >>conftest.$ac_ext <<_ACEOF
57884 /* end confdefs.h. */
57885 #include <math.h>
57887 main ()
57889 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
57891 return 0;
57893 _ACEOF
57894 rm -f conftest.$ac_objext
57895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57896 (eval $ac_compile) 2>conftest.er1
57897 ac_status=$?
57898 grep -v '^ *+' conftest.er1 >conftest.err
57899 rm -f conftest.er1
57900 cat conftest.err >&5
57901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902 (exit $ac_status); } &&
57903 { ac_try='test -z "$ac_cxx_werror_flag"
57904 || test ! -s conftest.err'
57905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57906 (eval $ac_try) 2>&5
57907 ac_status=$?
57908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57909 (exit $ac_status); }; } &&
57910 { ac_try='test -s conftest.$ac_objext'
57911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57912 (eval $ac_try) 2>&5
57913 ac_status=$?
57914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57915 (exit $ac_status); }; }; then
57916 glibcxx_cv_func__float_trig_use=yes
57917 else
57918 echo "$as_me: failed program was:" >&5
57919 sed 's/^/| /' conftest.$ac_ext >&5
57921 glibcxx_cv_func__float_trig_use=no
57923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57924 ac_ext=c
57925 ac_cpp='$CPP $CPPFLAGS'
57926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
57933 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
57934 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
57944 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
57946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57947 echo "$as_me:$LINENO: checking for $ac_func" >&5
57948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57949 if eval "test \"\${$as_ac_var+set}\" = set"; then
57950 echo $ECHO_N "(cached) $ECHO_C" >&6
57951 else
57952 if test x$gcc_no_link = xyes; then
57953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57955 { (exit 1); exit 1; }; }
57957 cat >conftest.$ac_ext <<_ACEOF
57958 /* confdefs.h. */
57959 _ACEOF
57960 cat confdefs.h >>conftest.$ac_ext
57961 cat >>conftest.$ac_ext <<_ACEOF
57962 /* end confdefs.h. */
57963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57965 #define $ac_func innocuous_$ac_func
57967 /* System header to define __stub macros and hopefully few prototypes,
57968 which can conflict with char $ac_func (); below.
57969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57970 <limits.h> exists even on freestanding compilers. */
57972 #ifdef __STDC__
57973 # include <limits.h>
57974 #else
57975 # include <assert.h>
57976 #endif
57978 #undef $ac_func
57980 /* Override any gcc2 internal prototype to avoid an error. */
57981 #ifdef __cplusplus
57982 extern "C"
57984 #endif
57985 /* We use char because int might match the return type of a gcc2
57986 builtin and then its argument prototype would still apply. */
57987 char $ac_func ();
57988 /* The GNU C library defines this for functions which it implements
57989 to always fail with ENOSYS. Some functions are actually named
57990 something starting with __ and the normal name is an alias. */
57991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57992 choke me
57993 #else
57994 char (*f) () = $ac_func;
57995 #endif
57996 #ifdef __cplusplus
57998 #endif
58001 main ()
58003 return f != $ac_func;
58005 return 0;
58007 _ACEOF
58008 rm -f conftest.$ac_objext conftest$ac_exeext
58009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58010 (eval $ac_link) 2>conftest.er1
58011 ac_status=$?
58012 grep -v '^ *+' conftest.er1 >conftest.err
58013 rm -f conftest.er1
58014 cat conftest.err >&5
58015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016 (exit $ac_status); } &&
58017 { ac_try='test -z "$ac_c_werror_flag"
58018 || test ! -s conftest.err'
58019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58020 (eval $ac_try) 2>&5
58021 ac_status=$?
58022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023 (exit $ac_status); }; } &&
58024 { ac_try='test -s conftest$ac_exeext'
58025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58026 (eval $ac_try) 2>&5
58027 ac_status=$?
58028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58029 (exit $ac_status); }; }; then
58030 eval "$as_ac_var=yes"
58031 else
58032 echo "$as_me: failed program was:" >&5
58033 sed 's/^/| /' conftest.$ac_ext >&5
58035 eval "$as_ac_var=no"
58037 rm -f conftest.err conftest.$ac_objext \
58038 conftest$ac_exeext conftest.$ac_ext
58040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58042 if test `eval echo '${'$as_ac_var'}'` = yes; then
58043 cat >>confdefs.h <<_ACEOF
58044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58045 _ACEOF
58048 done
58066 echo "$as_me:$LINENO: checking for float round functions" >&5
58067 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
58068 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
58069 echo $ECHO_N "(cached) $ECHO_C" >&6
58070 else
58074 ac_ext=cc
58075 ac_cpp='$CXXCPP $CPPFLAGS'
58076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58080 cat >conftest.$ac_ext <<_ACEOF
58081 /* confdefs.h. */
58082 _ACEOF
58083 cat confdefs.h >>conftest.$ac_ext
58084 cat >>conftest.$ac_ext <<_ACEOF
58085 /* end confdefs.h. */
58086 #include <math.h>
58088 main ()
58090 ceilf (0); floorf (0);
58092 return 0;
58094 _ACEOF
58095 rm -f conftest.$ac_objext
58096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58097 (eval $ac_compile) 2>conftest.er1
58098 ac_status=$?
58099 grep -v '^ *+' conftest.er1 >conftest.err
58100 rm -f conftest.er1
58101 cat conftest.err >&5
58102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58103 (exit $ac_status); } &&
58104 { ac_try='test -z "$ac_cxx_werror_flag"
58105 || test ! -s conftest.err'
58106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58107 (eval $ac_try) 2>&5
58108 ac_status=$?
58109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58110 (exit $ac_status); }; } &&
58111 { ac_try='test -s conftest.$ac_objext'
58112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58113 (eval $ac_try) 2>&5
58114 ac_status=$?
58115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58116 (exit $ac_status); }; }; then
58117 glibcxx_cv_func_float_round_use=yes
58118 else
58119 echo "$as_me: failed program was:" >&5
58120 sed 's/^/| /' conftest.$ac_ext >&5
58122 glibcxx_cv_func_float_round_use=no
58124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58125 ac_ext=c
58126 ac_cpp='$CPP $CPPFLAGS'
58127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
58134 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
58135 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58138 for ac_func in ceilf floorf
58140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58141 echo "$as_me:$LINENO: checking for $ac_func" >&5
58142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58143 if eval "test \"\${$as_ac_var+set}\" = set"; then
58144 echo $ECHO_N "(cached) $ECHO_C" >&6
58145 else
58146 if test x$gcc_no_link = xyes; then
58147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58149 { (exit 1); exit 1; }; }
58151 cat >conftest.$ac_ext <<_ACEOF
58152 /* confdefs.h. */
58153 _ACEOF
58154 cat confdefs.h >>conftest.$ac_ext
58155 cat >>conftest.$ac_ext <<_ACEOF
58156 /* end confdefs.h. */
58157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58159 #define $ac_func innocuous_$ac_func
58161 /* System header to define __stub macros and hopefully few prototypes,
58162 which can conflict with char $ac_func (); below.
58163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58164 <limits.h> exists even on freestanding compilers. */
58166 #ifdef __STDC__
58167 # include <limits.h>
58168 #else
58169 # include <assert.h>
58170 #endif
58172 #undef $ac_func
58174 /* Override any gcc2 internal prototype to avoid an error. */
58175 #ifdef __cplusplus
58176 extern "C"
58178 #endif
58179 /* We use char because int might match the return type of a gcc2
58180 builtin and then its argument prototype would still apply. */
58181 char $ac_func ();
58182 /* The GNU C library defines this for functions which it implements
58183 to always fail with ENOSYS. Some functions are actually named
58184 something starting with __ and the normal name is an alias. */
58185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58186 choke me
58187 #else
58188 char (*f) () = $ac_func;
58189 #endif
58190 #ifdef __cplusplus
58192 #endif
58195 main ()
58197 return f != $ac_func;
58199 return 0;
58201 _ACEOF
58202 rm -f conftest.$ac_objext conftest$ac_exeext
58203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58204 (eval $ac_link) 2>conftest.er1
58205 ac_status=$?
58206 grep -v '^ *+' conftest.er1 >conftest.err
58207 rm -f conftest.er1
58208 cat conftest.err >&5
58209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58210 (exit $ac_status); } &&
58211 { ac_try='test -z "$ac_c_werror_flag"
58212 || test ! -s conftest.err'
58213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58214 (eval $ac_try) 2>&5
58215 ac_status=$?
58216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58217 (exit $ac_status); }; } &&
58218 { ac_try='test -s conftest$ac_exeext'
58219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58220 (eval $ac_try) 2>&5
58221 ac_status=$?
58222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58223 (exit $ac_status); }; }; then
58224 eval "$as_ac_var=yes"
58225 else
58226 echo "$as_me: failed program was:" >&5
58227 sed 's/^/| /' conftest.$ac_ext >&5
58229 eval "$as_ac_var=no"
58231 rm -f conftest.err conftest.$ac_objext \
58232 conftest$ac_exeext conftest.$ac_ext
58234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58236 if test `eval echo '${'$as_ac_var'}'` = yes; then
58237 cat >>confdefs.h <<_ACEOF
58238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58239 _ACEOF
58242 done
58244 else
58245 echo "$as_me:$LINENO: checking for _float round functions" >&5
58246 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
58247 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
58248 echo $ECHO_N "(cached) $ECHO_C" >&6
58249 else
58253 ac_ext=cc
58254 ac_cpp='$CXXCPP $CPPFLAGS'
58255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58259 cat >conftest.$ac_ext <<_ACEOF
58260 /* confdefs.h. */
58261 _ACEOF
58262 cat confdefs.h >>conftest.$ac_ext
58263 cat >>conftest.$ac_ext <<_ACEOF
58264 /* end confdefs.h. */
58265 #include <math.h>
58267 main ()
58269 _ceilf (0); _floorf (0);
58271 return 0;
58273 _ACEOF
58274 rm -f conftest.$ac_objext
58275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58276 (eval $ac_compile) 2>conftest.er1
58277 ac_status=$?
58278 grep -v '^ *+' conftest.er1 >conftest.err
58279 rm -f conftest.er1
58280 cat conftest.err >&5
58281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282 (exit $ac_status); } &&
58283 { ac_try='test -z "$ac_cxx_werror_flag"
58284 || test ! -s conftest.err'
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); }; } &&
58290 { ac_try='test -s conftest.$ac_objext'
58291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58292 (eval $ac_try) 2>&5
58293 ac_status=$?
58294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58295 (exit $ac_status); }; }; then
58296 glibcxx_cv_func__float_round_use=yes
58297 else
58298 echo "$as_me: failed program was:" >&5
58299 sed 's/^/| /' conftest.$ac_ext >&5
58301 glibcxx_cv_func__float_round_use=no
58303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58304 ac_ext=c
58305 ac_cpp='$CPP $CPPFLAGS'
58306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
58313 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
58314 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58317 for ac_func in _ceilf _floorf
58319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58320 echo "$as_me:$LINENO: checking for $ac_func" >&5
58321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58322 if eval "test \"\${$as_ac_var+set}\" = set"; then
58323 echo $ECHO_N "(cached) $ECHO_C" >&6
58324 else
58325 if test x$gcc_no_link = xyes; then
58326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58328 { (exit 1); exit 1; }; }
58330 cat >conftest.$ac_ext <<_ACEOF
58331 /* confdefs.h. */
58332 _ACEOF
58333 cat confdefs.h >>conftest.$ac_ext
58334 cat >>conftest.$ac_ext <<_ACEOF
58335 /* end confdefs.h. */
58336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58338 #define $ac_func innocuous_$ac_func
58340 /* System header to define __stub macros and hopefully few prototypes,
58341 which can conflict with char $ac_func (); below.
58342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58343 <limits.h> exists even on freestanding compilers. */
58345 #ifdef __STDC__
58346 # include <limits.h>
58347 #else
58348 # include <assert.h>
58349 #endif
58351 #undef $ac_func
58353 /* Override any gcc2 internal prototype to avoid an error. */
58354 #ifdef __cplusplus
58355 extern "C"
58357 #endif
58358 /* We use char because int might match the return type of a gcc2
58359 builtin and then its argument prototype would still apply. */
58360 char $ac_func ();
58361 /* The GNU C library defines this for functions which it implements
58362 to always fail with ENOSYS. Some functions are actually named
58363 something starting with __ and the normal name is an alias. */
58364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58365 choke me
58366 #else
58367 char (*f) () = $ac_func;
58368 #endif
58369 #ifdef __cplusplus
58371 #endif
58374 main ()
58376 return f != $ac_func;
58378 return 0;
58380 _ACEOF
58381 rm -f conftest.$ac_objext conftest$ac_exeext
58382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58383 (eval $ac_link) 2>conftest.er1
58384 ac_status=$?
58385 grep -v '^ *+' conftest.er1 >conftest.err
58386 rm -f conftest.er1
58387 cat conftest.err >&5
58388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389 (exit $ac_status); } &&
58390 { ac_try='test -z "$ac_c_werror_flag"
58391 || test ! -s conftest.err'
58392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58393 (eval $ac_try) 2>&5
58394 ac_status=$?
58395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396 (exit $ac_status); }; } &&
58397 { ac_try='test -s conftest$ac_exeext'
58398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58399 (eval $ac_try) 2>&5
58400 ac_status=$?
58401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402 (exit $ac_status); }; }; then
58403 eval "$as_ac_var=yes"
58404 else
58405 echo "$as_me: failed program was:" >&5
58406 sed 's/^/| /' conftest.$ac_ext >&5
58408 eval "$as_ac_var=no"
58410 rm -f conftest.err conftest.$ac_objext \
58411 conftest$ac_exeext conftest.$ac_ext
58413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58415 if test `eval echo '${'$as_ac_var'}'` = yes; then
58416 cat >>confdefs.h <<_ACEOF
58417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58418 _ACEOF
58421 done
58433 echo "$as_me:$LINENO: checking for expf declaration" >&5
58434 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58435 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58436 if test "${glibcxx_cv_func_expf_use+set}" = set; then
58437 echo $ECHO_N "(cached) $ECHO_C" >&6
58438 else
58442 ac_ext=cc
58443 ac_cpp='$CXXCPP $CPPFLAGS'
58444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58448 cat >conftest.$ac_ext <<_ACEOF
58449 /* confdefs.h. */
58450 _ACEOF
58451 cat confdefs.h >>conftest.$ac_ext
58452 cat >>conftest.$ac_ext <<_ACEOF
58453 /* end confdefs.h. */
58454 #include <math.h>
58455 #ifdef HAVE_IEEEFP_H
58456 #include <ieeefp.h>
58457 #endif
58460 main ()
58462 expf(0);
58464 return 0;
58466 _ACEOF
58467 rm -f conftest.$ac_objext
58468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58469 (eval $ac_compile) 2>conftest.er1
58470 ac_status=$?
58471 grep -v '^ *+' conftest.er1 >conftest.err
58472 rm -f conftest.er1
58473 cat conftest.err >&5
58474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475 (exit $ac_status); } &&
58476 { ac_try='test -z "$ac_cxx_werror_flag"
58477 || test ! -s conftest.err'
58478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58479 (eval $ac_try) 2>&5
58480 ac_status=$?
58481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482 (exit $ac_status); }; } &&
58483 { ac_try='test -s conftest.$ac_objext'
58484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58485 (eval $ac_try) 2>&5
58486 ac_status=$?
58487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488 (exit $ac_status); }; }; then
58489 glibcxx_cv_func_expf_use=yes
58490 else
58491 echo "$as_me: failed program was:" >&5
58492 sed 's/^/| /' conftest.$ac_ext >&5
58494 glibcxx_cv_func_expf_use=no
58496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58497 ac_ext=c
58498 ac_cpp='$CPP $CPPFLAGS'
58499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58508 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58510 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58512 for ac_func in expf
58514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58515 echo "$as_me:$LINENO: checking for $ac_func" >&5
58516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58517 if eval "test \"\${$as_ac_var+set}\" = set"; then
58518 echo $ECHO_N "(cached) $ECHO_C" >&6
58519 else
58520 if test x$gcc_no_link = xyes; then
58521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58523 { (exit 1); exit 1; }; }
58525 cat >conftest.$ac_ext <<_ACEOF
58526 /* confdefs.h. */
58527 _ACEOF
58528 cat confdefs.h >>conftest.$ac_ext
58529 cat >>conftest.$ac_ext <<_ACEOF
58530 /* end confdefs.h. */
58531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58533 #define $ac_func innocuous_$ac_func
58535 /* System header to define __stub macros and hopefully few prototypes,
58536 which can conflict with char $ac_func (); below.
58537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58538 <limits.h> exists even on freestanding compilers. */
58540 #ifdef __STDC__
58541 # include <limits.h>
58542 #else
58543 # include <assert.h>
58544 #endif
58546 #undef $ac_func
58548 /* Override any gcc2 internal prototype to avoid an error. */
58549 #ifdef __cplusplus
58550 extern "C"
58552 #endif
58553 /* We use char because int might match the return type of a gcc2
58554 builtin and then its argument prototype would still apply. */
58555 char $ac_func ();
58556 /* The GNU C library defines this for functions which it implements
58557 to always fail with ENOSYS. Some functions are actually named
58558 something starting with __ and the normal name is an alias. */
58559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58560 choke me
58561 #else
58562 char (*f) () = $ac_func;
58563 #endif
58564 #ifdef __cplusplus
58566 #endif
58569 main ()
58571 return f != $ac_func;
58573 return 0;
58575 _ACEOF
58576 rm -f conftest.$ac_objext conftest$ac_exeext
58577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58578 (eval $ac_link) 2>conftest.er1
58579 ac_status=$?
58580 grep -v '^ *+' conftest.er1 >conftest.err
58581 rm -f conftest.er1
58582 cat conftest.err >&5
58583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584 (exit $ac_status); } &&
58585 { ac_try='test -z "$ac_c_werror_flag"
58586 || test ! -s conftest.err'
58587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58588 (eval $ac_try) 2>&5
58589 ac_status=$?
58590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58591 (exit $ac_status); }; } &&
58592 { ac_try='test -s conftest$ac_exeext'
58593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58594 (eval $ac_try) 2>&5
58595 ac_status=$?
58596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58597 (exit $ac_status); }; }; then
58598 eval "$as_ac_var=yes"
58599 else
58600 echo "$as_me: failed program was:" >&5
58601 sed 's/^/| /' conftest.$ac_ext >&5
58603 eval "$as_ac_var=no"
58605 rm -f conftest.err conftest.$ac_objext \
58606 conftest$ac_exeext conftest.$ac_ext
58608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58610 if test `eval echo '${'$as_ac_var'}'` = yes; then
58611 cat >>confdefs.h <<_ACEOF
58612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58613 _ACEOF
58616 done
58618 else
58620 echo "$as_me:$LINENO: checking for _expf declaration" >&5
58621 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58622 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58623 if test "${glibcxx_cv_func__expf_use+set}" = set; then
58624 echo $ECHO_N "(cached) $ECHO_C" >&6
58625 else
58629 ac_ext=cc
58630 ac_cpp='$CXXCPP $CPPFLAGS'
58631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58635 cat >conftest.$ac_ext <<_ACEOF
58636 /* confdefs.h. */
58637 _ACEOF
58638 cat confdefs.h >>conftest.$ac_ext
58639 cat >>conftest.$ac_ext <<_ACEOF
58640 /* end confdefs.h. */
58641 #include <math.h>
58642 #ifdef HAVE_IEEEFP_H
58643 #include <ieeefp.h>
58644 #endif
58647 main ()
58649 _expf(0);
58651 return 0;
58653 _ACEOF
58654 rm -f conftest.$ac_objext
58655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58656 (eval $ac_compile) 2>conftest.er1
58657 ac_status=$?
58658 grep -v '^ *+' conftest.er1 >conftest.err
58659 rm -f conftest.er1
58660 cat conftest.err >&5
58661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662 (exit $ac_status); } &&
58663 { ac_try='test -z "$ac_cxx_werror_flag"
58664 || test ! -s conftest.err'
58665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58666 (eval $ac_try) 2>&5
58667 ac_status=$?
58668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669 (exit $ac_status); }; } &&
58670 { ac_try='test -s conftest.$ac_objext'
58671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58672 (eval $ac_try) 2>&5
58673 ac_status=$?
58674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58675 (exit $ac_status); }; }; then
58676 glibcxx_cv_func__expf_use=yes
58677 else
58678 echo "$as_me: failed program was:" >&5
58679 sed 's/^/| /' conftest.$ac_ext >&5
58681 glibcxx_cv_func__expf_use=no
58683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58684 ac_ext=c
58685 ac_cpp='$CPP $CPPFLAGS'
58686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
58695 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
58697 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58699 for ac_func in _expf
58701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58702 echo "$as_me:$LINENO: checking for $ac_func" >&5
58703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58704 if eval "test \"\${$as_ac_var+set}\" = set"; then
58705 echo $ECHO_N "(cached) $ECHO_C" >&6
58706 else
58707 if test x$gcc_no_link = xyes; then
58708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58710 { (exit 1); exit 1; }; }
58712 cat >conftest.$ac_ext <<_ACEOF
58713 /* confdefs.h. */
58714 _ACEOF
58715 cat confdefs.h >>conftest.$ac_ext
58716 cat >>conftest.$ac_ext <<_ACEOF
58717 /* end confdefs.h. */
58718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58720 #define $ac_func innocuous_$ac_func
58722 /* System header to define __stub macros and hopefully few prototypes,
58723 which can conflict with char $ac_func (); below.
58724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58725 <limits.h> exists even on freestanding compilers. */
58727 #ifdef __STDC__
58728 # include <limits.h>
58729 #else
58730 # include <assert.h>
58731 #endif
58733 #undef $ac_func
58735 /* Override any gcc2 internal prototype to avoid an error. */
58736 #ifdef __cplusplus
58737 extern "C"
58739 #endif
58740 /* We use char because int might match the return type of a gcc2
58741 builtin and then its argument prototype would still apply. */
58742 char $ac_func ();
58743 /* The GNU C library defines this for functions which it implements
58744 to always fail with ENOSYS. Some functions are actually named
58745 something starting with __ and the normal name is an alias. */
58746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58747 choke me
58748 #else
58749 char (*f) () = $ac_func;
58750 #endif
58751 #ifdef __cplusplus
58753 #endif
58756 main ()
58758 return f != $ac_func;
58760 return 0;
58762 _ACEOF
58763 rm -f conftest.$ac_objext conftest$ac_exeext
58764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58765 (eval $ac_link) 2>conftest.er1
58766 ac_status=$?
58767 grep -v '^ *+' conftest.er1 >conftest.err
58768 rm -f conftest.er1
58769 cat conftest.err >&5
58770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58771 (exit $ac_status); } &&
58772 { ac_try='test -z "$ac_c_werror_flag"
58773 || test ! -s conftest.err'
58774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58775 (eval $ac_try) 2>&5
58776 ac_status=$?
58777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58778 (exit $ac_status); }; } &&
58779 { ac_try='test -s conftest$ac_exeext'
58780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58781 (eval $ac_try) 2>&5
58782 ac_status=$?
58783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58784 (exit $ac_status); }; }; then
58785 eval "$as_ac_var=yes"
58786 else
58787 echo "$as_me: failed program was:" >&5
58788 sed 's/^/| /' conftest.$ac_ext >&5
58790 eval "$as_ac_var=no"
58792 rm -f conftest.err conftest.$ac_objext \
58793 conftest$ac_exeext conftest.$ac_ext
58795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58797 if test `eval echo '${'$as_ac_var'}'` = yes; then
58798 cat >>confdefs.h <<_ACEOF
58799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58800 _ACEOF
58803 done
58813 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
58814 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
58815 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58816 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
58817 echo $ECHO_N "(cached) $ECHO_C" >&6
58818 else
58822 ac_ext=cc
58823 ac_cpp='$CXXCPP $CPPFLAGS'
58824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58828 cat >conftest.$ac_ext <<_ACEOF
58829 /* confdefs.h. */
58830 _ACEOF
58831 cat confdefs.h >>conftest.$ac_ext
58832 cat >>conftest.$ac_ext <<_ACEOF
58833 /* end confdefs.h. */
58834 #include <math.h>
58835 #ifdef HAVE_IEEEFP_H
58836 #include <ieeefp.h>
58837 #endif
58840 main ()
58842 isnanf(0);
58844 return 0;
58846 _ACEOF
58847 rm -f conftest.$ac_objext
58848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58849 (eval $ac_compile) 2>conftest.er1
58850 ac_status=$?
58851 grep -v '^ *+' conftest.er1 >conftest.err
58852 rm -f conftest.er1
58853 cat conftest.err >&5
58854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58855 (exit $ac_status); } &&
58856 { ac_try='test -z "$ac_cxx_werror_flag"
58857 || test ! -s conftest.err'
58858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58859 (eval $ac_try) 2>&5
58860 ac_status=$?
58861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58862 (exit $ac_status); }; } &&
58863 { ac_try='test -s conftest.$ac_objext'
58864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58865 (eval $ac_try) 2>&5
58866 ac_status=$?
58867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58868 (exit $ac_status); }; }; then
58869 glibcxx_cv_func_isnanf_use=yes
58870 else
58871 echo "$as_me: failed program was:" >&5
58872 sed 's/^/| /' conftest.$ac_ext >&5
58874 glibcxx_cv_func_isnanf_use=no
58876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58877 ac_ext=c
58878 ac_cpp='$CPP $CPPFLAGS'
58879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
58888 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
58890 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58892 for ac_func in isnanf
58894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58895 echo "$as_me:$LINENO: checking for $ac_func" >&5
58896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58897 if eval "test \"\${$as_ac_var+set}\" = set"; then
58898 echo $ECHO_N "(cached) $ECHO_C" >&6
58899 else
58900 if test x$gcc_no_link = xyes; then
58901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58903 { (exit 1); exit 1; }; }
58905 cat >conftest.$ac_ext <<_ACEOF
58906 /* confdefs.h. */
58907 _ACEOF
58908 cat confdefs.h >>conftest.$ac_ext
58909 cat >>conftest.$ac_ext <<_ACEOF
58910 /* end confdefs.h. */
58911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58913 #define $ac_func innocuous_$ac_func
58915 /* System header to define __stub macros and hopefully few prototypes,
58916 which can conflict with char $ac_func (); below.
58917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58918 <limits.h> exists even on freestanding compilers. */
58920 #ifdef __STDC__
58921 # include <limits.h>
58922 #else
58923 # include <assert.h>
58924 #endif
58926 #undef $ac_func
58928 /* Override any gcc2 internal prototype to avoid an error. */
58929 #ifdef __cplusplus
58930 extern "C"
58932 #endif
58933 /* We use char because int might match the return type of a gcc2
58934 builtin and then its argument prototype would still apply. */
58935 char $ac_func ();
58936 /* The GNU C library defines this for functions which it implements
58937 to always fail with ENOSYS. Some functions are actually named
58938 something starting with __ and the normal name is an alias. */
58939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58940 choke me
58941 #else
58942 char (*f) () = $ac_func;
58943 #endif
58944 #ifdef __cplusplus
58946 #endif
58949 main ()
58951 return f != $ac_func;
58953 return 0;
58955 _ACEOF
58956 rm -f conftest.$ac_objext conftest$ac_exeext
58957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58958 (eval $ac_link) 2>conftest.er1
58959 ac_status=$?
58960 grep -v '^ *+' conftest.er1 >conftest.err
58961 rm -f conftest.er1
58962 cat conftest.err >&5
58963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58964 (exit $ac_status); } &&
58965 { ac_try='test -z "$ac_c_werror_flag"
58966 || test ! -s conftest.err'
58967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58968 (eval $ac_try) 2>&5
58969 ac_status=$?
58970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58971 (exit $ac_status); }; } &&
58972 { ac_try='test -s conftest$ac_exeext'
58973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58974 (eval $ac_try) 2>&5
58975 ac_status=$?
58976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58977 (exit $ac_status); }; }; then
58978 eval "$as_ac_var=yes"
58979 else
58980 echo "$as_me: failed program was:" >&5
58981 sed 's/^/| /' conftest.$ac_ext >&5
58983 eval "$as_ac_var=no"
58985 rm -f conftest.err conftest.$ac_objext \
58986 conftest$ac_exeext conftest.$ac_ext
58988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58990 if test `eval echo '${'$as_ac_var'}'` = yes; then
58991 cat >>confdefs.h <<_ACEOF
58992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58993 _ACEOF
58996 done
58998 else
59000 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
59001 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
59002 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59003 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
59004 echo $ECHO_N "(cached) $ECHO_C" >&6
59005 else
59009 ac_ext=cc
59010 ac_cpp='$CXXCPP $CPPFLAGS'
59011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59015 cat >conftest.$ac_ext <<_ACEOF
59016 /* confdefs.h. */
59017 _ACEOF
59018 cat confdefs.h >>conftest.$ac_ext
59019 cat >>conftest.$ac_ext <<_ACEOF
59020 /* end confdefs.h. */
59021 #include <math.h>
59022 #ifdef HAVE_IEEEFP_H
59023 #include <ieeefp.h>
59024 #endif
59027 main ()
59029 _isnanf(0);
59031 return 0;
59033 _ACEOF
59034 rm -f conftest.$ac_objext
59035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59036 (eval $ac_compile) 2>conftest.er1
59037 ac_status=$?
59038 grep -v '^ *+' conftest.er1 >conftest.err
59039 rm -f conftest.er1
59040 cat conftest.err >&5
59041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59042 (exit $ac_status); } &&
59043 { ac_try='test -z "$ac_cxx_werror_flag"
59044 || test ! -s conftest.err'
59045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59046 (eval $ac_try) 2>&5
59047 ac_status=$?
59048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59049 (exit $ac_status); }; } &&
59050 { ac_try='test -s conftest.$ac_objext'
59051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59052 (eval $ac_try) 2>&5
59053 ac_status=$?
59054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59055 (exit $ac_status); }; }; then
59056 glibcxx_cv_func__isnanf_use=yes
59057 else
59058 echo "$as_me: failed program was:" >&5
59059 sed 's/^/| /' conftest.$ac_ext >&5
59061 glibcxx_cv_func__isnanf_use=no
59063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59064 ac_ext=c
59065 ac_cpp='$CPP $CPPFLAGS'
59066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
59075 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
59077 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59079 for ac_func in _isnanf
59081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59082 echo "$as_me:$LINENO: checking for $ac_func" >&5
59083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59084 if eval "test \"\${$as_ac_var+set}\" = set"; then
59085 echo $ECHO_N "(cached) $ECHO_C" >&6
59086 else
59087 if test x$gcc_no_link = xyes; then
59088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59090 { (exit 1); exit 1; }; }
59092 cat >conftest.$ac_ext <<_ACEOF
59093 /* confdefs.h. */
59094 _ACEOF
59095 cat confdefs.h >>conftest.$ac_ext
59096 cat >>conftest.$ac_ext <<_ACEOF
59097 /* end confdefs.h. */
59098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59100 #define $ac_func innocuous_$ac_func
59102 /* System header to define __stub macros and hopefully few prototypes,
59103 which can conflict with char $ac_func (); below.
59104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59105 <limits.h> exists even on freestanding compilers. */
59107 #ifdef __STDC__
59108 # include <limits.h>
59109 #else
59110 # include <assert.h>
59111 #endif
59113 #undef $ac_func
59115 /* Override any gcc2 internal prototype to avoid an error. */
59116 #ifdef __cplusplus
59117 extern "C"
59119 #endif
59120 /* We use char because int might match the return type of a gcc2
59121 builtin and then its argument prototype would still apply. */
59122 char $ac_func ();
59123 /* The GNU C library defines this for functions which it implements
59124 to always fail with ENOSYS. Some functions are actually named
59125 something starting with __ and the normal name is an alias. */
59126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59127 choke me
59128 #else
59129 char (*f) () = $ac_func;
59130 #endif
59131 #ifdef __cplusplus
59133 #endif
59136 main ()
59138 return f != $ac_func;
59140 return 0;
59142 _ACEOF
59143 rm -f conftest.$ac_objext conftest$ac_exeext
59144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59145 (eval $ac_link) 2>conftest.er1
59146 ac_status=$?
59147 grep -v '^ *+' conftest.er1 >conftest.err
59148 rm -f conftest.er1
59149 cat conftest.err >&5
59150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59151 (exit $ac_status); } &&
59152 { ac_try='test -z "$ac_c_werror_flag"
59153 || test ! -s conftest.err'
59154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59155 (eval $ac_try) 2>&5
59156 ac_status=$?
59157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59158 (exit $ac_status); }; } &&
59159 { ac_try='test -s conftest$ac_exeext'
59160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59161 (eval $ac_try) 2>&5
59162 ac_status=$?
59163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59164 (exit $ac_status); }; }; then
59165 eval "$as_ac_var=yes"
59166 else
59167 echo "$as_me: failed program was:" >&5
59168 sed 's/^/| /' conftest.$ac_ext >&5
59170 eval "$as_ac_var=no"
59172 rm -f conftest.err conftest.$ac_objext \
59173 conftest$ac_exeext conftest.$ac_ext
59175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59177 if test `eval echo '${'$as_ac_var'}'` = yes; then
59178 cat >>confdefs.h <<_ACEOF
59179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59180 _ACEOF
59183 done
59193 echo "$as_me:$LINENO: checking for isinff declaration" >&5
59194 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59195 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59196 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59197 echo $ECHO_N "(cached) $ECHO_C" >&6
59198 else
59202 ac_ext=cc
59203 ac_cpp='$CXXCPP $CPPFLAGS'
59204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59208 cat >conftest.$ac_ext <<_ACEOF
59209 /* confdefs.h. */
59210 _ACEOF
59211 cat confdefs.h >>conftest.$ac_ext
59212 cat >>conftest.$ac_ext <<_ACEOF
59213 /* end confdefs.h. */
59214 #include <math.h>
59215 #ifdef HAVE_IEEEFP_H
59216 #include <ieeefp.h>
59217 #endif
59220 main ()
59222 isinff(0);
59224 return 0;
59226 _ACEOF
59227 rm -f conftest.$ac_objext
59228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59229 (eval $ac_compile) 2>conftest.er1
59230 ac_status=$?
59231 grep -v '^ *+' conftest.er1 >conftest.err
59232 rm -f conftest.er1
59233 cat conftest.err >&5
59234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59235 (exit $ac_status); } &&
59236 { ac_try='test -z "$ac_cxx_werror_flag"
59237 || test ! -s conftest.err'
59238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59239 (eval $ac_try) 2>&5
59240 ac_status=$?
59241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59242 (exit $ac_status); }; } &&
59243 { ac_try='test -s conftest.$ac_objext'
59244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59245 (eval $ac_try) 2>&5
59246 ac_status=$?
59247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59248 (exit $ac_status); }; }; then
59249 glibcxx_cv_func_isinff_use=yes
59250 else
59251 echo "$as_me: failed program was:" >&5
59252 sed 's/^/| /' conftest.$ac_ext >&5
59254 glibcxx_cv_func_isinff_use=no
59256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59257 ac_ext=c
59258 ac_cpp='$CPP $CPPFLAGS'
59259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59268 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59270 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59272 for ac_func in isinff
59274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59275 echo "$as_me:$LINENO: checking for $ac_func" >&5
59276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59277 if eval "test \"\${$as_ac_var+set}\" = set"; then
59278 echo $ECHO_N "(cached) $ECHO_C" >&6
59279 else
59280 if test x$gcc_no_link = xyes; then
59281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59283 { (exit 1); exit 1; }; }
59285 cat >conftest.$ac_ext <<_ACEOF
59286 /* confdefs.h. */
59287 _ACEOF
59288 cat confdefs.h >>conftest.$ac_ext
59289 cat >>conftest.$ac_ext <<_ACEOF
59290 /* end confdefs.h. */
59291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59293 #define $ac_func innocuous_$ac_func
59295 /* System header to define __stub macros and hopefully few prototypes,
59296 which can conflict with char $ac_func (); below.
59297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59298 <limits.h> exists even on freestanding compilers. */
59300 #ifdef __STDC__
59301 # include <limits.h>
59302 #else
59303 # include <assert.h>
59304 #endif
59306 #undef $ac_func
59308 /* Override any gcc2 internal prototype to avoid an error. */
59309 #ifdef __cplusplus
59310 extern "C"
59312 #endif
59313 /* We use char because int might match the return type of a gcc2
59314 builtin and then its argument prototype would still apply. */
59315 char $ac_func ();
59316 /* The GNU C library defines this for functions which it implements
59317 to always fail with ENOSYS. Some functions are actually named
59318 something starting with __ and the normal name is an alias. */
59319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59320 choke me
59321 #else
59322 char (*f) () = $ac_func;
59323 #endif
59324 #ifdef __cplusplus
59326 #endif
59329 main ()
59331 return f != $ac_func;
59333 return 0;
59335 _ACEOF
59336 rm -f conftest.$ac_objext conftest$ac_exeext
59337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59338 (eval $ac_link) 2>conftest.er1
59339 ac_status=$?
59340 grep -v '^ *+' conftest.er1 >conftest.err
59341 rm -f conftest.er1
59342 cat conftest.err >&5
59343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59344 (exit $ac_status); } &&
59345 { ac_try='test -z "$ac_c_werror_flag"
59346 || test ! -s conftest.err'
59347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59348 (eval $ac_try) 2>&5
59349 ac_status=$?
59350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59351 (exit $ac_status); }; } &&
59352 { ac_try='test -s conftest$ac_exeext'
59353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59354 (eval $ac_try) 2>&5
59355 ac_status=$?
59356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59357 (exit $ac_status); }; }; then
59358 eval "$as_ac_var=yes"
59359 else
59360 echo "$as_me: failed program was:" >&5
59361 sed 's/^/| /' conftest.$ac_ext >&5
59363 eval "$as_ac_var=no"
59365 rm -f conftest.err conftest.$ac_objext \
59366 conftest$ac_exeext conftest.$ac_ext
59368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59370 if test `eval echo '${'$as_ac_var'}'` = yes; then
59371 cat >>confdefs.h <<_ACEOF
59372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59373 _ACEOF
59376 done
59378 else
59380 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59381 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59382 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59383 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59384 echo $ECHO_N "(cached) $ECHO_C" >&6
59385 else
59389 ac_ext=cc
59390 ac_cpp='$CXXCPP $CPPFLAGS'
59391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59395 cat >conftest.$ac_ext <<_ACEOF
59396 /* confdefs.h. */
59397 _ACEOF
59398 cat confdefs.h >>conftest.$ac_ext
59399 cat >>conftest.$ac_ext <<_ACEOF
59400 /* end confdefs.h. */
59401 #include <math.h>
59402 #ifdef HAVE_IEEEFP_H
59403 #include <ieeefp.h>
59404 #endif
59407 main ()
59409 _isinff(0);
59411 return 0;
59413 _ACEOF
59414 rm -f conftest.$ac_objext
59415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59416 (eval $ac_compile) 2>conftest.er1
59417 ac_status=$?
59418 grep -v '^ *+' conftest.er1 >conftest.err
59419 rm -f conftest.er1
59420 cat conftest.err >&5
59421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59422 (exit $ac_status); } &&
59423 { ac_try='test -z "$ac_cxx_werror_flag"
59424 || test ! -s conftest.err'
59425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59426 (eval $ac_try) 2>&5
59427 ac_status=$?
59428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429 (exit $ac_status); }; } &&
59430 { ac_try='test -s conftest.$ac_objext'
59431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59432 (eval $ac_try) 2>&5
59433 ac_status=$?
59434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59435 (exit $ac_status); }; }; then
59436 glibcxx_cv_func__isinff_use=yes
59437 else
59438 echo "$as_me: failed program was:" >&5
59439 sed 's/^/| /' conftest.$ac_ext >&5
59441 glibcxx_cv_func__isinff_use=no
59443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59444 ac_ext=c
59445 ac_cpp='$CPP $CPPFLAGS'
59446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59455 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59457 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59459 for ac_func in _isinff
59461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59462 echo "$as_me:$LINENO: checking for $ac_func" >&5
59463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59464 if eval "test \"\${$as_ac_var+set}\" = set"; then
59465 echo $ECHO_N "(cached) $ECHO_C" >&6
59466 else
59467 if test x$gcc_no_link = xyes; then
59468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59470 { (exit 1); exit 1; }; }
59472 cat >conftest.$ac_ext <<_ACEOF
59473 /* confdefs.h. */
59474 _ACEOF
59475 cat confdefs.h >>conftest.$ac_ext
59476 cat >>conftest.$ac_ext <<_ACEOF
59477 /* end confdefs.h. */
59478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59480 #define $ac_func innocuous_$ac_func
59482 /* System header to define __stub macros and hopefully few prototypes,
59483 which can conflict with char $ac_func (); below.
59484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59485 <limits.h> exists even on freestanding compilers. */
59487 #ifdef __STDC__
59488 # include <limits.h>
59489 #else
59490 # include <assert.h>
59491 #endif
59493 #undef $ac_func
59495 /* Override any gcc2 internal prototype to avoid an error. */
59496 #ifdef __cplusplus
59497 extern "C"
59499 #endif
59500 /* We use char because int might match the return type of a gcc2
59501 builtin and then its argument prototype would still apply. */
59502 char $ac_func ();
59503 /* The GNU C library defines this for functions which it implements
59504 to always fail with ENOSYS. Some functions are actually named
59505 something starting with __ and the normal name is an alias. */
59506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59507 choke me
59508 #else
59509 char (*f) () = $ac_func;
59510 #endif
59511 #ifdef __cplusplus
59513 #endif
59516 main ()
59518 return f != $ac_func;
59520 return 0;
59522 _ACEOF
59523 rm -f conftest.$ac_objext conftest$ac_exeext
59524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59525 (eval $ac_link) 2>conftest.er1
59526 ac_status=$?
59527 grep -v '^ *+' conftest.er1 >conftest.err
59528 rm -f conftest.er1
59529 cat conftest.err >&5
59530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59531 (exit $ac_status); } &&
59532 { ac_try='test -z "$ac_c_werror_flag"
59533 || test ! -s conftest.err'
59534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59535 (eval $ac_try) 2>&5
59536 ac_status=$?
59537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59538 (exit $ac_status); }; } &&
59539 { ac_try='test -s conftest$ac_exeext'
59540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59541 (eval $ac_try) 2>&5
59542 ac_status=$?
59543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59544 (exit $ac_status); }; }; then
59545 eval "$as_ac_var=yes"
59546 else
59547 echo "$as_me: failed program was:" >&5
59548 sed 's/^/| /' conftest.$ac_ext >&5
59550 eval "$as_ac_var=no"
59552 rm -f conftest.err conftest.$ac_objext \
59553 conftest$ac_exeext conftest.$ac_ext
59555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59557 if test `eval echo '${'$as_ac_var'}'` = yes; then
59558 cat >>confdefs.h <<_ACEOF
59559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59560 _ACEOF
59563 done
59573 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59574 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59575 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59576 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59577 echo $ECHO_N "(cached) $ECHO_C" >&6
59578 else
59582 ac_ext=cc
59583 ac_cpp='$CXXCPP $CPPFLAGS'
59584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59588 cat >conftest.$ac_ext <<_ACEOF
59589 /* confdefs.h. */
59590 _ACEOF
59591 cat confdefs.h >>conftest.$ac_ext
59592 cat >>conftest.$ac_ext <<_ACEOF
59593 /* end confdefs.h. */
59594 #include <math.h>
59596 main ()
59598 atan2f(0, 0);
59600 return 0;
59602 _ACEOF
59603 rm -f conftest.$ac_objext
59604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59605 (eval $ac_compile) 2>conftest.er1
59606 ac_status=$?
59607 grep -v '^ *+' conftest.er1 >conftest.err
59608 rm -f conftest.er1
59609 cat conftest.err >&5
59610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59611 (exit $ac_status); } &&
59612 { ac_try='test -z "$ac_cxx_werror_flag"
59613 || test ! -s conftest.err'
59614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59615 (eval $ac_try) 2>&5
59616 ac_status=$?
59617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59618 (exit $ac_status); }; } &&
59619 { ac_try='test -s conftest.$ac_objext'
59620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59621 (eval $ac_try) 2>&5
59622 ac_status=$?
59623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59624 (exit $ac_status); }; }; then
59625 glibcxx_cv_func_atan2f_use=yes
59626 else
59627 echo "$as_me: failed program was:" >&5
59628 sed 's/^/| /' conftest.$ac_ext >&5
59630 glibcxx_cv_func_atan2f_use=no
59632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59633 ac_ext=c
59634 ac_cpp='$CPP $CPPFLAGS'
59635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59644 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59646 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59648 for ac_func in atan2f
59650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59651 echo "$as_me:$LINENO: checking for $ac_func" >&5
59652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59653 if eval "test \"\${$as_ac_var+set}\" = set"; then
59654 echo $ECHO_N "(cached) $ECHO_C" >&6
59655 else
59656 if test x$gcc_no_link = xyes; then
59657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59659 { (exit 1); exit 1; }; }
59661 cat >conftest.$ac_ext <<_ACEOF
59662 /* confdefs.h. */
59663 _ACEOF
59664 cat confdefs.h >>conftest.$ac_ext
59665 cat >>conftest.$ac_ext <<_ACEOF
59666 /* end confdefs.h. */
59667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59669 #define $ac_func innocuous_$ac_func
59671 /* System header to define __stub macros and hopefully few prototypes,
59672 which can conflict with char $ac_func (); below.
59673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59674 <limits.h> exists even on freestanding compilers. */
59676 #ifdef __STDC__
59677 # include <limits.h>
59678 #else
59679 # include <assert.h>
59680 #endif
59682 #undef $ac_func
59684 /* Override any gcc2 internal prototype to avoid an error. */
59685 #ifdef __cplusplus
59686 extern "C"
59688 #endif
59689 /* We use char because int might match the return type of a gcc2
59690 builtin and then its argument prototype would still apply. */
59691 char $ac_func ();
59692 /* The GNU C library defines this for functions which it implements
59693 to always fail with ENOSYS. Some functions are actually named
59694 something starting with __ and the normal name is an alias. */
59695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59696 choke me
59697 #else
59698 char (*f) () = $ac_func;
59699 #endif
59700 #ifdef __cplusplus
59702 #endif
59705 main ()
59707 return f != $ac_func;
59709 return 0;
59711 _ACEOF
59712 rm -f conftest.$ac_objext conftest$ac_exeext
59713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59714 (eval $ac_link) 2>conftest.er1
59715 ac_status=$?
59716 grep -v '^ *+' conftest.er1 >conftest.err
59717 rm -f conftest.er1
59718 cat conftest.err >&5
59719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59720 (exit $ac_status); } &&
59721 { ac_try='test -z "$ac_c_werror_flag"
59722 || test ! -s conftest.err'
59723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59724 (eval $ac_try) 2>&5
59725 ac_status=$?
59726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59727 (exit $ac_status); }; } &&
59728 { ac_try='test -s conftest$ac_exeext'
59729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59730 (eval $ac_try) 2>&5
59731 ac_status=$?
59732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59733 (exit $ac_status); }; }; then
59734 eval "$as_ac_var=yes"
59735 else
59736 echo "$as_me: failed program was:" >&5
59737 sed 's/^/| /' conftest.$ac_ext >&5
59739 eval "$as_ac_var=no"
59741 rm -f conftest.err conftest.$ac_objext \
59742 conftest$ac_exeext conftest.$ac_ext
59744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59746 if test `eval echo '${'$as_ac_var'}'` = yes; then
59747 cat >>confdefs.h <<_ACEOF
59748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59749 _ACEOF
59752 done
59754 else
59756 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
59757 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
59758 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59759 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
59760 echo $ECHO_N "(cached) $ECHO_C" >&6
59761 else
59765 ac_ext=cc
59766 ac_cpp='$CXXCPP $CPPFLAGS'
59767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59771 cat >conftest.$ac_ext <<_ACEOF
59772 /* confdefs.h. */
59773 _ACEOF
59774 cat confdefs.h >>conftest.$ac_ext
59775 cat >>conftest.$ac_ext <<_ACEOF
59776 /* end confdefs.h. */
59777 #include <math.h>
59779 main ()
59781 _atan2f(0, 0);
59783 return 0;
59785 _ACEOF
59786 rm -f conftest.$ac_objext
59787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59788 (eval $ac_compile) 2>conftest.er1
59789 ac_status=$?
59790 grep -v '^ *+' conftest.er1 >conftest.err
59791 rm -f conftest.er1
59792 cat conftest.err >&5
59793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59794 (exit $ac_status); } &&
59795 { ac_try='test -z "$ac_cxx_werror_flag"
59796 || test ! -s conftest.err'
59797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59798 (eval $ac_try) 2>&5
59799 ac_status=$?
59800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59801 (exit $ac_status); }; } &&
59802 { ac_try='test -s conftest.$ac_objext'
59803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59804 (eval $ac_try) 2>&5
59805 ac_status=$?
59806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59807 (exit $ac_status); }; }; then
59808 glibcxx_cv_func__atan2f_use=yes
59809 else
59810 echo "$as_me: failed program was:" >&5
59811 sed 's/^/| /' conftest.$ac_ext >&5
59813 glibcxx_cv_func__atan2f_use=no
59815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59816 ac_ext=c
59817 ac_cpp='$CPP $CPPFLAGS'
59818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
59827 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
59829 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59831 for ac_func in _atan2f
59833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59834 echo "$as_me:$LINENO: checking for $ac_func" >&5
59835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59836 if eval "test \"\${$as_ac_var+set}\" = set"; then
59837 echo $ECHO_N "(cached) $ECHO_C" >&6
59838 else
59839 if test x$gcc_no_link = xyes; then
59840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59842 { (exit 1); exit 1; }; }
59844 cat >conftest.$ac_ext <<_ACEOF
59845 /* confdefs.h. */
59846 _ACEOF
59847 cat confdefs.h >>conftest.$ac_ext
59848 cat >>conftest.$ac_ext <<_ACEOF
59849 /* end confdefs.h. */
59850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59852 #define $ac_func innocuous_$ac_func
59854 /* System header to define __stub macros and hopefully few prototypes,
59855 which can conflict with char $ac_func (); below.
59856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59857 <limits.h> exists even on freestanding compilers. */
59859 #ifdef __STDC__
59860 # include <limits.h>
59861 #else
59862 # include <assert.h>
59863 #endif
59865 #undef $ac_func
59867 /* Override any gcc2 internal prototype to avoid an error. */
59868 #ifdef __cplusplus
59869 extern "C"
59871 #endif
59872 /* We use char because int might match the return type of a gcc2
59873 builtin and then its argument prototype would still apply. */
59874 char $ac_func ();
59875 /* The GNU C library defines this for functions which it implements
59876 to always fail with ENOSYS. Some functions are actually named
59877 something starting with __ and the normal name is an alias. */
59878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59879 choke me
59880 #else
59881 char (*f) () = $ac_func;
59882 #endif
59883 #ifdef __cplusplus
59885 #endif
59888 main ()
59890 return f != $ac_func;
59892 return 0;
59894 _ACEOF
59895 rm -f conftest.$ac_objext conftest$ac_exeext
59896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59897 (eval $ac_link) 2>conftest.er1
59898 ac_status=$?
59899 grep -v '^ *+' conftest.er1 >conftest.err
59900 rm -f conftest.er1
59901 cat conftest.err >&5
59902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59903 (exit $ac_status); } &&
59904 { ac_try='test -z "$ac_c_werror_flag"
59905 || test ! -s conftest.err'
59906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59907 (eval $ac_try) 2>&5
59908 ac_status=$?
59909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59910 (exit $ac_status); }; } &&
59911 { ac_try='test -s conftest$ac_exeext'
59912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59913 (eval $ac_try) 2>&5
59914 ac_status=$?
59915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59916 (exit $ac_status); }; }; then
59917 eval "$as_ac_var=yes"
59918 else
59919 echo "$as_me: failed program was:" >&5
59920 sed 's/^/| /' conftest.$ac_ext >&5
59922 eval "$as_ac_var=no"
59924 rm -f conftest.err conftest.$ac_objext \
59925 conftest$ac_exeext conftest.$ac_ext
59927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59929 if test `eval echo '${'$as_ac_var'}'` = yes; then
59930 cat >>confdefs.h <<_ACEOF
59931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59932 _ACEOF
59935 done
59945 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
59946 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
59947 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59948 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
59949 echo $ECHO_N "(cached) $ECHO_C" >&6
59950 else
59954 ac_ext=cc
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59960 cat >conftest.$ac_ext <<_ACEOF
59961 /* confdefs.h. */
59962 _ACEOF
59963 cat confdefs.h >>conftest.$ac_ext
59964 cat >>conftest.$ac_ext <<_ACEOF
59965 /* end confdefs.h. */
59966 #include <math.h>
59967 #ifdef HAVE_IEEEFP_H
59968 #include <ieeefp.h>
59969 #endif
59972 main ()
59974 fabsf(0);
59976 return 0;
59978 _ACEOF
59979 rm -f conftest.$ac_objext
59980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59981 (eval $ac_compile) 2>conftest.er1
59982 ac_status=$?
59983 grep -v '^ *+' conftest.er1 >conftest.err
59984 rm -f conftest.er1
59985 cat conftest.err >&5
59986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987 (exit $ac_status); } &&
59988 { ac_try='test -z "$ac_cxx_werror_flag"
59989 || test ! -s conftest.err'
59990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59991 (eval $ac_try) 2>&5
59992 ac_status=$?
59993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59994 (exit $ac_status); }; } &&
59995 { ac_try='test -s conftest.$ac_objext'
59996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59997 (eval $ac_try) 2>&5
59998 ac_status=$?
59999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60000 (exit $ac_status); }; }; then
60001 glibcxx_cv_func_fabsf_use=yes
60002 else
60003 echo "$as_me: failed program was:" >&5
60004 sed 's/^/| /' conftest.$ac_ext >&5
60006 glibcxx_cv_func_fabsf_use=no
60008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60009 ac_ext=c
60010 ac_cpp='$CPP $CPPFLAGS'
60011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
60020 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
60022 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60024 for ac_func in fabsf
60026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60027 echo "$as_me:$LINENO: checking for $ac_func" >&5
60028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60029 if eval "test \"\${$as_ac_var+set}\" = set"; then
60030 echo $ECHO_N "(cached) $ECHO_C" >&6
60031 else
60032 if test x$gcc_no_link = xyes; then
60033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60035 { (exit 1); exit 1; }; }
60037 cat >conftest.$ac_ext <<_ACEOF
60038 /* confdefs.h. */
60039 _ACEOF
60040 cat confdefs.h >>conftest.$ac_ext
60041 cat >>conftest.$ac_ext <<_ACEOF
60042 /* end confdefs.h. */
60043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60045 #define $ac_func innocuous_$ac_func
60047 /* System header to define __stub macros and hopefully few prototypes,
60048 which can conflict with char $ac_func (); below.
60049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60050 <limits.h> exists even on freestanding compilers. */
60052 #ifdef __STDC__
60053 # include <limits.h>
60054 #else
60055 # include <assert.h>
60056 #endif
60058 #undef $ac_func
60060 /* Override any gcc2 internal prototype to avoid an error. */
60061 #ifdef __cplusplus
60062 extern "C"
60064 #endif
60065 /* We use char because int might match the return type of a gcc2
60066 builtin and then its argument prototype would still apply. */
60067 char $ac_func ();
60068 /* The GNU C library defines this for functions which it implements
60069 to always fail with ENOSYS. Some functions are actually named
60070 something starting with __ and the normal name is an alias. */
60071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60072 choke me
60073 #else
60074 char (*f) () = $ac_func;
60075 #endif
60076 #ifdef __cplusplus
60078 #endif
60081 main ()
60083 return f != $ac_func;
60085 return 0;
60087 _ACEOF
60088 rm -f conftest.$ac_objext conftest$ac_exeext
60089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60090 (eval $ac_link) 2>conftest.er1
60091 ac_status=$?
60092 grep -v '^ *+' conftest.er1 >conftest.err
60093 rm -f conftest.er1
60094 cat conftest.err >&5
60095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60096 (exit $ac_status); } &&
60097 { ac_try='test -z "$ac_c_werror_flag"
60098 || test ! -s conftest.err'
60099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60100 (eval $ac_try) 2>&5
60101 ac_status=$?
60102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60103 (exit $ac_status); }; } &&
60104 { ac_try='test -s conftest$ac_exeext'
60105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60106 (eval $ac_try) 2>&5
60107 ac_status=$?
60108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60109 (exit $ac_status); }; }; then
60110 eval "$as_ac_var=yes"
60111 else
60112 echo "$as_me: failed program was:" >&5
60113 sed 's/^/| /' conftest.$ac_ext >&5
60115 eval "$as_ac_var=no"
60117 rm -f conftest.err conftest.$ac_objext \
60118 conftest$ac_exeext conftest.$ac_ext
60120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60122 if test `eval echo '${'$as_ac_var'}'` = yes; then
60123 cat >>confdefs.h <<_ACEOF
60124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60125 _ACEOF
60128 done
60130 else
60132 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
60133 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
60134 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60135 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
60136 echo $ECHO_N "(cached) $ECHO_C" >&6
60137 else
60141 ac_ext=cc
60142 ac_cpp='$CXXCPP $CPPFLAGS'
60143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60147 cat >conftest.$ac_ext <<_ACEOF
60148 /* confdefs.h. */
60149 _ACEOF
60150 cat confdefs.h >>conftest.$ac_ext
60151 cat >>conftest.$ac_ext <<_ACEOF
60152 /* end confdefs.h. */
60153 #include <math.h>
60154 #ifdef HAVE_IEEEFP_H
60155 #include <ieeefp.h>
60156 #endif
60159 main ()
60161 _fabsf(0);
60163 return 0;
60165 _ACEOF
60166 rm -f conftest.$ac_objext
60167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60168 (eval $ac_compile) 2>conftest.er1
60169 ac_status=$?
60170 grep -v '^ *+' conftest.er1 >conftest.err
60171 rm -f conftest.er1
60172 cat conftest.err >&5
60173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60174 (exit $ac_status); } &&
60175 { ac_try='test -z "$ac_cxx_werror_flag"
60176 || test ! -s conftest.err'
60177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60178 (eval $ac_try) 2>&5
60179 ac_status=$?
60180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60181 (exit $ac_status); }; } &&
60182 { ac_try='test -s conftest.$ac_objext'
60183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60184 (eval $ac_try) 2>&5
60185 ac_status=$?
60186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60187 (exit $ac_status); }; }; then
60188 glibcxx_cv_func__fabsf_use=yes
60189 else
60190 echo "$as_me: failed program was:" >&5
60191 sed 's/^/| /' conftest.$ac_ext >&5
60193 glibcxx_cv_func__fabsf_use=no
60195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60196 ac_ext=c
60197 ac_cpp='$CPP $CPPFLAGS'
60198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60207 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60209 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60211 for ac_func in _fabsf
60213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60214 echo "$as_me:$LINENO: checking for $ac_func" >&5
60215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60216 if eval "test \"\${$as_ac_var+set}\" = set"; then
60217 echo $ECHO_N "(cached) $ECHO_C" >&6
60218 else
60219 if test x$gcc_no_link = xyes; then
60220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60222 { (exit 1); exit 1; }; }
60224 cat >conftest.$ac_ext <<_ACEOF
60225 /* confdefs.h. */
60226 _ACEOF
60227 cat confdefs.h >>conftest.$ac_ext
60228 cat >>conftest.$ac_ext <<_ACEOF
60229 /* end confdefs.h. */
60230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60232 #define $ac_func innocuous_$ac_func
60234 /* System header to define __stub macros and hopefully few prototypes,
60235 which can conflict with char $ac_func (); below.
60236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60237 <limits.h> exists even on freestanding compilers. */
60239 #ifdef __STDC__
60240 # include <limits.h>
60241 #else
60242 # include <assert.h>
60243 #endif
60245 #undef $ac_func
60247 /* Override any gcc2 internal prototype to avoid an error. */
60248 #ifdef __cplusplus
60249 extern "C"
60251 #endif
60252 /* We use char because int might match the return type of a gcc2
60253 builtin and then its argument prototype would still apply. */
60254 char $ac_func ();
60255 /* The GNU C library defines this for functions which it implements
60256 to always fail with ENOSYS. Some functions are actually named
60257 something starting with __ and the normal name is an alias. */
60258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60259 choke me
60260 #else
60261 char (*f) () = $ac_func;
60262 #endif
60263 #ifdef __cplusplus
60265 #endif
60268 main ()
60270 return f != $ac_func;
60272 return 0;
60274 _ACEOF
60275 rm -f conftest.$ac_objext conftest$ac_exeext
60276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60277 (eval $ac_link) 2>conftest.er1
60278 ac_status=$?
60279 grep -v '^ *+' conftest.er1 >conftest.err
60280 rm -f conftest.er1
60281 cat conftest.err >&5
60282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60283 (exit $ac_status); } &&
60284 { ac_try='test -z "$ac_c_werror_flag"
60285 || test ! -s conftest.err'
60286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60287 (eval $ac_try) 2>&5
60288 ac_status=$?
60289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60290 (exit $ac_status); }; } &&
60291 { ac_try='test -s conftest$ac_exeext'
60292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60293 (eval $ac_try) 2>&5
60294 ac_status=$?
60295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60296 (exit $ac_status); }; }; then
60297 eval "$as_ac_var=yes"
60298 else
60299 echo "$as_me: failed program was:" >&5
60300 sed 's/^/| /' conftest.$ac_ext >&5
60302 eval "$as_ac_var=no"
60304 rm -f conftest.err conftest.$ac_objext \
60305 conftest$ac_exeext conftest.$ac_ext
60307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60309 if test `eval echo '${'$as_ac_var'}'` = yes; then
60310 cat >>confdefs.h <<_ACEOF
60311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60312 _ACEOF
60315 done
60325 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60326 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60327 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60328 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60329 echo $ECHO_N "(cached) $ECHO_C" >&6
60330 else
60334 ac_ext=cc
60335 ac_cpp='$CXXCPP $CPPFLAGS'
60336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60340 cat >conftest.$ac_ext <<_ACEOF
60341 /* confdefs.h. */
60342 _ACEOF
60343 cat confdefs.h >>conftest.$ac_ext
60344 cat >>conftest.$ac_ext <<_ACEOF
60345 /* end confdefs.h. */
60346 #include <math.h>
60348 main ()
60350 fmodf(0, 0);
60352 return 0;
60354 _ACEOF
60355 rm -f conftest.$ac_objext
60356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60357 (eval $ac_compile) 2>conftest.er1
60358 ac_status=$?
60359 grep -v '^ *+' conftest.er1 >conftest.err
60360 rm -f conftest.er1
60361 cat conftest.err >&5
60362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60363 (exit $ac_status); } &&
60364 { ac_try='test -z "$ac_cxx_werror_flag"
60365 || test ! -s conftest.err'
60366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60367 (eval $ac_try) 2>&5
60368 ac_status=$?
60369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60370 (exit $ac_status); }; } &&
60371 { ac_try='test -s conftest.$ac_objext'
60372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60373 (eval $ac_try) 2>&5
60374 ac_status=$?
60375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60376 (exit $ac_status); }; }; then
60377 glibcxx_cv_func_fmodf_use=yes
60378 else
60379 echo "$as_me: failed program was:" >&5
60380 sed 's/^/| /' conftest.$ac_ext >&5
60382 glibcxx_cv_func_fmodf_use=no
60384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60385 ac_ext=c
60386 ac_cpp='$CPP $CPPFLAGS'
60387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60396 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60398 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60400 for ac_func in fmodf
60402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60403 echo "$as_me:$LINENO: checking for $ac_func" >&5
60404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60405 if eval "test \"\${$as_ac_var+set}\" = set"; then
60406 echo $ECHO_N "(cached) $ECHO_C" >&6
60407 else
60408 if test x$gcc_no_link = xyes; then
60409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60411 { (exit 1); exit 1; }; }
60413 cat >conftest.$ac_ext <<_ACEOF
60414 /* confdefs.h. */
60415 _ACEOF
60416 cat confdefs.h >>conftest.$ac_ext
60417 cat >>conftest.$ac_ext <<_ACEOF
60418 /* end confdefs.h. */
60419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60421 #define $ac_func innocuous_$ac_func
60423 /* System header to define __stub macros and hopefully few prototypes,
60424 which can conflict with char $ac_func (); below.
60425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60426 <limits.h> exists even on freestanding compilers. */
60428 #ifdef __STDC__
60429 # include <limits.h>
60430 #else
60431 # include <assert.h>
60432 #endif
60434 #undef $ac_func
60436 /* Override any gcc2 internal prototype to avoid an error. */
60437 #ifdef __cplusplus
60438 extern "C"
60440 #endif
60441 /* We use char because int might match the return type of a gcc2
60442 builtin and then its argument prototype would still apply. */
60443 char $ac_func ();
60444 /* The GNU C library defines this for functions which it implements
60445 to always fail with ENOSYS. Some functions are actually named
60446 something starting with __ and the normal name is an alias. */
60447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60448 choke me
60449 #else
60450 char (*f) () = $ac_func;
60451 #endif
60452 #ifdef __cplusplus
60454 #endif
60457 main ()
60459 return f != $ac_func;
60461 return 0;
60463 _ACEOF
60464 rm -f conftest.$ac_objext conftest$ac_exeext
60465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60466 (eval $ac_link) 2>conftest.er1
60467 ac_status=$?
60468 grep -v '^ *+' conftest.er1 >conftest.err
60469 rm -f conftest.er1
60470 cat conftest.err >&5
60471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60472 (exit $ac_status); } &&
60473 { ac_try='test -z "$ac_c_werror_flag"
60474 || test ! -s conftest.err'
60475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60476 (eval $ac_try) 2>&5
60477 ac_status=$?
60478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60479 (exit $ac_status); }; } &&
60480 { ac_try='test -s conftest$ac_exeext'
60481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60482 (eval $ac_try) 2>&5
60483 ac_status=$?
60484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60485 (exit $ac_status); }; }; then
60486 eval "$as_ac_var=yes"
60487 else
60488 echo "$as_me: failed program was:" >&5
60489 sed 's/^/| /' conftest.$ac_ext >&5
60491 eval "$as_ac_var=no"
60493 rm -f conftest.err conftest.$ac_objext \
60494 conftest$ac_exeext conftest.$ac_ext
60496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60498 if test `eval echo '${'$as_ac_var'}'` = yes; then
60499 cat >>confdefs.h <<_ACEOF
60500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60501 _ACEOF
60504 done
60506 else
60508 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60509 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60510 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60511 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60512 echo $ECHO_N "(cached) $ECHO_C" >&6
60513 else
60517 ac_ext=cc
60518 ac_cpp='$CXXCPP $CPPFLAGS'
60519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60523 cat >conftest.$ac_ext <<_ACEOF
60524 /* confdefs.h. */
60525 _ACEOF
60526 cat confdefs.h >>conftest.$ac_ext
60527 cat >>conftest.$ac_ext <<_ACEOF
60528 /* end confdefs.h. */
60529 #include <math.h>
60531 main ()
60533 _fmodf(0, 0);
60535 return 0;
60537 _ACEOF
60538 rm -f conftest.$ac_objext
60539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60540 (eval $ac_compile) 2>conftest.er1
60541 ac_status=$?
60542 grep -v '^ *+' conftest.er1 >conftest.err
60543 rm -f conftest.er1
60544 cat conftest.err >&5
60545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60546 (exit $ac_status); } &&
60547 { ac_try='test -z "$ac_cxx_werror_flag"
60548 || test ! -s conftest.err'
60549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60550 (eval $ac_try) 2>&5
60551 ac_status=$?
60552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60553 (exit $ac_status); }; } &&
60554 { ac_try='test -s conftest.$ac_objext'
60555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60556 (eval $ac_try) 2>&5
60557 ac_status=$?
60558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60559 (exit $ac_status); }; }; then
60560 glibcxx_cv_func__fmodf_use=yes
60561 else
60562 echo "$as_me: failed program was:" >&5
60563 sed 's/^/| /' conftest.$ac_ext >&5
60565 glibcxx_cv_func__fmodf_use=no
60567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60568 ac_ext=c
60569 ac_cpp='$CPP $CPPFLAGS'
60570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60579 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60581 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60583 for ac_func in _fmodf
60585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60586 echo "$as_me:$LINENO: checking for $ac_func" >&5
60587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60588 if eval "test \"\${$as_ac_var+set}\" = set"; then
60589 echo $ECHO_N "(cached) $ECHO_C" >&6
60590 else
60591 if test x$gcc_no_link = xyes; then
60592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60594 { (exit 1); exit 1; }; }
60596 cat >conftest.$ac_ext <<_ACEOF
60597 /* confdefs.h. */
60598 _ACEOF
60599 cat confdefs.h >>conftest.$ac_ext
60600 cat >>conftest.$ac_ext <<_ACEOF
60601 /* end confdefs.h. */
60602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60604 #define $ac_func innocuous_$ac_func
60606 /* System header to define __stub macros and hopefully few prototypes,
60607 which can conflict with char $ac_func (); below.
60608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60609 <limits.h> exists even on freestanding compilers. */
60611 #ifdef __STDC__
60612 # include <limits.h>
60613 #else
60614 # include <assert.h>
60615 #endif
60617 #undef $ac_func
60619 /* Override any gcc2 internal prototype to avoid an error. */
60620 #ifdef __cplusplus
60621 extern "C"
60623 #endif
60624 /* We use char because int might match the return type of a gcc2
60625 builtin and then its argument prototype would still apply. */
60626 char $ac_func ();
60627 /* The GNU C library defines this for functions which it implements
60628 to always fail with ENOSYS. Some functions are actually named
60629 something starting with __ and the normal name is an alias. */
60630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60631 choke me
60632 #else
60633 char (*f) () = $ac_func;
60634 #endif
60635 #ifdef __cplusplus
60637 #endif
60640 main ()
60642 return f != $ac_func;
60644 return 0;
60646 _ACEOF
60647 rm -f conftest.$ac_objext conftest$ac_exeext
60648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60649 (eval $ac_link) 2>conftest.er1
60650 ac_status=$?
60651 grep -v '^ *+' conftest.er1 >conftest.err
60652 rm -f conftest.er1
60653 cat conftest.err >&5
60654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60655 (exit $ac_status); } &&
60656 { ac_try='test -z "$ac_c_werror_flag"
60657 || test ! -s conftest.err'
60658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60659 (eval $ac_try) 2>&5
60660 ac_status=$?
60661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60662 (exit $ac_status); }; } &&
60663 { ac_try='test -s conftest$ac_exeext'
60664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60665 (eval $ac_try) 2>&5
60666 ac_status=$?
60667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60668 (exit $ac_status); }; }; then
60669 eval "$as_ac_var=yes"
60670 else
60671 echo "$as_me: failed program was:" >&5
60672 sed 's/^/| /' conftest.$ac_ext >&5
60674 eval "$as_ac_var=no"
60676 rm -f conftest.err conftest.$ac_objext \
60677 conftest$ac_exeext conftest.$ac_ext
60679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60681 if test `eval echo '${'$as_ac_var'}'` = yes; then
60682 cat >>confdefs.h <<_ACEOF
60683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60684 _ACEOF
60687 done
60697 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
60698 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
60699 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60700 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
60701 echo $ECHO_N "(cached) $ECHO_C" >&6
60702 else
60706 ac_ext=cc
60707 ac_cpp='$CXXCPP $CPPFLAGS'
60708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60712 cat >conftest.$ac_ext <<_ACEOF
60713 /* confdefs.h. */
60714 _ACEOF
60715 cat confdefs.h >>conftest.$ac_ext
60716 cat >>conftest.$ac_ext <<_ACEOF
60717 /* end confdefs.h. */
60718 #include <math.h>
60720 main ()
60722 frexpf(0, 0);
60724 return 0;
60726 _ACEOF
60727 rm -f conftest.$ac_objext
60728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60729 (eval $ac_compile) 2>conftest.er1
60730 ac_status=$?
60731 grep -v '^ *+' conftest.er1 >conftest.err
60732 rm -f conftest.er1
60733 cat conftest.err >&5
60734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60735 (exit $ac_status); } &&
60736 { ac_try='test -z "$ac_cxx_werror_flag"
60737 || test ! -s conftest.err'
60738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739 (eval $ac_try) 2>&5
60740 ac_status=$?
60741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742 (exit $ac_status); }; } &&
60743 { ac_try='test -s conftest.$ac_objext'
60744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60745 (eval $ac_try) 2>&5
60746 ac_status=$?
60747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60748 (exit $ac_status); }; }; then
60749 glibcxx_cv_func_frexpf_use=yes
60750 else
60751 echo "$as_me: failed program was:" >&5
60752 sed 's/^/| /' conftest.$ac_ext >&5
60754 glibcxx_cv_func_frexpf_use=no
60756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60757 ac_ext=c
60758 ac_cpp='$CPP $CPPFLAGS'
60759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
60768 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
60770 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60772 for ac_func in frexpf
60774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60775 echo "$as_me:$LINENO: checking for $ac_func" >&5
60776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60777 if eval "test \"\${$as_ac_var+set}\" = set"; then
60778 echo $ECHO_N "(cached) $ECHO_C" >&6
60779 else
60780 if test x$gcc_no_link = xyes; then
60781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60783 { (exit 1); exit 1; }; }
60785 cat >conftest.$ac_ext <<_ACEOF
60786 /* confdefs.h. */
60787 _ACEOF
60788 cat confdefs.h >>conftest.$ac_ext
60789 cat >>conftest.$ac_ext <<_ACEOF
60790 /* end confdefs.h. */
60791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60793 #define $ac_func innocuous_$ac_func
60795 /* System header to define __stub macros and hopefully few prototypes,
60796 which can conflict with char $ac_func (); below.
60797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60798 <limits.h> exists even on freestanding compilers. */
60800 #ifdef __STDC__
60801 # include <limits.h>
60802 #else
60803 # include <assert.h>
60804 #endif
60806 #undef $ac_func
60808 /* Override any gcc2 internal prototype to avoid an error. */
60809 #ifdef __cplusplus
60810 extern "C"
60812 #endif
60813 /* We use char because int might match the return type of a gcc2
60814 builtin and then its argument prototype would still apply. */
60815 char $ac_func ();
60816 /* The GNU C library defines this for functions which it implements
60817 to always fail with ENOSYS. Some functions are actually named
60818 something starting with __ and the normal name is an alias. */
60819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60820 choke me
60821 #else
60822 char (*f) () = $ac_func;
60823 #endif
60824 #ifdef __cplusplus
60826 #endif
60829 main ()
60831 return f != $ac_func;
60833 return 0;
60835 _ACEOF
60836 rm -f conftest.$ac_objext conftest$ac_exeext
60837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60838 (eval $ac_link) 2>conftest.er1
60839 ac_status=$?
60840 grep -v '^ *+' conftest.er1 >conftest.err
60841 rm -f conftest.er1
60842 cat conftest.err >&5
60843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60844 (exit $ac_status); } &&
60845 { ac_try='test -z "$ac_c_werror_flag"
60846 || test ! -s conftest.err'
60847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60848 (eval $ac_try) 2>&5
60849 ac_status=$?
60850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60851 (exit $ac_status); }; } &&
60852 { ac_try='test -s conftest$ac_exeext'
60853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60854 (eval $ac_try) 2>&5
60855 ac_status=$?
60856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60857 (exit $ac_status); }; }; then
60858 eval "$as_ac_var=yes"
60859 else
60860 echo "$as_me: failed program was:" >&5
60861 sed 's/^/| /' conftest.$ac_ext >&5
60863 eval "$as_ac_var=no"
60865 rm -f conftest.err conftest.$ac_objext \
60866 conftest$ac_exeext conftest.$ac_ext
60868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60870 if test `eval echo '${'$as_ac_var'}'` = yes; then
60871 cat >>confdefs.h <<_ACEOF
60872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60873 _ACEOF
60876 done
60878 else
60880 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
60881 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
60882 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60883 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
60884 echo $ECHO_N "(cached) $ECHO_C" >&6
60885 else
60889 ac_ext=cc
60890 ac_cpp='$CXXCPP $CPPFLAGS'
60891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60895 cat >conftest.$ac_ext <<_ACEOF
60896 /* confdefs.h. */
60897 _ACEOF
60898 cat confdefs.h >>conftest.$ac_ext
60899 cat >>conftest.$ac_ext <<_ACEOF
60900 /* end confdefs.h. */
60901 #include <math.h>
60903 main ()
60905 _frexpf(0, 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__frexpf_use=yes
60933 else
60934 echo "$as_me: failed program was:" >&5
60935 sed 's/^/| /' conftest.$ac_ext >&5
60937 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
60951 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
60953 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60955 for ac_func in _frexpf
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
61069 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
61070 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
61071 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61072 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
61073 echo $ECHO_N "(cached) $ECHO_C" >&6
61074 else
61078 ac_ext=cc
61079 ac_cpp='$CXXCPP $CPPFLAGS'
61080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61084 cat >conftest.$ac_ext <<_ACEOF
61085 /* confdefs.h. */
61086 _ACEOF
61087 cat confdefs.h >>conftest.$ac_ext
61088 cat >>conftest.$ac_ext <<_ACEOF
61089 /* end confdefs.h. */
61090 #include <math.h>
61092 main ()
61094 hypotf(0, 0);
61096 return 0;
61098 _ACEOF
61099 rm -f conftest.$ac_objext
61100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61101 (eval $ac_compile) 2>conftest.er1
61102 ac_status=$?
61103 grep -v '^ *+' conftest.er1 >conftest.err
61104 rm -f conftest.er1
61105 cat conftest.err >&5
61106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61107 (exit $ac_status); } &&
61108 { ac_try='test -z "$ac_cxx_werror_flag"
61109 || test ! -s conftest.err'
61110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61111 (eval $ac_try) 2>&5
61112 ac_status=$?
61113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61114 (exit $ac_status); }; } &&
61115 { ac_try='test -s conftest.$ac_objext'
61116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61117 (eval $ac_try) 2>&5
61118 ac_status=$?
61119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61120 (exit $ac_status); }; }; then
61121 glibcxx_cv_func_hypotf_use=yes
61122 else
61123 echo "$as_me: failed program was:" >&5
61124 sed 's/^/| /' conftest.$ac_ext >&5
61126 glibcxx_cv_func_hypotf_use=no
61128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61129 ac_ext=c
61130 ac_cpp='$CPP $CPPFLAGS'
61131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
61140 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
61142 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61144 for ac_func in hypotf
61146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61147 echo "$as_me:$LINENO: checking for $ac_func" >&5
61148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61149 if eval "test \"\${$as_ac_var+set}\" = set"; then
61150 echo $ECHO_N "(cached) $ECHO_C" >&6
61151 else
61152 if test x$gcc_no_link = xyes; then
61153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61155 { (exit 1); exit 1; }; }
61157 cat >conftest.$ac_ext <<_ACEOF
61158 /* confdefs.h. */
61159 _ACEOF
61160 cat confdefs.h >>conftest.$ac_ext
61161 cat >>conftest.$ac_ext <<_ACEOF
61162 /* end confdefs.h. */
61163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61165 #define $ac_func innocuous_$ac_func
61167 /* System header to define __stub macros and hopefully few prototypes,
61168 which can conflict with char $ac_func (); below.
61169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61170 <limits.h> exists even on freestanding compilers. */
61172 #ifdef __STDC__
61173 # include <limits.h>
61174 #else
61175 # include <assert.h>
61176 #endif
61178 #undef $ac_func
61180 /* Override any gcc2 internal prototype to avoid an error. */
61181 #ifdef __cplusplus
61182 extern "C"
61184 #endif
61185 /* We use char because int might match the return type of a gcc2
61186 builtin and then its argument prototype would still apply. */
61187 char $ac_func ();
61188 /* The GNU C library defines this for functions which it implements
61189 to always fail with ENOSYS. Some functions are actually named
61190 something starting with __ and the normal name is an alias. */
61191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61192 choke me
61193 #else
61194 char (*f) () = $ac_func;
61195 #endif
61196 #ifdef __cplusplus
61198 #endif
61201 main ()
61203 return f != $ac_func;
61205 return 0;
61207 _ACEOF
61208 rm -f conftest.$ac_objext conftest$ac_exeext
61209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61210 (eval $ac_link) 2>conftest.er1
61211 ac_status=$?
61212 grep -v '^ *+' conftest.er1 >conftest.err
61213 rm -f conftest.er1
61214 cat conftest.err >&5
61215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61216 (exit $ac_status); } &&
61217 { ac_try='test -z "$ac_c_werror_flag"
61218 || test ! -s conftest.err'
61219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61220 (eval $ac_try) 2>&5
61221 ac_status=$?
61222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61223 (exit $ac_status); }; } &&
61224 { ac_try='test -s conftest$ac_exeext'
61225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61226 (eval $ac_try) 2>&5
61227 ac_status=$?
61228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61229 (exit $ac_status); }; }; then
61230 eval "$as_ac_var=yes"
61231 else
61232 echo "$as_me: failed program was:" >&5
61233 sed 's/^/| /' conftest.$ac_ext >&5
61235 eval "$as_ac_var=no"
61237 rm -f conftest.err conftest.$ac_objext \
61238 conftest$ac_exeext conftest.$ac_ext
61240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61242 if test `eval echo '${'$as_ac_var'}'` = yes; then
61243 cat >>confdefs.h <<_ACEOF
61244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61245 _ACEOF
61248 done
61250 else
61252 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61253 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61254 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61255 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61256 echo $ECHO_N "(cached) $ECHO_C" >&6
61257 else
61261 ac_ext=cc
61262 ac_cpp='$CXXCPP $CPPFLAGS'
61263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61267 cat >conftest.$ac_ext <<_ACEOF
61268 /* confdefs.h. */
61269 _ACEOF
61270 cat confdefs.h >>conftest.$ac_ext
61271 cat >>conftest.$ac_ext <<_ACEOF
61272 /* end confdefs.h. */
61273 #include <math.h>
61275 main ()
61277 _hypotf(0, 0);
61279 return 0;
61281 _ACEOF
61282 rm -f conftest.$ac_objext
61283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61284 (eval $ac_compile) 2>conftest.er1
61285 ac_status=$?
61286 grep -v '^ *+' conftest.er1 >conftest.err
61287 rm -f conftest.er1
61288 cat conftest.err >&5
61289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290 (exit $ac_status); } &&
61291 { ac_try='test -z "$ac_cxx_werror_flag"
61292 || test ! -s conftest.err'
61293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61294 (eval $ac_try) 2>&5
61295 ac_status=$?
61296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297 (exit $ac_status); }; } &&
61298 { ac_try='test -s conftest.$ac_objext'
61299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61300 (eval $ac_try) 2>&5
61301 ac_status=$?
61302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61303 (exit $ac_status); }; }; then
61304 glibcxx_cv_func__hypotf_use=yes
61305 else
61306 echo "$as_me: failed program was:" >&5
61307 sed 's/^/| /' conftest.$ac_ext >&5
61309 glibcxx_cv_func__hypotf_use=no
61311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61312 ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61323 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61325 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61327 for ac_func in _hypotf
61329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61330 echo "$as_me:$LINENO: checking for $ac_func" >&5
61331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61332 if eval "test \"\${$as_ac_var+set}\" = set"; then
61333 echo $ECHO_N "(cached) $ECHO_C" >&6
61334 else
61335 if test x$gcc_no_link = xyes; then
61336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61338 { (exit 1); exit 1; }; }
61340 cat >conftest.$ac_ext <<_ACEOF
61341 /* confdefs.h. */
61342 _ACEOF
61343 cat confdefs.h >>conftest.$ac_ext
61344 cat >>conftest.$ac_ext <<_ACEOF
61345 /* end confdefs.h. */
61346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61348 #define $ac_func innocuous_$ac_func
61350 /* System header to define __stub macros and hopefully few prototypes,
61351 which can conflict with char $ac_func (); below.
61352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61353 <limits.h> exists even on freestanding compilers. */
61355 #ifdef __STDC__
61356 # include <limits.h>
61357 #else
61358 # include <assert.h>
61359 #endif
61361 #undef $ac_func
61363 /* Override any gcc2 internal prototype to avoid an error. */
61364 #ifdef __cplusplus
61365 extern "C"
61367 #endif
61368 /* We use char because int might match the return type of a gcc2
61369 builtin and then its argument prototype would still apply. */
61370 char $ac_func ();
61371 /* The GNU C library defines this for functions which it implements
61372 to always fail with ENOSYS. Some functions are actually named
61373 something starting with __ and the normal name is an alias. */
61374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61375 choke me
61376 #else
61377 char (*f) () = $ac_func;
61378 #endif
61379 #ifdef __cplusplus
61381 #endif
61384 main ()
61386 return f != $ac_func;
61388 return 0;
61390 _ACEOF
61391 rm -f conftest.$ac_objext conftest$ac_exeext
61392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61393 (eval $ac_link) 2>conftest.er1
61394 ac_status=$?
61395 grep -v '^ *+' conftest.er1 >conftest.err
61396 rm -f conftest.er1
61397 cat conftest.err >&5
61398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399 (exit $ac_status); } &&
61400 { ac_try='test -z "$ac_c_werror_flag"
61401 || test ! -s conftest.err'
61402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61403 (eval $ac_try) 2>&5
61404 ac_status=$?
61405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61406 (exit $ac_status); }; } &&
61407 { ac_try='test -s conftest$ac_exeext'
61408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61409 (eval $ac_try) 2>&5
61410 ac_status=$?
61411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61412 (exit $ac_status); }; }; then
61413 eval "$as_ac_var=yes"
61414 else
61415 echo "$as_me: failed program was:" >&5
61416 sed 's/^/| /' conftest.$ac_ext >&5
61418 eval "$as_ac_var=no"
61420 rm -f conftest.err conftest.$ac_objext \
61421 conftest$ac_exeext conftest.$ac_ext
61423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61425 if test `eval echo '${'$as_ac_var'}'` = yes; then
61426 cat >>confdefs.h <<_ACEOF
61427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61428 _ACEOF
61431 done
61441 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61442 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61443 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61444 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61445 echo $ECHO_N "(cached) $ECHO_C" >&6
61446 else
61450 ac_ext=cc
61451 ac_cpp='$CXXCPP $CPPFLAGS'
61452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61456 cat >conftest.$ac_ext <<_ACEOF
61457 /* confdefs.h. */
61458 _ACEOF
61459 cat confdefs.h >>conftest.$ac_ext
61460 cat >>conftest.$ac_ext <<_ACEOF
61461 /* end confdefs.h. */
61462 #include <math.h>
61464 main ()
61466 ldexpf(0, 0);
61468 return 0;
61470 _ACEOF
61471 rm -f conftest.$ac_objext
61472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61473 (eval $ac_compile) 2>conftest.er1
61474 ac_status=$?
61475 grep -v '^ *+' conftest.er1 >conftest.err
61476 rm -f conftest.er1
61477 cat conftest.err >&5
61478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61479 (exit $ac_status); } &&
61480 { ac_try='test -z "$ac_cxx_werror_flag"
61481 || test ! -s conftest.err'
61482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61483 (eval $ac_try) 2>&5
61484 ac_status=$?
61485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61486 (exit $ac_status); }; } &&
61487 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
61493 glibcxx_cv_func_ldexpf_use=yes
61494 else
61495 echo "$as_me: failed program was:" >&5
61496 sed 's/^/| /' conftest.$ac_ext >&5
61498 glibcxx_cv_func_ldexpf_use=no
61500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61501 ac_ext=c
61502 ac_cpp='$CPP $CPPFLAGS'
61503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61512 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61514 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61516 for ac_func in ldexpf
61518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61519 echo "$as_me:$LINENO: checking for $ac_func" >&5
61520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61521 if eval "test \"\${$as_ac_var+set}\" = set"; then
61522 echo $ECHO_N "(cached) $ECHO_C" >&6
61523 else
61524 if test x$gcc_no_link = xyes; then
61525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61527 { (exit 1); exit 1; }; }
61529 cat >conftest.$ac_ext <<_ACEOF
61530 /* confdefs.h. */
61531 _ACEOF
61532 cat confdefs.h >>conftest.$ac_ext
61533 cat >>conftest.$ac_ext <<_ACEOF
61534 /* end confdefs.h. */
61535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61537 #define $ac_func innocuous_$ac_func
61539 /* System header to define __stub macros and hopefully few prototypes,
61540 which can conflict with char $ac_func (); below.
61541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61542 <limits.h> exists even on freestanding compilers. */
61544 #ifdef __STDC__
61545 # include <limits.h>
61546 #else
61547 # include <assert.h>
61548 #endif
61550 #undef $ac_func
61552 /* Override any gcc2 internal prototype to avoid an error. */
61553 #ifdef __cplusplus
61554 extern "C"
61556 #endif
61557 /* We use char because int might match the return type of a gcc2
61558 builtin and then its argument prototype would still apply. */
61559 char $ac_func ();
61560 /* The GNU C library defines this for functions which it implements
61561 to always fail with ENOSYS. Some functions are actually named
61562 something starting with __ and the normal name is an alias. */
61563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61564 choke me
61565 #else
61566 char (*f) () = $ac_func;
61567 #endif
61568 #ifdef __cplusplus
61570 #endif
61573 main ()
61575 return f != $ac_func;
61577 return 0;
61579 _ACEOF
61580 rm -f conftest.$ac_objext conftest$ac_exeext
61581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61582 (eval $ac_link) 2>conftest.er1
61583 ac_status=$?
61584 grep -v '^ *+' conftest.er1 >conftest.err
61585 rm -f conftest.er1
61586 cat conftest.err >&5
61587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588 (exit $ac_status); } &&
61589 { ac_try='test -z "$ac_c_werror_flag"
61590 || test ! -s conftest.err'
61591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61592 (eval $ac_try) 2>&5
61593 ac_status=$?
61594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61595 (exit $ac_status); }; } &&
61596 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
61602 eval "$as_ac_var=yes"
61603 else
61604 echo "$as_me: failed program was:" >&5
61605 sed 's/^/| /' conftest.$ac_ext >&5
61607 eval "$as_ac_var=no"
61609 rm -f conftest.err conftest.$ac_objext \
61610 conftest$ac_exeext conftest.$ac_ext
61612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61614 if test `eval echo '${'$as_ac_var'}'` = yes; then
61615 cat >>confdefs.h <<_ACEOF
61616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61617 _ACEOF
61620 done
61622 else
61624 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61625 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61626 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61627 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61628 echo $ECHO_N "(cached) $ECHO_C" >&6
61629 else
61633 ac_ext=cc
61634 ac_cpp='$CXXCPP $CPPFLAGS'
61635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61639 cat >conftest.$ac_ext <<_ACEOF
61640 /* confdefs.h. */
61641 _ACEOF
61642 cat confdefs.h >>conftest.$ac_ext
61643 cat >>conftest.$ac_ext <<_ACEOF
61644 /* end confdefs.h. */
61645 #include <math.h>
61647 main ()
61649 _ldexpf(0, 0);
61651 return 0;
61653 _ACEOF
61654 rm -f conftest.$ac_objext
61655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61656 (eval $ac_compile) 2>conftest.er1
61657 ac_status=$?
61658 grep -v '^ *+' conftest.er1 >conftest.err
61659 rm -f conftest.er1
61660 cat conftest.err >&5
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); } &&
61663 { ac_try='test -z "$ac_cxx_werror_flag"
61664 || test ! -s conftest.err'
61665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61666 (eval $ac_try) 2>&5
61667 ac_status=$?
61668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61669 (exit $ac_status); }; } &&
61670 { ac_try='test -s conftest.$ac_objext'
61671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61672 (eval $ac_try) 2>&5
61673 ac_status=$?
61674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61675 (exit $ac_status); }; }; then
61676 glibcxx_cv_func__ldexpf_use=yes
61677 else
61678 echo "$as_me: failed program was:" >&5
61679 sed 's/^/| /' conftest.$ac_ext >&5
61681 glibcxx_cv_func__ldexpf_use=no
61683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61684 ac_ext=c
61685 ac_cpp='$CPP $CPPFLAGS'
61686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
61695 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
61697 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61699 for ac_func in _ldexpf
61701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61702 echo "$as_me:$LINENO: checking for $ac_func" >&5
61703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61704 if eval "test \"\${$as_ac_var+set}\" = set"; then
61705 echo $ECHO_N "(cached) $ECHO_C" >&6
61706 else
61707 if test x$gcc_no_link = xyes; then
61708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61710 { (exit 1); exit 1; }; }
61712 cat >conftest.$ac_ext <<_ACEOF
61713 /* confdefs.h. */
61714 _ACEOF
61715 cat confdefs.h >>conftest.$ac_ext
61716 cat >>conftest.$ac_ext <<_ACEOF
61717 /* end confdefs.h. */
61718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61720 #define $ac_func innocuous_$ac_func
61722 /* System header to define __stub macros and hopefully few prototypes,
61723 which can conflict with char $ac_func (); below.
61724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61725 <limits.h> exists even on freestanding compilers. */
61727 #ifdef __STDC__
61728 # include <limits.h>
61729 #else
61730 # include <assert.h>
61731 #endif
61733 #undef $ac_func
61735 /* Override any gcc2 internal prototype to avoid an error. */
61736 #ifdef __cplusplus
61737 extern "C"
61739 #endif
61740 /* We use char because int might match the return type of a gcc2
61741 builtin and then its argument prototype would still apply. */
61742 char $ac_func ();
61743 /* The GNU C library defines this for functions which it implements
61744 to always fail with ENOSYS. Some functions are actually named
61745 something starting with __ and the normal name is an alias. */
61746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61747 choke me
61748 #else
61749 char (*f) () = $ac_func;
61750 #endif
61751 #ifdef __cplusplus
61753 #endif
61756 main ()
61758 return f != $ac_func;
61760 return 0;
61762 _ACEOF
61763 rm -f conftest.$ac_objext conftest$ac_exeext
61764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61765 (eval $ac_link) 2>conftest.er1
61766 ac_status=$?
61767 grep -v '^ *+' conftest.er1 >conftest.err
61768 rm -f conftest.er1
61769 cat conftest.err >&5
61770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771 (exit $ac_status); } &&
61772 { ac_try='test -z "$ac_c_werror_flag"
61773 || test ! -s conftest.err'
61774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61775 (eval $ac_try) 2>&5
61776 ac_status=$?
61777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61778 (exit $ac_status); }; } &&
61779 { ac_try='test -s conftest$ac_exeext'
61780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61781 (eval $ac_try) 2>&5
61782 ac_status=$?
61783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61784 (exit $ac_status); }; }; then
61785 eval "$as_ac_var=yes"
61786 else
61787 echo "$as_me: failed program was:" >&5
61788 sed 's/^/| /' conftest.$ac_ext >&5
61790 eval "$as_ac_var=no"
61792 rm -f conftest.err conftest.$ac_objext \
61793 conftest$ac_exeext conftest.$ac_ext
61795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61797 if test `eval echo '${'$as_ac_var'}'` = yes; then
61798 cat >>confdefs.h <<_ACEOF
61799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61800 _ACEOF
61803 done
61813 echo "$as_me:$LINENO: checking for logf declaration" >&5
61814 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
61815 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61816 if test "${glibcxx_cv_func_logf_use+set}" = set; then
61817 echo $ECHO_N "(cached) $ECHO_C" >&6
61818 else
61822 ac_ext=cc
61823 ac_cpp='$CXXCPP $CPPFLAGS'
61824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61828 cat >conftest.$ac_ext <<_ACEOF
61829 /* confdefs.h. */
61830 _ACEOF
61831 cat confdefs.h >>conftest.$ac_ext
61832 cat >>conftest.$ac_ext <<_ACEOF
61833 /* end confdefs.h. */
61834 #include <math.h>
61835 #ifdef HAVE_IEEEFP_H
61836 #include <ieeefp.h>
61837 #endif
61840 main ()
61842 logf(0);
61844 return 0;
61846 _ACEOF
61847 rm -f conftest.$ac_objext
61848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61849 (eval $ac_compile) 2>conftest.er1
61850 ac_status=$?
61851 grep -v '^ *+' conftest.er1 >conftest.err
61852 rm -f conftest.er1
61853 cat conftest.err >&5
61854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61855 (exit $ac_status); } &&
61856 { ac_try='test -z "$ac_cxx_werror_flag"
61857 || test ! -s conftest.err'
61858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61859 (eval $ac_try) 2>&5
61860 ac_status=$?
61861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61862 (exit $ac_status); }; } &&
61863 { ac_try='test -s conftest.$ac_objext'
61864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61865 (eval $ac_try) 2>&5
61866 ac_status=$?
61867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61868 (exit $ac_status); }; }; then
61869 glibcxx_cv_func_logf_use=yes
61870 else
61871 echo "$as_me: failed program was:" >&5
61872 sed 's/^/| /' conftest.$ac_ext >&5
61874 glibcxx_cv_func_logf_use=no
61876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61877 ac_ext=c
61878 ac_cpp='$CPP $CPPFLAGS'
61879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
61888 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
61890 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61892 for ac_func in logf
61894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61895 echo "$as_me:$LINENO: checking for $ac_func" >&5
61896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61897 if eval "test \"\${$as_ac_var+set}\" = set"; then
61898 echo $ECHO_N "(cached) $ECHO_C" >&6
61899 else
61900 if test x$gcc_no_link = xyes; then
61901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61903 { (exit 1); exit 1; }; }
61905 cat >conftest.$ac_ext <<_ACEOF
61906 /* confdefs.h. */
61907 _ACEOF
61908 cat confdefs.h >>conftest.$ac_ext
61909 cat >>conftest.$ac_ext <<_ACEOF
61910 /* end confdefs.h. */
61911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61913 #define $ac_func innocuous_$ac_func
61915 /* System header to define __stub macros and hopefully few prototypes,
61916 which can conflict with char $ac_func (); below.
61917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61918 <limits.h> exists even on freestanding compilers. */
61920 #ifdef __STDC__
61921 # include <limits.h>
61922 #else
61923 # include <assert.h>
61924 #endif
61926 #undef $ac_func
61928 /* Override any gcc2 internal prototype to avoid an error. */
61929 #ifdef __cplusplus
61930 extern "C"
61932 #endif
61933 /* We use char because int might match the return type of a gcc2
61934 builtin and then its argument prototype would still apply. */
61935 char $ac_func ();
61936 /* The GNU C library defines this for functions which it implements
61937 to always fail with ENOSYS. Some functions are actually named
61938 something starting with __ and the normal name is an alias. */
61939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61940 choke me
61941 #else
61942 char (*f) () = $ac_func;
61943 #endif
61944 #ifdef __cplusplus
61946 #endif
61949 main ()
61951 return f != $ac_func;
61953 return 0;
61955 _ACEOF
61956 rm -f conftest.$ac_objext conftest$ac_exeext
61957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61958 (eval $ac_link) 2>conftest.er1
61959 ac_status=$?
61960 grep -v '^ *+' conftest.er1 >conftest.err
61961 rm -f conftest.er1
61962 cat conftest.err >&5
61963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964 (exit $ac_status); } &&
61965 { ac_try='test -z "$ac_c_werror_flag"
61966 || test ! -s conftest.err'
61967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61968 (eval $ac_try) 2>&5
61969 ac_status=$?
61970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61971 (exit $ac_status); }; } &&
61972 { ac_try='test -s conftest$ac_exeext'
61973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61974 (eval $ac_try) 2>&5
61975 ac_status=$?
61976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61977 (exit $ac_status); }; }; then
61978 eval "$as_ac_var=yes"
61979 else
61980 echo "$as_me: failed program was:" >&5
61981 sed 's/^/| /' conftest.$ac_ext >&5
61983 eval "$as_ac_var=no"
61985 rm -f conftest.err conftest.$ac_objext \
61986 conftest$ac_exeext conftest.$ac_ext
61988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61990 if test `eval echo '${'$as_ac_var'}'` = yes; then
61991 cat >>confdefs.h <<_ACEOF
61992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61993 _ACEOF
61996 done
61998 else
62000 echo "$as_me:$LINENO: checking for _logf declaration" >&5
62001 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
62002 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62003 if test "${glibcxx_cv_func__logf_use+set}" = set; then
62004 echo $ECHO_N "(cached) $ECHO_C" >&6
62005 else
62009 ac_ext=cc
62010 ac_cpp='$CXXCPP $CPPFLAGS'
62011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62015 cat >conftest.$ac_ext <<_ACEOF
62016 /* confdefs.h. */
62017 _ACEOF
62018 cat confdefs.h >>conftest.$ac_ext
62019 cat >>conftest.$ac_ext <<_ACEOF
62020 /* end confdefs.h. */
62021 #include <math.h>
62022 #ifdef HAVE_IEEEFP_H
62023 #include <ieeefp.h>
62024 #endif
62027 main ()
62029 _logf(0);
62031 return 0;
62033 _ACEOF
62034 rm -f conftest.$ac_objext
62035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62036 (eval $ac_compile) 2>conftest.er1
62037 ac_status=$?
62038 grep -v '^ *+' conftest.er1 >conftest.err
62039 rm -f conftest.er1
62040 cat conftest.err >&5
62041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042 (exit $ac_status); } &&
62043 { ac_try='test -z "$ac_cxx_werror_flag"
62044 || test ! -s conftest.err'
62045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62046 (eval $ac_try) 2>&5
62047 ac_status=$?
62048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62049 (exit $ac_status); }; } &&
62050 { ac_try='test -s conftest.$ac_objext'
62051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62052 (eval $ac_try) 2>&5
62053 ac_status=$?
62054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62055 (exit $ac_status); }; }; then
62056 glibcxx_cv_func__logf_use=yes
62057 else
62058 echo "$as_me: failed program was:" >&5
62059 sed 's/^/| /' conftest.$ac_ext >&5
62061 glibcxx_cv_func__logf_use=no
62063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62064 ac_ext=c
62065 ac_cpp='$CPP $CPPFLAGS'
62066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
62075 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
62077 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62079 for ac_func in _logf
62081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62082 echo "$as_me:$LINENO: checking for $ac_func" >&5
62083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62084 if eval "test \"\${$as_ac_var+set}\" = set"; then
62085 echo $ECHO_N "(cached) $ECHO_C" >&6
62086 else
62087 if test x$gcc_no_link = xyes; then
62088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62090 { (exit 1); exit 1; }; }
62092 cat >conftest.$ac_ext <<_ACEOF
62093 /* confdefs.h. */
62094 _ACEOF
62095 cat confdefs.h >>conftest.$ac_ext
62096 cat >>conftest.$ac_ext <<_ACEOF
62097 /* end confdefs.h. */
62098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62100 #define $ac_func innocuous_$ac_func
62102 /* System header to define __stub macros and hopefully few prototypes,
62103 which can conflict with char $ac_func (); below.
62104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62105 <limits.h> exists even on freestanding compilers. */
62107 #ifdef __STDC__
62108 # include <limits.h>
62109 #else
62110 # include <assert.h>
62111 #endif
62113 #undef $ac_func
62115 /* Override any gcc2 internal prototype to avoid an error. */
62116 #ifdef __cplusplus
62117 extern "C"
62119 #endif
62120 /* We use char because int might match the return type of a gcc2
62121 builtin and then its argument prototype would still apply. */
62122 char $ac_func ();
62123 /* The GNU C library defines this for functions which it implements
62124 to always fail with ENOSYS. Some functions are actually named
62125 something starting with __ and the normal name is an alias. */
62126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62127 choke me
62128 #else
62129 char (*f) () = $ac_func;
62130 #endif
62131 #ifdef __cplusplus
62133 #endif
62136 main ()
62138 return f != $ac_func;
62140 return 0;
62142 _ACEOF
62143 rm -f conftest.$ac_objext conftest$ac_exeext
62144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62145 (eval $ac_link) 2>conftest.er1
62146 ac_status=$?
62147 grep -v '^ *+' conftest.er1 >conftest.err
62148 rm -f conftest.er1
62149 cat conftest.err >&5
62150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151 (exit $ac_status); } &&
62152 { ac_try='test -z "$ac_c_werror_flag"
62153 || test ! -s conftest.err'
62154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62155 (eval $ac_try) 2>&5
62156 ac_status=$?
62157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62158 (exit $ac_status); }; } &&
62159 { ac_try='test -s conftest$ac_exeext'
62160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62161 (eval $ac_try) 2>&5
62162 ac_status=$?
62163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62164 (exit $ac_status); }; }; then
62165 eval "$as_ac_var=yes"
62166 else
62167 echo "$as_me: failed program was:" >&5
62168 sed 's/^/| /' conftest.$ac_ext >&5
62170 eval "$as_ac_var=no"
62172 rm -f conftest.err conftest.$ac_objext \
62173 conftest$ac_exeext conftest.$ac_ext
62175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62177 if test `eval echo '${'$as_ac_var'}'` = yes; then
62178 cat >>confdefs.h <<_ACEOF
62179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62180 _ACEOF
62183 done
62193 echo "$as_me:$LINENO: checking for log10f declaration" >&5
62194 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62195 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62196 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62197 echo $ECHO_N "(cached) $ECHO_C" >&6
62198 else
62202 ac_ext=cc
62203 ac_cpp='$CXXCPP $CPPFLAGS'
62204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62208 cat >conftest.$ac_ext <<_ACEOF
62209 /* confdefs.h. */
62210 _ACEOF
62211 cat confdefs.h >>conftest.$ac_ext
62212 cat >>conftest.$ac_ext <<_ACEOF
62213 /* end confdefs.h. */
62214 #include <math.h>
62215 #ifdef HAVE_IEEEFP_H
62216 #include <ieeefp.h>
62217 #endif
62220 main ()
62222 log10f(0);
62224 return 0;
62226 _ACEOF
62227 rm -f conftest.$ac_objext
62228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62229 (eval $ac_compile) 2>conftest.er1
62230 ac_status=$?
62231 grep -v '^ *+' conftest.er1 >conftest.err
62232 rm -f conftest.er1
62233 cat conftest.err >&5
62234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62235 (exit $ac_status); } &&
62236 { ac_try='test -z "$ac_cxx_werror_flag"
62237 || test ! -s conftest.err'
62238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62239 (eval $ac_try) 2>&5
62240 ac_status=$?
62241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62242 (exit $ac_status); }; } &&
62243 { ac_try='test -s conftest.$ac_objext'
62244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62245 (eval $ac_try) 2>&5
62246 ac_status=$?
62247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62248 (exit $ac_status); }; }; then
62249 glibcxx_cv_func_log10f_use=yes
62250 else
62251 echo "$as_me: failed program was:" >&5
62252 sed 's/^/| /' conftest.$ac_ext >&5
62254 glibcxx_cv_func_log10f_use=no
62256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62257 ac_ext=c
62258 ac_cpp='$CPP $CPPFLAGS'
62259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62268 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62270 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62272 for ac_func in log10f
62274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62275 echo "$as_me:$LINENO: checking for $ac_func" >&5
62276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62277 if eval "test \"\${$as_ac_var+set}\" = set"; then
62278 echo $ECHO_N "(cached) $ECHO_C" >&6
62279 else
62280 if test x$gcc_no_link = xyes; then
62281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62283 { (exit 1); exit 1; }; }
62285 cat >conftest.$ac_ext <<_ACEOF
62286 /* confdefs.h. */
62287 _ACEOF
62288 cat confdefs.h >>conftest.$ac_ext
62289 cat >>conftest.$ac_ext <<_ACEOF
62290 /* end confdefs.h. */
62291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62293 #define $ac_func innocuous_$ac_func
62295 /* System header to define __stub macros and hopefully few prototypes,
62296 which can conflict with char $ac_func (); below.
62297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62298 <limits.h> exists even on freestanding compilers. */
62300 #ifdef __STDC__
62301 # include <limits.h>
62302 #else
62303 # include <assert.h>
62304 #endif
62306 #undef $ac_func
62308 /* Override any gcc2 internal prototype to avoid an error. */
62309 #ifdef __cplusplus
62310 extern "C"
62312 #endif
62313 /* We use char because int might match the return type of a gcc2
62314 builtin and then its argument prototype would still apply. */
62315 char $ac_func ();
62316 /* The GNU C library defines this for functions which it implements
62317 to always fail with ENOSYS. Some functions are actually named
62318 something starting with __ and the normal name is an alias. */
62319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62320 choke me
62321 #else
62322 char (*f) () = $ac_func;
62323 #endif
62324 #ifdef __cplusplus
62326 #endif
62329 main ()
62331 return f != $ac_func;
62333 return 0;
62335 _ACEOF
62336 rm -f conftest.$ac_objext conftest$ac_exeext
62337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62338 (eval $ac_link) 2>conftest.er1
62339 ac_status=$?
62340 grep -v '^ *+' conftest.er1 >conftest.err
62341 rm -f conftest.er1
62342 cat conftest.err >&5
62343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344 (exit $ac_status); } &&
62345 { ac_try='test -z "$ac_c_werror_flag"
62346 || test ! -s conftest.err'
62347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62348 (eval $ac_try) 2>&5
62349 ac_status=$?
62350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62351 (exit $ac_status); }; } &&
62352 { ac_try='test -s conftest$ac_exeext'
62353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62354 (eval $ac_try) 2>&5
62355 ac_status=$?
62356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62357 (exit $ac_status); }; }; then
62358 eval "$as_ac_var=yes"
62359 else
62360 echo "$as_me: failed program was:" >&5
62361 sed 's/^/| /' conftest.$ac_ext >&5
62363 eval "$as_ac_var=no"
62365 rm -f conftest.err conftest.$ac_objext \
62366 conftest$ac_exeext conftest.$ac_ext
62368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62370 if test `eval echo '${'$as_ac_var'}'` = yes; then
62371 cat >>confdefs.h <<_ACEOF
62372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62373 _ACEOF
62376 done
62378 else
62380 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62381 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62382 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62383 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62384 echo $ECHO_N "(cached) $ECHO_C" >&6
62385 else
62389 ac_ext=cc
62390 ac_cpp='$CXXCPP $CPPFLAGS'
62391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62395 cat >conftest.$ac_ext <<_ACEOF
62396 /* confdefs.h. */
62397 _ACEOF
62398 cat confdefs.h >>conftest.$ac_ext
62399 cat >>conftest.$ac_ext <<_ACEOF
62400 /* end confdefs.h. */
62401 #include <math.h>
62402 #ifdef HAVE_IEEEFP_H
62403 #include <ieeefp.h>
62404 #endif
62407 main ()
62409 _log10f(0);
62411 return 0;
62413 _ACEOF
62414 rm -f conftest.$ac_objext
62415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62416 (eval $ac_compile) 2>conftest.er1
62417 ac_status=$?
62418 grep -v '^ *+' conftest.er1 >conftest.err
62419 rm -f conftest.er1
62420 cat conftest.err >&5
62421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422 (exit $ac_status); } &&
62423 { ac_try='test -z "$ac_cxx_werror_flag"
62424 || test ! -s conftest.err'
62425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62426 (eval $ac_try) 2>&5
62427 ac_status=$?
62428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62429 (exit $ac_status); }; } &&
62430 { ac_try='test -s conftest.$ac_objext'
62431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62432 (eval $ac_try) 2>&5
62433 ac_status=$?
62434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62435 (exit $ac_status); }; }; then
62436 glibcxx_cv_func__log10f_use=yes
62437 else
62438 echo "$as_me: failed program was:" >&5
62439 sed 's/^/| /' conftest.$ac_ext >&5
62441 glibcxx_cv_func__log10f_use=no
62443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62444 ac_ext=c
62445 ac_cpp='$CPP $CPPFLAGS'
62446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62455 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62457 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62459 for ac_func in _log10f
62461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62462 echo "$as_me:$LINENO: checking for $ac_func" >&5
62463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62464 if eval "test \"\${$as_ac_var+set}\" = set"; then
62465 echo $ECHO_N "(cached) $ECHO_C" >&6
62466 else
62467 if test x$gcc_no_link = xyes; then
62468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62470 { (exit 1); exit 1; }; }
62472 cat >conftest.$ac_ext <<_ACEOF
62473 /* confdefs.h. */
62474 _ACEOF
62475 cat confdefs.h >>conftest.$ac_ext
62476 cat >>conftest.$ac_ext <<_ACEOF
62477 /* end confdefs.h. */
62478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62480 #define $ac_func innocuous_$ac_func
62482 /* System header to define __stub macros and hopefully few prototypes,
62483 which can conflict with char $ac_func (); below.
62484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62485 <limits.h> exists even on freestanding compilers. */
62487 #ifdef __STDC__
62488 # include <limits.h>
62489 #else
62490 # include <assert.h>
62491 #endif
62493 #undef $ac_func
62495 /* Override any gcc2 internal prototype to avoid an error. */
62496 #ifdef __cplusplus
62497 extern "C"
62499 #endif
62500 /* We use char because int might match the return type of a gcc2
62501 builtin and then its argument prototype would still apply. */
62502 char $ac_func ();
62503 /* The GNU C library defines this for functions which it implements
62504 to always fail with ENOSYS. Some functions are actually named
62505 something starting with __ and the normal name is an alias. */
62506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62507 choke me
62508 #else
62509 char (*f) () = $ac_func;
62510 #endif
62511 #ifdef __cplusplus
62513 #endif
62516 main ()
62518 return f != $ac_func;
62520 return 0;
62522 _ACEOF
62523 rm -f conftest.$ac_objext conftest$ac_exeext
62524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62525 (eval $ac_link) 2>conftest.er1
62526 ac_status=$?
62527 grep -v '^ *+' conftest.er1 >conftest.err
62528 rm -f conftest.er1
62529 cat conftest.err >&5
62530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531 (exit $ac_status); } &&
62532 { ac_try='test -z "$ac_c_werror_flag"
62533 || test ! -s conftest.err'
62534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62535 (eval $ac_try) 2>&5
62536 ac_status=$?
62537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62538 (exit $ac_status); }; } &&
62539 { ac_try='test -s conftest$ac_exeext'
62540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62541 (eval $ac_try) 2>&5
62542 ac_status=$?
62543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62544 (exit $ac_status); }; }; then
62545 eval "$as_ac_var=yes"
62546 else
62547 echo "$as_me: failed program was:" >&5
62548 sed 's/^/| /' conftest.$ac_ext >&5
62550 eval "$as_ac_var=no"
62552 rm -f conftest.err conftest.$ac_objext \
62553 conftest$ac_exeext conftest.$ac_ext
62555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62557 if test `eval echo '${'$as_ac_var'}'` = yes; then
62558 cat >>confdefs.h <<_ACEOF
62559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62560 _ACEOF
62563 done
62573 echo "$as_me:$LINENO: checking for modff declaration" >&5
62574 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62575 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62576 if test "${glibcxx_cv_func_modff_use+set}" = set; then
62577 echo $ECHO_N "(cached) $ECHO_C" >&6
62578 else
62582 ac_ext=cc
62583 ac_cpp='$CXXCPP $CPPFLAGS'
62584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62588 cat >conftest.$ac_ext <<_ACEOF
62589 /* confdefs.h. */
62590 _ACEOF
62591 cat confdefs.h >>conftest.$ac_ext
62592 cat >>conftest.$ac_ext <<_ACEOF
62593 /* end confdefs.h. */
62594 #include <math.h>
62596 main ()
62598 modff(0, 0);
62600 return 0;
62602 _ACEOF
62603 rm -f conftest.$ac_objext
62604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62605 (eval $ac_compile) 2>conftest.er1
62606 ac_status=$?
62607 grep -v '^ *+' conftest.er1 >conftest.err
62608 rm -f conftest.er1
62609 cat conftest.err >&5
62610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62611 (exit $ac_status); } &&
62612 { ac_try='test -z "$ac_cxx_werror_flag"
62613 || test ! -s conftest.err'
62614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62615 (eval $ac_try) 2>&5
62616 ac_status=$?
62617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62618 (exit $ac_status); }; } &&
62619 { ac_try='test -s conftest.$ac_objext'
62620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62621 (eval $ac_try) 2>&5
62622 ac_status=$?
62623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62624 (exit $ac_status); }; }; then
62625 glibcxx_cv_func_modff_use=yes
62626 else
62627 echo "$as_me: failed program was:" >&5
62628 sed 's/^/| /' conftest.$ac_ext >&5
62630 glibcxx_cv_func_modff_use=no
62632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62633 ac_ext=c
62634 ac_cpp='$CPP $CPPFLAGS'
62635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62644 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62646 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62648 for ac_func in modff
62650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62651 echo "$as_me:$LINENO: checking for $ac_func" >&5
62652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62653 if eval "test \"\${$as_ac_var+set}\" = set"; then
62654 echo $ECHO_N "(cached) $ECHO_C" >&6
62655 else
62656 if test x$gcc_no_link = xyes; then
62657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62659 { (exit 1); exit 1; }; }
62661 cat >conftest.$ac_ext <<_ACEOF
62662 /* confdefs.h. */
62663 _ACEOF
62664 cat confdefs.h >>conftest.$ac_ext
62665 cat >>conftest.$ac_ext <<_ACEOF
62666 /* end confdefs.h. */
62667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62669 #define $ac_func innocuous_$ac_func
62671 /* System header to define __stub macros and hopefully few prototypes,
62672 which can conflict with char $ac_func (); below.
62673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62674 <limits.h> exists even on freestanding compilers. */
62676 #ifdef __STDC__
62677 # include <limits.h>
62678 #else
62679 # include <assert.h>
62680 #endif
62682 #undef $ac_func
62684 /* Override any gcc2 internal prototype to avoid an error. */
62685 #ifdef __cplusplus
62686 extern "C"
62688 #endif
62689 /* We use char because int might match the return type of a gcc2
62690 builtin and then its argument prototype would still apply. */
62691 char $ac_func ();
62692 /* The GNU C library defines this for functions which it implements
62693 to always fail with ENOSYS. Some functions are actually named
62694 something starting with __ and the normal name is an alias. */
62695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62696 choke me
62697 #else
62698 char (*f) () = $ac_func;
62699 #endif
62700 #ifdef __cplusplus
62702 #endif
62705 main ()
62707 return f != $ac_func;
62709 return 0;
62711 _ACEOF
62712 rm -f conftest.$ac_objext conftest$ac_exeext
62713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62714 (eval $ac_link) 2>conftest.er1
62715 ac_status=$?
62716 grep -v '^ *+' conftest.er1 >conftest.err
62717 rm -f conftest.er1
62718 cat conftest.err >&5
62719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62720 (exit $ac_status); } &&
62721 { ac_try='test -z "$ac_c_werror_flag"
62722 || test ! -s conftest.err'
62723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62724 (eval $ac_try) 2>&5
62725 ac_status=$?
62726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62727 (exit $ac_status); }; } &&
62728 { ac_try='test -s conftest$ac_exeext'
62729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62730 (eval $ac_try) 2>&5
62731 ac_status=$?
62732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62733 (exit $ac_status); }; }; then
62734 eval "$as_ac_var=yes"
62735 else
62736 echo "$as_me: failed program was:" >&5
62737 sed 's/^/| /' conftest.$ac_ext >&5
62739 eval "$as_ac_var=no"
62741 rm -f conftest.err conftest.$ac_objext \
62742 conftest$ac_exeext conftest.$ac_ext
62744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62746 if test `eval echo '${'$as_ac_var'}'` = yes; then
62747 cat >>confdefs.h <<_ACEOF
62748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62749 _ACEOF
62752 done
62754 else
62756 echo "$as_me:$LINENO: checking for _modff declaration" >&5
62757 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
62758 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62759 if test "${glibcxx_cv_func__modff_use+set}" = set; then
62760 echo $ECHO_N "(cached) $ECHO_C" >&6
62761 else
62765 ac_ext=cc
62766 ac_cpp='$CXXCPP $CPPFLAGS'
62767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62771 cat >conftest.$ac_ext <<_ACEOF
62772 /* confdefs.h. */
62773 _ACEOF
62774 cat confdefs.h >>conftest.$ac_ext
62775 cat >>conftest.$ac_ext <<_ACEOF
62776 /* end confdefs.h. */
62777 #include <math.h>
62779 main ()
62781 _modff(0, 0);
62783 return 0;
62785 _ACEOF
62786 rm -f conftest.$ac_objext
62787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62788 (eval $ac_compile) 2>conftest.er1
62789 ac_status=$?
62790 grep -v '^ *+' conftest.er1 >conftest.err
62791 rm -f conftest.er1
62792 cat conftest.err >&5
62793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62794 (exit $ac_status); } &&
62795 { ac_try='test -z "$ac_cxx_werror_flag"
62796 || test ! -s conftest.err'
62797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62798 (eval $ac_try) 2>&5
62799 ac_status=$?
62800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62801 (exit $ac_status); }; } &&
62802 { ac_try='test -s conftest.$ac_objext'
62803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62804 (eval $ac_try) 2>&5
62805 ac_status=$?
62806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62807 (exit $ac_status); }; }; then
62808 glibcxx_cv_func__modff_use=yes
62809 else
62810 echo "$as_me: failed program was:" >&5
62811 sed 's/^/| /' conftest.$ac_ext >&5
62813 glibcxx_cv_func__modff_use=no
62815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62816 ac_ext=c
62817 ac_cpp='$CPP $CPPFLAGS'
62818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
62827 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
62829 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62831 for ac_func in _modff
62833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62834 echo "$as_me:$LINENO: checking for $ac_func" >&5
62835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62836 if eval "test \"\${$as_ac_var+set}\" = set"; then
62837 echo $ECHO_N "(cached) $ECHO_C" >&6
62838 else
62839 if test x$gcc_no_link = xyes; then
62840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62842 { (exit 1); exit 1; }; }
62844 cat >conftest.$ac_ext <<_ACEOF
62845 /* confdefs.h. */
62846 _ACEOF
62847 cat confdefs.h >>conftest.$ac_ext
62848 cat >>conftest.$ac_ext <<_ACEOF
62849 /* end confdefs.h. */
62850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62852 #define $ac_func innocuous_$ac_func
62854 /* System header to define __stub macros and hopefully few prototypes,
62855 which can conflict with char $ac_func (); below.
62856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62857 <limits.h> exists even on freestanding compilers. */
62859 #ifdef __STDC__
62860 # include <limits.h>
62861 #else
62862 # include <assert.h>
62863 #endif
62865 #undef $ac_func
62867 /* Override any gcc2 internal prototype to avoid an error. */
62868 #ifdef __cplusplus
62869 extern "C"
62871 #endif
62872 /* We use char because int might match the return type of a gcc2
62873 builtin and then its argument prototype would still apply. */
62874 char $ac_func ();
62875 /* The GNU C library defines this for functions which it implements
62876 to always fail with ENOSYS. Some functions are actually named
62877 something starting with __ and the normal name is an alias. */
62878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62879 choke me
62880 #else
62881 char (*f) () = $ac_func;
62882 #endif
62883 #ifdef __cplusplus
62885 #endif
62888 main ()
62890 return f != $ac_func;
62892 return 0;
62894 _ACEOF
62895 rm -f conftest.$ac_objext conftest$ac_exeext
62896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62897 (eval $ac_link) 2>conftest.er1
62898 ac_status=$?
62899 grep -v '^ *+' conftest.er1 >conftest.err
62900 rm -f conftest.er1
62901 cat conftest.err >&5
62902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62903 (exit $ac_status); } &&
62904 { ac_try='test -z "$ac_c_werror_flag"
62905 || test ! -s conftest.err'
62906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62907 (eval $ac_try) 2>&5
62908 ac_status=$?
62909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62910 (exit $ac_status); }; } &&
62911 { ac_try='test -s conftest$ac_exeext'
62912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62913 (eval $ac_try) 2>&5
62914 ac_status=$?
62915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62916 (exit $ac_status); }; }; then
62917 eval "$as_ac_var=yes"
62918 else
62919 echo "$as_me: failed program was:" >&5
62920 sed 's/^/| /' conftest.$ac_ext >&5
62922 eval "$as_ac_var=no"
62924 rm -f conftest.err conftest.$ac_objext \
62925 conftest$ac_exeext conftest.$ac_ext
62927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62929 if test `eval echo '${'$as_ac_var'}'` = yes; then
62930 cat >>confdefs.h <<_ACEOF
62931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62932 _ACEOF
62935 done
62945 echo "$as_me:$LINENO: checking for modf declaration" >&5
62946 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
62947 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62948 if test "${glibcxx_cv_func_modf_use+set}" = set; then
62949 echo $ECHO_N "(cached) $ECHO_C" >&6
62950 else
62954 ac_ext=cc
62955 ac_cpp='$CXXCPP $CPPFLAGS'
62956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62960 cat >conftest.$ac_ext <<_ACEOF
62961 /* confdefs.h. */
62962 _ACEOF
62963 cat confdefs.h >>conftest.$ac_ext
62964 cat >>conftest.$ac_ext <<_ACEOF
62965 /* end confdefs.h. */
62966 #include <math.h>
62968 main ()
62970 modf(0, 0);
62972 return 0;
62974 _ACEOF
62975 rm -f conftest.$ac_objext
62976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62977 (eval $ac_compile) 2>conftest.er1
62978 ac_status=$?
62979 grep -v '^ *+' conftest.er1 >conftest.err
62980 rm -f conftest.er1
62981 cat conftest.err >&5
62982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62983 (exit $ac_status); } &&
62984 { ac_try='test -z "$ac_cxx_werror_flag"
62985 || test ! -s conftest.err'
62986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62987 (eval $ac_try) 2>&5
62988 ac_status=$?
62989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62990 (exit $ac_status); }; } &&
62991 { ac_try='test -s conftest.$ac_objext'
62992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62993 (eval $ac_try) 2>&5
62994 ac_status=$?
62995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62996 (exit $ac_status); }; }; then
62997 glibcxx_cv_func_modf_use=yes
62998 else
62999 echo "$as_me: failed program was:" >&5
63000 sed 's/^/| /' conftest.$ac_ext >&5
63002 glibcxx_cv_func_modf_use=no
63004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63005 ac_ext=c
63006 ac_cpp='$CPP $CPPFLAGS'
63007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
63016 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
63018 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63020 for ac_func in modf
63022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63023 echo "$as_me:$LINENO: checking for $ac_func" >&5
63024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63025 if eval "test \"\${$as_ac_var+set}\" = set"; then
63026 echo $ECHO_N "(cached) $ECHO_C" >&6
63027 else
63028 if test x$gcc_no_link = xyes; then
63029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63031 { (exit 1); exit 1; }; }
63033 cat >conftest.$ac_ext <<_ACEOF
63034 /* confdefs.h. */
63035 _ACEOF
63036 cat confdefs.h >>conftest.$ac_ext
63037 cat >>conftest.$ac_ext <<_ACEOF
63038 /* end confdefs.h. */
63039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63041 #define $ac_func innocuous_$ac_func
63043 /* System header to define __stub macros and hopefully few prototypes,
63044 which can conflict with char $ac_func (); below.
63045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63046 <limits.h> exists even on freestanding compilers. */
63048 #ifdef __STDC__
63049 # include <limits.h>
63050 #else
63051 # include <assert.h>
63052 #endif
63054 #undef $ac_func
63056 /* Override any gcc2 internal prototype to avoid an error. */
63057 #ifdef __cplusplus
63058 extern "C"
63060 #endif
63061 /* We use char because int might match the return type of a gcc2
63062 builtin and then its argument prototype would still apply. */
63063 char $ac_func ();
63064 /* The GNU C library defines this for functions which it implements
63065 to always fail with ENOSYS. Some functions are actually named
63066 something starting with __ and the normal name is an alias. */
63067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63068 choke me
63069 #else
63070 char (*f) () = $ac_func;
63071 #endif
63072 #ifdef __cplusplus
63074 #endif
63077 main ()
63079 return f != $ac_func;
63081 return 0;
63083 _ACEOF
63084 rm -f conftest.$ac_objext conftest$ac_exeext
63085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63086 (eval $ac_link) 2>conftest.er1
63087 ac_status=$?
63088 grep -v '^ *+' conftest.er1 >conftest.err
63089 rm -f conftest.er1
63090 cat conftest.err >&5
63091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63092 (exit $ac_status); } &&
63093 { ac_try='test -z "$ac_c_werror_flag"
63094 || test ! -s conftest.err'
63095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63096 (eval $ac_try) 2>&5
63097 ac_status=$?
63098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63099 (exit $ac_status); }; } &&
63100 { ac_try='test -s conftest$ac_exeext'
63101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63102 (eval $ac_try) 2>&5
63103 ac_status=$?
63104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63105 (exit $ac_status); }; }; then
63106 eval "$as_ac_var=yes"
63107 else
63108 echo "$as_me: failed program was:" >&5
63109 sed 's/^/| /' conftest.$ac_ext >&5
63111 eval "$as_ac_var=no"
63113 rm -f conftest.err conftest.$ac_objext \
63114 conftest$ac_exeext conftest.$ac_ext
63116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63118 if test `eval echo '${'$as_ac_var'}'` = yes; then
63119 cat >>confdefs.h <<_ACEOF
63120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63121 _ACEOF
63124 done
63126 else
63128 echo "$as_me:$LINENO: checking for _modf declaration" >&5
63129 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
63130 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63131 if test "${glibcxx_cv_func__modf_use+set}" = set; then
63132 echo $ECHO_N "(cached) $ECHO_C" >&6
63133 else
63137 ac_ext=cc
63138 ac_cpp='$CXXCPP $CPPFLAGS'
63139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63143 cat >conftest.$ac_ext <<_ACEOF
63144 /* confdefs.h. */
63145 _ACEOF
63146 cat confdefs.h >>conftest.$ac_ext
63147 cat >>conftest.$ac_ext <<_ACEOF
63148 /* end confdefs.h. */
63149 #include <math.h>
63151 main ()
63153 _modf(0, 0);
63155 return 0;
63157 _ACEOF
63158 rm -f conftest.$ac_objext
63159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63160 (eval $ac_compile) 2>conftest.er1
63161 ac_status=$?
63162 grep -v '^ *+' conftest.er1 >conftest.err
63163 rm -f conftest.er1
63164 cat conftest.err >&5
63165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63166 (exit $ac_status); } &&
63167 { ac_try='test -z "$ac_cxx_werror_flag"
63168 || test ! -s conftest.err'
63169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63170 (eval $ac_try) 2>&5
63171 ac_status=$?
63172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63173 (exit $ac_status); }; } &&
63174 { ac_try='test -s conftest.$ac_objext'
63175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63176 (eval $ac_try) 2>&5
63177 ac_status=$?
63178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63179 (exit $ac_status); }; }; then
63180 glibcxx_cv_func__modf_use=yes
63181 else
63182 echo "$as_me: failed program was:" >&5
63183 sed 's/^/| /' conftest.$ac_ext >&5
63185 glibcxx_cv_func__modf_use=no
63187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63188 ac_ext=c
63189 ac_cpp='$CPP $CPPFLAGS'
63190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
63199 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
63201 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63203 for ac_func in _modf
63205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63206 echo "$as_me:$LINENO: checking for $ac_func" >&5
63207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63208 if eval "test \"\${$as_ac_var+set}\" = set"; then
63209 echo $ECHO_N "(cached) $ECHO_C" >&6
63210 else
63211 if test x$gcc_no_link = xyes; then
63212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63214 { (exit 1); exit 1; }; }
63216 cat >conftest.$ac_ext <<_ACEOF
63217 /* confdefs.h. */
63218 _ACEOF
63219 cat confdefs.h >>conftest.$ac_ext
63220 cat >>conftest.$ac_ext <<_ACEOF
63221 /* end confdefs.h. */
63222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63224 #define $ac_func innocuous_$ac_func
63226 /* System header to define __stub macros and hopefully few prototypes,
63227 which can conflict with char $ac_func (); below.
63228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63229 <limits.h> exists even on freestanding compilers. */
63231 #ifdef __STDC__
63232 # include <limits.h>
63233 #else
63234 # include <assert.h>
63235 #endif
63237 #undef $ac_func
63239 /* Override any gcc2 internal prototype to avoid an error. */
63240 #ifdef __cplusplus
63241 extern "C"
63243 #endif
63244 /* We use char because int might match the return type of a gcc2
63245 builtin and then its argument prototype would still apply. */
63246 char $ac_func ();
63247 /* The GNU C library defines this for functions which it implements
63248 to always fail with ENOSYS. Some functions are actually named
63249 something starting with __ and the normal name is an alias. */
63250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63251 choke me
63252 #else
63253 char (*f) () = $ac_func;
63254 #endif
63255 #ifdef __cplusplus
63257 #endif
63260 main ()
63262 return f != $ac_func;
63264 return 0;
63266 _ACEOF
63267 rm -f conftest.$ac_objext conftest$ac_exeext
63268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63269 (eval $ac_link) 2>conftest.er1
63270 ac_status=$?
63271 grep -v '^ *+' conftest.er1 >conftest.err
63272 rm -f conftest.er1
63273 cat conftest.err >&5
63274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275 (exit $ac_status); } &&
63276 { ac_try='test -z "$ac_c_werror_flag"
63277 || test ! -s conftest.err'
63278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63279 (eval $ac_try) 2>&5
63280 ac_status=$?
63281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63282 (exit $ac_status); }; } &&
63283 { ac_try='test -s conftest$ac_exeext'
63284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63285 (eval $ac_try) 2>&5
63286 ac_status=$?
63287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63288 (exit $ac_status); }; }; then
63289 eval "$as_ac_var=yes"
63290 else
63291 echo "$as_me: failed program was:" >&5
63292 sed 's/^/| /' conftest.$ac_ext >&5
63294 eval "$as_ac_var=no"
63296 rm -f conftest.err conftest.$ac_objext \
63297 conftest$ac_exeext conftest.$ac_ext
63299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63301 if test `eval echo '${'$as_ac_var'}'` = yes; then
63302 cat >>confdefs.h <<_ACEOF
63303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63304 _ACEOF
63307 done
63317 echo "$as_me:$LINENO: checking for powf declaration" >&5
63318 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63319 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63320 if test "${glibcxx_cv_func_powf_use+set}" = set; then
63321 echo $ECHO_N "(cached) $ECHO_C" >&6
63322 else
63326 ac_ext=cc
63327 ac_cpp='$CXXCPP $CPPFLAGS'
63328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63332 cat >conftest.$ac_ext <<_ACEOF
63333 /* confdefs.h. */
63334 _ACEOF
63335 cat confdefs.h >>conftest.$ac_ext
63336 cat >>conftest.$ac_ext <<_ACEOF
63337 /* end confdefs.h. */
63338 #include <math.h>
63340 main ()
63342 powf(0, 0);
63344 return 0;
63346 _ACEOF
63347 rm -f conftest.$ac_objext
63348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63349 (eval $ac_compile) 2>conftest.er1
63350 ac_status=$?
63351 grep -v '^ *+' conftest.er1 >conftest.err
63352 rm -f conftest.er1
63353 cat conftest.err >&5
63354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63355 (exit $ac_status); } &&
63356 { ac_try='test -z "$ac_cxx_werror_flag"
63357 || test ! -s conftest.err'
63358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63359 (eval $ac_try) 2>&5
63360 ac_status=$?
63361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63362 (exit $ac_status); }; } &&
63363 { ac_try='test -s conftest.$ac_objext'
63364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63365 (eval $ac_try) 2>&5
63366 ac_status=$?
63367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63368 (exit $ac_status); }; }; then
63369 glibcxx_cv_func_powf_use=yes
63370 else
63371 echo "$as_me: failed program was:" >&5
63372 sed 's/^/| /' conftest.$ac_ext >&5
63374 glibcxx_cv_func_powf_use=no
63376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63377 ac_ext=c
63378 ac_cpp='$CPP $CPPFLAGS'
63379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63387 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63388 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63390 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63392 for ac_func in powf
63394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63395 echo "$as_me:$LINENO: checking for $ac_func" >&5
63396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63397 if eval "test \"\${$as_ac_var+set}\" = set"; then
63398 echo $ECHO_N "(cached) $ECHO_C" >&6
63399 else
63400 if test x$gcc_no_link = xyes; then
63401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63403 { (exit 1); exit 1; }; }
63405 cat >conftest.$ac_ext <<_ACEOF
63406 /* confdefs.h. */
63407 _ACEOF
63408 cat confdefs.h >>conftest.$ac_ext
63409 cat >>conftest.$ac_ext <<_ACEOF
63410 /* end confdefs.h. */
63411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63413 #define $ac_func innocuous_$ac_func
63415 /* System header to define __stub macros and hopefully few prototypes,
63416 which can conflict with char $ac_func (); below.
63417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63418 <limits.h> exists even on freestanding compilers. */
63420 #ifdef __STDC__
63421 # include <limits.h>
63422 #else
63423 # include <assert.h>
63424 #endif
63426 #undef $ac_func
63428 /* Override any gcc2 internal prototype to avoid an error. */
63429 #ifdef __cplusplus
63430 extern "C"
63432 #endif
63433 /* We use char because int might match the return type of a gcc2
63434 builtin and then its argument prototype would still apply. */
63435 char $ac_func ();
63436 /* The GNU C library defines this for functions which it implements
63437 to always fail with ENOSYS. Some functions are actually named
63438 something starting with __ and the normal name is an alias. */
63439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63440 choke me
63441 #else
63442 char (*f) () = $ac_func;
63443 #endif
63444 #ifdef __cplusplus
63446 #endif
63449 main ()
63451 return f != $ac_func;
63453 return 0;
63455 _ACEOF
63456 rm -f conftest.$ac_objext conftest$ac_exeext
63457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63458 (eval $ac_link) 2>conftest.er1
63459 ac_status=$?
63460 grep -v '^ *+' conftest.er1 >conftest.err
63461 rm -f conftest.er1
63462 cat conftest.err >&5
63463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464 (exit $ac_status); } &&
63465 { ac_try='test -z "$ac_c_werror_flag"
63466 || test ! -s conftest.err'
63467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63468 (eval $ac_try) 2>&5
63469 ac_status=$?
63470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63471 (exit $ac_status); }; } &&
63472 { ac_try='test -s conftest$ac_exeext'
63473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63474 (eval $ac_try) 2>&5
63475 ac_status=$?
63476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63477 (exit $ac_status); }; }; then
63478 eval "$as_ac_var=yes"
63479 else
63480 echo "$as_me: failed program was:" >&5
63481 sed 's/^/| /' conftest.$ac_ext >&5
63483 eval "$as_ac_var=no"
63485 rm -f conftest.err conftest.$ac_objext \
63486 conftest$ac_exeext conftest.$ac_ext
63488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63490 if test `eval echo '${'$as_ac_var'}'` = yes; then
63491 cat >>confdefs.h <<_ACEOF
63492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63493 _ACEOF
63496 done
63498 else
63500 echo "$as_me:$LINENO: checking for _powf declaration" >&5
63501 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63502 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63503 if test "${glibcxx_cv_func__powf_use+set}" = set; then
63504 echo $ECHO_N "(cached) $ECHO_C" >&6
63505 else
63509 ac_ext=cc
63510 ac_cpp='$CXXCPP $CPPFLAGS'
63511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63515 cat >conftest.$ac_ext <<_ACEOF
63516 /* confdefs.h. */
63517 _ACEOF
63518 cat confdefs.h >>conftest.$ac_ext
63519 cat >>conftest.$ac_ext <<_ACEOF
63520 /* end confdefs.h. */
63521 #include <math.h>
63523 main ()
63525 _powf(0, 0);
63527 return 0;
63529 _ACEOF
63530 rm -f conftest.$ac_objext
63531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63532 (eval $ac_compile) 2>conftest.er1
63533 ac_status=$?
63534 grep -v '^ *+' conftest.er1 >conftest.err
63535 rm -f conftest.er1
63536 cat conftest.err >&5
63537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63538 (exit $ac_status); } &&
63539 { ac_try='test -z "$ac_cxx_werror_flag"
63540 || test ! -s conftest.err'
63541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63542 (eval $ac_try) 2>&5
63543 ac_status=$?
63544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63545 (exit $ac_status); }; } &&
63546 { ac_try='test -s conftest.$ac_objext'
63547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63548 (eval $ac_try) 2>&5
63549 ac_status=$?
63550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63551 (exit $ac_status); }; }; then
63552 glibcxx_cv_func__powf_use=yes
63553 else
63554 echo "$as_me: failed program was:" >&5
63555 sed 's/^/| /' conftest.$ac_ext >&5
63557 glibcxx_cv_func__powf_use=no
63559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63560 ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63571 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63573 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63575 for ac_func in _powf
63577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63578 echo "$as_me:$LINENO: checking for $ac_func" >&5
63579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63580 if eval "test \"\${$as_ac_var+set}\" = set"; then
63581 echo $ECHO_N "(cached) $ECHO_C" >&6
63582 else
63583 if test x$gcc_no_link = xyes; then
63584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63586 { (exit 1); exit 1; }; }
63588 cat >conftest.$ac_ext <<_ACEOF
63589 /* confdefs.h. */
63590 _ACEOF
63591 cat confdefs.h >>conftest.$ac_ext
63592 cat >>conftest.$ac_ext <<_ACEOF
63593 /* end confdefs.h. */
63594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63596 #define $ac_func innocuous_$ac_func
63598 /* System header to define __stub macros and hopefully few prototypes,
63599 which can conflict with char $ac_func (); below.
63600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63601 <limits.h> exists even on freestanding compilers. */
63603 #ifdef __STDC__
63604 # include <limits.h>
63605 #else
63606 # include <assert.h>
63607 #endif
63609 #undef $ac_func
63611 /* Override any gcc2 internal prototype to avoid an error. */
63612 #ifdef __cplusplus
63613 extern "C"
63615 #endif
63616 /* We use char because int might match the return type of a gcc2
63617 builtin and then its argument prototype would still apply. */
63618 char $ac_func ();
63619 /* The GNU C library defines this for functions which it implements
63620 to always fail with ENOSYS. Some functions are actually named
63621 something starting with __ and the normal name is an alias. */
63622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63623 choke me
63624 #else
63625 char (*f) () = $ac_func;
63626 #endif
63627 #ifdef __cplusplus
63629 #endif
63632 main ()
63634 return f != $ac_func;
63636 return 0;
63638 _ACEOF
63639 rm -f conftest.$ac_objext conftest$ac_exeext
63640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63641 (eval $ac_link) 2>conftest.er1
63642 ac_status=$?
63643 grep -v '^ *+' conftest.er1 >conftest.err
63644 rm -f conftest.er1
63645 cat conftest.err >&5
63646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647 (exit $ac_status); } &&
63648 { ac_try='test -z "$ac_c_werror_flag"
63649 || test ! -s conftest.err'
63650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63651 (eval $ac_try) 2>&5
63652 ac_status=$?
63653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63654 (exit $ac_status); }; } &&
63655 { ac_try='test -s conftest$ac_exeext'
63656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63657 (eval $ac_try) 2>&5
63658 ac_status=$?
63659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63660 (exit $ac_status); }; }; then
63661 eval "$as_ac_var=yes"
63662 else
63663 echo "$as_me: failed program was:" >&5
63664 sed 's/^/| /' conftest.$ac_ext >&5
63666 eval "$as_ac_var=no"
63668 rm -f conftest.err conftest.$ac_objext \
63669 conftest$ac_exeext conftest.$ac_ext
63671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63673 if test `eval echo '${'$as_ac_var'}'` = yes; then
63674 cat >>confdefs.h <<_ACEOF
63675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63676 _ACEOF
63679 done
63689 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63690 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63691 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63692 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63693 echo $ECHO_N "(cached) $ECHO_C" >&6
63694 else
63698 ac_ext=cc
63699 ac_cpp='$CXXCPP $CPPFLAGS'
63700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63704 cat >conftest.$ac_ext <<_ACEOF
63705 /* confdefs.h. */
63706 _ACEOF
63707 cat confdefs.h >>conftest.$ac_ext
63708 cat >>conftest.$ac_ext <<_ACEOF
63709 /* end confdefs.h. */
63710 #include <math.h>
63711 #ifdef HAVE_IEEEFP_H
63712 #include <ieeefp.h>
63713 #endif
63716 main ()
63718 sqrtf(0);
63720 return 0;
63722 _ACEOF
63723 rm -f conftest.$ac_objext
63724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63725 (eval $ac_compile) 2>conftest.er1
63726 ac_status=$?
63727 grep -v '^ *+' conftest.er1 >conftest.err
63728 rm -f conftest.er1
63729 cat conftest.err >&5
63730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63731 (exit $ac_status); } &&
63732 { ac_try='test -z "$ac_cxx_werror_flag"
63733 || test ! -s conftest.err'
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); }; } &&
63739 { ac_try='test -s conftest.$ac_objext'
63740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63741 (eval $ac_try) 2>&5
63742 ac_status=$?
63743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63744 (exit $ac_status); }; }; then
63745 glibcxx_cv_func_sqrtf_use=yes
63746 else
63747 echo "$as_me: failed program was:" >&5
63748 sed 's/^/| /' conftest.$ac_ext >&5
63750 glibcxx_cv_func_sqrtf_use=no
63752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63753 ac_ext=c
63754 ac_cpp='$CPP $CPPFLAGS'
63755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63764 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63766 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63768 for ac_func in sqrtf
63770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63771 echo "$as_me:$LINENO: checking for $ac_func" >&5
63772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63773 if eval "test \"\${$as_ac_var+set}\" = set"; then
63774 echo $ECHO_N "(cached) $ECHO_C" >&6
63775 else
63776 if test x$gcc_no_link = xyes; then
63777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63779 { (exit 1); exit 1; }; }
63781 cat >conftest.$ac_ext <<_ACEOF
63782 /* confdefs.h. */
63783 _ACEOF
63784 cat confdefs.h >>conftest.$ac_ext
63785 cat >>conftest.$ac_ext <<_ACEOF
63786 /* end confdefs.h. */
63787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63789 #define $ac_func innocuous_$ac_func
63791 /* System header to define __stub macros and hopefully few prototypes,
63792 which can conflict with char $ac_func (); below.
63793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63794 <limits.h> exists even on freestanding compilers. */
63796 #ifdef __STDC__
63797 # include <limits.h>
63798 #else
63799 # include <assert.h>
63800 #endif
63802 #undef $ac_func
63804 /* Override any gcc2 internal prototype to avoid an error. */
63805 #ifdef __cplusplus
63806 extern "C"
63808 #endif
63809 /* We use char because int might match the return type of a gcc2
63810 builtin and then its argument prototype would still apply. */
63811 char $ac_func ();
63812 /* The GNU C library defines this for functions which it implements
63813 to always fail with ENOSYS. Some functions are actually named
63814 something starting with __ and the normal name is an alias. */
63815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63816 choke me
63817 #else
63818 char (*f) () = $ac_func;
63819 #endif
63820 #ifdef __cplusplus
63822 #endif
63825 main ()
63827 return f != $ac_func;
63829 return 0;
63831 _ACEOF
63832 rm -f conftest.$ac_objext conftest$ac_exeext
63833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63834 (eval $ac_link) 2>conftest.er1
63835 ac_status=$?
63836 grep -v '^ *+' conftest.er1 >conftest.err
63837 rm -f conftest.er1
63838 cat conftest.err >&5
63839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63840 (exit $ac_status); } &&
63841 { ac_try='test -z "$ac_c_werror_flag"
63842 || test ! -s conftest.err'
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); }; } &&
63848 { ac_try='test -s conftest$ac_exeext'
63849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63850 (eval $ac_try) 2>&5
63851 ac_status=$?
63852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63853 (exit $ac_status); }; }; then
63854 eval "$as_ac_var=yes"
63855 else
63856 echo "$as_me: failed program was:" >&5
63857 sed 's/^/| /' conftest.$ac_ext >&5
63859 eval "$as_ac_var=no"
63861 rm -f conftest.err conftest.$ac_objext \
63862 conftest$ac_exeext conftest.$ac_ext
63864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63866 if test `eval echo '${'$as_ac_var'}'` = yes; then
63867 cat >>confdefs.h <<_ACEOF
63868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63869 _ACEOF
63872 done
63874 else
63876 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63877 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63878 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63879 if test "${glibcxx_cv_func__sqrtf_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 _sqrtf(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__sqrtf_use=yes
63933 else
63934 echo "$as_me: failed program was:" >&5
63935 sed 's/^/| /' conftest.$ac_ext >&5
63937 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
63951 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63953 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63955 for ac_func in _sqrtf
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
64069 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
64070 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
64071 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64072 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
64073 echo $ECHO_N "(cached) $ECHO_C" >&6
64074 else
64078 ac_ext=cc
64079 ac_cpp='$CXXCPP $CPPFLAGS'
64080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64084 cat >conftest.$ac_ext <<_ACEOF
64085 /* confdefs.h. */
64086 _ACEOF
64087 cat confdefs.h >>conftest.$ac_ext
64088 cat >>conftest.$ac_ext <<_ACEOF
64089 /* end confdefs.h. */
64090 #include <math.h>
64092 main ()
64094 sincosf(0, 0, 0);
64096 return 0;
64098 _ACEOF
64099 rm -f conftest.$ac_objext
64100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64101 (eval $ac_compile) 2>conftest.er1
64102 ac_status=$?
64103 grep -v '^ *+' conftest.er1 >conftest.err
64104 rm -f conftest.er1
64105 cat conftest.err >&5
64106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64107 (exit $ac_status); } &&
64108 { ac_try='test -z "$ac_cxx_werror_flag"
64109 || test ! -s conftest.err'
64110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64111 (eval $ac_try) 2>&5
64112 ac_status=$?
64113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64114 (exit $ac_status); }; } &&
64115 { ac_try='test -s conftest.$ac_objext'
64116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64117 (eval $ac_try) 2>&5
64118 ac_status=$?
64119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64120 (exit $ac_status); }; }; then
64121 glibcxx_cv_func_sincosf_use=yes
64122 else
64123 echo "$as_me: failed program was:" >&5
64124 sed 's/^/| /' conftest.$ac_ext >&5
64126 glibcxx_cv_func_sincosf_use=no
64128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64129 ac_ext=c
64130 ac_cpp='$CPP $CPPFLAGS'
64131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
64140 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
64142 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64144 for ac_func in sincosf
64146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64147 echo "$as_me:$LINENO: checking for $ac_func" >&5
64148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64149 if eval "test \"\${$as_ac_var+set}\" = set"; then
64150 echo $ECHO_N "(cached) $ECHO_C" >&6
64151 else
64152 if test x$gcc_no_link = xyes; then
64153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64155 { (exit 1); exit 1; }; }
64157 cat >conftest.$ac_ext <<_ACEOF
64158 /* confdefs.h. */
64159 _ACEOF
64160 cat confdefs.h >>conftest.$ac_ext
64161 cat >>conftest.$ac_ext <<_ACEOF
64162 /* end confdefs.h. */
64163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64165 #define $ac_func innocuous_$ac_func
64167 /* System header to define __stub macros and hopefully few prototypes,
64168 which can conflict with char $ac_func (); below.
64169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64170 <limits.h> exists even on freestanding compilers. */
64172 #ifdef __STDC__
64173 # include <limits.h>
64174 #else
64175 # include <assert.h>
64176 #endif
64178 #undef $ac_func
64180 /* Override any gcc2 internal prototype to avoid an error. */
64181 #ifdef __cplusplus
64182 extern "C"
64184 #endif
64185 /* We use char because int might match the return type of a gcc2
64186 builtin and then its argument prototype would still apply. */
64187 char $ac_func ();
64188 /* The GNU C library defines this for functions which it implements
64189 to always fail with ENOSYS. Some functions are actually named
64190 something starting with __ and the normal name is an alias. */
64191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64192 choke me
64193 #else
64194 char (*f) () = $ac_func;
64195 #endif
64196 #ifdef __cplusplus
64198 #endif
64201 main ()
64203 return f != $ac_func;
64205 return 0;
64207 _ACEOF
64208 rm -f conftest.$ac_objext conftest$ac_exeext
64209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64210 (eval $ac_link) 2>conftest.er1
64211 ac_status=$?
64212 grep -v '^ *+' conftest.er1 >conftest.err
64213 rm -f conftest.er1
64214 cat conftest.err >&5
64215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216 (exit $ac_status); } &&
64217 { ac_try='test -z "$ac_c_werror_flag"
64218 || test ! -s conftest.err'
64219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64220 (eval $ac_try) 2>&5
64221 ac_status=$?
64222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64223 (exit $ac_status); }; } &&
64224 { ac_try='test -s conftest$ac_exeext'
64225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64226 (eval $ac_try) 2>&5
64227 ac_status=$?
64228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64229 (exit $ac_status); }; }; then
64230 eval "$as_ac_var=yes"
64231 else
64232 echo "$as_me: failed program was:" >&5
64233 sed 's/^/| /' conftest.$ac_ext >&5
64235 eval "$as_ac_var=no"
64237 rm -f conftest.err conftest.$ac_objext \
64238 conftest$ac_exeext conftest.$ac_ext
64240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64242 if test `eval echo '${'$as_ac_var'}'` = yes; then
64243 cat >>confdefs.h <<_ACEOF
64244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64245 _ACEOF
64248 done
64250 else
64252 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64253 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64254 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64255 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64256 echo $ECHO_N "(cached) $ECHO_C" >&6
64257 else
64261 ac_ext=cc
64262 ac_cpp='$CXXCPP $CPPFLAGS'
64263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64267 cat >conftest.$ac_ext <<_ACEOF
64268 /* confdefs.h. */
64269 _ACEOF
64270 cat confdefs.h >>conftest.$ac_ext
64271 cat >>conftest.$ac_ext <<_ACEOF
64272 /* end confdefs.h. */
64273 #include <math.h>
64275 main ()
64277 _sincosf(0, 0, 0);
64279 return 0;
64281 _ACEOF
64282 rm -f conftest.$ac_objext
64283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64284 (eval $ac_compile) 2>conftest.er1
64285 ac_status=$?
64286 grep -v '^ *+' conftest.er1 >conftest.err
64287 rm -f conftest.er1
64288 cat conftest.err >&5
64289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64290 (exit $ac_status); } &&
64291 { ac_try='test -z "$ac_cxx_werror_flag"
64292 || test ! -s conftest.err'
64293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64294 (eval $ac_try) 2>&5
64295 ac_status=$?
64296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64297 (exit $ac_status); }; } &&
64298 { ac_try='test -s conftest.$ac_objext'
64299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64300 (eval $ac_try) 2>&5
64301 ac_status=$?
64302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64303 (exit $ac_status); }; }; then
64304 glibcxx_cv_func__sincosf_use=yes
64305 else
64306 echo "$as_me: failed program was:" >&5
64307 sed 's/^/| /' conftest.$ac_ext >&5
64309 glibcxx_cv_func__sincosf_use=no
64311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64312 ac_ext=c
64313 ac_cpp='$CPP $CPPFLAGS'
64314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64323 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64325 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64327 for ac_func in _sincosf
64329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64330 echo "$as_me:$LINENO: checking for $ac_func" >&5
64331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64332 if eval "test \"\${$as_ac_var+set}\" = set"; then
64333 echo $ECHO_N "(cached) $ECHO_C" >&6
64334 else
64335 if test x$gcc_no_link = xyes; then
64336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64338 { (exit 1); exit 1; }; }
64340 cat >conftest.$ac_ext <<_ACEOF
64341 /* confdefs.h. */
64342 _ACEOF
64343 cat confdefs.h >>conftest.$ac_ext
64344 cat >>conftest.$ac_ext <<_ACEOF
64345 /* end confdefs.h. */
64346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64348 #define $ac_func innocuous_$ac_func
64350 /* System header to define __stub macros and hopefully few prototypes,
64351 which can conflict with char $ac_func (); below.
64352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64353 <limits.h> exists even on freestanding compilers. */
64355 #ifdef __STDC__
64356 # include <limits.h>
64357 #else
64358 # include <assert.h>
64359 #endif
64361 #undef $ac_func
64363 /* Override any gcc2 internal prototype to avoid an error. */
64364 #ifdef __cplusplus
64365 extern "C"
64367 #endif
64368 /* We use char because int might match the return type of a gcc2
64369 builtin and then its argument prototype would still apply. */
64370 char $ac_func ();
64371 /* The GNU C library defines this for functions which it implements
64372 to always fail with ENOSYS. Some functions are actually named
64373 something starting with __ and the normal name is an alias. */
64374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64375 choke me
64376 #else
64377 char (*f) () = $ac_func;
64378 #endif
64379 #ifdef __cplusplus
64381 #endif
64384 main ()
64386 return f != $ac_func;
64388 return 0;
64390 _ACEOF
64391 rm -f conftest.$ac_objext conftest$ac_exeext
64392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64393 (eval $ac_link) 2>conftest.er1
64394 ac_status=$?
64395 grep -v '^ *+' conftest.er1 >conftest.err
64396 rm -f conftest.er1
64397 cat conftest.err >&5
64398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64399 (exit $ac_status); } &&
64400 { ac_try='test -z "$ac_c_werror_flag"
64401 || test ! -s conftest.err'
64402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64403 (eval $ac_try) 2>&5
64404 ac_status=$?
64405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64406 (exit $ac_status); }; } &&
64407 { ac_try='test -s conftest$ac_exeext'
64408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64409 (eval $ac_try) 2>&5
64410 ac_status=$?
64411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64412 (exit $ac_status); }; }; then
64413 eval "$as_ac_var=yes"
64414 else
64415 echo "$as_me: failed program was:" >&5
64416 sed 's/^/| /' conftest.$ac_ext >&5
64418 eval "$as_ac_var=no"
64420 rm -f conftest.err conftest.$ac_objext \
64421 conftest$ac_exeext conftest.$ac_ext
64423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64425 if test `eval echo '${'$as_ac_var'}'` = yes; then
64426 cat >>confdefs.h <<_ACEOF
64427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64428 _ACEOF
64431 done
64441 echo "$as_me:$LINENO: checking for finitef declaration" >&5
64442 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64443 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64444 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64445 echo $ECHO_N "(cached) $ECHO_C" >&6
64446 else
64450 ac_ext=cc
64451 ac_cpp='$CXXCPP $CPPFLAGS'
64452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64456 cat >conftest.$ac_ext <<_ACEOF
64457 /* confdefs.h. */
64458 _ACEOF
64459 cat confdefs.h >>conftest.$ac_ext
64460 cat >>conftest.$ac_ext <<_ACEOF
64461 /* end confdefs.h. */
64462 #include <math.h>
64463 #ifdef HAVE_IEEEFP_H
64464 #include <ieeefp.h>
64465 #endif
64468 main ()
64470 finitef(0);
64472 return 0;
64474 _ACEOF
64475 rm -f conftest.$ac_objext
64476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64477 (eval $ac_compile) 2>conftest.er1
64478 ac_status=$?
64479 grep -v '^ *+' conftest.er1 >conftest.err
64480 rm -f conftest.er1
64481 cat conftest.err >&5
64482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64483 (exit $ac_status); } &&
64484 { ac_try='test -z "$ac_cxx_werror_flag"
64485 || test ! -s conftest.err'
64486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64487 (eval $ac_try) 2>&5
64488 ac_status=$?
64489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64490 (exit $ac_status); }; } &&
64491 { ac_try='test -s conftest.$ac_objext'
64492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64493 (eval $ac_try) 2>&5
64494 ac_status=$?
64495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64496 (exit $ac_status); }; }; then
64497 glibcxx_cv_func_finitef_use=yes
64498 else
64499 echo "$as_me: failed program was:" >&5
64500 sed 's/^/| /' conftest.$ac_ext >&5
64502 glibcxx_cv_func_finitef_use=no
64504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64505 ac_ext=c
64506 ac_cpp='$CPP $CPPFLAGS'
64507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64516 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64518 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64520 for ac_func in finitef
64522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64523 echo "$as_me:$LINENO: checking for $ac_func" >&5
64524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64525 if eval "test \"\${$as_ac_var+set}\" = set"; then
64526 echo $ECHO_N "(cached) $ECHO_C" >&6
64527 else
64528 if test x$gcc_no_link = xyes; then
64529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64531 { (exit 1); exit 1; }; }
64533 cat >conftest.$ac_ext <<_ACEOF
64534 /* confdefs.h. */
64535 _ACEOF
64536 cat confdefs.h >>conftest.$ac_ext
64537 cat >>conftest.$ac_ext <<_ACEOF
64538 /* end confdefs.h. */
64539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64541 #define $ac_func innocuous_$ac_func
64543 /* System header to define __stub macros and hopefully few prototypes,
64544 which can conflict with char $ac_func (); below.
64545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64546 <limits.h> exists even on freestanding compilers. */
64548 #ifdef __STDC__
64549 # include <limits.h>
64550 #else
64551 # include <assert.h>
64552 #endif
64554 #undef $ac_func
64556 /* Override any gcc2 internal prototype to avoid an error. */
64557 #ifdef __cplusplus
64558 extern "C"
64560 #endif
64561 /* We use char because int might match the return type of a gcc2
64562 builtin and then its argument prototype would still apply. */
64563 char $ac_func ();
64564 /* The GNU C library defines this for functions which it implements
64565 to always fail with ENOSYS. Some functions are actually named
64566 something starting with __ and the normal name is an alias. */
64567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64568 choke me
64569 #else
64570 char (*f) () = $ac_func;
64571 #endif
64572 #ifdef __cplusplus
64574 #endif
64577 main ()
64579 return f != $ac_func;
64581 return 0;
64583 _ACEOF
64584 rm -f conftest.$ac_objext conftest$ac_exeext
64585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64586 (eval $ac_link) 2>conftest.er1
64587 ac_status=$?
64588 grep -v '^ *+' conftest.er1 >conftest.err
64589 rm -f conftest.er1
64590 cat conftest.err >&5
64591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64592 (exit $ac_status); } &&
64593 { ac_try='test -z "$ac_c_werror_flag"
64594 || test ! -s conftest.err'
64595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64596 (eval $ac_try) 2>&5
64597 ac_status=$?
64598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64599 (exit $ac_status); }; } &&
64600 { ac_try='test -s conftest$ac_exeext'
64601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64602 (eval $ac_try) 2>&5
64603 ac_status=$?
64604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64605 (exit $ac_status); }; }; then
64606 eval "$as_ac_var=yes"
64607 else
64608 echo "$as_me: failed program was:" >&5
64609 sed 's/^/| /' conftest.$ac_ext >&5
64611 eval "$as_ac_var=no"
64613 rm -f conftest.err conftest.$ac_objext \
64614 conftest$ac_exeext conftest.$ac_ext
64616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64618 if test `eval echo '${'$as_ac_var'}'` = yes; then
64619 cat >>confdefs.h <<_ACEOF
64620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64621 _ACEOF
64624 done
64626 else
64628 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64629 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64630 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64631 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64632 echo $ECHO_N "(cached) $ECHO_C" >&6
64633 else
64637 ac_ext=cc
64638 ac_cpp='$CXXCPP $CPPFLAGS'
64639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64643 cat >conftest.$ac_ext <<_ACEOF
64644 /* confdefs.h. */
64645 _ACEOF
64646 cat confdefs.h >>conftest.$ac_ext
64647 cat >>conftest.$ac_ext <<_ACEOF
64648 /* end confdefs.h. */
64649 #include <math.h>
64650 #ifdef HAVE_IEEEFP_H
64651 #include <ieeefp.h>
64652 #endif
64655 main ()
64657 _finitef(0);
64659 return 0;
64661 _ACEOF
64662 rm -f conftest.$ac_objext
64663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64664 (eval $ac_compile) 2>conftest.er1
64665 ac_status=$?
64666 grep -v '^ *+' conftest.er1 >conftest.err
64667 rm -f conftest.er1
64668 cat conftest.err >&5
64669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64670 (exit $ac_status); } &&
64671 { ac_try='test -z "$ac_cxx_werror_flag"
64672 || test ! -s conftest.err'
64673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64674 (eval $ac_try) 2>&5
64675 ac_status=$?
64676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677 (exit $ac_status); }; } &&
64678 { ac_try='test -s conftest.$ac_objext'
64679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64680 (eval $ac_try) 2>&5
64681 ac_status=$?
64682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64683 (exit $ac_status); }; }; then
64684 glibcxx_cv_func__finitef_use=yes
64685 else
64686 echo "$as_me: failed program was:" >&5
64687 sed 's/^/| /' conftest.$ac_ext >&5
64689 glibcxx_cv_func__finitef_use=no
64691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64692 ac_ext=c
64693 ac_cpp='$CPP $CPPFLAGS'
64694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64703 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64705 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64707 for ac_func in _finitef
64709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64710 echo "$as_me:$LINENO: checking for $ac_func" >&5
64711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64712 if eval "test \"\${$as_ac_var+set}\" = set"; then
64713 echo $ECHO_N "(cached) $ECHO_C" >&6
64714 else
64715 if test x$gcc_no_link = xyes; then
64716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64718 { (exit 1); exit 1; }; }
64720 cat >conftest.$ac_ext <<_ACEOF
64721 /* confdefs.h. */
64722 _ACEOF
64723 cat confdefs.h >>conftest.$ac_ext
64724 cat >>conftest.$ac_ext <<_ACEOF
64725 /* end confdefs.h. */
64726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64728 #define $ac_func innocuous_$ac_func
64730 /* System header to define __stub macros and hopefully few prototypes,
64731 which can conflict with char $ac_func (); below.
64732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64733 <limits.h> exists even on freestanding compilers. */
64735 #ifdef __STDC__
64736 # include <limits.h>
64737 #else
64738 # include <assert.h>
64739 #endif
64741 #undef $ac_func
64743 /* Override any gcc2 internal prototype to avoid an error. */
64744 #ifdef __cplusplus
64745 extern "C"
64747 #endif
64748 /* We use char because int might match the return type of a gcc2
64749 builtin and then its argument prototype would still apply. */
64750 char $ac_func ();
64751 /* The GNU C library defines this for functions which it implements
64752 to always fail with ENOSYS. Some functions are actually named
64753 something starting with __ and the normal name is an alias. */
64754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64755 choke me
64756 #else
64757 char (*f) () = $ac_func;
64758 #endif
64759 #ifdef __cplusplus
64761 #endif
64764 main ()
64766 return f != $ac_func;
64768 return 0;
64770 _ACEOF
64771 rm -f conftest.$ac_objext conftest$ac_exeext
64772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64773 (eval $ac_link) 2>conftest.er1
64774 ac_status=$?
64775 grep -v '^ *+' conftest.er1 >conftest.err
64776 rm -f conftest.er1
64777 cat conftest.err >&5
64778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64779 (exit $ac_status); } &&
64780 { ac_try='test -z "$ac_c_werror_flag"
64781 || test ! -s conftest.err'
64782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64783 (eval $ac_try) 2>&5
64784 ac_status=$?
64785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64786 (exit $ac_status); }; } &&
64787 { ac_try='test -s conftest$ac_exeext'
64788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64789 (eval $ac_try) 2>&5
64790 ac_status=$?
64791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64792 (exit $ac_status); }; }; then
64793 eval "$as_ac_var=yes"
64794 else
64795 echo "$as_me: failed program was:" >&5
64796 sed 's/^/| /' conftest.$ac_ext >&5
64798 eval "$as_ac_var=no"
64800 rm -f conftest.err conftest.$ac_objext \
64801 conftest$ac_exeext conftest.$ac_ext
64803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64805 if test `eval echo '${'$as_ac_var'}'` = yes; then
64806 cat >>confdefs.h <<_ACEOF
64807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64808 _ACEOF
64811 done
64821 echo "$as_me:$LINENO: checking for long double trig functions" >&5
64822 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64823 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64824 echo $ECHO_N "(cached) $ECHO_C" >&6
64825 else
64829 ac_ext=cc
64830 ac_cpp='$CXXCPP $CPPFLAGS'
64831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64835 cat >conftest.$ac_ext <<_ACEOF
64836 /* confdefs.h. */
64837 _ACEOF
64838 cat confdefs.h >>conftest.$ac_ext
64839 cat >>conftest.$ac_ext <<_ACEOF
64840 /* end confdefs.h. */
64841 #include <math.h>
64843 main ()
64845 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64847 return 0;
64849 _ACEOF
64850 rm -f conftest.$ac_objext
64851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64852 (eval $ac_compile) 2>conftest.er1
64853 ac_status=$?
64854 grep -v '^ *+' conftest.er1 >conftest.err
64855 rm -f conftest.er1
64856 cat conftest.err >&5
64857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64858 (exit $ac_status); } &&
64859 { ac_try='test -z "$ac_cxx_werror_flag"
64860 || test ! -s conftest.err'
64861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64862 (eval $ac_try) 2>&5
64863 ac_status=$?
64864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64865 (exit $ac_status); }; } &&
64866 { ac_try='test -s conftest.$ac_objext'
64867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64868 (eval $ac_try) 2>&5
64869 ac_status=$?
64870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871 (exit $ac_status); }; }; then
64872 glibcxx_cv_func_long_double_trig_use=yes
64873 else
64874 echo "$as_me: failed program was:" >&5
64875 sed 's/^/| /' conftest.$ac_ext >&5
64877 glibcxx_cv_func_long_double_trig_use=no
64879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64880 ac_ext=c
64881 ac_cpp='$CPP $CPPFLAGS'
64882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64889 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64890 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64900 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64903 echo "$as_me:$LINENO: checking for $ac_func" >&5
64904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64905 if eval "test \"\${$as_ac_var+set}\" = set"; then
64906 echo $ECHO_N "(cached) $ECHO_C" >&6
64907 else
64908 if test x$gcc_no_link = xyes; then
64909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64911 { (exit 1); exit 1; }; }
64913 cat >conftest.$ac_ext <<_ACEOF
64914 /* confdefs.h. */
64915 _ACEOF
64916 cat confdefs.h >>conftest.$ac_ext
64917 cat >>conftest.$ac_ext <<_ACEOF
64918 /* end confdefs.h. */
64919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64921 #define $ac_func innocuous_$ac_func
64923 /* System header to define __stub macros and hopefully few prototypes,
64924 which can conflict with char $ac_func (); below.
64925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64926 <limits.h> exists even on freestanding compilers. */
64928 #ifdef __STDC__
64929 # include <limits.h>
64930 #else
64931 # include <assert.h>
64932 #endif
64934 #undef $ac_func
64936 /* Override any gcc2 internal prototype to avoid an error. */
64937 #ifdef __cplusplus
64938 extern "C"
64940 #endif
64941 /* We use char because int might match the return type of a gcc2
64942 builtin and then its argument prototype would still apply. */
64943 char $ac_func ();
64944 /* The GNU C library defines this for functions which it implements
64945 to always fail with ENOSYS. Some functions are actually named
64946 something starting with __ and the normal name is an alias. */
64947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64948 choke me
64949 #else
64950 char (*f) () = $ac_func;
64951 #endif
64952 #ifdef __cplusplus
64954 #endif
64957 main ()
64959 return f != $ac_func;
64961 return 0;
64963 _ACEOF
64964 rm -f conftest.$ac_objext conftest$ac_exeext
64965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64966 (eval $ac_link) 2>conftest.er1
64967 ac_status=$?
64968 grep -v '^ *+' conftest.er1 >conftest.err
64969 rm -f conftest.er1
64970 cat conftest.err >&5
64971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64972 (exit $ac_status); } &&
64973 { ac_try='test -z "$ac_c_werror_flag"
64974 || test ! -s conftest.err'
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); }; } &&
64980 { ac_try='test -s conftest$ac_exeext'
64981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64982 (eval $ac_try) 2>&5
64983 ac_status=$?
64984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64985 (exit $ac_status); }; }; then
64986 eval "$as_ac_var=yes"
64987 else
64988 echo "$as_me: failed program was:" >&5
64989 sed 's/^/| /' conftest.$ac_ext >&5
64991 eval "$as_ac_var=no"
64993 rm -f conftest.err conftest.$ac_objext \
64994 conftest$ac_exeext conftest.$ac_ext
64996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64998 if test `eval echo '${'$as_ac_var'}'` = yes; then
64999 cat >>confdefs.h <<_ACEOF
65000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65001 _ACEOF
65004 done
65006 else
65007 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
65008 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
65009 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
65010 echo $ECHO_N "(cached) $ECHO_C" >&6
65011 else
65015 ac_ext=cc
65016 ac_cpp='$CXXCPP $CPPFLAGS'
65017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65021 cat >conftest.$ac_ext <<_ACEOF
65022 /* confdefs.h. */
65023 _ACEOF
65024 cat confdefs.h >>conftest.$ac_ext
65025 cat >>conftest.$ac_ext <<_ACEOF
65026 /* end confdefs.h. */
65027 #include <math.h>
65029 main ()
65031 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
65033 return 0;
65035 _ACEOF
65036 rm -f conftest.$ac_objext
65037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65038 (eval $ac_compile) 2>conftest.er1
65039 ac_status=$?
65040 grep -v '^ *+' conftest.er1 >conftest.err
65041 rm -f conftest.er1
65042 cat conftest.err >&5
65043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65044 (exit $ac_status); } &&
65045 { ac_try='test -z "$ac_cxx_werror_flag"
65046 || test ! -s conftest.err'
65047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65048 (eval $ac_try) 2>&5
65049 ac_status=$?
65050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65051 (exit $ac_status); }; } &&
65052 { ac_try='test -s conftest.$ac_objext'
65053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65054 (eval $ac_try) 2>&5
65055 ac_status=$?
65056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65057 (exit $ac_status); }; }; then
65058 glibcxx_cv_func__long_double_trig_use=yes
65059 else
65060 echo "$as_me: failed program was:" >&5
65061 sed 's/^/| /' conftest.$ac_ext >&5
65063 glibcxx_cv_func__long_double_trig_use=no
65065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65066 ac_ext=c
65067 ac_cpp='$CPP $CPPFLAGS'
65068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
65075 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
65076 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
65086 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
65088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65089 echo "$as_me:$LINENO: checking for $ac_func" >&5
65090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65091 if eval "test \"\${$as_ac_var+set}\" = set"; then
65092 echo $ECHO_N "(cached) $ECHO_C" >&6
65093 else
65094 if test x$gcc_no_link = xyes; then
65095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65097 { (exit 1); exit 1; }; }
65099 cat >conftest.$ac_ext <<_ACEOF
65100 /* confdefs.h. */
65101 _ACEOF
65102 cat confdefs.h >>conftest.$ac_ext
65103 cat >>conftest.$ac_ext <<_ACEOF
65104 /* end confdefs.h. */
65105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65107 #define $ac_func innocuous_$ac_func
65109 /* System header to define __stub macros and hopefully few prototypes,
65110 which can conflict with char $ac_func (); below.
65111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65112 <limits.h> exists even on freestanding compilers. */
65114 #ifdef __STDC__
65115 # include <limits.h>
65116 #else
65117 # include <assert.h>
65118 #endif
65120 #undef $ac_func
65122 /* Override any gcc2 internal prototype to avoid an error. */
65123 #ifdef __cplusplus
65124 extern "C"
65126 #endif
65127 /* We use char because int might match the return type of a gcc2
65128 builtin and then its argument prototype would still apply. */
65129 char $ac_func ();
65130 /* The GNU C library defines this for functions which it implements
65131 to always fail with ENOSYS. Some functions are actually named
65132 something starting with __ and the normal name is an alias. */
65133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65134 choke me
65135 #else
65136 char (*f) () = $ac_func;
65137 #endif
65138 #ifdef __cplusplus
65140 #endif
65143 main ()
65145 return f != $ac_func;
65147 return 0;
65149 _ACEOF
65150 rm -f conftest.$ac_objext conftest$ac_exeext
65151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65152 (eval $ac_link) 2>conftest.er1
65153 ac_status=$?
65154 grep -v '^ *+' conftest.er1 >conftest.err
65155 rm -f conftest.er1
65156 cat conftest.err >&5
65157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65158 (exit $ac_status); } &&
65159 { ac_try='test -z "$ac_c_werror_flag"
65160 || test ! -s conftest.err'
65161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65162 (eval $ac_try) 2>&5
65163 ac_status=$?
65164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65165 (exit $ac_status); }; } &&
65166 { ac_try='test -s conftest$ac_exeext'
65167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65168 (eval $ac_try) 2>&5
65169 ac_status=$?
65170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65171 (exit $ac_status); }; }; then
65172 eval "$as_ac_var=yes"
65173 else
65174 echo "$as_me: failed program was:" >&5
65175 sed 's/^/| /' conftest.$ac_ext >&5
65177 eval "$as_ac_var=no"
65179 rm -f conftest.err conftest.$ac_objext \
65180 conftest$ac_exeext conftest.$ac_ext
65182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65184 if test `eval echo '${'$as_ac_var'}'` = yes; then
65185 cat >>confdefs.h <<_ACEOF
65186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65187 _ACEOF
65190 done
65208 echo "$as_me:$LINENO: checking for long double round functions" >&5
65209 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
65210 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
65211 echo $ECHO_N "(cached) $ECHO_C" >&6
65212 else
65216 ac_ext=cc
65217 ac_cpp='$CXXCPP $CPPFLAGS'
65218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65222 cat >conftest.$ac_ext <<_ACEOF
65223 /* confdefs.h. */
65224 _ACEOF
65225 cat confdefs.h >>conftest.$ac_ext
65226 cat >>conftest.$ac_ext <<_ACEOF
65227 /* end confdefs.h. */
65228 #include <math.h>
65230 main ()
65232 ceill (0); floorl (0);
65234 return 0;
65236 _ACEOF
65237 rm -f conftest.$ac_objext
65238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65239 (eval $ac_compile) 2>conftest.er1
65240 ac_status=$?
65241 grep -v '^ *+' conftest.er1 >conftest.err
65242 rm -f conftest.er1
65243 cat conftest.err >&5
65244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65245 (exit $ac_status); } &&
65246 { ac_try='test -z "$ac_cxx_werror_flag"
65247 || test ! -s conftest.err'
65248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65249 (eval $ac_try) 2>&5
65250 ac_status=$?
65251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65252 (exit $ac_status); }; } &&
65253 { ac_try='test -s conftest.$ac_objext'
65254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65255 (eval $ac_try) 2>&5
65256 ac_status=$?
65257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65258 (exit $ac_status); }; }; then
65259 glibcxx_cv_func_long_double_round_use=yes
65260 else
65261 echo "$as_me: failed program was:" >&5
65262 sed 's/^/| /' conftest.$ac_ext >&5
65264 glibcxx_cv_func_long_double_round_use=no
65266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65267 ac_ext=c
65268 ac_cpp='$CPP $CPPFLAGS'
65269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65275 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65276 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65277 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65280 for ac_func in ceill floorl
65282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65283 echo "$as_me:$LINENO: checking for $ac_func" >&5
65284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65285 if eval "test \"\${$as_ac_var+set}\" = set"; then
65286 echo $ECHO_N "(cached) $ECHO_C" >&6
65287 else
65288 if test x$gcc_no_link = xyes; then
65289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65291 { (exit 1); exit 1; }; }
65293 cat >conftest.$ac_ext <<_ACEOF
65294 /* confdefs.h. */
65295 _ACEOF
65296 cat confdefs.h >>conftest.$ac_ext
65297 cat >>conftest.$ac_ext <<_ACEOF
65298 /* end confdefs.h. */
65299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65301 #define $ac_func innocuous_$ac_func
65303 /* System header to define __stub macros and hopefully few prototypes,
65304 which can conflict with char $ac_func (); below.
65305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65306 <limits.h> exists even on freestanding compilers. */
65308 #ifdef __STDC__
65309 # include <limits.h>
65310 #else
65311 # include <assert.h>
65312 #endif
65314 #undef $ac_func
65316 /* Override any gcc2 internal prototype to avoid an error. */
65317 #ifdef __cplusplus
65318 extern "C"
65320 #endif
65321 /* We use char because int might match the return type of a gcc2
65322 builtin and then its argument prototype would still apply. */
65323 char $ac_func ();
65324 /* The GNU C library defines this for functions which it implements
65325 to always fail with ENOSYS. Some functions are actually named
65326 something starting with __ and the normal name is an alias. */
65327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65328 choke me
65329 #else
65330 char (*f) () = $ac_func;
65331 #endif
65332 #ifdef __cplusplus
65334 #endif
65337 main ()
65339 return f != $ac_func;
65341 return 0;
65343 _ACEOF
65344 rm -f conftest.$ac_objext conftest$ac_exeext
65345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65346 (eval $ac_link) 2>conftest.er1
65347 ac_status=$?
65348 grep -v '^ *+' conftest.er1 >conftest.err
65349 rm -f conftest.er1
65350 cat conftest.err >&5
65351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65352 (exit $ac_status); } &&
65353 { ac_try='test -z "$ac_c_werror_flag"
65354 || test ! -s conftest.err'
65355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65356 (eval $ac_try) 2>&5
65357 ac_status=$?
65358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65359 (exit $ac_status); }; } &&
65360 { ac_try='test -s conftest$ac_exeext'
65361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65362 (eval $ac_try) 2>&5
65363 ac_status=$?
65364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65365 (exit $ac_status); }; }; then
65366 eval "$as_ac_var=yes"
65367 else
65368 echo "$as_me: failed program was:" >&5
65369 sed 's/^/| /' conftest.$ac_ext >&5
65371 eval "$as_ac_var=no"
65373 rm -f conftest.err conftest.$ac_objext \
65374 conftest$ac_exeext conftest.$ac_ext
65376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65378 if test `eval echo '${'$as_ac_var'}'` = yes; then
65379 cat >>confdefs.h <<_ACEOF
65380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65381 _ACEOF
65384 done
65386 else
65387 echo "$as_me:$LINENO: checking for _long double round functions" >&5
65388 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
65389 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
65390 echo $ECHO_N "(cached) $ECHO_C" >&6
65391 else
65395 ac_ext=cc
65396 ac_cpp='$CXXCPP $CPPFLAGS'
65397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65401 cat >conftest.$ac_ext <<_ACEOF
65402 /* confdefs.h. */
65403 _ACEOF
65404 cat confdefs.h >>conftest.$ac_ext
65405 cat >>conftest.$ac_ext <<_ACEOF
65406 /* end confdefs.h. */
65407 #include <math.h>
65409 main ()
65411 _ceill (0); _floorl (0);
65413 return 0;
65415 _ACEOF
65416 rm -f conftest.$ac_objext
65417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65418 (eval $ac_compile) 2>conftest.er1
65419 ac_status=$?
65420 grep -v '^ *+' conftest.er1 >conftest.err
65421 rm -f conftest.er1
65422 cat conftest.err >&5
65423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65424 (exit $ac_status); } &&
65425 { ac_try='test -z "$ac_cxx_werror_flag"
65426 || test ! -s conftest.err'
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); }; } &&
65432 { ac_try='test -s conftest.$ac_objext'
65433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65434 (eval $ac_try) 2>&5
65435 ac_status=$?
65436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65437 (exit $ac_status); }; }; then
65438 glibcxx_cv_func__long_double_round_use=yes
65439 else
65440 echo "$as_me: failed program was:" >&5
65441 sed 's/^/| /' conftest.$ac_ext >&5
65443 glibcxx_cv_func__long_double_round_use=no
65445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65446 ac_ext=c
65447 ac_cpp='$CPP $CPPFLAGS'
65448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
65455 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
65456 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65459 for ac_func in _ceill _floorl
65461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65462 echo "$as_me:$LINENO: checking for $ac_func" >&5
65463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65464 if eval "test \"\${$as_ac_var+set}\" = set"; then
65465 echo $ECHO_N "(cached) $ECHO_C" >&6
65466 else
65467 if test x$gcc_no_link = xyes; then
65468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65470 { (exit 1); exit 1; }; }
65472 cat >conftest.$ac_ext <<_ACEOF
65473 /* confdefs.h. */
65474 _ACEOF
65475 cat confdefs.h >>conftest.$ac_ext
65476 cat >>conftest.$ac_ext <<_ACEOF
65477 /* end confdefs.h. */
65478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65480 #define $ac_func innocuous_$ac_func
65482 /* System header to define __stub macros and hopefully few prototypes,
65483 which can conflict with char $ac_func (); below.
65484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65485 <limits.h> exists even on freestanding compilers. */
65487 #ifdef __STDC__
65488 # include <limits.h>
65489 #else
65490 # include <assert.h>
65491 #endif
65493 #undef $ac_func
65495 /* Override any gcc2 internal prototype to avoid an error. */
65496 #ifdef __cplusplus
65497 extern "C"
65499 #endif
65500 /* We use char because int might match the return type of a gcc2
65501 builtin and then its argument prototype would still apply. */
65502 char $ac_func ();
65503 /* The GNU C library defines this for functions which it implements
65504 to always fail with ENOSYS. Some functions are actually named
65505 something starting with __ and the normal name is an alias. */
65506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65507 choke me
65508 #else
65509 char (*f) () = $ac_func;
65510 #endif
65511 #ifdef __cplusplus
65513 #endif
65516 main ()
65518 return f != $ac_func;
65520 return 0;
65522 _ACEOF
65523 rm -f conftest.$ac_objext conftest$ac_exeext
65524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65525 (eval $ac_link) 2>conftest.er1
65526 ac_status=$?
65527 grep -v '^ *+' conftest.er1 >conftest.err
65528 rm -f conftest.er1
65529 cat conftest.err >&5
65530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65531 (exit $ac_status); } &&
65532 { ac_try='test -z "$ac_c_werror_flag"
65533 || test ! -s conftest.err'
65534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65535 (eval $ac_try) 2>&5
65536 ac_status=$?
65537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65538 (exit $ac_status); }; } &&
65539 { ac_try='test -s conftest$ac_exeext'
65540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65541 (eval $ac_try) 2>&5
65542 ac_status=$?
65543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65544 (exit $ac_status); }; }; then
65545 eval "$as_ac_var=yes"
65546 else
65547 echo "$as_me: failed program was:" >&5
65548 sed 's/^/| /' conftest.$ac_ext >&5
65550 eval "$as_ac_var=no"
65552 rm -f conftest.err conftest.$ac_objext \
65553 conftest$ac_exeext conftest.$ac_ext
65555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65557 if test `eval echo '${'$as_ac_var'}'` = yes; then
65558 cat >>confdefs.h <<_ACEOF
65559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65560 _ACEOF
65563 done
65575 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65576 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65577 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65578 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65579 echo $ECHO_N "(cached) $ECHO_C" >&6
65580 else
65584 ac_ext=cc
65585 ac_cpp='$CXXCPP $CPPFLAGS'
65586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65590 cat >conftest.$ac_ext <<_ACEOF
65591 /* confdefs.h. */
65592 _ACEOF
65593 cat confdefs.h >>conftest.$ac_ext
65594 cat >>conftest.$ac_ext <<_ACEOF
65595 /* end confdefs.h. */
65596 #include <math.h>
65597 #ifdef HAVE_IEEEFP_H
65598 #include <ieeefp.h>
65599 #endif
65602 main ()
65604 isnanl(0);
65606 return 0;
65608 _ACEOF
65609 rm -f conftest.$ac_objext
65610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65611 (eval $ac_compile) 2>conftest.er1
65612 ac_status=$?
65613 grep -v '^ *+' conftest.er1 >conftest.err
65614 rm -f conftest.er1
65615 cat conftest.err >&5
65616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65617 (exit $ac_status); } &&
65618 { ac_try='test -z "$ac_cxx_werror_flag"
65619 || test ! -s conftest.err'
65620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65621 (eval $ac_try) 2>&5
65622 ac_status=$?
65623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65624 (exit $ac_status); }; } &&
65625 { ac_try='test -s conftest.$ac_objext'
65626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65627 (eval $ac_try) 2>&5
65628 ac_status=$?
65629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65630 (exit $ac_status); }; }; then
65631 glibcxx_cv_func_isnanl_use=yes
65632 else
65633 echo "$as_me: failed program was:" >&5
65634 sed 's/^/| /' conftest.$ac_ext >&5
65636 glibcxx_cv_func_isnanl_use=no
65638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65639 ac_ext=c
65640 ac_cpp='$CPP $CPPFLAGS'
65641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65650 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65652 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65654 for ac_func in isnanl
65656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65657 echo "$as_me:$LINENO: checking for $ac_func" >&5
65658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65659 if eval "test \"\${$as_ac_var+set}\" = set"; then
65660 echo $ECHO_N "(cached) $ECHO_C" >&6
65661 else
65662 if test x$gcc_no_link = xyes; then
65663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65665 { (exit 1); exit 1; }; }
65667 cat >conftest.$ac_ext <<_ACEOF
65668 /* confdefs.h. */
65669 _ACEOF
65670 cat confdefs.h >>conftest.$ac_ext
65671 cat >>conftest.$ac_ext <<_ACEOF
65672 /* end confdefs.h. */
65673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65675 #define $ac_func innocuous_$ac_func
65677 /* System header to define __stub macros and hopefully few prototypes,
65678 which can conflict with char $ac_func (); below.
65679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65680 <limits.h> exists even on freestanding compilers. */
65682 #ifdef __STDC__
65683 # include <limits.h>
65684 #else
65685 # include <assert.h>
65686 #endif
65688 #undef $ac_func
65690 /* Override any gcc2 internal prototype to avoid an error. */
65691 #ifdef __cplusplus
65692 extern "C"
65694 #endif
65695 /* We use char because int might match the return type of a gcc2
65696 builtin and then its argument prototype would still apply. */
65697 char $ac_func ();
65698 /* The GNU C library defines this for functions which it implements
65699 to always fail with ENOSYS. Some functions are actually named
65700 something starting with __ and the normal name is an alias. */
65701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65702 choke me
65703 #else
65704 char (*f) () = $ac_func;
65705 #endif
65706 #ifdef __cplusplus
65708 #endif
65711 main ()
65713 return f != $ac_func;
65715 return 0;
65717 _ACEOF
65718 rm -f conftest.$ac_objext conftest$ac_exeext
65719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65720 (eval $ac_link) 2>conftest.er1
65721 ac_status=$?
65722 grep -v '^ *+' conftest.er1 >conftest.err
65723 rm -f conftest.er1
65724 cat conftest.err >&5
65725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65726 (exit $ac_status); } &&
65727 { ac_try='test -z "$ac_c_werror_flag"
65728 || test ! -s conftest.err'
65729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65730 (eval $ac_try) 2>&5
65731 ac_status=$?
65732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65733 (exit $ac_status); }; } &&
65734 { ac_try='test -s conftest$ac_exeext'
65735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65736 (eval $ac_try) 2>&5
65737 ac_status=$?
65738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65739 (exit $ac_status); }; }; then
65740 eval "$as_ac_var=yes"
65741 else
65742 echo "$as_me: failed program was:" >&5
65743 sed 's/^/| /' conftest.$ac_ext >&5
65745 eval "$as_ac_var=no"
65747 rm -f conftest.err conftest.$ac_objext \
65748 conftest$ac_exeext conftest.$ac_ext
65750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65752 if test `eval echo '${'$as_ac_var'}'` = yes; then
65753 cat >>confdefs.h <<_ACEOF
65754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65755 _ACEOF
65758 done
65760 else
65762 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65763 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65764 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65765 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65766 echo $ECHO_N "(cached) $ECHO_C" >&6
65767 else
65771 ac_ext=cc
65772 ac_cpp='$CXXCPP $CPPFLAGS'
65773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65777 cat >conftest.$ac_ext <<_ACEOF
65778 /* confdefs.h. */
65779 _ACEOF
65780 cat confdefs.h >>conftest.$ac_ext
65781 cat >>conftest.$ac_ext <<_ACEOF
65782 /* end confdefs.h. */
65783 #include <math.h>
65784 #ifdef HAVE_IEEEFP_H
65785 #include <ieeefp.h>
65786 #endif
65789 main ()
65791 _isnanl(0);
65793 return 0;
65795 _ACEOF
65796 rm -f conftest.$ac_objext
65797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65798 (eval $ac_compile) 2>conftest.er1
65799 ac_status=$?
65800 grep -v '^ *+' conftest.er1 >conftest.err
65801 rm -f conftest.er1
65802 cat conftest.err >&5
65803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65804 (exit $ac_status); } &&
65805 { ac_try='test -z "$ac_cxx_werror_flag"
65806 || test ! -s conftest.err'
65807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65808 (eval $ac_try) 2>&5
65809 ac_status=$?
65810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65811 (exit $ac_status); }; } &&
65812 { ac_try='test -s conftest.$ac_objext'
65813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65814 (eval $ac_try) 2>&5
65815 ac_status=$?
65816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65817 (exit $ac_status); }; }; then
65818 glibcxx_cv_func__isnanl_use=yes
65819 else
65820 echo "$as_me: failed program was:" >&5
65821 sed 's/^/| /' conftest.$ac_ext >&5
65823 glibcxx_cv_func__isnanl_use=no
65825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65826 ac_ext=c
65827 ac_cpp='$CPP $CPPFLAGS'
65828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65837 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65839 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65841 for ac_func in _isnanl
65843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65844 echo "$as_me:$LINENO: checking for $ac_func" >&5
65845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65846 if eval "test \"\${$as_ac_var+set}\" = set"; then
65847 echo $ECHO_N "(cached) $ECHO_C" >&6
65848 else
65849 if test x$gcc_no_link = xyes; then
65850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65852 { (exit 1); exit 1; }; }
65854 cat >conftest.$ac_ext <<_ACEOF
65855 /* confdefs.h. */
65856 _ACEOF
65857 cat confdefs.h >>conftest.$ac_ext
65858 cat >>conftest.$ac_ext <<_ACEOF
65859 /* end confdefs.h. */
65860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65862 #define $ac_func innocuous_$ac_func
65864 /* System header to define __stub macros and hopefully few prototypes,
65865 which can conflict with char $ac_func (); below.
65866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65867 <limits.h> exists even on freestanding compilers. */
65869 #ifdef __STDC__
65870 # include <limits.h>
65871 #else
65872 # include <assert.h>
65873 #endif
65875 #undef $ac_func
65877 /* Override any gcc2 internal prototype to avoid an error. */
65878 #ifdef __cplusplus
65879 extern "C"
65881 #endif
65882 /* We use char because int might match the return type of a gcc2
65883 builtin and then its argument prototype would still apply. */
65884 char $ac_func ();
65885 /* The GNU C library defines this for functions which it implements
65886 to always fail with ENOSYS. Some functions are actually named
65887 something starting with __ and the normal name is an alias. */
65888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65889 choke me
65890 #else
65891 char (*f) () = $ac_func;
65892 #endif
65893 #ifdef __cplusplus
65895 #endif
65898 main ()
65900 return f != $ac_func;
65902 return 0;
65904 _ACEOF
65905 rm -f conftest.$ac_objext conftest$ac_exeext
65906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65907 (eval $ac_link) 2>conftest.er1
65908 ac_status=$?
65909 grep -v '^ *+' conftest.er1 >conftest.err
65910 rm -f conftest.er1
65911 cat conftest.err >&5
65912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65913 (exit $ac_status); } &&
65914 { ac_try='test -z "$ac_c_werror_flag"
65915 || test ! -s conftest.err'
65916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65917 (eval $ac_try) 2>&5
65918 ac_status=$?
65919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65920 (exit $ac_status); }; } &&
65921 { ac_try='test -s conftest$ac_exeext'
65922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65923 (eval $ac_try) 2>&5
65924 ac_status=$?
65925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65926 (exit $ac_status); }; }; then
65927 eval "$as_ac_var=yes"
65928 else
65929 echo "$as_me: failed program was:" >&5
65930 sed 's/^/| /' conftest.$ac_ext >&5
65932 eval "$as_ac_var=no"
65934 rm -f conftest.err conftest.$ac_objext \
65935 conftest$ac_exeext conftest.$ac_ext
65937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65939 if test `eval echo '${'$as_ac_var'}'` = yes; then
65940 cat >>confdefs.h <<_ACEOF
65941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65942 _ACEOF
65945 done
65955 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65956 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65957 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65958 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65959 echo $ECHO_N "(cached) $ECHO_C" >&6
65960 else
65964 ac_ext=cc
65965 ac_cpp='$CXXCPP $CPPFLAGS'
65966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65970 cat >conftest.$ac_ext <<_ACEOF
65971 /* confdefs.h. */
65972 _ACEOF
65973 cat confdefs.h >>conftest.$ac_ext
65974 cat >>conftest.$ac_ext <<_ACEOF
65975 /* end confdefs.h. */
65976 #include <math.h>
65977 #ifdef HAVE_IEEEFP_H
65978 #include <ieeefp.h>
65979 #endif
65982 main ()
65984 isinfl(0);
65986 return 0;
65988 _ACEOF
65989 rm -f conftest.$ac_objext
65990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65991 (eval $ac_compile) 2>conftest.er1
65992 ac_status=$?
65993 grep -v '^ *+' conftest.er1 >conftest.err
65994 rm -f conftest.er1
65995 cat conftest.err >&5
65996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65997 (exit $ac_status); } &&
65998 { ac_try='test -z "$ac_cxx_werror_flag"
65999 || test ! -s conftest.err'
66000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66001 (eval $ac_try) 2>&5
66002 ac_status=$?
66003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004 (exit $ac_status); }; } &&
66005 { ac_try='test -s conftest.$ac_objext'
66006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66007 (eval $ac_try) 2>&5
66008 ac_status=$?
66009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66010 (exit $ac_status); }; }; then
66011 glibcxx_cv_func_isinfl_use=yes
66012 else
66013 echo "$as_me: failed program was:" >&5
66014 sed 's/^/| /' conftest.$ac_ext >&5
66016 glibcxx_cv_func_isinfl_use=no
66018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66019 ac_ext=c
66020 ac_cpp='$CPP $CPPFLAGS'
66021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
66030 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
66032 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
66034 for ac_func in isinfl
66036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66037 echo "$as_me:$LINENO: checking for $ac_func" >&5
66038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66039 if eval "test \"\${$as_ac_var+set}\" = set"; then
66040 echo $ECHO_N "(cached) $ECHO_C" >&6
66041 else
66042 if test x$gcc_no_link = xyes; then
66043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66045 { (exit 1); exit 1; }; }
66047 cat >conftest.$ac_ext <<_ACEOF
66048 /* confdefs.h. */
66049 _ACEOF
66050 cat confdefs.h >>conftest.$ac_ext
66051 cat >>conftest.$ac_ext <<_ACEOF
66052 /* end confdefs.h. */
66053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66055 #define $ac_func innocuous_$ac_func
66057 /* System header to define __stub macros and hopefully few prototypes,
66058 which can conflict with char $ac_func (); below.
66059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66060 <limits.h> exists even on freestanding compilers. */
66062 #ifdef __STDC__
66063 # include <limits.h>
66064 #else
66065 # include <assert.h>
66066 #endif
66068 #undef $ac_func
66070 /* Override any gcc2 internal prototype to avoid an error. */
66071 #ifdef __cplusplus
66072 extern "C"
66074 #endif
66075 /* We use char because int might match the return type of a gcc2
66076 builtin and then its argument prototype would still apply. */
66077 char $ac_func ();
66078 /* The GNU C library defines this for functions which it implements
66079 to always fail with ENOSYS. Some functions are actually named
66080 something starting with __ and the normal name is an alias. */
66081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66082 choke me
66083 #else
66084 char (*f) () = $ac_func;
66085 #endif
66086 #ifdef __cplusplus
66088 #endif
66091 main ()
66093 return f != $ac_func;
66095 return 0;
66097 _ACEOF
66098 rm -f conftest.$ac_objext conftest$ac_exeext
66099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66100 (eval $ac_link) 2>conftest.er1
66101 ac_status=$?
66102 grep -v '^ *+' conftest.er1 >conftest.err
66103 rm -f conftest.er1
66104 cat conftest.err >&5
66105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66106 (exit $ac_status); } &&
66107 { ac_try='test -z "$ac_c_werror_flag"
66108 || test ! -s conftest.err'
66109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66110 (eval $ac_try) 2>&5
66111 ac_status=$?
66112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113 (exit $ac_status); }; } &&
66114 { ac_try='test -s conftest$ac_exeext'
66115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66116 (eval $ac_try) 2>&5
66117 ac_status=$?
66118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66119 (exit $ac_status); }; }; then
66120 eval "$as_ac_var=yes"
66121 else
66122 echo "$as_me: failed program was:" >&5
66123 sed 's/^/| /' conftest.$ac_ext >&5
66125 eval "$as_ac_var=no"
66127 rm -f conftest.err conftest.$ac_objext \
66128 conftest$ac_exeext conftest.$ac_ext
66130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66132 if test `eval echo '${'$as_ac_var'}'` = yes; then
66133 cat >>confdefs.h <<_ACEOF
66134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66135 _ACEOF
66138 done
66140 else
66142 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
66143 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
66144 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
66145 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
66146 echo $ECHO_N "(cached) $ECHO_C" >&6
66147 else
66151 ac_ext=cc
66152 ac_cpp='$CXXCPP $CPPFLAGS'
66153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66157 cat >conftest.$ac_ext <<_ACEOF
66158 /* confdefs.h. */
66159 _ACEOF
66160 cat confdefs.h >>conftest.$ac_ext
66161 cat >>conftest.$ac_ext <<_ACEOF
66162 /* end confdefs.h. */
66163 #include <math.h>
66164 #ifdef HAVE_IEEEFP_H
66165 #include <ieeefp.h>
66166 #endif
66169 main ()
66171 _isinfl(0);
66173 return 0;
66175 _ACEOF
66176 rm -f conftest.$ac_objext
66177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66178 (eval $ac_compile) 2>conftest.er1
66179 ac_status=$?
66180 grep -v '^ *+' conftest.er1 >conftest.err
66181 rm -f conftest.er1
66182 cat conftest.err >&5
66183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66184 (exit $ac_status); } &&
66185 { ac_try='test -z "$ac_cxx_werror_flag"
66186 || test ! -s conftest.err'
66187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66188 (eval $ac_try) 2>&5
66189 ac_status=$?
66190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66191 (exit $ac_status); }; } &&
66192 { ac_try='test -s conftest.$ac_objext'
66193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66194 (eval $ac_try) 2>&5
66195 ac_status=$?
66196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197 (exit $ac_status); }; }; then
66198 glibcxx_cv_func__isinfl_use=yes
66199 else
66200 echo "$as_me: failed program was:" >&5
66201 sed 's/^/| /' conftest.$ac_ext >&5
66203 glibcxx_cv_func__isinfl_use=no
66205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66206 ac_ext=c
66207 ac_cpp='$CPP $CPPFLAGS'
66208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
66217 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
66219 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
66221 for ac_func in _isinfl
66223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66224 echo "$as_me:$LINENO: checking for $ac_func" >&5
66225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66226 if eval "test \"\${$as_ac_var+set}\" = set"; then
66227 echo $ECHO_N "(cached) $ECHO_C" >&6
66228 else
66229 if test x$gcc_no_link = xyes; then
66230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66232 { (exit 1); exit 1; }; }
66234 cat >conftest.$ac_ext <<_ACEOF
66235 /* confdefs.h. */
66236 _ACEOF
66237 cat confdefs.h >>conftest.$ac_ext
66238 cat >>conftest.$ac_ext <<_ACEOF
66239 /* end confdefs.h. */
66240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66242 #define $ac_func innocuous_$ac_func
66244 /* System header to define __stub macros and hopefully few prototypes,
66245 which can conflict with char $ac_func (); below.
66246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66247 <limits.h> exists even on freestanding compilers. */
66249 #ifdef __STDC__
66250 # include <limits.h>
66251 #else
66252 # include <assert.h>
66253 #endif
66255 #undef $ac_func
66257 /* Override any gcc2 internal prototype to avoid an error. */
66258 #ifdef __cplusplus
66259 extern "C"
66261 #endif
66262 /* We use char because int might match the return type of a gcc2
66263 builtin and then its argument prototype would still apply. */
66264 char $ac_func ();
66265 /* The GNU C library defines this for functions which it implements
66266 to always fail with ENOSYS. Some functions are actually named
66267 something starting with __ and the normal name is an alias. */
66268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66269 choke me
66270 #else
66271 char (*f) () = $ac_func;
66272 #endif
66273 #ifdef __cplusplus
66275 #endif
66278 main ()
66280 return f != $ac_func;
66282 return 0;
66284 _ACEOF
66285 rm -f conftest.$ac_objext conftest$ac_exeext
66286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66287 (eval $ac_link) 2>conftest.er1
66288 ac_status=$?
66289 grep -v '^ *+' conftest.er1 >conftest.err
66290 rm -f conftest.er1
66291 cat conftest.err >&5
66292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293 (exit $ac_status); } &&
66294 { ac_try='test -z "$ac_c_werror_flag"
66295 || test ! -s conftest.err'
66296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66297 (eval $ac_try) 2>&5
66298 ac_status=$?
66299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66300 (exit $ac_status); }; } &&
66301 { ac_try='test -s conftest$ac_exeext'
66302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66303 (eval $ac_try) 2>&5
66304 ac_status=$?
66305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306 (exit $ac_status); }; }; then
66307 eval "$as_ac_var=yes"
66308 else
66309 echo "$as_me: failed program was:" >&5
66310 sed 's/^/| /' conftest.$ac_ext >&5
66312 eval "$as_ac_var=no"
66314 rm -f conftest.err conftest.$ac_objext \
66315 conftest$ac_exeext conftest.$ac_ext
66317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66319 if test `eval echo '${'$as_ac_var'}'` = yes; then
66320 cat >>confdefs.h <<_ACEOF
66321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66322 _ACEOF
66325 done
66335 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
66336 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
66337 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
66338 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
66339 echo $ECHO_N "(cached) $ECHO_C" >&6
66340 else
66344 ac_ext=cc
66345 ac_cpp='$CXXCPP $CPPFLAGS'
66346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66350 cat >conftest.$ac_ext <<_ACEOF
66351 /* confdefs.h. */
66352 _ACEOF
66353 cat confdefs.h >>conftest.$ac_ext
66354 cat >>conftest.$ac_ext <<_ACEOF
66355 /* end confdefs.h. */
66356 #include <math.h>
66358 main ()
66360 copysignl(0, 0);
66362 return 0;
66364 _ACEOF
66365 rm -f conftest.$ac_objext
66366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66367 (eval $ac_compile) 2>conftest.er1
66368 ac_status=$?
66369 grep -v '^ *+' conftest.er1 >conftest.err
66370 rm -f conftest.er1
66371 cat conftest.err >&5
66372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66373 (exit $ac_status); } &&
66374 { ac_try='test -z "$ac_cxx_werror_flag"
66375 || test ! -s conftest.err'
66376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66377 (eval $ac_try) 2>&5
66378 ac_status=$?
66379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66380 (exit $ac_status); }; } &&
66381 { ac_try='test -s conftest.$ac_objext'
66382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66383 (eval $ac_try) 2>&5
66384 ac_status=$?
66385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66386 (exit $ac_status); }; }; then
66387 glibcxx_cv_func_copysignl_use=yes
66388 else
66389 echo "$as_me: failed program was:" >&5
66390 sed 's/^/| /' conftest.$ac_ext >&5
66392 glibcxx_cv_func_copysignl_use=no
66394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66395 ac_ext=c
66396 ac_cpp='$CPP $CPPFLAGS'
66397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
66406 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
66408 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
66410 for ac_func in copysignl
66412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66413 echo "$as_me:$LINENO: checking for $ac_func" >&5
66414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66415 if eval "test \"\${$as_ac_var+set}\" = set"; then
66416 echo $ECHO_N "(cached) $ECHO_C" >&6
66417 else
66418 if test x$gcc_no_link = xyes; then
66419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66421 { (exit 1); exit 1; }; }
66423 cat >conftest.$ac_ext <<_ACEOF
66424 /* confdefs.h. */
66425 _ACEOF
66426 cat confdefs.h >>conftest.$ac_ext
66427 cat >>conftest.$ac_ext <<_ACEOF
66428 /* end confdefs.h. */
66429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66431 #define $ac_func innocuous_$ac_func
66433 /* System header to define __stub macros and hopefully few prototypes,
66434 which can conflict with char $ac_func (); below.
66435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66436 <limits.h> exists even on freestanding compilers. */
66438 #ifdef __STDC__
66439 # include <limits.h>
66440 #else
66441 # include <assert.h>
66442 #endif
66444 #undef $ac_func
66446 /* Override any gcc2 internal prototype to avoid an error. */
66447 #ifdef __cplusplus
66448 extern "C"
66450 #endif
66451 /* We use char because int might match the return type of a gcc2
66452 builtin and then its argument prototype would still apply. */
66453 char $ac_func ();
66454 /* The GNU C library defines this for functions which it implements
66455 to always fail with ENOSYS. Some functions are actually named
66456 something starting with __ and the normal name is an alias. */
66457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66458 choke me
66459 #else
66460 char (*f) () = $ac_func;
66461 #endif
66462 #ifdef __cplusplus
66464 #endif
66467 main ()
66469 return f != $ac_func;
66471 return 0;
66473 _ACEOF
66474 rm -f conftest.$ac_objext conftest$ac_exeext
66475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66476 (eval $ac_link) 2>conftest.er1
66477 ac_status=$?
66478 grep -v '^ *+' conftest.er1 >conftest.err
66479 rm -f conftest.er1
66480 cat conftest.err >&5
66481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66482 (exit $ac_status); } &&
66483 { ac_try='test -z "$ac_c_werror_flag"
66484 || test ! -s conftest.err'
66485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66486 (eval $ac_try) 2>&5
66487 ac_status=$?
66488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66489 (exit $ac_status); }; } &&
66490 { ac_try='test -s conftest$ac_exeext'
66491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66492 (eval $ac_try) 2>&5
66493 ac_status=$?
66494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66495 (exit $ac_status); }; }; then
66496 eval "$as_ac_var=yes"
66497 else
66498 echo "$as_me: failed program was:" >&5
66499 sed 's/^/| /' conftest.$ac_ext >&5
66501 eval "$as_ac_var=no"
66503 rm -f conftest.err conftest.$ac_objext \
66504 conftest$ac_exeext conftest.$ac_ext
66506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66508 if test `eval echo '${'$as_ac_var'}'` = yes; then
66509 cat >>confdefs.h <<_ACEOF
66510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66511 _ACEOF
66514 done
66516 else
66518 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66519 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66520 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66521 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66522 echo $ECHO_N "(cached) $ECHO_C" >&6
66523 else
66527 ac_ext=cc
66528 ac_cpp='$CXXCPP $CPPFLAGS'
66529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66533 cat >conftest.$ac_ext <<_ACEOF
66534 /* confdefs.h. */
66535 _ACEOF
66536 cat confdefs.h >>conftest.$ac_ext
66537 cat >>conftest.$ac_ext <<_ACEOF
66538 /* end confdefs.h. */
66539 #include <math.h>
66541 main ()
66543 _copysignl(0, 0);
66545 return 0;
66547 _ACEOF
66548 rm -f conftest.$ac_objext
66549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66550 (eval $ac_compile) 2>conftest.er1
66551 ac_status=$?
66552 grep -v '^ *+' conftest.er1 >conftest.err
66553 rm -f conftest.er1
66554 cat conftest.err >&5
66555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66556 (exit $ac_status); } &&
66557 { ac_try='test -z "$ac_cxx_werror_flag"
66558 || test ! -s conftest.err'
66559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66560 (eval $ac_try) 2>&5
66561 ac_status=$?
66562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66563 (exit $ac_status); }; } &&
66564 { ac_try='test -s conftest.$ac_objext'
66565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66566 (eval $ac_try) 2>&5
66567 ac_status=$?
66568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66569 (exit $ac_status); }; }; then
66570 glibcxx_cv_func__copysignl_use=yes
66571 else
66572 echo "$as_me: failed program was:" >&5
66573 sed 's/^/| /' conftest.$ac_ext >&5
66575 glibcxx_cv_func__copysignl_use=no
66577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66578 ac_ext=c
66579 ac_cpp='$CPP $CPPFLAGS'
66580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66589 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66591 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66593 for ac_func in _copysignl
66595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66596 echo "$as_me:$LINENO: checking for $ac_func" >&5
66597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66598 if eval "test \"\${$as_ac_var+set}\" = set"; then
66599 echo $ECHO_N "(cached) $ECHO_C" >&6
66600 else
66601 if test x$gcc_no_link = xyes; then
66602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66604 { (exit 1); exit 1; }; }
66606 cat >conftest.$ac_ext <<_ACEOF
66607 /* confdefs.h. */
66608 _ACEOF
66609 cat confdefs.h >>conftest.$ac_ext
66610 cat >>conftest.$ac_ext <<_ACEOF
66611 /* end confdefs.h. */
66612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66614 #define $ac_func innocuous_$ac_func
66616 /* System header to define __stub macros and hopefully few prototypes,
66617 which can conflict with char $ac_func (); below.
66618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66619 <limits.h> exists even on freestanding compilers. */
66621 #ifdef __STDC__
66622 # include <limits.h>
66623 #else
66624 # include <assert.h>
66625 #endif
66627 #undef $ac_func
66629 /* Override any gcc2 internal prototype to avoid an error. */
66630 #ifdef __cplusplus
66631 extern "C"
66633 #endif
66634 /* We use char because int might match the return type of a gcc2
66635 builtin and then its argument prototype would still apply. */
66636 char $ac_func ();
66637 /* The GNU C library defines this for functions which it implements
66638 to always fail with ENOSYS. Some functions are actually named
66639 something starting with __ and the normal name is an alias. */
66640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66641 choke me
66642 #else
66643 char (*f) () = $ac_func;
66644 #endif
66645 #ifdef __cplusplus
66647 #endif
66650 main ()
66652 return f != $ac_func;
66654 return 0;
66656 _ACEOF
66657 rm -f conftest.$ac_objext conftest$ac_exeext
66658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66659 (eval $ac_link) 2>conftest.er1
66660 ac_status=$?
66661 grep -v '^ *+' conftest.er1 >conftest.err
66662 rm -f conftest.er1
66663 cat conftest.err >&5
66664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665 (exit $ac_status); } &&
66666 { ac_try='test -z "$ac_c_werror_flag"
66667 || test ! -s conftest.err'
66668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669 (eval $ac_try) 2>&5
66670 ac_status=$?
66671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672 (exit $ac_status); }; } &&
66673 { ac_try='test -s conftest$ac_exeext'
66674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66675 (eval $ac_try) 2>&5
66676 ac_status=$?
66677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66678 (exit $ac_status); }; }; then
66679 eval "$as_ac_var=yes"
66680 else
66681 echo "$as_me: failed program was:" >&5
66682 sed 's/^/| /' conftest.$ac_ext >&5
66684 eval "$as_ac_var=no"
66686 rm -f conftest.err conftest.$ac_objext \
66687 conftest$ac_exeext conftest.$ac_ext
66689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66691 if test `eval echo '${'$as_ac_var'}'` = yes; then
66692 cat >>confdefs.h <<_ACEOF
66693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66694 _ACEOF
66697 done
66707 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66708 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66709 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66710 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66711 echo $ECHO_N "(cached) $ECHO_C" >&6
66712 else
66716 ac_ext=cc
66717 ac_cpp='$CXXCPP $CPPFLAGS'
66718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66722 cat >conftest.$ac_ext <<_ACEOF
66723 /* confdefs.h. */
66724 _ACEOF
66725 cat confdefs.h >>conftest.$ac_ext
66726 cat >>conftest.$ac_ext <<_ACEOF
66727 /* end confdefs.h. */
66728 #include <math.h>
66730 main ()
66732 atan2l(0, 0);
66734 return 0;
66736 _ACEOF
66737 rm -f conftest.$ac_objext
66738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66739 (eval $ac_compile) 2>conftest.er1
66740 ac_status=$?
66741 grep -v '^ *+' conftest.er1 >conftest.err
66742 rm -f conftest.er1
66743 cat conftest.err >&5
66744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66745 (exit $ac_status); } &&
66746 { ac_try='test -z "$ac_cxx_werror_flag"
66747 || test ! -s conftest.err'
66748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66749 (eval $ac_try) 2>&5
66750 ac_status=$?
66751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66752 (exit $ac_status); }; } &&
66753 { ac_try='test -s conftest.$ac_objext'
66754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66755 (eval $ac_try) 2>&5
66756 ac_status=$?
66757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66758 (exit $ac_status); }; }; then
66759 glibcxx_cv_func_atan2l_use=yes
66760 else
66761 echo "$as_me: failed program was:" >&5
66762 sed 's/^/| /' conftest.$ac_ext >&5
66764 glibcxx_cv_func_atan2l_use=no
66766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66767 ac_ext=c
66768 ac_cpp='$CPP $CPPFLAGS'
66769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66778 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66780 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66782 for ac_func in atan2l
66784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66785 echo "$as_me:$LINENO: checking for $ac_func" >&5
66786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66787 if eval "test \"\${$as_ac_var+set}\" = set"; then
66788 echo $ECHO_N "(cached) $ECHO_C" >&6
66789 else
66790 if test x$gcc_no_link = xyes; then
66791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66793 { (exit 1); exit 1; }; }
66795 cat >conftest.$ac_ext <<_ACEOF
66796 /* confdefs.h. */
66797 _ACEOF
66798 cat confdefs.h >>conftest.$ac_ext
66799 cat >>conftest.$ac_ext <<_ACEOF
66800 /* end confdefs.h. */
66801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66803 #define $ac_func innocuous_$ac_func
66805 /* System header to define __stub macros and hopefully few prototypes,
66806 which can conflict with char $ac_func (); below.
66807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66808 <limits.h> exists even on freestanding compilers. */
66810 #ifdef __STDC__
66811 # include <limits.h>
66812 #else
66813 # include <assert.h>
66814 #endif
66816 #undef $ac_func
66818 /* Override any gcc2 internal prototype to avoid an error. */
66819 #ifdef __cplusplus
66820 extern "C"
66822 #endif
66823 /* We use char because int might match the return type of a gcc2
66824 builtin and then its argument prototype would still apply. */
66825 char $ac_func ();
66826 /* The GNU C library defines this for functions which it implements
66827 to always fail with ENOSYS. Some functions are actually named
66828 something starting with __ and the normal name is an alias. */
66829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66830 choke me
66831 #else
66832 char (*f) () = $ac_func;
66833 #endif
66834 #ifdef __cplusplus
66836 #endif
66839 main ()
66841 return f != $ac_func;
66843 return 0;
66845 _ACEOF
66846 rm -f conftest.$ac_objext conftest$ac_exeext
66847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66848 (eval $ac_link) 2>conftest.er1
66849 ac_status=$?
66850 grep -v '^ *+' conftest.er1 >conftest.err
66851 rm -f conftest.er1
66852 cat conftest.err >&5
66853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66854 (exit $ac_status); } &&
66855 { ac_try='test -z "$ac_c_werror_flag"
66856 || test ! -s conftest.err'
66857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66858 (eval $ac_try) 2>&5
66859 ac_status=$?
66860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66861 (exit $ac_status); }; } &&
66862 { ac_try='test -s conftest$ac_exeext'
66863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66864 (eval $ac_try) 2>&5
66865 ac_status=$?
66866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66867 (exit $ac_status); }; }; then
66868 eval "$as_ac_var=yes"
66869 else
66870 echo "$as_me: failed program was:" >&5
66871 sed 's/^/| /' conftest.$ac_ext >&5
66873 eval "$as_ac_var=no"
66875 rm -f conftest.err conftest.$ac_objext \
66876 conftest$ac_exeext conftest.$ac_ext
66878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66880 if test `eval echo '${'$as_ac_var'}'` = yes; then
66881 cat >>confdefs.h <<_ACEOF
66882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66883 _ACEOF
66886 done
66888 else
66890 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66891 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66892 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66893 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66894 echo $ECHO_N "(cached) $ECHO_C" >&6
66895 else
66899 ac_ext=cc
66900 ac_cpp='$CXXCPP $CPPFLAGS'
66901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66905 cat >conftest.$ac_ext <<_ACEOF
66906 /* confdefs.h. */
66907 _ACEOF
66908 cat confdefs.h >>conftest.$ac_ext
66909 cat >>conftest.$ac_ext <<_ACEOF
66910 /* end confdefs.h. */
66911 #include <math.h>
66913 main ()
66915 _atan2l(0, 0);
66917 return 0;
66919 _ACEOF
66920 rm -f conftest.$ac_objext
66921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66922 (eval $ac_compile) 2>conftest.er1
66923 ac_status=$?
66924 grep -v '^ *+' conftest.er1 >conftest.err
66925 rm -f conftest.er1
66926 cat conftest.err >&5
66927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66928 (exit $ac_status); } &&
66929 { ac_try='test -z "$ac_cxx_werror_flag"
66930 || test ! -s conftest.err'
66931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66932 (eval $ac_try) 2>&5
66933 ac_status=$?
66934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935 (exit $ac_status); }; } &&
66936 { ac_try='test -s conftest.$ac_objext'
66937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66938 (eval $ac_try) 2>&5
66939 ac_status=$?
66940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66941 (exit $ac_status); }; }; then
66942 glibcxx_cv_func__atan2l_use=yes
66943 else
66944 echo "$as_me: failed program was:" >&5
66945 sed 's/^/| /' conftest.$ac_ext >&5
66947 glibcxx_cv_func__atan2l_use=no
66949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66950 ac_ext=c
66951 ac_cpp='$CPP $CPPFLAGS'
66952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66961 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66963 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66965 for ac_func in _atan2l
66967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66968 echo "$as_me:$LINENO: checking for $ac_func" >&5
66969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66970 if eval "test \"\${$as_ac_var+set}\" = set"; then
66971 echo $ECHO_N "(cached) $ECHO_C" >&6
66972 else
66973 if test x$gcc_no_link = xyes; then
66974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66976 { (exit 1); exit 1; }; }
66978 cat >conftest.$ac_ext <<_ACEOF
66979 /* confdefs.h. */
66980 _ACEOF
66981 cat confdefs.h >>conftest.$ac_ext
66982 cat >>conftest.$ac_ext <<_ACEOF
66983 /* end confdefs.h. */
66984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66986 #define $ac_func innocuous_$ac_func
66988 /* System header to define __stub macros and hopefully few prototypes,
66989 which can conflict with char $ac_func (); below.
66990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66991 <limits.h> exists even on freestanding compilers. */
66993 #ifdef __STDC__
66994 # include <limits.h>
66995 #else
66996 # include <assert.h>
66997 #endif
66999 #undef $ac_func
67001 /* Override any gcc2 internal prototype to avoid an error. */
67002 #ifdef __cplusplus
67003 extern "C"
67005 #endif
67006 /* We use char because int might match the return type of a gcc2
67007 builtin and then its argument prototype would still apply. */
67008 char $ac_func ();
67009 /* The GNU C library defines this for functions which it implements
67010 to always fail with ENOSYS. Some functions are actually named
67011 something starting with __ and the normal name is an alias. */
67012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67013 choke me
67014 #else
67015 char (*f) () = $ac_func;
67016 #endif
67017 #ifdef __cplusplus
67019 #endif
67022 main ()
67024 return f != $ac_func;
67026 return 0;
67028 _ACEOF
67029 rm -f conftest.$ac_objext conftest$ac_exeext
67030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67031 (eval $ac_link) 2>conftest.er1
67032 ac_status=$?
67033 grep -v '^ *+' conftest.er1 >conftest.err
67034 rm -f conftest.er1
67035 cat conftest.err >&5
67036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67037 (exit $ac_status); } &&
67038 { ac_try='test -z "$ac_c_werror_flag"
67039 || test ! -s conftest.err'
67040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67041 (eval $ac_try) 2>&5
67042 ac_status=$?
67043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044 (exit $ac_status); }; } &&
67045 { ac_try='test -s conftest$ac_exeext'
67046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67047 (eval $ac_try) 2>&5
67048 ac_status=$?
67049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67050 (exit $ac_status); }; }; then
67051 eval "$as_ac_var=yes"
67052 else
67053 echo "$as_me: failed program was:" >&5
67054 sed 's/^/| /' conftest.$ac_ext >&5
67056 eval "$as_ac_var=no"
67058 rm -f conftest.err conftest.$ac_objext \
67059 conftest$ac_exeext conftest.$ac_ext
67061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67063 if test `eval echo '${'$as_ac_var'}'` = yes; then
67064 cat >>confdefs.h <<_ACEOF
67065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67066 _ACEOF
67069 done
67079 echo "$as_me:$LINENO: checking for expl declaration" >&5
67080 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
67081 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67082 if test "${glibcxx_cv_func_expl_use+set}" = set; then
67083 echo $ECHO_N "(cached) $ECHO_C" >&6
67084 else
67088 ac_ext=cc
67089 ac_cpp='$CXXCPP $CPPFLAGS'
67090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67094 cat >conftest.$ac_ext <<_ACEOF
67095 /* confdefs.h. */
67096 _ACEOF
67097 cat confdefs.h >>conftest.$ac_ext
67098 cat >>conftest.$ac_ext <<_ACEOF
67099 /* end confdefs.h. */
67100 #include <math.h>
67101 #ifdef HAVE_IEEEFP_H
67102 #include <ieeefp.h>
67103 #endif
67106 main ()
67108 expl(0);
67110 return 0;
67112 _ACEOF
67113 rm -f conftest.$ac_objext
67114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67115 (eval $ac_compile) 2>conftest.er1
67116 ac_status=$?
67117 grep -v '^ *+' conftest.er1 >conftest.err
67118 rm -f conftest.er1
67119 cat conftest.err >&5
67120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121 (exit $ac_status); } &&
67122 { ac_try='test -z "$ac_cxx_werror_flag"
67123 || test ! -s conftest.err'
67124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67125 (eval $ac_try) 2>&5
67126 ac_status=$?
67127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67128 (exit $ac_status); }; } &&
67129 { ac_try='test -s conftest.$ac_objext'
67130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67131 (eval $ac_try) 2>&5
67132 ac_status=$?
67133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67134 (exit $ac_status); }; }; then
67135 glibcxx_cv_func_expl_use=yes
67136 else
67137 echo "$as_me: failed program was:" >&5
67138 sed 's/^/| /' conftest.$ac_ext >&5
67140 glibcxx_cv_func_expl_use=no
67142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67143 ac_ext=c
67144 ac_cpp='$CPP $CPPFLAGS'
67145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
67154 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
67156 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67158 for ac_func in expl
67160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67161 echo "$as_me:$LINENO: checking for $ac_func" >&5
67162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67163 if eval "test \"\${$as_ac_var+set}\" = set"; then
67164 echo $ECHO_N "(cached) $ECHO_C" >&6
67165 else
67166 if test x$gcc_no_link = xyes; then
67167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67169 { (exit 1); exit 1; }; }
67171 cat >conftest.$ac_ext <<_ACEOF
67172 /* confdefs.h. */
67173 _ACEOF
67174 cat confdefs.h >>conftest.$ac_ext
67175 cat >>conftest.$ac_ext <<_ACEOF
67176 /* end confdefs.h. */
67177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67179 #define $ac_func innocuous_$ac_func
67181 /* System header to define __stub macros and hopefully few prototypes,
67182 which can conflict with char $ac_func (); below.
67183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67184 <limits.h> exists even on freestanding compilers. */
67186 #ifdef __STDC__
67187 # include <limits.h>
67188 #else
67189 # include <assert.h>
67190 #endif
67192 #undef $ac_func
67194 /* Override any gcc2 internal prototype to avoid an error. */
67195 #ifdef __cplusplus
67196 extern "C"
67198 #endif
67199 /* We use char because int might match the return type of a gcc2
67200 builtin and then its argument prototype would still apply. */
67201 char $ac_func ();
67202 /* The GNU C library defines this for functions which it implements
67203 to always fail with ENOSYS. Some functions are actually named
67204 something starting with __ and the normal name is an alias. */
67205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67206 choke me
67207 #else
67208 char (*f) () = $ac_func;
67209 #endif
67210 #ifdef __cplusplus
67212 #endif
67215 main ()
67217 return f != $ac_func;
67219 return 0;
67221 _ACEOF
67222 rm -f conftest.$ac_objext conftest$ac_exeext
67223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67224 (eval $ac_link) 2>conftest.er1
67225 ac_status=$?
67226 grep -v '^ *+' conftest.er1 >conftest.err
67227 rm -f conftest.er1
67228 cat conftest.err >&5
67229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67230 (exit $ac_status); } &&
67231 { ac_try='test -z "$ac_c_werror_flag"
67232 || test ! -s conftest.err'
67233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67234 (eval $ac_try) 2>&5
67235 ac_status=$?
67236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67237 (exit $ac_status); }; } &&
67238 { ac_try='test -s conftest$ac_exeext'
67239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67240 (eval $ac_try) 2>&5
67241 ac_status=$?
67242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67243 (exit $ac_status); }; }; then
67244 eval "$as_ac_var=yes"
67245 else
67246 echo "$as_me: failed program was:" >&5
67247 sed 's/^/| /' conftest.$ac_ext >&5
67249 eval "$as_ac_var=no"
67251 rm -f conftest.err conftest.$ac_objext \
67252 conftest$ac_exeext conftest.$ac_ext
67254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67256 if test `eval echo '${'$as_ac_var'}'` = yes; then
67257 cat >>confdefs.h <<_ACEOF
67258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67259 _ACEOF
67262 done
67264 else
67266 echo "$as_me:$LINENO: checking for _expl declaration" >&5
67267 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
67268 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67269 if test "${glibcxx_cv_func__expl_use+set}" = set; then
67270 echo $ECHO_N "(cached) $ECHO_C" >&6
67271 else
67275 ac_ext=cc
67276 ac_cpp='$CXXCPP $CPPFLAGS'
67277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67281 cat >conftest.$ac_ext <<_ACEOF
67282 /* confdefs.h. */
67283 _ACEOF
67284 cat confdefs.h >>conftest.$ac_ext
67285 cat >>conftest.$ac_ext <<_ACEOF
67286 /* end confdefs.h. */
67287 #include <math.h>
67288 #ifdef HAVE_IEEEFP_H
67289 #include <ieeefp.h>
67290 #endif
67293 main ()
67295 _expl(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__expl_use=yes
67323 else
67324 echo "$as_me: failed program was:" >&5
67325 sed 's/^/| /' conftest.$ac_ext >&5
67327 glibcxx_cv_func__expl_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
67340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
67341 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
67343 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67345 for ac_func in _expl
67347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67348 echo "$as_me:$LINENO: checking for $ac_func" >&5
67349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67350 if eval "test \"\${$as_ac_var+set}\" = set"; then
67351 echo $ECHO_N "(cached) $ECHO_C" >&6
67352 else
67353 if test x$gcc_no_link = xyes; then
67354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67356 { (exit 1); exit 1; }; }
67358 cat >conftest.$ac_ext <<_ACEOF
67359 /* confdefs.h. */
67360 _ACEOF
67361 cat confdefs.h >>conftest.$ac_ext
67362 cat >>conftest.$ac_ext <<_ACEOF
67363 /* end confdefs.h. */
67364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67366 #define $ac_func innocuous_$ac_func
67368 /* System header to define __stub macros and hopefully few prototypes,
67369 which can conflict with char $ac_func (); below.
67370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67371 <limits.h> exists even on freestanding compilers. */
67373 #ifdef __STDC__
67374 # include <limits.h>
67375 #else
67376 # include <assert.h>
67377 #endif
67379 #undef $ac_func
67381 /* Override any gcc2 internal prototype to avoid an error. */
67382 #ifdef __cplusplus
67383 extern "C"
67385 #endif
67386 /* We use char because int might match the return type of a gcc2
67387 builtin and then its argument prototype would still apply. */
67388 char $ac_func ();
67389 /* The GNU C library defines this for functions which it implements
67390 to always fail with ENOSYS. Some functions are actually named
67391 something starting with __ and the normal name is an alias. */
67392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67393 choke me
67394 #else
67395 char (*f) () = $ac_func;
67396 #endif
67397 #ifdef __cplusplus
67399 #endif
67402 main ()
67404 return f != $ac_func;
67406 return 0;
67408 _ACEOF
67409 rm -f conftest.$ac_objext conftest$ac_exeext
67410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67411 (eval $ac_link) 2>conftest.er1
67412 ac_status=$?
67413 grep -v '^ *+' conftest.er1 >conftest.err
67414 rm -f conftest.er1
67415 cat conftest.err >&5
67416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67417 (exit $ac_status); } &&
67418 { ac_try='test -z "$ac_c_werror_flag"
67419 || test ! -s conftest.err'
67420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67421 (eval $ac_try) 2>&5
67422 ac_status=$?
67423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67424 (exit $ac_status); }; } &&
67425 { ac_try='test -s conftest$ac_exeext'
67426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67427 (eval $ac_try) 2>&5
67428 ac_status=$?
67429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67430 (exit $ac_status); }; }; then
67431 eval "$as_ac_var=yes"
67432 else
67433 echo "$as_me: failed program was:" >&5
67434 sed 's/^/| /' conftest.$ac_ext >&5
67436 eval "$as_ac_var=no"
67438 rm -f conftest.err conftest.$ac_objext \
67439 conftest$ac_exeext conftest.$ac_ext
67441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67443 if test `eval echo '${'$as_ac_var'}'` = yes; then
67444 cat >>confdefs.h <<_ACEOF
67445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67446 _ACEOF
67449 done
67459 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
67460 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
67461 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67462 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
67463 echo $ECHO_N "(cached) $ECHO_C" >&6
67464 else
67468 ac_ext=cc
67469 ac_cpp='$CXXCPP $CPPFLAGS'
67470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67474 cat >conftest.$ac_ext <<_ACEOF
67475 /* confdefs.h. */
67476 _ACEOF
67477 cat confdefs.h >>conftest.$ac_ext
67478 cat >>conftest.$ac_ext <<_ACEOF
67479 /* end confdefs.h. */
67480 #include <math.h>
67481 #ifdef HAVE_IEEEFP_H
67482 #include <ieeefp.h>
67483 #endif
67486 main ()
67488 fabsl(0);
67490 return 0;
67492 _ACEOF
67493 rm -f conftest.$ac_objext
67494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67495 (eval $ac_compile) 2>conftest.er1
67496 ac_status=$?
67497 grep -v '^ *+' conftest.er1 >conftest.err
67498 rm -f conftest.er1
67499 cat conftest.err >&5
67500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67501 (exit $ac_status); } &&
67502 { ac_try='test -z "$ac_cxx_werror_flag"
67503 || test ! -s conftest.err'
67504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67505 (eval $ac_try) 2>&5
67506 ac_status=$?
67507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67508 (exit $ac_status); }; } &&
67509 { ac_try='test -s conftest.$ac_objext'
67510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67511 (eval $ac_try) 2>&5
67512 ac_status=$?
67513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67514 (exit $ac_status); }; }; then
67515 glibcxx_cv_func_fabsl_use=yes
67516 else
67517 echo "$as_me: failed program was:" >&5
67518 sed 's/^/| /' conftest.$ac_ext >&5
67520 glibcxx_cv_func_fabsl_use=no
67522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67523 ac_ext=c
67524 ac_cpp='$CPP $CPPFLAGS'
67525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67534 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67536 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67538 for ac_func in fabsl
67540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67541 echo "$as_me:$LINENO: checking for $ac_func" >&5
67542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67543 if eval "test \"\${$as_ac_var+set}\" = set"; then
67544 echo $ECHO_N "(cached) $ECHO_C" >&6
67545 else
67546 if test x$gcc_no_link = xyes; then
67547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67549 { (exit 1); exit 1; }; }
67551 cat >conftest.$ac_ext <<_ACEOF
67552 /* confdefs.h. */
67553 _ACEOF
67554 cat confdefs.h >>conftest.$ac_ext
67555 cat >>conftest.$ac_ext <<_ACEOF
67556 /* end confdefs.h. */
67557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67559 #define $ac_func innocuous_$ac_func
67561 /* System header to define __stub macros and hopefully few prototypes,
67562 which can conflict with char $ac_func (); below.
67563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67564 <limits.h> exists even on freestanding compilers. */
67566 #ifdef __STDC__
67567 # include <limits.h>
67568 #else
67569 # include <assert.h>
67570 #endif
67572 #undef $ac_func
67574 /* Override any gcc2 internal prototype to avoid an error. */
67575 #ifdef __cplusplus
67576 extern "C"
67578 #endif
67579 /* We use char because int might match the return type of a gcc2
67580 builtin and then its argument prototype would still apply. */
67581 char $ac_func ();
67582 /* The GNU C library defines this for functions which it implements
67583 to always fail with ENOSYS. Some functions are actually named
67584 something starting with __ and the normal name is an alias. */
67585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67586 choke me
67587 #else
67588 char (*f) () = $ac_func;
67589 #endif
67590 #ifdef __cplusplus
67592 #endif
67595 main ()
67597 return f != $ac_func;
67599 return 0;
67601 _ACEOF
67602 rm -f conftest.$ac_objext conftest$ac_exeext
67603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67604 (eval $ac_link) 2>conftest.er1
67605 ac_status=$?
67606 grep -v '^ *+' conftest.er1 >conftest.err
67607 rm -f conftest.er1
67608 cat conftest.err >&5
67609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67610 (exit $ac_status); } &&
67611 { ac_try='test -z "$ac_c_werror_flag"
67612 || test ! -s conftest.err'
67613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67614 (eval $ac_try) 2>&5
67615 ac_status=$?
67616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67617 (exit $ac_status); }; } &&
67618 { ac_try='test -s conftest$ac_exeext'
67619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67620 (eval $ac_try) 2>&5
67621 ac_status=$?
67622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67623 (exit $ac_status); }; }; then
67624 eval "$as_ac_var=yes"
67625 else
67626 echo "$as_me: failed program was:" >&5
67627 sed 's/^/| /' conftest.$ac_ext >&5
67629 eval "$as_ac_var=no"
67631 rm -f conftest.err conftest.$ac_objext \
67632 conftest$ac_exeext conftest.$ac_ext
67634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67636 if test `eval echo '${'$as_ac_var'}'` = yes; then
67637 cat >>confdefs.h <<_ACEOF
67638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67639 _ACEOF
67642 done
67644 else
67646 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67647 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67648 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67649 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67650 echo $ECHO_N "(cached) $ECHO_C" >&6
67651 else
67655 ac_ext=cc
67656 ac_cpp='$CXXCPP $CPPFLAGS'
67657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67661 cat >conftest.$ac_ext <<_ACEOF
67662 /* confdefs.h. */
67663 _ACEOF
67664 cat confdefs.h >>conftest.$ac_ext
67665 cat >>conftest.$ac_ext <<_ACEOF
67666 /* end confdefs.h. */
67667 #include <math.h>
67668 #ifdef HAVE_IEEEFP_H
67669 #include <ieeefp.h>
67670 #endif
67673 main ()
67675 _fabsl(0);
67677 return 0;
67679 _ACEOF
67680 rm -f conftest.$ac_objext
67681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67682 (eval $ac_compile) 2>conftest.er1
67683 ac_status=$?
67684 grep -v '^ *+' conftest.er1 >conftest.err
67685 rm -f conftest.er1
67686 cat conftest.err >&5
67687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67688 (exit $ac_status); } &&
67689 { ac_try='test -z "$ac_cxx_werror_flag"
67690 || test ! -s conftest.err'
67691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67692 (eval $ac_try) 2>&5
67693 ac_status=$?
67694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67695 (exit $ac_status); }; } &&
67696 { ac_try='test -s conftest.$ac_objext'
67697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67698 (eval $ac_try) 2>&5
67699 ac_status=$?
67700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67701 (exit $ac_status); }; }; then
67702 glibcxx_cv_func__fabsl_use=yes
67703 else
67704 echo "$as_me: failed program was:" >&5
67705 sed 's/^/| /' conftest.$ac_ext >&5
67707 glibcxx_cv_func__fabsl_use=no
67709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67710 ac_ext=c
67711 ac_cpp='$CPP $CPPFLAGS'
67712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67721 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67723 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67725 for ac_func in _fabsl
67727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67728 echo "$as_me:$LINENO: checking for $ac_func" >&5
67729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67730 if eval "test \"\${$as_ac_var+set}\" = set"; then
67731 echo $ECHO_N "(cached) $ECHO_C" >&6
67732 else
67733 if test x$gcc_no_link = xyes; then
67734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67736 { (exit 1); exit 1; }; }
67738 cat >conftest.$ac_ext <<_ACEOF
67739 /* confdefs.h. */
67740 _ACEOF
67741 cat confdefs.h >>conftest.$ac_ext
67742 cat >>conftest.$ac_ext <<_ACEOF
67743 /* end confdefs.h. */
67744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67746 #define $ac_func innocuous_$ac_func
67748 /* System header to define __stub macros and hopefully few prototypes,
67749 which can conflict with char $ac_func (); below.
67750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67751 <limits.h> exists even on freestanding compilers. */
67753 #ifdef __STDC__
67754 # include <limits.h>
67755 #else
67756 # include <assert.h>
67757 #endif
67759 #undef $ac_func
67761 /* Override any gcc2 internal prototype to avoid an error. */
67762 #ifdef __cplusplus
67763 extern "C"
67765 #endif
67766 /* We use char because int might match the return type of a gcc2
67767 builtin and then its argument prototype would still apply. */
67768 char $ac_func ();
67769 /* The GNU C library defines this for functions which it implements
67770 to always fail with ENOSYS. Some functions are actually named
67771 something starting with __ and the normal name is an alias. */
67772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67773 choke me
67774 #else
67775 char (*f) () = $ac_func;
67776 #endif
67777 #ifdef __cplusplus
67779 #endif
67782 main ()
67784 return f != $ac_func;
67786 return 0;
67788 _ACEOF
67789 rm -f conftest.$ac_objext conftest$ac_exeext
67790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67791 (eval $ac_link) 2>conftest.er1
67792 ac_status=$?
67793 grep -v '^ *+' conftest.er1 >conftest.err
67794 rm -f conftest.er1
67795 cat conftest.err >&5
67796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67797 (exit $ac_status); } &&
67798 { ac_try='test -z "$ac_c_werror_flag"
67799 || test ! -s conftest.err'
67800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67801 (eval $ac_try) 2>&5
67802 ac_status=$?
67803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67804 (exit $ac_status); }; } &&
67805 { ac_try='test -s conftest$ac_exeext'
67806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67807 (eval $ac_try) 2>&5
67808 ac_status=$?
67809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67810 (exit $ac_status); }; }; then
67811 eval "$as_ac_var=yes"
67812 else
67813 echo "$as_me: failed program was:" >&5
67814 sed 's/^/| /' conftest.$ac_ext >&5
67816 eval "$as_ac_var=no"
67818 rm -f conftest.err conftest.$ac_objext \
67819 conftest$ac_exeext conftest.$ac_ext
67821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67823 if test `eval echo '${'$as_ac_var'}'` = yes; then
67824 cat >>confdefs.h <<_ACEOF
67825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67826 _ACEOF
67829 done
67839 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67840 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67841 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67842 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67843 echo $ECHO_N "(cached) $ECHO_C" >&6
67844 else
67848 ac_ext=cc
67849 ac_cpp='$CXXCPP $CPPFLAGS'
67850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67854 cat >conftest.$ac_ext <<_ACEOF
67855 /* confdefs.h. */
67856 _ACEOF
67857 cat confdefs.h >>conftest.$ac_ext
67858 cat >>conftest.$ac_ext <<_ACEOF
67859 /* end confdefs.h. */
67860 #include <math.h>
67862 main ()
67864 fmodl(0, 0);
67866 return 0;
67868 _ACEOF
67869 rm -f conftest.$ac_objext
67870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67871 (eval $ac_compile) 2>conftest.er1
67872 ac_status=$?
67873 grep -v '^ *+' conftest.er1 >conftest.err
67874 rm -f conftest.er1
67875 cat conftest.err >&5
67876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877 (exit $ac_status); } &&
67878 { ac_try='test -z "$ac_cxx_werror_flag"
67879 || test ! -s conftest.err'
67880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67881 (eval $ac_try) 2>&5
67882 ac_status=$?
67883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67884 (exit $ac_status); }; } &&
67885 { ac_try='test -s conftest.$ac_objext'
67886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67887 (eval $ac_try) 2>&5
67888 ac_status=$?
67889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890 (exit $ac_status); }; }; then
67891 glibcxx_cv_func_fmodl_use=yes
67892 else
67893 echo "$as_me: failed program was:" >&5
67894 sed 's/^/| /' conftest.$ac_ext >&5
67896 glibcxx_cv_func_fmodl_use=no
67898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67899 ac_ext=c
67900 ac_cpp='$CPP $CPPFLAGS'
67901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67910 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67912 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67914 for ac_func in fmodl
67916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67917 echo "$as_me:$LINENO: checking for $ac_func" >&5
67918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67919 if eval "test \"\${$as_ac_var+set}\" = set"; then
67920 echo $ECHO_N "(cached) $ECHO_C" >&6
67921 else
67922 if test x$gcc_no_link = xyes; then
67923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67925 { (exit 1); exit 1; }; }
67927 cat >conftest.$ac_ext <<_ACEOF
67928 /* confdefs.h. */
67929 _ACEOF
67930 cat confdefs.h >>conftest.$ac_ext
67931 cat >>conftest.$ac_ext <<_ACEOF
67932 /* end confdefs.h. */
67933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67935 #define $ac_func innocuous_$ac_func
67937 /* System header to define __stub macros and hopefully few prototypes,
67938 which can conflict with char $ac_func (); below.
67939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67940 <limits.h> exists even on freestanding compilers. */
67942 #ifdef __STDC__
67943 # include <limits.h>
67944 #else
67945 # include <assert.h>
67946 #endif
67948 #undef $ac_func
67950 /* Override any gcc2 internal prototype to avoid an error. */
67951 #ifdef __cplusplus
67952 extern "C"
67954 #endif
67955 /* We use char because int might match the return type of a gcc2
67956 builtin and then its argument prototype would still apply. */
67957 char $ac_func ();
67958 /* The GNU C library defines this for functions which it implements
67959 to always fail with ENOSYS. Some functions are actually named
67960 something starting with __ and the normal name is an alias. */
67961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67962 choke me
67963 #else
67964 char (*f) () = $ac_func;
67965 #endif
67966 #ifdef __cplusplus
67968 #endif
67971 main ()
67973 return f != $ac_func;
67975 return 0;
67977 _ACEOF
67978 rm -f conftest.$ac_objext conftest$ac_exeext
67979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67980 (eval $ac_link) 2>conftest.er1
67981 ac_status=$?
67982 grep -v '^ *+' conftest.er1 >conftest.err
67983 rm -f conftest.er1
67984 cat conftest.err >&5
67985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67986 (exit $ac_status); } &&
67987 { ac_try='test -z "$ac_c_werror_flag"
67988 || test ! -s conftest.err'
67989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67990 (eval $ac_try) 2>&5
67991 ac_status=$?
67992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67993 (exit $ac_status); }; } &&
67994 { ac_try='test -s conftest$ac_exeext'
67995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67996 (eval $ac_try) 2>&5
67997 ac_status=$?
67998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67999 (exit $ac_status); }; }; then
68000 eval "$as_ac_var=yes"
68001 else
68002 echo "$as_me: failed program was:" >&5
68003 sed 's/^/| /' conftest.$ac_ext >&5
68005 eval "$as_ac_var=no"
68007 rm -f conftest.err conftest.$ac_objext \
68008 conftest$ac_exeext conftest.$ac_ext
68010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68012 if test `eval echo '${'$as_ac_var'}'` = yes; then
68013 cat >>confdefs.h <<_ACEOF
68014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68015 _ACEOF
68018 done
68020 else
68022 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
68023 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
68024 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68025 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
68026 echo $ECHO_N "(cached) $ECHO_C" >&6
68027 else
68031 ac_ext=cc
68032 ac_cpp='$CXXCPP $CPPFLAGS'
68033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68037 cat >conftest.$ac_ext <<_ACEOF
68038 /* confdefs.h. */
68039 _ACEOF
68040 cat confdefs.h >>conftest.$ac_ext
68041 cat >>conftest.$ac_ext <<_ACEOF
68042 /* end confdefs.h. */
68043 #include <math.h>
68045 main ()
68047 _fmodl(0, 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__fmodl_use=yes
68075 else
68076 echo "$as_me: failed program was:" >&5
68077 sed 's/^/| /' conftest.$ac_ext >&5
68079 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
68093 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
68095 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68097 for ac_func in _fmodl
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
68211 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
68212 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
68213 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68214 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
68215 echo $ECHO_N "(cached) $ECHO_C" >&6
68216 else
68220 ac_ext=cc
68221 ac_cpp='$CXXCPP $CPPFLAGS'
68222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68226 cat >conftest.$ac_ext <<_ACEOF
68227 /* confdefs.h. */
68228 _ACEOF
68229 cat confdefs.h >>conftest.$ac_ext
68230 cat >>conftest.$ac_ext <<_ACEOF
68231 /* end confdefs.h. */
68232 #include <math.h>
68234 main ()
68236 frexpl(0, 0);
68238 return 0;
68240 _ACEOF
68241 rm -f conftest.$ac_objext
68242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68243 (eval $ac_compile) 2>conftest.er1
68244 ac_status=$?
68245 grep -v '^ *+' conftest.er1 >conftest.err
68246 rm -f conftest.er1
68247 cat conftest.err >&5
68248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68249 (exit $ac_status); } &&
68250 { ac_try='test -z "$ac_cxx_werror_flag"
68251 || test ! -s conftest.err'
68252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68253 (eval $ac_try) 2>&5
68254 ac_status=$?
68255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68256 (exit $ac_status); }; } &&
68257 { ac_try='test -s conftest.$ac_objext'
68258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68259 (eval $ac_try) 2>&5
68260 ac_status=$?
68261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68262 (exit $ac_status); }; }; then
68263 glibcxx_cv_func_frexpl_use=yes
68264 else
68265 echo "$as_me: failed program was:" >&5
68266 sed 's/^/| /' conftest.$ac_ext >&5
68268 glibcxx_cv_func_frexpl_use=no
68270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68271 ac_ext=c
68272 ac_cpp='$CPP $CPPFLAGS'
68273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
68282 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
68284 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68286 for ac_func in frexpl
68288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68289 echo "$as_me:$LINENO: checking for $ac_func" >&5
68290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68291 if eval "test \"\${$as_ac_var+set}\" = set"; then
68292 echo $ECHO_N "(cached) $ECHO_C" >&6
68293 else
68294 if test x$gcc_no_link = xyes; then
68295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68297 { (exit 1); exit 1; }; }
68299 cat >conftest.$ac_ext <<_ACEOF
68300 /* confdefs.h. */
68301 _ACEOF
68302 cat confdefs.h >>conftest.$ac_ext
68303 cat >>conftest.$ac_ext <<_ACEOF
68304 /* end confdefs.h. */
68305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68307 #define $ac_func innocuous_$ac_func
68309 /* System header to define __stub macros and hopefully few prototypes,
68310 which can conflict with char $ac_func (); below.
68311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68312 <limits.h> exists even on freestanding compilers. */
68314 #ifdef __STDC__
68315 # include <limits.h>
68316 #else
68317 # include <assert.h>
68318 #endif
68320 #undef $ac_func
68322 /* Override any gcc2 internal prototype to avoid an error. */
68323 #ifdef __cplusplus
68324 extern "C"
68326 #endif
68327 /* We use char because int might match the return type of a gcc2
68328 builtin and then its argument prototype would still apply. */
68329 char $ac_func ();
68330 /* The GNU C library defines this for functions which it implements
68331 to always fail with ENOSYS. Some functions are actually named
68332 something starting with __ and the normal name is an alias. */
68333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68334 choke me
68335 #else
68336 char (*f) () = $ac_func;
68337 #endif
68338 #ifdef __cplusplus
68340 #endif
68343 main ()
68345 return f != $ac_func;
68347 return 0;
68349 _ACEOF
68350 rm -f conftest.$ac_objext conftest$ac_exeext
68351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68352 (eval $ac_link) 2>conftest.er1
68353 ac_status=$?
68354 grep -v '^ *+' conftest.er1 >conftest.err
68355 rm -f conftest.er1
68356 cat conftest.err >&5
68357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68358 (exit $ac_status); } &&
68359 { ac_try='test -z "$ac_c_werror_flag"
68360 || test ! -s conftest.err'
68361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68362 (eval $ac_try) 2>&5
68363 ac_status=$?
68364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68365 (exit $ac_status); }; } &&
68366 { ac_try='test -s conftest$ac_exeext'
68367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68368 (eval $ac_try) 2>&5
68369 ac_status=$?
68370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68371 (exit $ac_status); }; }; then
68372 eval "$as_ac_var=yes"
68373 else
68374 echo "$as_me: failed program was:" >&5
68375 sed 's/^/| /' conftest.$ac_ext >&5
68377 eval "$as_ac_var=no"
68379 rm -f conftest.err conftest.$ac_objext \
68380 conftest$ac_exeext conftest.$ac_ext
68382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68384 if test `eval echo '${'$as_ac_var'}'` = yes; then
68385 cat >>confdefs.h <<_ACEOF
68386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68387 _ACEOF
68390 done
68392 else
68394 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
68395 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
68396 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68397 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
68398 echo $ECHO_N "(cached) $ECHO_C" >&6
68399 else
68403 ac_ext=cc
68404 ac_cpp='$CXXCPP $CPPFLAGS'
68405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68409 cat >conftest.$ac_ext <<_ACEOF
68410 /* confdefs.h. */
68411 _ACEOF
68412 cat confdefs.h >>conftest.$ac_ext
68413 cat >>conftest.$ac_ext <<_ACEOF
68414 /* end confdefs.h. */
68415 #include <math.h>
68417 main ()
68419 _frexpl(0, 0);
68421 return 0;
68423 _ACEOF
68424 rm -f conftest.$ac_objext
68425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68426 (eval $ac_compile) 2>conftest.er1
68427 ac_status=$?
68428 grep -v '^ *+' conftest.er1 >conftest.err
68429 rm -f conftest.er1
68430 cat conftest.err >&5
68431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432 (exit $ac_status); } &&
68433 { ac_try='test -z "$ac_cxx_werror_flag"
68434 || test ! -s conftest.err'
68435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68436 (eval $ac_try) 2>&5
68437 ac_status=$?
68438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68439 (exit $ac_status); }; } &&
68440 { ac_try='test -s conftest.$ac_objext'
68441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68442 (eval $ac_try) 2>&5
68443 ac_status=$?
68444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68445 (exit $ac_status); }; }; then
68446 glibcxx_cv_func__frexpl_use=yes
68447 else
68448 echo "$as_me: failed program was:" >&5
68449 sed 's/^/| /' conftest.$ac_ext >&5
68451 glibcxx_cv_func__frexpl_use=no
68453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68454 ac_ext=c
68455 ac_cpp='$CPP $CPPFLAGS'
68456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
68465 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
68467 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68469 for ac_func in _frexpl
68471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68472 echo "$as_me:$LINENO: checking for $ac_func" >&5
68473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68474 if eval "test \"\${$as_ac_var+set}\" = set"; then
68475 echo $ECHO_N "(cached) $ECHO_C" >&6
68476 else
68477 if test x$gcc_no_link = xyes; then
68478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68480 { (exit 1); exit 1; }; }
68482 cat >conftest.$ac_ext <<_ACEOF
68483 /* confdefs.h. */
68484 _ACEOF
68485 cat confdefs.h >>conftest.$ac_ext
68486 cat >>conftest.$ac_ext <<_ACEOF
68487 /* end confdefs.h. */
68488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68490 #define $ac_func innocuous_$ac_func
68492 /* System header to define __stub macros and hopefully few prototypes,
68493 which can conflict with char $ac_func (); below.
68494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68495 <limits.h> exists even on freestanding compilers. */
68497 #ifdef __STDC__
68498 # include <limits.h>
68499 #else
68500 # include <assert.h>
68501 #endif
68503 #undef $ac_func
68505 /* Override any gcc2 internal prototype to avoid an error. */
68506 #ifdef __cplusplus
68507 extern "C"
68509 #endif
68510 /* We use char because int might match the return type of a gcc2
68511 builtin and then its argument prototype would still apply. */
68512 char $ac_func ();
68513 /* The GNU C library defines this for functions which it implements
68514 to always fail with ENOSYS. Some functions are actually named
68515 something starting with __ and the normal name is an alias. */
68516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68517 choke me
68518 #else
68519 char (*f) () = $ac_func;
68520 #endif
68521 #ifdef __cplusplus
68523 #endif
68526 main ()
68528 return f != $ac_func;
68530 return 0;
68532 _ACEOF
68533 rm -f conftest.$ac_objext conftest$ac_exeext
68534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68535 (eval $ac_link) 2>conftest.er1
68536 ac_status=$?
68537 grep -v '^ *+' conftest.er1 >conftest.err
68538 rm -f conftest.er1
68539 cat conftest.err >&5
68540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541 (exit $ac_status); } &&
68542 { ac_try='test -z "$ac_c_werror_flag"
68543 || test ! -s conftest.err'
68544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68545 (eval $ac_try) 2>&5
68546 ac_status=$?
68547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68548 (exit $ac_status); }; } &&
68549 { ac_try='test -s conftest$ac_exeext'
68550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68551 (eval $ac_try) 2>&5
68552 ac_status=$?
68553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554 (exit $ac_status); }; }; then
68555 eval "$as_ac_var=yes"
68556 else
68557 echo "$as_me: failed program was:" >&5
68558 sed 's/^/| /' conftest.$ac_ext >&5
68560 eval "$as_ac_var=no"
68562 rm -f conftest.err conftest.$ac_objext \
68563 conftest$ac_exeext conftest.$ac_ext
68565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68567 if test `eval echo '${'$as_ac_var'}'` = yes; then
68568 cat >>confdefs.h <<_ACEOF
68569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68570 _ACEOF
68573 done
68583 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68584 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68585 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68586 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68587 echo $ECHO_N "(cached) $ECHO_C" >&6
68588 else
68592 ac_ext=cc
68593 ac_cpp='$CXXCPP $CPPFLAGS'
68594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68598 cat >conftest.$ac_ext <<_ACEOF
68599 /* confdefs.h. */
68600 _ACEOF
68601 cat confdefs.h >>conftest.$ac_ext
68602 cat >>conftest.$ac_ext <<_ACEOF
68603 /* end confdefs.h. */
68604 #include <math.h>
68606 main ()
68608 hypotl(0, 0);
68610 return 0;
68612 _ACEOF
68613 rm -f conftest.$ac_objext
68614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68615 (eval $ac_compile) 2>conftest.er1
68616 ac_status=$?
68617 grep -v '^ *+' conftest.er1 >conftest.err
68618 rm -f conftest.er1
68619 cat conftest.err >&5
68620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68621 (exit $ac_status); } &&
68622 { ac_try='test -z "$ac_cxx_werror_flag"
68623 || test ! -s conftest.err'
68624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68625 (eval $ac_try) 2>&5
68626 ac_status=$?
68627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68628 (exit $ac_status); }; } &&
68629 { ac_try='test -s conftest.$ac_objext'
68630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68631 (eval $ac_try) 2>&5
68632 ac_status=$?
68633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634 (exit $ac_status); }; }; then
68635 glibcxx_cv_func_hypotl_use=yes
68636 else
68637 echo "$as_me: failed program was:" >&5
68638 sed 's/^/| /' conftest.$ac_ext >&5
68640 glibcxx_cv_func_hypotl_use=no
68642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68643 ac_ext=c
68644 ac_cpp='$CPP $CPPFLAGS'
68645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68654 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68656 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68658 for ac_func in hypotl
68660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68661 echo "$as_me:$LINENO: checking for $ac_func" >&5
68662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68663 if eval "test \"\${$as_ac_var+set}\" = set"; then
68664 echo $ECHO_N "(cached) $ECHO_C" >&6
68665 else
68666 if test x$gcc_no_link = xyes; then
68667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68669 { (exit 1); exit 1; }; }
68671 cat >conftest.$ac_ext <<_ACEOF
68672 /* confdefs.h. */
68673 _ACEOF
68674 cat confdefs.h >>conftest.$ac_ext
68675 cat >>conftest.$ac_ext <<_ACEOF
68676 /* end confdefs.h. */
68677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68679 #define $ac_func innocuous_$ac_func
68681 /* System header to define __stub macros and hopefully few prototypes,
68682 which can conflict with char $ac_func (); below.
68683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68684 <limits.h> exists even on freestanding compilers. */
68686 #ifdef __STDC__
68687 # include <limits.h>
68688 #else
68689 # include <assert.h>
68690 #endif
68692 #undef $ac_func
68694 /* Override any gcc2 internal prototype to avoid an error. */
68695 #ifdef __cplusplus
68696 extern "C"
68698 #endif
68699 /* We use char because int might match the return type of a gcc2
68700 builtin and then its argument prototype would still apply. */
68701 char $ac_func ();
68702 /* The GNU C library defines this for functions which it implements
68703 to always fail with ENOSYS. Some functions are actually named
68704 something starting with __ and the normal name is an alias. */
68705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68706 choke me
68707 #else
68708 char (*f) () = $ac_func;
68709 #endif
68710 #ifdef __cplusplus
68712 #endif
68715 main ()
68717 return f != $ac_func;
68719 return 0;
68721 _ACEOF
68722 rm -f conftest.$ac_objext conftest$ac_exeext
68723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68724 (eval $ac_link) 2>conftest.er1
68725 ac_status=$?
68726 grep -v '^ *+' conftest.er1 >conftest.err
68727 rm -f conftest.er1
68728 cat conftest.err >&5
68729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68730 (exit $ac_status); } &&
68731 { ac_try='test -z "$ac_c_werror_flag"
68732 || test ! -s conftest.err'
68733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68734 (eval $ac_try) 2>&5
68735 ac_status=$?
68736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68737 (exit $ac_status); }; } &&
68738 { ac_try='test -s conftest$ac_exeext'
68739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68740 (eval $ac_try) 2>&5
68741 ac_status=$?
68742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68743 (exit $ac_status); }; }; then
68744 eval "$as_ac_var=yes"
68745 else
68746 echo "$as_me: failed program was:" >&5
68747 sed 's/^/| /' conftest.$ac_ext >&5
68749 eval "$as_ac_var=no"
68751 rm -f conftest.err conftest.$ac_objext \
68752 conftest$ac_exeext conftest.$ac_ext
68754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68756 if test `eval echo '${'$as_ac_var'}'` = yes; then
68757 cat >>confdefs.h <<_ACEOF
68758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68759 _ACEOF
68762 done
68764 else
68766 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68767 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68768 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68769 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68770 echo $ECHO_N "(cached) $ECHO_C" >&6
68771 else
68775 ac_ext=cc
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68781 cat >conftest.$ac_ext <<_ACEOF
68782 /* confdefs.h. */
68783 _ACEOF
68784 cat confdefs.h >>conftest.$ac_ext
68785 cat >>conftest.$ac_ext <<_ACEOF
68786 /* end confdefs.h. */
68787 #include <math.h>
68789 main ()
68791 _hypotl(0, 0);
68793 return 0;
68795 _ACEOF
68796 rm -f conftest.$ac_objext
68797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68798 (eval $ac_compile) 2>conftest.er1
68799 ac_status=$?
68800 grep -v '^ *+' conftest.er1 >conftest.err
68801 rm -f conftest.er1
68802 cat conftest.err >&5
68803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804 (exit $ac_status); } &&
68805 { ac_try='test -z "$ac_cxx_werror_flag"
68806 || test ! -s conftest.err'
68807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68808 (eval $ac_try) 2>&5
68809 ac_status=$?
68810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811 (exit $ac_status); }; } &&
68812 { ac_try='test -s conftest.$ac_objext'
68813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68814 (eval $ac_try) 2>&5
68815 ac_status=$?
68816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68817 (exit $ac_status); }; }; then
68818 glibcxx_cv_func__hypotl_use=yes
68819 else
68820 echo "$as_me: failed program was:" >&5
68821 sed 's/^/| /' conftest.$ac_ext >&5
68823 glibcxx_cv_func__hypotl_use=no
68825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68826 ac_ext=c
68827 ac_cpp='$CPP $CPPFLAGS'
68828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68837 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68839 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68841 for ac_func in _hypotl
68843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68844 echo "$as_me:$LINENO: checking for $ac_func" >&5
68845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68846 if eval "test \"\${$as_ac_var+set}\" = set"; then
68847 echo $ECHO_N "(cached) $ECHO_C" >&6
68848 else
68849 if test x$gcc_no_link = xyes; then
68850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68852 { (exit 1); exit 1; }; }
68854 cat >conftest.$ac_ext <<_ACEOF
68855 /* confdefs.h. */
68856 _ACEOF
68857 cat confdefs.h >>conftest.$ac_ext
68858 cat >>conftest.$ac_ext <<_ACEOF
68859 /* end confdefs.h. */
68860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68862 #define $ac_func innocuous_$ac_func
68864 /* System header to define __stub macros and hopefully few prototypes,
68865 which can conflict with char $ac_func (); below.
68866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68867 <limits.h> exists even on freestanding compilers. */
68869 #ifdef __STDC__
68870 # include <limits.h>
68871 #else
68872 # include <assert.h>
68873 #endif
68875 #undef $ac_func
68877 /* Override any gcc2 internal prototype to avoid an error. */
68878 #ifdef __cplusplus
68879 extern "C"
68881 #endif
68882 /* We use char because int might match the return type of a gcc2
68883 builtin and then its argument prototype would still apply. */
68884 char $ac_func ();
68885 /* The GNU C library defines this for functions which it implements
68886 to always fail with ENOSYS. Some functions are actually named
68887 something starting with __ and the normal name is an alias. */
68888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68889 choke me
68890 #else
68891 char (*f) () = $ac_func;
68892 #endif
68893 #ifdef __cplusplus
68895 #endif
68898 main ()
68900 return f != $ac_func;
68902 return 0;
68904 _ACEOF
68905 rm -f conftest.$ac_objext conftest$ac_exeext
68906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68907 (eval $ac_link) 2>conftest.er1
68908 ac_status=$?
68909 grep -v '^ *+' conftest.er1 >conftest.err
68910 rm -f conftest.er1
68911 cat conftest.err >&5
68912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913 (exit $ac_status); } &&
68914 { ac_try='test -z "$ac_c_werror_flag"
68915 || test ! -s conftest.err'
68916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68917 (eval $ac_try) 2>&5
68918 ac_status=$?
68919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68920 (exit $ac_status); }; } &&
68921 { ac_try='test -s conftest$ac_exeext'
68922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68923 (eval $ac_try) 2>&5
68924 ac_status=$?
68925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68926 (exit $ac_status); }; }; then
68927 eval "$as_ac_var=yes"
68928 else
68929 echo "$as_me: failed program was:" >&5
68930 sed 's/^/| /' conftest.$ac_ext >&5
68932 eval "$as_ac_var=no"
68934 rm -f conftest.err conftest.$ac_objext \
68935 conftest$ac_exeext conftest.$ac_ext
68937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68939 if test `eval echo '${'$as_ac_var'}'` = yes; then
68940 cat >>confdefs.h <<_ACEOF
68941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68942 _ACEOF
68945 done
68955 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68956 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68957 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68958 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68959 echo $ECHO_N "(cached) $ECHO_C" >&6
68960 else
68964 ac_ext=cc
68965 ac_cpp='$CXXCPP $CPPFLAGS'
68966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68970 cat >conftest.$ac_ext <<_ACEOF
68971 /* confdefs.h. */
68972 _ACEOF
68973 cat confdefs.h >>conftest.$ac_ext
68974 cat >>conftest.$ac_ext <<_ACEOF
68975 /* end confdefs.h. */
68976 #include <math.h>
68978 main ()
68980 ldexpl(0, 0);
68982 return 0;
68984 _ACEOF
68985 rm -f conftest.$ac_objext
68986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68987 (eval $ac_compile) 2>conftest.er1
68988 ac_status=$?
68989 grep -v '^ *+' conftest.er1 >conftest.err
68990 rm -f conftest.er1
68991 cat conftest.err >&5
68992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68993 (exit $ac_status); } &&
68994 { ac_try='test -z "$ac_cxx_werror_flag"
68995 || test ! -s conftest.err'
68996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68997 (eval $ac_try) 2>&5
68998 ac_status=$?
68999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69000 (exit $ac_status); }; } &&
69001 { ac_try='test -s conftest.$ac_objext'
69002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69003 (eval $ac_try) 2>&5
69004 ac_status=$?
69005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69006 (exit $ac_status); }; }; then
69007 glibcxx_cv_func_ldexpl_use=yes
69008 else
69009 echo "$as_me: failed program was:" >&5
69010 sed 's/^/| /' conftest.$ac_ext >&5
69012 glibcxx_cv_func_ldexpl_use=no
69014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69015 ac_ext=c
69016 ac_cpp='$CPP $CPPFLAGS'
69017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69025 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
69026 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
69028 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69030 for ac_func in ldexpl
69032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69033 echo "$as_me:$LINENO: checking for $ac_func" >&5
69034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69035 if eval "test \"\${$as_ac_var+set}\" = set"; then
69036 echo $ECHO_N "(cached) $ECHO_C" >&6
69037 else
69038 if test x$gcc_no_link = xyes; then
69039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69041 { (exit 1); exit 1; }; }
69043 cat >conftest.$ac_ext <<_ACEOF
69044 /* confdefs.h. */
69045 _ACEOF
69046 cat confdefs.h >>conftest.$ac_ext
69047 cat >>conftest.$ac_ext <<_ACEOF
69048 /* end confdefs.h. */
69049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69051 #define $ac_func innocuous_$ac_func
69053 /* System header to define __stub macros and hopefully few prototypes,
69054 which can conflict with char $ac_func (); below.
69055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69056 <limits.h> exists even on freestanding compilers. */
69058 #ifdef __STDC__
69059 # include <limits.h>
69060 #else
69061 # include <assert.h>
69062 #endif
69064 #undef $ac_func
69066 /* Override any gcc2 internal prototype to avoid an error. */
69067 #ifdef __cplusplus
69068 extern "C"
69070 #endif
69071 /* We use char because int might match the return type of a gcc2
69072 builtin and then its argument prototype would still apply. */
69073 char $ac_func ();
69074 /* The GNU C library defines this for functions which it implements
69075 to always fail with ENOSYS. Some functions are actually named
69076 something starting with __ and the normal name is an alias. */
69077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69078 choke me
69079 #else
69080 char (*f) () = $ac_func;
69081 #endif
69082 #ifdef __cplusplus
69084 #endif
69087 main ()
69089 return f != $ac_func;
69091 return 0;
69093 _ACEOF
69094 rm -f conftest.$ac_objext conftest$ac_exeext
69095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69096 (eval $ac_link) 2>conftest.er1
69097 ac_status=$?
69098 grep -v '^ *+' conftest.er1 >conftest.err
69099 rm -f conftest.er1
69100 cat conftest.err >&5
69101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69102 (exit $ac_status); } &&
69103 { ac_try='test -z "$ac_c_werror_flag"
69104 || test ! -s conftest.err'
69105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69106 (eval $ac_try) 2>&5
69107 ac_status=$?
69108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69109 (exit $ac_status); }; } &&
69110 { ac_try='test -s conftest$ac_exeext'
69111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69112 (eval $ac_try) 2>&5
69113 ac_status=$?
69114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69115 (exit $ac_status); }; }; then
69116 eval "$as_ac_var=yes"
69117 else
69118 echo "$as_me: failed program was:" >&5
69119 sed 's/^/| /' conftest.$ac_ext >&5
69121 eval "$as_ac_var=no"
69123 rm -f conftest.err conftest.$ac_objext \
69124 conftest$ac_exeext conftest.$ac_ext
69126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69128 if test `eval echo '${'$as_ac_var'}'` = yes; then
69129 cat >>confdefs.h <<_ACEOF
69130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69131 _ACEOF
69134 done
69136 else
69138 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
69139 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
69140 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69141 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
69142 echo $ECHO_N "(cached) $ECHO_C" >&6
69143 else
69147 ac_ext=cc
69148 ac_cpp='$CXXCPP $CPPFLAGS'
69149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69153 cat >conftest.$ac_ext <<_ACEOF
69154 /* confdefs.h. */
69155 _ACEOF
69156 cat confdefs.h >>conftest.$ac_ext
69157 cat >>conftest.$ac_ext <<_ACEOF
69158 /* end confdefs.h. */
69159 #include <math.h>
69161 main ()
69163 _ldexpl(0, 0);
69165 return 0;
69167 _ACEOF
69168 rm -f conftest.$ac_objext
69169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69170 (eval $ac_compile) 2>conftest.er1
69171 ac_status=$?
69172 grep -v '^ *+' conftest.er1 >conftest.err
69173 rm -f conftest.er1
69174 cat conftest.err >&5
69175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69176 (exit $ac_status); } &&
69177 { ac_try='test -z "$ac_cxx_werror_flag"
69178 || test ! -s conftest.err'
69179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69180 (eval $ac_try) 2>&5
69181 ac_status=$?
69182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69183 (exit $ac_status); }; } &&
69184 { ac_try='test -s conftest.$ac_objext'
69185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69186 (eval $ac_try) 2>&5
69187 ac_status=$?
69188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69189 (exit $ac_status); }; }; then
69190 glibcxx_cv_func__ldexpl_use=yes
69191 else
69192 echo "$as_me: failed program was:" >&5
69193 sed 's/^/| /' conftest.$ac_ext >&5
69195 glibcxx_cv_func__ldexpl_use=no
69197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69198 ac_ext=c
69199 ac_cpp='$CPP $CPPFLAGS'
69200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
69209 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
69211 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69213 for ac_func in _ldexpl
69215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69216 echo "$as_me:$LINENO: checking for $ac_func" >&5
69217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69218 if eval "test \"\${$as_ac_var+set}\" = set"; then
69219 echo $ECHO_N "(cached) $ECHO_C" >&6
69220 else
69221 if test x$gcc_no_link = xyes; then
69222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69224 { (exit 1); exit 1; }; }
69226 cat >conftest.$ac_ext <<_ACEOF
69227 /* confdefs.h. */
69228 _ACEOF
69229 cat confdefs.h >>conftest.$ac_ext
69230 cat >>conftest.$ac_ext <<_ACEOF
69231 /* end confdefs.h. */
69232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69234 #define $ac_func innocuous_$ac_func
69236 /* System header to define __stub macros and hopefully few prototypes,
69237 which can conflict with char $ac_func (); below.
69238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69239 <limits.h> exists even on freestanding compilers. */
69241 #ifdef __STDC__
69242 # include <limits.h>
69243 #else
69244 # include <assert.h>
69245 #endif
69247 #undef $ac_func
69249 /* Override any gcc2 internal prototype to avoid an error. */
69250 #ifdef __cplusplus
69251 extern "C"
69253 #endif
69254 /* We use char because int might match the return type of a gcc2
69255 builtin and then its argument prototype would still apply. */
69256 char $ac_func ();
69257 /* The GNU C library defines this for functions which it implements
69258 to always fail with ENOSYS. Some functions are actually named
69259 something starting with __ and the normal name is an alias. */
69260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69261 choke me
69262 #else
69263 char (*f) () = $ac_func;
69264 #endif
69265 #ifdef __cplusplus
69267 #endif
69270 main ()
69272 return f != $ac_func;
69274 return 0;
69276 _ACEOF
69277 rm -f conftest.$ac_objext conftest$ac_exeext
69278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69279 (eval $ac_link) 2>conftest.er1
69280 ac_status=$?
69281 grep -v '^ *+' conftest.er1 >conftest.err
69282 rm -f conftest.er1
69283 cat conftest.err >&5
69284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69285 (exit $ac_status); } &&
69286 { ac_try='test -z "$ac_c_werror_flag"
69287 || test ! -s conftest.err'
69288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69289 (eval $ac_try) 2>&5
69290 ac_status=$?
69291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69292 (exit $ac_status); }; } &&
69293 { ac_try='test -s conftest$ac_exeext'
69294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69295 (eval $ac_try) 2>&5
69296 ac_status=$?
69297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69298 (exit $ac_status); }; }; then
69299 eval "$as_ac_var=yes"
69300 else
69301 echo "$as_me: failed program was:" >&5
69302 sed 's/^/| /' conftest.$ac_ext >&5
69304 eval "$as_ac_var=no"
69306 rm -f conftest.err conftest.$ac_objext \
69307 conftest$ac_exeext conftest.$ac_ext
69309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69311 if test `eval echo '${'$as_ac_var'}'` = yes; then
69312 cat >>confdefs.h <<_ACEOF
69313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69314 _ACEOF
69317 done
69327 echo "$as_me:$LINENO: checking for logl declaration" >&5
69328 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
69329 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69330 if test "${glibcxx_cv_func_logl_use+set}" = set; then
69331 echo $ECHO_N "(cached) $ECHO_C" >&6
69332 else
69336 ac_ext=cc
69337 ac_cpp='$CXXCPP $CPPFLAGS'
69338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69342 cat >conftest.$ac_ext <<_ACEOF
69343 /* confdefs.h. */
69344 _ACEOF
69345 cat confdefs.h >>conftest.$ac_ext
69346 cat >>conftest.$ac_ext <<_ACEOF
69347 /* end confdefs.h. */
69348 #include <math.h>
69349 #ifdef HAVE_IEEEFP_H
69350 #include <ieeefp.h>
69351 #endif
69354 main ()
69356 logl(0);
69358 return 0;
69360 _ACEOF
69361 rm -f conftest.$ac_objext
69362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69363 (eval $ac_compile) 2>conftest.er1
69364 ac_status=$?
69365 grep -v '^ *+' conftest.er1 >conftest.err
69366 rm -f conftest.er1
69367 cat conftest.err >&5
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); } &&
69370 { ac_try='test -z "$ac_cxx_werror_flag"
69371 || test ! -s conftest.err'
69372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373 (eval $ac_try) 2>&5
69374 ac_status=$?
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); }; } &&
69377 { ac_try='test -s conftest.$ac_objext'
69378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379 (eval $ac_try) 2>&5
69380 ac_status=$?
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); }; }; then
69383 glibcxx_cv_func_logl_use=yes
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69388 glibcxx_cv_func_logl_use=no
69390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69391 ac_ext=c
69392 ac_cpp='$CPP $CPPFLAGS'
69393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
69402 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
69404 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69406 for ac_func in logl
69408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69409 echo "$as_me:$LINENO: checking for $ac_func" >&5
69410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69411 if eval "test \"\${$as_ac_var+set}\" = set"; then
69412 echo $ECHO_N "(cached) $ECHO_C" >&6
69413 else
69414 if test x$gcc_no_link = xyes; then
69415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69417 { (exit 1); exit 1; }; }
69419 cat >conftest.$ac_ext <<_ACEOF
69420 /* confdefs.h. */
69421 _ACEOF
69422 cat confdefs.h >>conftest.$ac_ext
69423 cat >>conftest.$ac_ext <<_ACEOF
69424 /* end confdefs.h. */
69425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69427 #define $ac_func innocuous_$ac_func
69429 /* System header to define __stub macros and hopefully few prototypes,
69430 which can conflict with char $ac_func (); below.
69431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69432 <limits.h> exists even on freestanding compilers. */
69434 #ifdef __STDC__
69435 # include <limits.h>
69436 #else
69437 # include <assert.h>
69438 #endif
69440 #undef $ac_func
69442 /* Override any gcc2 internal prototype to avoid an error. */
69443 #ifdef __cplusplus
69444 extern "C"
69446 #endif
69447 /* We use char because int might match the return type of a gcc2
69448 builtin and then its argument prototype would still apply. */
69449 char $ac_func ();
69450 /* The GNU C library defines this for functions which it implements
69451 to always fail with ENOSYS. Some functions are actually named
69452 something starting with __ and the normal name is an alias. */
69453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69454 choke me
69455 #else
69456 char (*f) () = $ac_func;
69457 #endif
69458 #ifdef __cplusplus
69460 #endif
69463 main ()
69465 return f != $ac_func;
69467 return 0;
69469 _ACEOF
69470 rm -f conftest.$ac_objext conftest$ac_exeext
69471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69472 (eval $ac_link) 2>conftest.er1
69473 ac_status=$?
69474 grep -v '^ *+' conftest.er1 >conftest.err
69475 rm -f conftest.er1
69476 cat conftest.err >&5
69477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69478 (exit $ac_status); } &&
69479 { ac_try='test -z "$ac_c_werror_flag"
69480 || test ! -s conftest.err'
69481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69482 (eval $ac_try) 2>&5
69483 ac_status=$?
69484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69485 (exit $ac_status); }; } &&
69486 { ac_try='test -s conftest$ac_exeext'
69487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69488 (eval $ac_try) 2>&5
69489 ac_status=$?
69490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69491 (exit $ac_status); }; }; then
69492 eval "$as_ac_var=yes"
69493 else
69494 echo "$as_me: failed program was:" >&5
69495 sed 's/^/| /' conftest.$ac_ext >&5
69497 eval "$as_ac_var=no"
69499 rm -f conftest.err conftest.$ac_objext \
69500 conftest$ac_exeext conftest.$ac_ext
69502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69504 if test `eval echo '${'$as_ac_var'}'` = yes; then
69505 cat >>confdefs.h <<_ACEOF
69506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69507 _ACEOF
69510 done
69512 else
69514 echo "$as_me:$LINENO: checking for _logl declaration" >&5
69515 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69516 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69517 if test "${glibcxx_cv_func__logl_use+set}" = set; then
69518 echo $ECHO_N "(cached) $ECHO_C" >&6
69519 else
69523 ac_ext=cc
69524 ac_cpp='$CXXCPP $CPPFLAGS'
69525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69529 cat >conftest.$ac_ext <<_ACEOF
69530 /* confdefs.h. */
69531 _ACEOF
69532 cat confdefs.h >>conftest.$ac_ext
69533 cat >>conftest.$ac_ext <<_ACEOF
69534 /* end confdefs.h. */
69535 #include <math.h>
69536 #ifdef HAVE_IEEEFP_H
69537 #include <ieeefp.h>
69538 #endif
69541 main ()
69543 _logl(0);
69545 return 0;
69547 _ACEOF
69548 rm -f conftest.$ac_objext
69549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69550 (eval $ac_compile) 2>conftest.er1
69551 ac_status=$?
69552 grep -v '^ *+' conftest.er1 >conftest.err
69553 rm -f conftest.er1
69554 cat conftest.err >&5
69555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69556 (exit $ac_status); } &&
69557 { ac_try='test -z "$ac_cxx_werror_flag"
69558 || test ! -s conftest.err'
69559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69560 (eval $ac_try) 2>&5
69561 ac_status=$?
69562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69563 (exit $ac_status); }; } &&
69564 { ac_try='test -s conftest.$ac_objext'
69565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69566 (eval $ac_try) 2>&5
69567 ac_status=$?
69568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69569 (exit $ac_status); }; }; then
69570 glibcxx_cv_func__logl_use=yes
69571 else
69572 echo "$as_me: failed program was:" >&5
69573 sed 's/^/| /' conftest.$ac_ext >&5
69575 glibcxx_cv_func__logl_use=no
69577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69578 ac_ext=c
69579 ac_cpp='$CPP $CPPFLAGS'
69580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69589 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69591 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69593 for ac_func in _logl
69595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69596 echo "$as_me:$LINENO: checking for $ac_func" >&5
69597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69598 if eval "test \"\${$as_ac_var+set}\" = set"; then
69599 echo $ECHO_N "(cached) $ECHO_C" >&6
69600 else
69601 if test x$gcc_no_link = xyes; then
69602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69604 { (exit 1); exit 1; }; }
69606 cat >conftest.$ac_ext <<_ACEOF
69607 /* confdefs.h. */
69608 _ACEOF
69609 cat confdefs.h >>conftest.$ac_ext
69610 cat >>conftest.$ac_ext <<_ACEOF
69611 /* end confdefs.h. */
69612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69614 #define $ac_func innocuous_$ac_func
69616 /* System header to define __stub macros and hopefully few prototypes,
69617 which can conflict with char $ac_func (); below.
69618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69619 <limits.h> exists even on freestanding compilers. */
69621 #ifdef __STDC__
69622 # include <limits.h>
69623 #else
69624 # include <assert.h>
69625 #endif
69627 #undef $ac_func
69629 /* Override any gcc2 internal prototype to avoid an error. */
69630 #ifdef __cplusplus
69631 extern "C"
69633 #endif
69634 /* We use char because int might match the return type of a gcc2
69635 builtin and then its argument prototype would still apply. */
69636 char $ac_func ();
69637 /* The GNU C library defines this for functions which it implements
69638 to always fail with ENOSYS. Some functions are actually named
69639 something starting with __ and the normal name is an alias. */
69640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69641 choke me
69642 #else
69643 char (*f) () = $ac_func;
69644 #endif
69645 #ifdef __cplusplus
69647 #endif
69650 main ()
69652 return f != $ac_func;
69654 return 0;
69656 _ACEOF
69657 rm -f conftest.$ac_objext conftest$ac_exeext
69658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69659 (eval $ac_link) 2>conftest.er1
69660 ac_status=$?
69661 grep -v '^ *+' conftest.er1 >conftest.err
69662 rm -f conftest.er1
69663 cat conftest.err >&5
69664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665 (exit $ac_status); } &&
69666 { ac_try='test -z "$ac_c_werror_flag"
69667 || test ! -s conftest.err'
69668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69669 (eval $ac_try) 2>&5
69670 ac_status=$?
69671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69672 (exit $ac_status); }; } &&
69673 { ac_try='test -s conftest$ac_exeext'
69674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69675 (eval $ac_try) 2>&5
69676 ac_status=$?
69677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69678 (exit $ac_status); }; }; then
69679 eval "$as_ac_var=yes"
69680 else
69681 echo "$as_me: failed program was:" >&5
69682 sed 's/^/| /' conftest.$ac_ext >&5
69684 eval "$as_ac_var=no"
69686 rm -f conftest.err conftest.$ac_objext \
69687 conftest$ac_exeext conftest.$ac_ext
69689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69691 if test `eval echo '${'$as_ac_var'}'` = yes; then
69692 cat >>confdefs.h <<_ACEOF
69693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69694 _ACEOF
69697 done
69707 echo "$as_me:$LINENO: checking for log10l declaration" >&5
69708 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69709 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69710 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69711 echo $ECHO_N "(cached) $ECHO_C" >&6
69712 else
69716 ac_ext=cc
69717 ac_cpp='$CXXCPP $CPPFLAGS'
69718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69722 cat >conftest.$ac_ext <<_ACEOF
69723 /* confdefs.h. */
69724 _ACEOF
69725 cat confdefs.h >>conftest.$ac_ext
69726 cat >>conftest.$ac_ext <<_ACEOF
69727 /* end confdefs.h. */
69728 #include <math.h>
69729 #ifdef HAVE_IEEEFP_H
69730 #include <ieeefp.h>
69731 #endif
69734 main ()
69736 log10l(0);
69738 return 0;
69740 _ACEOF
69741 rm -f conftest.$ac_objext
69742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69743 (eval $ac_compile) 2>conftest.er1
69744 ac_status=$?
69745 grep -v '^ *+' conftest.er1 >conftest.err
69746 rm -f conftest.er1
69747 cat conftest.err >&5
69748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69749 (exit $ac_status); } &&
69750 { ac_try='test -z "$ac_cxx_werror_flag"
69751 || test ! -s conftest.err'
69752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753 (eval $ac_try) 2>&5
69754 ac_status=$?
69755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756 (exit $ac_status); }; } &&
69757 { ac_try='test -s conftest.$ac_objext'
69758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759 (eval $ac_try) 2>&5
69760 ac_status=$?
69761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762 (exit $ac_status); }; }; then
69763 glibcxx_cv_func_log10l_use=yes
69764 else
69765 echo "$as_me: failed program was:" >&5
69766 sed 's/^/| /' conftest.$ac_ext >&5
69768 glibcxx_cv_func_log10l_use=no
69770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69771 ac_ext=c
69772 ac_cpp='$CPP $CPPFLAGS'
69773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69782 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69784 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69786 for ac_func in log10l
69788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69789 echo "$as_me:$LINENO: checking for $ac_func" >&5
69790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69791 if eval "test \"\${$as_ac_var+set}\" = set"; then
69792 echo $ECHO_N "(cached) $ECHO_C" >&6
69793 else
69794 if test x$gcc_no_link = xyes; then
69795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69797 { (exit 1); exit 1; }; }
69799 cat >conftest.$ac_ext <<_ACEOF
69800 /* confdefs.h. */
69801 _ACEOF
69802 cat confdefs.h >>conftest.$ac_ext
69803 cat >>conftest.$ac_ext <<_ACEOF
69804 /* end confdefs.h. */
69805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69807 #define $ac_func innocuous_$ac_func
69809 /* System header to define __stub macros and hopefully few prototypes,
69810 which can conflict with char $ac_func (); below.
69811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69812 <limits.h> exists even on freestanding compilers. */
69814 #ifdef __STDC__
69815 # include <limits.h>
69816 #else
69817 # include <assert.h>
69818 #endif
69820 #undef $ac_func
69822 /* Override any gcc2 internal prototype to avoid an error. */
69823 #ifdef __cplusplus
69824 extern "C"
69826 #endif
69827 /* We use char because int might match the return type of a gcc2
69828 builtin and then its argument prototype would still apply. */
69829 char $ac_func ();
69830 /* The GNU C library defines this for functions which it implements
69831 to always fail with ENOSYS. Some functions are actually named
69832 something starting with __ and the normal name is an alias. */
69833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69834 choke me
69835 #else
69836 char (*f) () = $ac_func;
69837 #endif
69838 #ifdef __cplusplus
69840 #endif
69843 main ()
69845 return f != $ac_func;
69847 return 0;
69849 _ACEOF
69850 rm -f conftest.$ac_objext conftest$ac_exeext
69851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69852 (eval $ac_link) 2>conftest.er1
69853 ac_status=$?
69854 grep -v '^ *+' conftest.er1 >conftest.err
69855 rm -f conftest.er1
69856 cat conftest.err >&5
69857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69858 (exit $ac_status); } &&
69859 { ac_try='test -z "$ac_c_werror_flag"
69860 || test ! -s conftest.err'
69861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69862 (eval $ac_try) 2>&5
69863 ac_status=$?
69864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69865 (exit $ac_status); }; } &&
69866 { ac_try='test -s conftest$ac_exeext'
69867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69868 (eval $ac_try) 2>&5
69869 ac_status=$?
69870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69871 (exit $ac_status); }; }; then
69872 eval "$as_ac_var=yes"
69873 else
69874 echo "$as_me: failed program was:" >&5
69875 sed 's/^/| /' conftest.$ac_ext >&5
69877 eval "$as_ac_var=no"
69879 rm -f conftest.err conftest.$ac_objext \
69880 conftest$ac_exeext conftest.$ac_ext
69882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69884 if test `eval echo '${'$as_ac_var'}'` = yes; then
69885 cat >>confdefs.h <<_ACEOF
69886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69887 _ACEOF
69890 done
69892 else
69894 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69895 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69896 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69897 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69898 echo $ECHO_N "(cached) $ECHO_C" >&6
69899 else
69903 ac_ext=cc
69904 ac_cpp='$CXXCPP $CPPFLAGS'
69905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69909 cat >conftest.$ac_ext <<_ACEOF
69910 /* confdefs.h. */
69911 _ACEOF
69912 cat confdefs.h >>conftest.$ac_ext
69913 cat >>conftest.$ac_ext <<_ACEOF
69914 /* end confdefs.h. */
69915 #include <math.h>
69916 #ifdef HAVE_IEEEFP_H
69917 #include <ieeefp.h>
69918 #endif
69921 main ()
69923 _log10l(0);
69925 return 0;
69927 _ACEOF
69928 rm -f conftest.$ac_objext
69929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69930 (eval $ac_compile) 2>conftest.er1
69931 ac_status=$?
69932 grep -v '^ *+' conftest.er1 >conftest.err
69933 rm -f conftest.er1
69934 cat conftest.err >&5
69935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69936 (exit $ac_status); } &&
69937 { ac_try='test -z "$ac_cxx_werror_flag"
69938 || test ! -s conftest.err'
69939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69940 (eval $ac_try) 2>&5
69941 ac_status=$?
69942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69943 (exit $ac_status); }; } &&
69944 { ac_try='test -s conftest.$ac_objext'
69945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69946 (eval $ac_try) 2>&5
69947 ac_status=$?
69948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69949 (exit $ac_status); }; }; then
69950 glibcxx_cv_func__log10l_use=yes
69951 else
69952 echo "$as_me: failed program was:" >&5
69953 sed 's/^/| /' conftest.$ac_ext >&5
69955 glibcxx_cv_func__log10l_use=no
69957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69958 ac_ext=c
69959 ac_cpp='$CPP $CPPFLAGS'
69960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69969 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69971 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69973 for ac_func in _log10l
69975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69976 echo "$as_me:$LINENO: checking for $ac_func" >&5
69977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69978 if eval "test \"\${$as_ac_var+set}\" = set"; then
69979 echo $ECHO_N "(cached) $ECHO_C" >&6
69980 else
69981 if test x$gcc_no_link = xyes; then
69982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69984 { (exit 1); exit 1; }; }
69986 cat >conftest.$ac_ext <<_ACEOF
69987 /* confdefs.h. */
69988 _ACEOF
69989 cat confdefs.h >>conftest.$ac_ext
69990 cat >>conftest.$ac_ext <<_ACEOF
69991 /* end confdefs.h. */
69992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69994 #define $ac_func innocuous_$ac_func
69996 /* System header to define __stub macros and hopefully few prototypes,
69997 which can conflict with char $ac_func (); below.
69998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69999 <limits.h> exists even on freestanding compilers. */
70001 #ifdef __STDC__
70002 # include <limits.h>
70003 #else
70004 # include <assert.h>
70005 #endif
70007 #undef $ac_func
70009 /* Override any gcc2 internal prototype to avoid an error. */
70010 #ifdef __cplusplus
70011 extern "C"
70013 #endif
70014 /* We use char because int might match the return type of a gcc2
70015 builtin and then its argument prototype would still apply. */
70016 char $ac_func ();
70017 /* The GNU C library defines this for functions which it implements
70018 to always fail with ENOSYS. Some functions are actually named
70019 something starting with __ and the normal name is an alias. */
70020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70021 choke me
70022 #else
70023 char (*f) () = $ac_func;
70024 #endif
70025 #ifdef __cplusplus
70027 #endif
70030 main ()
70032 return f != $ac_func;
70034 return 0;
70036 _ACEOF
70037 rm -f conftest.$ac_objext conftest$ac_exeext
70038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70039 (eval $ac_link) 2>conftest.er1
70040 ac_status=$?
70041 grep -v '^ *+' conftest.er1 >conftest.err
70042 rm -f conftest.er1
70043 cat conftest.err >&5
70044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70045 (exit $ac_status); } &&
70046 { ac_try='test -z "$ac_c_werror_flag"
70047 || test ! -s conftest.err'
70048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70049 (eval $ac_try) 2>&5
70050 ac_status=$?
70051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70052 (exit $ac_status); }; } &&
70053 { ac_try='test -s conftest$ac_exeext'
70054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70055 (eval $ac_try) 2>&5
70056 ac_status=$?
70057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70058 (exit $ac_status); }; }; then
70059 eval "$as_ac_var=yes"
70060 else
70061 echo "$as_me: failed program was:" >&5
70062 sed 's/^/| /' conftest.$ac_ext >&5
70064 eval "$as_ac_var=no"
70066 rm -f conftest.err conftest.$ac_objext \
70067 conftest$ac_exeext conftest.$ac_ext
70069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70071 if test `eval echo '${'$as_ac_var'}'` = yes; then
70072 cat >>confdefs.h <<_ACEOF
70073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70074 _ACEOF
70077 done
70087 echo "$as_me:$LINENO: checking for modfl declaration" >&5
70088 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
70089 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70090 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
70091 echo $ECHO_N "(cached) $ECHO_C" >&6
70092 else
70096 ac_ext=cc
70097 ac_cpp='$CXXCPP $CPPFLAGS'
70098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70102 cat >conftest.$ac_ext <<_ACEOF
70103 /* confdefs.h. */
70104 _ACEOF
70105 cat confdefs.h >>conftest.$ac_ext
70106 cat >>conftest.$ac_ext <<_ACEOF
70107 /* end confdefs.h. */
70108 #include <math.h>
70110 main ()
70112 modfl(0, 0);
70114 return 0;
70116 _ACEOF
70117 rm -f conftest.$ac_objext
70118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70119 (eval $ac_compile) 2>conftest.er1
70120 ac_status=$?
70121 grep -v '^ *+' conftest.er1 >conftest.err
70122 rm -f conftest.er1
70123 cat conftest.err >&5
70124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70125 (exit $ac_status); } &&
70126 { ac_try='test -z "$ac_cxx_werror_flag"
70127 || test ! -s conftest.err'
70128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70129 (eval $ac_try) 2>&5
70130 ac_status=$?
70131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70132 (exit $ac_status); }; } &&
70133 { ac_try='test -s conftest.$ac_objext'
70134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135 (eval $ac_try) 2>&5
70136 ac_status=$?
70137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138 (exit $ac_status); }; }; then
70139 glibcxx_cv_func_modfl_use=yes
70140 else
70141 echo "$as_me: failed program was:" >&5
70142 sed 's/^/| /' conftest.$ac_ext >&5
70144 glibcxx_cv_func_modfl_use=no
70146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70147 ac_ext=c
70148 ac_cpp='$CPP $CPPFLAGS'
70149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
70158 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
70160 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70162 for ac_func in modfl
70164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70165 echo "$as_me:$LINENO: checking for $ac_func" >&5
70166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70167 if eval "test \"\${$as_ac_var+set}\" = set"; then
70168 echo $ECHO_N "(cached) $ECHO_C" >&6
70169 else
70170 if test x$gcc_no_link = xyes; then
70171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70173 { (exit 1); exit 1; }; }
70175 cat >conftest.$ac_ext <<_ACEOF
70176 /* confdefs.h. */
70177 _ACEOF
70178 cat confdefs.h >>conftest.$ac_ext
70179 cat >>conftest.$ac_ext <<_ACEOF
70180 /* end confdefs.h. */
70181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70183 #define $ac_func innocuous_$ac_func
70185 /* System header to define __stub macros and hopefully few prototypes,
70186 which can conflict with char $ac_func (); below.
70187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70188 <limits.h> exists even on freestanding compilers. */
70190 #ifdef __STDC__
70191 # include <limits.h>
70192 #else
70193 # include <assert.h>
70194 #endif
70196 #undef $ac_func
70198 /* Override any gcc2 internal prototype to avoid an error. */
70199 #ifdef __cplusplus
70200 extern "C"
70202 #endif
70203 /* We use char because int might match the return type of a gcc2
70204 builtin and then its argument prototype would still apply. */
70205 char $ac_func ();
70206 /* The GNU C library defines this for functions which it implements
70207 to always fail with ENOSYS. Some functions are actually named
70208 something starting with __ and the normal name is an alias. */
70209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70210 choke me
70211 #else
70212 char (*f) () = $ac_func;
70213 #endif
70214 #ifdef __cplusplus
70216 #endif
70219 main ()
70221 return f != $ac_func;
70223 return 0;
70225 _ACEOF
70226 rm -f conftest.$ac_objext conftest$ac_exeext
70227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70228 (eval $ac_link) 2>conftest.er1
70229 ac_status=$?
70230 grep -v '^ *+' conftest.er1 >conftest.err
70231 rm -f conftest.er1
70232 cat conftest.err >&5
70233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70234 (exit $ac_status); } &&
70235 { ac_try='test -z "$ac_c_werror_flag"
70236 || test ! -s conftest.err'
70237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70238 (eval $ac_try) 2>&5
70239 ac_status=$?
70240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70241 (exit $ac_status); }; } &&
70242 { ac_try='test -s conftest$ac_exeext'
70243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70244 (eval $ac_try) 2>&5
70245 ac_status=$?
70246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70247 (exit $ac_status); }; }; then
70248 eval "$as_ac_var=yes"
70249 else
70250 echo "$as_me: failed program was:" >&5
70251 sed 's/^/| /' conftest.$ac_ext >&5
70253 eval "$as_ac_var=no"
70255 rm -f conftest.err conftest.$ac_objext \
70256 conftest$ac_exeext conftest.$ac_ext
70258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70260 if test `eval echo '${'$as_ac_var'}'` = yes; then
70261 cat >>confdefs.h <<_ACEOF
70262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70263 _ACEOF
70266 done
70268 else
70270 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
70271 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
70272 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70273 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
70274 echo $ECHO_N "(cached) $ECHO_C" >&6
70275 else
70279 ac_ext=cc
70280 ac_cpp='$CXXCPP $CPPFLAGS'
70281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70285 cat >conftest.$ac_ext <<_ACEOF
70286 /* confdefs.h. */
70287 _ACEOF
70288 cat confdefs.h >>conftest.$ac_ext
70289 cat >>conftest.$ac_ext <<_ACEOF
70290 /* end confdefs.h. */
70291 #include <math.h>
70293 main ()
70295 _modfl(0, 0);
70297 return 0;
70299 _ACEOF
70300 rm -f conftest.$ac_objext
70301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70302 (eval $ac_compile) 2>conftest.er1
70303 ac_status=$?
70304 grep -v '^ *+' conftest.er1 >conftest.err
70305 rm -f conftest.er1
70306 cat conftest.err >&5
70307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70308 (exit $ac_status); } &&
70309 { ac_try='test -z "$ac_cxx_werror_flag"
70310 || test ! -s conftest.err'
70311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70312 (eval $ac_try) 2>&5
70313 ac_status=$?
70314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70315 (exit $ac_status); }; } &&
70316 { ac_try='test -s conftest.$ac_objext'
70317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70318 (eval $ac_try) 2>&5
70319 ac_status=$?
70320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70321 (exit $ac_status); }; }; then
70322 glibcxx_cv_func__modfl_use=yes
70323 else
70324 echo "$as_me: failed program was:" >&5
70325 sed 's/^/| /' conftest.$ac_ext >&5
70327 glibcxx_cv_func__modfl_use=no
70329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70330 ac_ext=c
70331 ac_cpp='$CPP $CPPFLAGS'
70332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
70341 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
70343 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70345 for ac_func in _modfl
70347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70348 echo "$as_me:$LINENO: checking for $ac_func" >&5
70349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70350 if eval "test \"\${$as_ac_var+set}\" = set"; then
70351 echo $ECHO_N "(cached) $ECHO_C" >&6
70352 else
70353 if test x$gcc_no_link = xyes; then
70354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70356 { (exit 1); exit 1; }; }
70358 cat >conftest.$ac_ext <<_ACEOF
70359 /* confdefs.h. */
70360 _ACEOF
70361 cat confdefs.h >>conftest.$ac_ext
70362 cat >>conftest.$ac_ext <<_ACEOF
70363 /* end confdefs.h. */
70364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70366 #define $ac_func innocuous_$ac_func
70368 /* System header to define __stub macros and hopefully few prototypes,
70369 which can conflict with char $ac_func (); below.
70370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70371 <limits.h> exists even on freestanding compilers. */
70373 #ifdef __STDC__
70374 # include <limits.h>
70375 #else
70376 # include <assert.h>
70377 #endif
70379 #undef $ac_func
70381 /* Override any gcc2 internal prototype to avoid an error. */
70382 #ifdef __cplusplus
70383 extern "C"
70385 #endif
70386 /* We use char because int might match the return type of a gcc2
70387 builtin and then its argument prototype would still apply. */
70388 char $ac_func ();
70389 /* The GNU C library defines this for functions which it implements
70390 to always fail with ENOSYS. Some functions are actually named
70391 something starting with __ and the normal name is an alias. */
70392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70393 choke me
70394 #else
70395 char (*f) () = $ac_func;
70396 #endif
70397 #ifdef __cplusplus
70399 #endif
70402 main ()
70404 return f != $ac_func;
70406 return 0;
70408 _ACEOF
70409 rm -f conftest.$ac_objext conftest$ac_exeext
70410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70411 (eval $ac_link) 2>conftest.er1
70412 ac_status=$?
70413 grep -v '^ *+' conftest.er1 >conftest.err
70414 rm -f conftest.er1
70415 cat conftest.err >&5
70416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70417 (exit $ac_status); } &&
70418 { ac_try='test -z "$ac_c_werror_flag"
70419 || test ! -s conftest.err'
70420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70421 (eval $ac_try) 2>&5
70422 ac_status=$?
70423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70424 (exit $ac_status); }; } &&
70425 { ac_try='test -s conftest$ac_exeext'
70426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70427 (eval $ac_try) 2>&5
70428 ac_status=$?
70429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70430 (exit $ac_status); }; }; then
70431 eval "$as_ac_var=yes"
70432 else
70433 echo "$as_me: failed program was:" >&5
70434 sed 's/^/| /' conftest.$ac_ext >&5
70436 eval "$as_ac_var=no"
70438 rm -f conftest.err conftest.$ac_objext \
70439 conftest$ac_exeext conftest.$ac_ext
70441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70443 if test `eval echo '${'$as_ac_var'}'` = yes; then
70444 cat >>confdefs.h <<_ACEOF
70445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70446 _ACEOF
70449 done
70459 echo "$as_me:$LINENO: checking for powl declaration" >&5
70460 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
70461 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70462 if test "${glibcxx_cv_func_powl_use+set}" = set; then
70463 echo $ECHO_N "(cached) $ECHO_C" >&6
70464 else
70468 ac_ext=cc
70469 ac_cpp='$CXXCPP $CPPFLAGS'
70470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70474 cat >conftest.$ac_ext <<_ACEOF
70475 /* confdefs.h. */
70476 _ACEOF
70477 cat confdefs.h >>conftest.$ac_ext
70478 cat >>conftest.$ac_ext <<_ACEOF
70479 /* end confdefs.h. */
70480 #include <math.h>
70482 main ()
70484 powl(0, 0);
70486 return 0;
70488 _ACEOF
70489 rm -f conftest.$ac_objext
70490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70491 (eval $ac_compile) 2>conftest.er1
70492 ac_status=$?
70493 grep -v '^ *+' conftest.er1 >conftest.err
70494 rm -f conftest.er1
70495 cat conftest.err >&5
70496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497 (exit $ac_status); } &&
70498 { ac_try='test -z "$ac_cxx_werror_flag"
70499 || test ! -s conftest.err'
70500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70501 (eval $ac_try) 2>&5
70502 ac_status=$?
70503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504 (exit $ac_status); }; } &&
70505 { ac_try='test -s conftest.$ac_objext'
70506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70507 (eval $ac_try) 2>&5
70508 ac_status=$?
70509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510 (exit $ac_status); }; }; then
70511 glibcxx_cv_func_powl_use=yes
70512 else
70513 echo "$as_me: failed program was:" >&5
70514 sed 's/^/| /' conftest.$ac_ext >&5
70516 glibcxx_cv_func_powl_use=no
70518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70519 ac_ext=c
70520 ac_cpp='$CPP $CPPFLAGS'
70521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70530 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70532 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70534 for ac_func in powl
70536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70537 echo "$as_me:$LINENO: checking for $ac_func" >&5
70538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70539 if eval "test \"\${$as_ac_var+set}\" = set"; then
70540 echo $ECHO_N "(cached) $ECHO_C" >&6
70541 else
70542 if test x$gcc_no_link = xyes; then
70543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70545 { (exit 1); exit 1; }; }
70547 cat >conftest.$ac_ext <<_ACEOF
70548 /* confdefs.h. */
70549 _ACEOF
70550 cat confdefs.h >>conftest.$ac_ext
70551 cat >>conftest.$ac_ext <<_ACEOF
70552 /* end confdefs.h. */
70553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70555 #define $ac_func innocuous_$ac_func
70557 /* System header to define __stub macros and hopefully few prototypes,
70558 which can conflict with char $ac_func (); below.
70559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70560 <limits.h> exists even on freestanding compilers. */
70562 #ifdef __STDC__
70563 # include <limits.h>
70564 #else
70565 # include <assert.h>
70566 #endif
70568 #undef $ac_func
70570 /* Override any gcc2 internal prototype to avoid an error. */
70571 #ifdef __cplusplus
70572 extern "C"
70574 #endif
70575 /* We use char because int might match the return type of a gcc2
70576 builtin and then its argument prototype would still apply. */
70577 char $ac_func ();
70578 /* The GNU C library defines this for functions which it implements
70579 to always fail with ENOSYS. Some functions are actually named
70580 something starting with __ and the normal name is an alias. */
70581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70582 choke me
70583 #else
70584 char (*f) () = $ac_func;
70585 #endif
70586 #ifdef __cplusplus
70588 #endif
70591 main ()
70593 return f != $ac_func;
70595 return 0;
70597 _ACEOF
70598 rm -f conftest.$ac_objext conftest$ac_exeext
70599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70600 (eval $ac_link) 2>conftest.er1
70601 ac_status=$?
70602 grep -v '^ *+' conftest.er1 >conftest.err
70603 rm -f conftest.er1
70604 cat conftest.err >&5
70605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70606 (exit $ac_status); } &&
70607 { ac_try='test -z "$ac_c_werror_flag"
70608 || test ! -s conftest.err'
70609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70610 (eval $ac_try) 2>&5
70611 ac_status=$?
70612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70613 (exit $ac_status); }; } &&
70614 { ac_try='test -s conftest$ac_exeext'
70615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70616 (eval $ac_try) 2>&5
70617 ac_status=$?
70618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70619 (exit $ac_status); }; }; then
70620 eval "$as_ac_var=yes"
70621 else
70622 echo "$as_me: failed program was:" >&5
70623 sed 's/^/| /' conftest.$ac_ext >&5
70625 eval "$as_ac_var=no"
70627 rm -f conftest.err conftest.$ac_objext \
70628 conftest$ac_exeext conftest.$ac_ext
70630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70632 if test `eval echo '${'$as_ac_var'}'` = yes; then
70633 cat >>confdefs.h <<_ACEOF
70634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70635 _ACEOF
70638 done
70640 else
70642 echo "$as_me:$LINENO: checking for _powl declaration" >&5
70643 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70644 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70645 if test "${glibcxx_cv_func__powl_use+set}" = set; then
70646 echo $ECHO_N "(cached) $ECHO_C" >&6
70647 else
70651 ac_ext=cc
70652 ac_cpp='$CXXCPP $CPPFLAGS'
70653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70657 cat >conftest.$ac_ext <<_ACEOF
70658 /* confdefs.h. */
70659 _ACEOF
70660 cat confdefs.h >>conftest.$ac_ext
70661 cat >>conftest.$ac_ext <<_ACEOF
70662 /* end confdefs.h. */
70663 #include <math.h>
70665 main ()
70667 _powl(0, 0);
70669 return 0;
70671 _ACEOF
70672 rm -f conftest.$ac_objext
70673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70674 (eval $ac_compile) 2>conftest.er1
70675 ac_status=$?
70676 grep -v '^ *+' conftest.er1 >conftest.err
70677 rm -f conftest.er1
70678 cat conftest.err >&5
70679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70680 (exit $ac_status); } &&
70681 { ac_try='test -z "$ac_cxx_werror_flag"
70682 || test ! -s conftest.err'
70683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70684 (eval $ac_try) 2>&5
70685 ac_status=$?
70686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70687 (exit $ac_status); }; } &&
70688 { ac_try='test -s conftest.$ac_objext'
70689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70690 (eval $ac_try) 2>&5
70691 ac_status=$?
70692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70693 (exit $ac_status); }; }; then
70694 glibcxx_cv_func__powl_use=yes
70695 else
70696 echo "$as_me: failed program was:" >&5
70697 sed 's/^/| /' conftest.$ac_ext >&5
70699 glibcxx_cv_func__powl_use=no
70701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70702 ac_ext=c
70703 ac_cpp='$CPP $CPPFLAGS'
70704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70713 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70715 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70717 for ac_func in _powl
70719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70720 echo "$as_me:$LINENO: checking for $ac_func" >&5
70721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70722 if eval "test \"\${$as_ac_var+set}\" = set"; then
70723 echo $ECHO_N "(cached) $ECHO_C" >&6
70724 else
70725 if test x$gcc_no_link = xyes; then
70726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70728 { (exit 1); exit 1; }; }
70730 cat >conftest.$ac_ext <<_ACEOF
70731 /* confdefs.h. */
70732 _ACEOF
70733 cat confdefs.h >>conftest.$ac_ext
70734 cat >>conftest.$ac_ext <<_ACEOF
70735 /* end confdefs.h. */
70736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70738 #define $ac_func innocuous_$ac_func
70740 /* System header to define __stub macros and hopefully few prototypes,
70741 which can conflict with char $ac_func (); below.
70742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70743 <limits.h> exists even on freestanding compilers. */
70745 #ifdef __STDC__
70746 # include <limits.h>
70747 #else
70748 # include <assert.h>
70749 #endif
70751 #undef $ac_func
70753 /* Override any gcc2 internal prototype to avoid an error. */
70754 #ifdef __cplusplus
70755 extern "C"
70757 #endif
70758 /* We use char because int might match the return type of a gcc2
70759 builtin and then its argument prototype would still apply. */
70760 char $ac_func ();
70761 /* The GNU C library defines this for functions which it implements
70762 to always fail with ENOSYS. Some functions are actually named
70763 something starting with __ and the normal name is an alias. */
70764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70765 choke me
70766 #else
70767 char (*f) () = $ac_func;
70768 #endif
70769 #ifdef __cplusplus
70771 #endif
70774 main ()
70776 return f != $ac_func;
70778 return 0;
70780 _ACEOF
70781 rm -f conftest.$ac_objext conftest$ac_exeext
70782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70783 (eval $ac_link) 2>conftest.er1
70784 ac_status=$?
70785 grep -v '^ *+' conftest.er1 >conftest.err
70786 rm -f conftest.er1
70787 cat conftest.err >&5
70788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70789 (exit $ac_status); } &&
70790 { ac_try='test -z "$ac_c_werror_flag"
70791 || test ! -s conftest.err'
70792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70793 (eval $ac_try) 2>&5
70794 ac_status=$?
70795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70796 (exit $ac_status); }; } &&
70797 { ac_try='test -s conftest$ac_exeext'
70798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70799 (eval $ac_try) 2>&5
70800 ac_status=$?
70801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70802 (exit $ac_status); }; }; then
70803 eval "$as_ac_var=yes"
70804 else
70805 echo "$as_me: failed program was:" >&5
70806 sed 's/^/| /' conftest.$ac_ext >&5
70808 eval "$as_ac_var=no"
70810 rm -f conftest.err conftest.$ac_objext \
70811 conftest$ac_exeext conftest.$ac_ext
70813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70815 if test `eval echo '${'$as_ac_var'}'` = yes; then
70816 cat >>confdefs.h <<_ACEOF
70817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70818 _ACEOF
70821 done
70831 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70832 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70833 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70834 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70835 echo $ECHO_N "(cached) $ECHO_C" >&6
70836 else
70840 ac_ext=cc
70841 ac_cpp='$CXXCPP $CPPFLAGS'
70842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70846 cat >conftest.$ac_ext <<_ACEOF
70847 /* confdefs.h. */
70848 _ACEOF
70849 cat confdefs.h >>conftest.$ac_ext
70850 cat >>conftest.$ac_ext <<_ACEOF
70851 /* end confdefs.h. */
70852 #include <math.h>
70853 #ifdef HAVE_IEEEFP_H
70854 #include <ieeefp.h>
70855 #endif
70858 main ()
70860 sqrtl(0);
70862 return 0;
70864 _ACEOF
70865 rm -f conftest.$ac_objext
70866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70867 (eval $ac_compile) 2>conftest.er1
70868 ac_status=$?
70869 grep -v '^ *+' conftest.er1 >conftest.err
70870 rm -f conftest.er1
70871 cat conftest.err >&5
70872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70873 (exit $ac_status); } &&
70874 { ac_try='test -z "$ac_cxx_werror_flag"
70875 || test ! -s conftest.err'
70876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877 (eval $ac_try) 2>&5
70878 ac_status=$?
70879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880 (exit $ac_status); }; } &&
70881 { ac_try='test -s conftest.$ac_objext'
70882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70883 (eval $ac_try) 2>&5
70884 ac_status=$?
70885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70886 (exit $ac_status); }; }; then
70887 glibcxx_cv_func_sqrtl_use=yes
70888 else
70889 echo "$as_me: failed program was:" >&5
70890 sed 's/^/| /' conftest.$ac_ext >&5
70892 glibcxx_cv_func_sqrtl_use=no
70894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70895 ac_ext=c
70896 ac_cpp='$CPP $CPPFLAGS'
70897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70906 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70908 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70910 for ac_func in sqrtl
70912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70913 echo "$as_me:$LINENO: checking for $ac_func" >&5
70914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70915 if eval "test \"\${$as_ac_var+set}\" = set"; then
70916 echo $ECHO_N "(cached) $ECHO_C" >&6
70917 else
70918 if test x$gcc_no_link = xyes; then
70919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70921 { (exit 1); exit 1; }; }
70923 cat >conftest.$ac_ext <<_ACEOF
70924 /* confdefs.h. */
70925 _ACEOF
70926 cat confdefs.h >>conftest.$ac_ext
70927 cat >>conftest.$ac_ext <<_ACEOF
70928 /* end confdefs.h. */
70929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70931 #define $ac_func innocuous_$ac_func
70933 /* System header to define __stub macros and hopefully few prototypes,
70934 which can conflict with char $ac_func (); below.
70935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70936 <limits.h> exists even on freestanding compilers. */
70938 #ifdef __STDC__
70939 # include <limits.h>
70940 #else
70941 # include <assert.h>
70942 #endif
70944 #undef $ac_func
70946 /* Override any gcc2 internal prototype to avoid an error. */
70947 #ifdef __cplusplus
70948 extern "C"
70950 #endif
70951 /* We use char because int might match the return type of a gcc2
70952 builtin and then its argument prototype would still apply. */
70953 char $ac_func ();
70954 /* The GNU C library defines this for functions which it implements
70955 to always fail with ENOSYS. Some functions are actually named
70956 something starting with __ and the normal name is an alias. */
70957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70958 choke me
70959 #else
70960 char (*f) () = $ac_func;
70961 #endif
70962 #ifdef __cplusplus
70964 #endif
70967 main ()
70969 return f != $ac_func;
70971 return 0;
70973 _ACEOF
70974 rm -f conftest.$ac_objext conftest$ac_exeext
70975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70976 (eval $ac_link) 2>conftest.er1
70977 ac_status=$?
70978 grep -v '^ *+' conftest.er1 >conftest.err
70979 rm -f conftest.er1
70980 cat conftest.err >&5
70981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70982 (exit $ac_status); } &&
70983 { ac_try='test -z "$ac_c_werror_flag"
70984 || test ! -s conftest.err'
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); }; } &&
70990 { ac_try='test -s conftest$ac_exeext'
70991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70992 (eval $ac_try) 2>&5
70993 ac_status=$?
70994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70995 (exit $ac_status); }; }; then
70996 eval "$as_ac_var=yes"
70997 else
70998 echo "$as_me: failed program was:" >&5
70999 sed 's/^/| /' conftest.$ac_ext >&5
71001 eval "$as_ac_var=no"
71003 rm -f conftest.err conftest.$ac_objext \
71004 conftest$ac_exeext conftest.$ac_ext
71006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71008 if test `eval echo '${'$as_ac_var'}'` = yes; then
71009 cat >>confdefs.h <<_ACEOF
71010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71011 _ACEOF
71014 done
71016 else
71018 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
71019 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
71020 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71021 if test "${glibcxx_cv_func__sqrtl_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>
71040 #ifdef HAVE_IEEEFP_H
71041 #include <ieeefp.h>
71042 #endif
71045 main ()
71047 _sqrtl(0);
71049 return 0;
71051 _ACEOF
71052 rm -f conftest.$ac_objext
71053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71054 (eval $ac_compile) 2>conftest.er1
71055 ac_status=$?
71056 grep -v '^ *+' conftest.er1 >conftest.err
71057 rm -f conftest.er1
71058 cat conftest.err >&5
71059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060 (exit $ac_status); } &&
71061 { ac_try='test -z "$ac_cxx_werror_flag"
71062 || test ! -s conftest.err'
71063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71064 (eval $ac_try) 2>&5
71065 ac_status=$?
71066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71067 (exit $ac_status); }; } &&
71068 { ac_try='test -s conftest.$ac_objext'
71069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71070 (eval $ac_try) 2>&5
71071 ac_status=$?
71072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71073 (exit $ac_status); }; }; then
71074 glibcxx_cv_func__sqrtl_use=yes
71075 else
71076 echo "$as_me: failed program was:" >&5
71077 sed 's/^/| /' conftest.$ac_ext >&5
71079 glibcxx_cv_func__sqrtl_use=no
71081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71082 ac_ext=c
71083 ac_cpp='$CPP $CPPFLAGS'
71084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
71093 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
71095 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71097 for ac_func in _sqrtl
71099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71100 echo "$as_me:$LINENO: checking for $ac_func" >&5
71101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71102 if eval "test \"\${$as_ac_var+set}\" = set"; then
71103 echo $ECHO_N "(cached) $ECHO_C" >&6
71104 else
71105 if test x$gcc_no_link = xyes; then
71106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71108 { (exit 1); exit 1; }; }
71110 cat >conftest.$ac_ext <<_ACEOF
71111 /* confdefs.h. */
71112 _ACEOF
71113 cat confdefs.h >>conftest.$ac_ext
71114 cat >>conftest.$ac_ext <<_ACEOF
71115 /* end confdefs.h. */
71116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71118 #define $ac_func innocuous_$ac_func
71120 /* System header to define __stub macros and hopefully few prototypes,
71121 which can conflict with char $ac_func (); below.
71122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71123 <limits.h> exists even on freestanding compilers. */
71125 #ifdef __STDC__
71126 # include <limits.h>
71127 #else
71128 # include <assert.h>
71129 #endif
71131 #undef $ac_func
71133 /* Override any gcc2 internal prototype to avoid an error. */
71134 #ifdef __cplusplus
71135 extern "C"
71137 #endif
71138 /* We use char because int might match the return type of a gcc2
71139 builtin and then its argument prototype would still apply. */
71140 char $ac_func ();
71141 /* The GNU C library defines this for functions which it implements
71142 to always fail with ENOSYS. Some functions are actually named
71143 something starting with __ and the normal name is an alias. */
71144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71145 choke me
71146 #else
71147 char (*f) () = $ac_func;
71148 #endif
71149 #ifdef __cplusplus
71151 #endif
71154 main ()
71156 return f != $ac_func;
71158 return 0;
71160 _ACEOF
71161 rm -f conftest.$ac_objext conftest$ac_exeext
71162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71163 (eval $ac_link) 2>conftest.er1
71164 ac_status=$?
71165 grep -v '^ *+' conftest.er1 >conftest.err
71166 rm -f conftest.er1
71167 cat conftest.err >&5
71168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71169 (exit $ac_status); } &&
71170 { ac_try='test -z "$ac_c_werror_flag"
71171 || test ! -s conftest.err'
71172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71173 (eval $ac_try) 2>&5
71174 ac_status=$?
71175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71176 (exit $ac_status); }; } &&
71177 { ac_try='test -s conftest$ac_exeext'
71178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71179 (eval $ac_try) 2>&5
71180 ac_status=$?
71181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71182 (exit $ac_status); }; }; then
71183 eval "$as_ac_var=yes"
71184 else
71185 echo "$as_me: failed program was:" >&5
71186 sed 's/^/| /' conftest.$ac_ext >&5
71188 eval "$as_ac_var=no"
71190 rm -f conftest.err conftest.$ac_objext \
71191 conftest$ac_exeext conftest.$ac_ext
71193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71195 if test `eval echo '${'$as_ac_var'}'` = yes; then
71196 cat >>confdefs.h <<_ACEOF
71197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71198 _ACEOF
71201 done
71211 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
71212 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
71213 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71214 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
71215 echo $ECHO_N "(cached) $ECHO_C" >&6
71216 else
71220 ac_ext=cc
71221 ac_cpp='$CXXCPP $CPPFLAGS'
71222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71226 cat >conftest.$ac_ext <<_ACEOF
71227 /* confdefs.h. */
71228 _ACEOF
71229 cat confdefs.h >>conftest.$ac_ext
71230 cat >>conftest.$ac_ext <<_ACEOF
71231 /* end confdefs.h. */
71232 #include <math.h>
71234 main ()
71236 sincosl(0, 0, 0);
71238 return 0;
71240 _ACEOF
71241 rm -f conftest.$ac_objext
71242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71243 (eval $ac_compile) 2>conftest.er1
71244 ac_status=$?
71245 grep -v '^ *+' conftest.er1 >conftest.err
71246 rm -f conftest.er1
71247 cat conftest.err >&5
71248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249 (exit $ac_status); } &&
71250 { ac_try='test -z "$ac_cxx_werror_flag"
71251 || test ! -s conftest.err'
71252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71253 (eval $ac_try) 2>&5
71254 ac_status=$?
71255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71256 (exit $ac_status); }; } &&
71257 { ac_try='test -s conftest.$ac_objext'
71258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71259 (eval $ac_try) 2>&5
71260 ac_status=$?
71261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71262 (exit $ac_status); }; }; then
71263 glibcxx_cv_func_sincosl_use=yes
71264 else
71265 echo "$as_me: failed program was:" >&5
71266 sed 's/^/| /' conftest.$ac_ext >&5
71268 glibcxx_cv_func_sincosl_use=no
71270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71271 ac_ext=c
71272 ac_cpp='$CPP $CPPFLAGS'
71273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
71282 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
71284 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71286 for ac_func in sincosl
71288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71289 echo "$as_me:$LINENO: checking for $ac_func" >&5
71290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71291 if eval "test \"\${$as_ac_var+set}\" = set"; then
71292 echo $ECHO_N "(cached) $ECHO_C" >&6
71293 else
71294 if test x$gcc_no_link = xyes; then
71295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71297 { (exit 1); exit 1; }; }
71299 cat >conftest.$ac_ext <<_ACEOF
71300 /* confdefs.h. */
71301 _ACEOF
71302 cat confdefs.h >>conftest.$ac_ext
71303 cat >>conftest.$ac_ext <<_ACEOF
71304 /* end confdefs.h. */
71305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71307 #define $ac_func innocuous_$ac_func
71309 /* System header to define __stub macros and hopefully few prototypes,
71310 which can conflict with char $ac_func (); below.
71311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71312 <limits.h> exists even on freestanding compilers. */
71314 #ifdef __STDC__
71315 # include <limits.h>
71316 #else
71317 # include <assert.h>
71318 #endif
71320 #undef $ac_func
71322 /* Override any gcc2 internal prototype to avoid an error. */
71323 #ifdef __cplusplus
71324 extern "C"
71326 #endif
71327 /* We use char because int might match the return type of a gcc2
71328 builtin and then its argument prototype would still apply. */
71329 char $ac_func ();
71330 /* The GNU C library defines this for functions which it implements
71331 to always fail with ENOSYS. Some functions are actually named
71332 something starting with __ and the normal name is an alias. */
71333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71334 choke me
71335 #else
71336 char (*f) () = $ac_func;
71337 #endif
71338 #ifdef __cplusplus
71340 #endif
71343 main ()
71345 return f != $ac_func;
71347 return 0;
71349 _ACEOF
71350 rm -f conftest.$ac_objext conftest$ac_exeext
71351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71352 (eval $ac_link) 2>conftest.er1
71353 ac_status=$?
71354 grep -v '^ *+' conftest.er1 >conftest.err
71355 rm -f conftest.er1
71356 cat conftest.err >&5
71357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71358 (exit $ac_status); } &&
71359 { ac_try='test -z "$ac_c_werror_flag"
71360 || test ! -s conftest.err'
71361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71362 (eval $ac_try) 2>&5
71363 ac_status=$?
71364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71365 (exit $ac_status); }; } &&
71366 { ac_try='test -s conftest$ac_exeext'
71367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71368 (eval $ac_try) 2>&5
71369 ac_status=$?
71370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71371 (exit $ac_status); }; }; then
71372 eval "$as_ac_var=yes"
71373 else
71374 echo "$as_me: failed program was:" >&5
71375 sed 's/^/| /' conftest.$ac_ext >&5
71377 eval "$as_ac_var=no"
71379 rm -f conftest.err conftest.$ac_objext \
71380 conftest$ac_exeext conftest.$ac_ext
71382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71384 if test `eval echo '${'$as_ac_var'}'` = yes; then
71385 cat >>confdefs.h <<_ACEOF
71386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71387 _ACEOF
71390 done
71392 else
71394 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
71395 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
71396 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71397 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
71398 echo $ECHO_N "(cached) $ECHO_C" >&6
71399 else
71403 ac_ext=cc
71404 ac_cpp='$CXXCPP $CPPFLAGS'
71405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71409 cat >conftest.$ac_ext <<_ACEOF
71410 /* confdefs.h. */
71411 _ACEOF
71412 cat confdefs.h >>conftest.$ac_ext
71413 cat >>conftest.$ac_ext <<_ACEOF
71414 /* end confdefs.h. */
71415 #include <math.h>
71417 main ()
71419 _sincosl(0, 0, 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__sincosl_use=yes
71447 else
71448 echo "$as_me: failed program was:" >&5
71449 sed 's/^/| /' conftest.$ac_ext >&5
71451 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
71465 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
71467 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71469 for ac_func in _sincosl
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
71583 echo "$as_me:$LINENO: checking for finitel declaration" >&5
71584 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71585 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71586 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71587 echo $ECHO_N "(cached) $ECHO_C" >&6
71588 else
71592 ac_ext=cc
71593 ac_cpp='$CXXCPP $CPPFLAGS'
71594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71598 cat >conftest.$ac_ext <<_ACEOF
71599 /* confdefs.h. */
71600 _ACEOF
71601 cat confdefs.h >>conftest.$ac_ext
71602 cat >>conftest.$ac_ext <<_ACEOF
71603 /* end confdefs.h. */
71604 #include <math.h>
71605 #ifdef HAVE_IEEEFP_H
71606 #include <ieeefp.h>
71607 #endif
71610 main ()
71612 finitel(0);
71614 return 0;
71616 _ACEOF
71617 rm -f conftest.$ac_objext
71618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71619 (eval $ac_compile) 2>conftest.er1
71620 ac_status=$?
71621 grep -v '^ *+' conftest.er1 >conftest.err
71622 rm -f conftest.er1
71623 cat conftest.err >&5
71624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71625 (exit $ac_status); } &&
71626 { ac_try='test -z "$ac_cxx_werror_flag"
71627 || test ! -s conftest.err'
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); }; } &&
71633 { ac_try='test -s conftest.$ac_objext'
71634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71635 (eval $ac_try) 2>&5
71636 ac_status=$?
71637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71638 (exit $ac_status); }; }; then
71639 glibcxx_cv_func_finitel_use=yes
71640 else
71641 echo "$as_me: failed program was:" >&5
71642 sed 's/^/| /' conftest.$ac_ext >&5
71644 glibcxx_cv_func_finitel_use=no
71646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71647 ac_ext=c
71648 ac_cpp='$CPP $CPPFLAGS'
71649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71658 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71660 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71662 for ac_func in finitel
71664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71665 echo "$as_me:$LINENO: checking for $ac_func" >&5
71666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71667 if eval "test \"\${$as_ac_var+set}\" = set"; then
71668 echo $ECHO_N "(cached) $ECHO_C" >&6
71669 else
71670 if test x$gcc_no_link = xyes; then
71671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71673 { (exit 1); exit 1; }; }
71675 cat >conftest.$ac_ext <<_ACEOF
71676 /* confdefs.h. */
71677 _ACEOF
71678 cat confdefs.h >>conftest.$ac_ext
71679 cat >>conftest.$ac_ext <<_ACEOF
71680 /* end confdefs.h. */
71681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71683 #define $ac_func innocuous_$ac_func
71685 /* System header to define __stub macros and hopefully few prototypes,
71686 which can conflict with char $ac_func (); below.
71687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71688 <limits.h> exists even on freestanding compilers. */
71690 #ifdef __STDC__
71691 # include <limits.h>
71692 #else
71693 # include <assert.h>
71694 #endif
71696 #undef $ac_func
71698 /* Override any gcc2 internal prototype to avoid an error. */
71699 #ifdef __cplusplus
71700 extern "C"
71702 #endif
71703 /* We use char because int might match the return type of a gcc2
71704 builtin and then its argument prototype would still apply. */
71705 char $ac_func ();
71706 /* The GNU C library defines this for functions which it implements
71707 to always fail with ENOSYS. Some functions are actually named
71708 something starting with __ and the normal name is an alias. */
71709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71710 choke me
71711 #else
71712 char (*f) () = $ac_func;
71713 #endif
71714 #ifdef __cplusplus
71716 #endif
71719 main ()
71721 return f != $ac_func;
71723 return 0;
71725 _ACEOF
71726 rm -f conftest.$ac_objext conftest$ac_exeext
71727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71728 (eval $ac_link) 2>conftest.er1
71729 ac_status=$?
71730 grep -v '^ *+' conftest.er1 >conftest.err
71731 rm -f conftest.er1
71732 cat conftest.err >&5
71733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71734 (exit $ac_status); } &&
71735 { ac_try='test -z "$ac_c_werror_flag"
71736 || test ! -s conftest.err'
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); }; } &&
71742 { ac_try='test -s conftest$ac_exeext'
71743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71744 (eval $ac_try) 2>&5
71745 ac_status=$?
71746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71747 (exit $ac_status); }; }; then
71748 eval "$as_ac_var=yes"
71749 else
71750 echo "$as_me: failed program was:" >&5
71751 sed 's/^/| /' conftest.$ac_ext >&5
71753 eval "$as_ac_var=no"
71755 rm -f conftest.err conftest.$ac_objext \
71756 conftest$ac_exeext conftest.$ac_ext
71758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71760 if test `eval echo '${'$as_ac_var'}'` = yes; then
71761 cat >>confdefs.h <<_ACEOF
71762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71763 _ACEOF
71766 done
71768 else
71770 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71771 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71772 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71773 if test "${glibcxx_cv_func__finitel_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 _finitel(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__finitel_use=yes
71827 else
71828 echo "$as_me: failed program was:" >&5
71829 sed 's/^/| /' conftest.$ac_ext >&5
71831 glibcxx_cv_func__finitel_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__finitel_use" >&5
71845 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71847 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71849 for ac_func in _finitel
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
71962 LIBS="$ac_save_LIBS"
71963 CXXFLAGS="$ac_save_CXXFLAGS"
71967 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
71968 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
71969 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
71970 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
71971 echo $ECHO_N "(cached) $ECHO_C" >&6
71972 else
71976 ac_ext=cc
71977 ac_cpp='$CXXCPP $CPPFLAGS'
71978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71982 cat >conftest.$ac_ext <<_ACEOF
71983 /* confdefs.h. */
71984 _ACEOF
71985 cat confdefs.h >>conftest.$ac_ext
71986 cat >>conftest.$ac_ext <<_ACEOF
71987 /* end confdefs.h. */
71988 #include <math.h>
71990 main ()
71992 __builtin_abs(0);
71994 return 0;
71996 _ACEOF
71997 rm -f conftest.$ac_objext
71998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71999 (eval $ac_compile) 2>conftest.er1
72000 ac_status=$?
72001 grep -v '^ *+' conftest.er1 >conftest.err
72002 rm -f conftest.er1
72003 cat conftest.err >&5
72004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72005 (exit $ac_status); } &&
72006 { ac_try='test -z "$ac_cxx_werror_flag"
72007 || test ! -s conftest.err'
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); }; } &&
72013 { ac_try='test -s conftest.$ac_objext'
72014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72015 (eval $ac_try) 2>&5
72016 ac_status=$?
72017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72018 (exit $ac_status); }; }; then
72019 glibcxx_cv_func___builtin_abs_use=yes
72020 else
72021 echo "$as_me: failed program was:" >&5
72022 sed 's/^/| /' conftest.$ac_ext >&5
72024 glibcxx_cv_func___builtin_abs_use=no
72026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72027 ac_ext=c
72028 ac_cpp='$CPP $CPPFLAGS'
72029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
72038 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
72039 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
72040 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
72041 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
72042 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
72043 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
72044 echo $ECHO_N "(cached) $ECHO_C" >&6
72045 else
72047 if test x$gcc_no_link = xyes; then
72048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72050 { (exit 1); exit 1; }; }
72052 cat >conftest.$ac_ext <<_ACEOF
72053 /* confdefs.h. */
72054 _ACEOF
72055 cat confdefs.h >>conftest.$ac_ext
72056 cat >>conftest.$ac_ext <<_ACEOF
72057 /* end confdefs.h. */
72058 #include <math.h>
72060 main ()
72062 __builtin_abs(0);
72064 return 0;
72066 _ACEOF
72067 rm -f conftest.$ac_objext conftest$ac_exeext
72068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72069 (eval $ac_link) 2>conftest.er1
72070 ac_status=$?
72071 grep -v '^ *+' conftest.er1 >conftest.err
72072 rm -f conftest.er1
72073 cat conftest.err >&5
72074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72075 (exit $ac_status); } &&
72076 { ac_try='test -z "$ac_c_werror_flag"
72077 || test ! -s conftest.err'
72078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72079 (eval $ac_try) 2>&5
72080 ac_status=$?
72081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72082 (exit $ac_status); }; } &&
72083 { ac_try='test -s conftest$ac_exeext'
72084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72085 (eval $ac_try) 2>&5
72086 ac_status=$?
72087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72088 (exit $ac_status); }; }; then
72089 glibcxx_cv_func___builtin_abs_link=yes
72090 else
72091 echo "$as_me: failed program was:" >&5
72092 sed 's/^/| /' conftest.$ac_ext >&5
72094 glibcxx_cv_func___builtin_abs_link=no
72096 rm -f conftest.err conftest.$ac_objext \
72097 conftest$ac_exeext conftest.$ac_ext
72102 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
72103 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
72105 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
72107 cat >>confdefs.h <<\_ACEOF
72108 #define HAVE___BUILTIN_ABS 1
72109 _ACEOF
72116 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
72117 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
72118 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
72119 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
72120 echo $ECHO_N "(cached) $ECHO_C" >&6
72121 else
72125 ac_ext=cc
72126 ac_cpp='$CXXCPP $CPPFLAGS'
72127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72131 cat >conftest.$ac_ext <<_ACEOF
72132 /* confdefs.h. */
72133 _ACEOF
72134 cat confdefs.h >>conftest.$ac_ext
72135 cat >>conftest.$ac_ext <<_ACEOF
72136 /* end confdefs.h. */
72137 #include <math.h>
72139 main ()
72141 __builtin_fabsf(0);
72143 return 0;
72145 _ACEOF
72146 rm -f conftest.$ac_objext
72147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72148 (eval $ac_compile) 2>conftest.er1
72149 ac_status=$?
72150 grep -v '^ *+' conftest.er1 >conftest.err
72151 rm -f conftest.er1
72152 cat conftest.err >&5
72153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72154 (exit $ac_status); } &&
72155 { ac_try='test -z "$ac_cxx_werror_flag"
72156 || test ! -s conftest.err'
72157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72158 (eval $ac_try) 2>&5
72159 ac_status=$?
72160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72161 (exit $ac_status); }; } &&
72162 { ac_try='test -s conftest.$ac_objext'
72163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72164 (eval $ac_try) 2>&5
72165 ac_status=$?
72166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72167 (exit $ac_status); }; }; then
72168 glibcxx_cv_func___builtin_fabsf_use=yes
72169 else
72170 echo "$as_me: failed program was:" >&5
72171 sed 's/^/| /' conftest.$ac_ext >&5
72173 glibcxx_cv_func___builtin_fabsf_use=no
72175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72176 ac_ext=c
72177 ac_cpp='$CPP $CPPFLAGS'
72178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72187 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72188 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72189 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72190 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72191 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72192 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72193 echo $ECHO_N "(cached) $ECHO_C" >&6
72194 else
72196 if test x$gcc_no_link = xyes; then
72197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72199 { (exit 1); exit 1; }; }
72201 cat >conftest.$ac_ext <<_ACEOF
72202 /* confdefs.h. */
72203 _ACEOF
72204 cat confdefs.h >>conftest.$ac_ext
72205 cat >>conftest.$ac_ext <<_ACEOF
72206 /* end confdefs.h. */
72207 #include <math.h>
72209 main ()
72211 __builtin_fabsf(0);
72213 return 0;
72215 _ACEOF
72216 rm -f conftest.$ac_objext conftest$ac_exeext
72217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72218 (eval $ac_link) 2>conftest.er1
72219 ac_status=$?
72220 grep -v '^ *+' conftest.er1 >conftest.err
72221 rm -f conftest.er1
72222 cat conftest.err >&5
72223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72224 (exit $ac_status); } &&
72225 { ac_try='test -z "$ac_c_werror_flag"
72226 || test ! -s conftest.err'
72227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72228 (eval $ac_try) 2>&5
72229 ac_status=$?
72230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72231 (exit $ac_status); }; } &&
72232 { ac_try='test -s conftest$ac_exeext'
72233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72234 (eval $ac_try) 2>&5
72235 ac_status=$?
72236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72237 (exit $ac_status); }; }; then
72238 glibcxx_cv_func___builtin_fabsf_link=yes
72239 else
72240 echo "$as_me: failed program was:" >&5
72241 sed 's/^/| /' conftest.$ac_ext >&5
72243 glibcxx_cv_func___builtin_fabsf_link=no
72245 rm -f conftest.err conftest.$ac_objext \
72246 conftest$ac_exeext conftest.$ac_ext
72251 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72252 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72254 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72256 cat >>confdefs.h <<\_ACEOF
72257 #define HAVE___BUILTIN_FABSF 1
72258 _ACEOF
72265 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72266 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72267 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72268 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72269 echo $ECHO_N "(cached) $ECHO_C" >&6
72270 else
72274 ac_ext=cc
72275 ac_cpp='$CXXCPP $CPPFLAGS'
72276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72280 cat >conftest.$ac_ext <<_ACEOF
72281 /* confdefs.h. */
72282 _ACEOF
72283 cat confdefs.h >>conftest.$ac_ext
72284 cat >>conftest.$ac_ext <<_ACEOF
72285 /* end confdefs.h. */
72286 #include <math.h>
72288 main ()
72290 __builtin_fabs(0);
72292 return 0;
72294 _ACEOF
72295 rm -f conftest.$ac_objext
72296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72297 (eval $ac_compile) 2>conftest.er1
72298 ac_status=$?
72299 grep -v '^ *+' conftest.er1 >conftest.err
72300 rm -f conftest.er1
72301 cat conftest.err >&5
72302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72303 (exit $ac_status); } &&
72304 { ac_try='test -z "$ac_cxx_werror_flag"
72305 || test ! -s conftest.err'
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); }; } &&
72311 { ac_try='test -s conftest.$ac_objext'
72312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72313 (eval $ac_try) 2>&5
72314 ac_status=$?
72315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72316 (exit $ac_status); }; }; then
72317 glibcxx_cv_func___builtin_fabs_use=yes
72318 else
72319 echo "$as_me: failed program was:" >&5
72320 sed 's/^/| /' conftest.$ac_ext >&5
72322 glibcxx_cv_func___builtin_fabs_use=no
72324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72325 ac_ext=c
72326 ac_cpp='$CPP $CPPFLAGS'
72327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72336 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72337 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72338 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72339 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72340 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72341 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72342 echo $ECHO_N "(cached) $ECHO_C" >&6
72343 else
72345 if test x$gcc_no_link = xyes; then
72346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72348 { (exit 1); exit 1; }; }
72350 cat >conftest.$ac_ext <<_ACEOF
72351 /* confdefs.h. */
72352 _ACEOF
72353 cat confdefs.h >>conftest.$ac_ext
72354 cat >>conftest.$ac_ext <<_ACEOF
72355 /* end confdefs.h. */
72356 #include <math.h>
72358 main ()
72360 __builtin_fabs(0);
72362 return 0;
72364 _ACEOF
72365 rm -f conftest.$ac_objext conftest$ac_exeext
72366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72367 (eval $ac_link) 2>conftest.er1
72368 ac_status=$?
72369 grep -v '^ *+' conftest.er1 >conftest.err
72370 rm -f conftest.er1
72371 cat conftest.err >&5
72372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373 (exit $ac_status); } &&
72374 { ac_try='test -z "$ac_c_werror_flag"
72375 || test ! -s conftest.err'
72376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377 (eval $ac_try) 2>&5
72378 ac_status=$?
72379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380 (exit $ac_status); }; } &&
72381 { ac_try='test -s conftest$ac_exeext'
72382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72383 (eval $ac_try) 2>&5
72384 ac_status=$?
72385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386 (exit $ac_status); }; }; then
72387 glibcxx_cv_func___builtin_fabs_link=yes
72388 else
72389 echo "$as_me: failed program was:" >&5
72390 sed 's/^/| /' conftest.$ac_ext >&5
72392 glibcxx_cv_func___builtin_fabs_link=no
72394 rm -f conftest.err conftest.$ac_objext \
72395 conftest$ac_exeext conftest.$ac_ext
72400 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72401 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72403 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72405 cat >>confdefs.h <<\_ACEOF
72406 #define HAVE___BUILTIN_FABS 1
72407 _ACEOF
72414 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72415 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72416 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72417 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72418 echo $ECHO_N "(cached) $ECHO_C" >&6
72419 else
72423 ac_ext=cc
72424 ac_cpp='$CXXCPP $CPPFLAGS'
72425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72429 cat >conftest.$ac_ext <<_ACEOF
72430 /* confdefs.h. */
72431 _ACEOF
72432 cat confdefs.h >>conftest.$ac_ext
72433 cat >>conftest.$ac_ext <<_ACEOF
72434 /* end confdefs.h. */
72435 #include <math.h>
72437 main ()
72439 __builtin_fabsl(0);
72441 return 0;
72443 _ACEOF
72444 rm -f conftest.$ac_objext
72445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72446 (eval $ac_compile) 2>conftest.er1
72447 ac_status=$?
72448 grep -v '^ *+' conftest.er1 >conftest.err
72449 rm -f conftest.er1
72450 cat conftest.err >&5
72451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452 (exit $ac_status); } &&
72453 { ac_try='test -z "$ac_cxx_werror_flag"
72454 || test ! -s conftest.err'
72455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72456 (eval $ac_try) 2>&5
72457 ac_status=$?
72458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72459 (exit $ac_status); }; } &&
72460 { ac_try='test -s conftest.$ac_objext'
72461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72462 (eval $ac_try) 2>&5
72463 ac_status=$?
72464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72465 (exit $ac_status); }; }; then
72466 glibcxx_cv_func___builtin_fabsl_use=yes
72467 else
72468 echo "$as_me: failed program was:" >&5
72469 sed 's/^/| /' conftest.$ac_ext >&5
72471 glibcxx_cv_func___builtin_fabsl_use=no
72473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72474 ac_ext=c
72475 ac_cpp='$CPP $CPPFLAGS'
72476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72485 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72486 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72487 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72488 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72489 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72490 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72491 echo $ECHO_N "(cached) $ECHO_C" >&6
72492 else
72494 if test x$gcc_no_link = xyes; then
72495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72497 { (exit 1); exit 1; }; }
72499 cat >conftest.$ac_ext <<_ACEOF
72500 /* confdefs.h. */
72501 _ACEOF
72502 cat confdefs.h >>conftest.$ac_ext
72503 cat >>conftest.$ac_ext <<_ACEOF
72504 /* end confdefs.h. */
72505 #include <math.h>
72507 main ()
72509 __builtin_fabsl(0);
72511 return 0;
72513 _ACEOF
72514 rm -f conftest.$ac_objext conftest$ac_exeext
72515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72516 (eval $ac_link) 2>conftest.er1
72517 ac_status=$?
72518 grep -v '^ *+' conftest.er1 >conftest.err
72519 rm -f conftest.er1
72520 cat conftest.err >&5
72521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72522 (exit $ac_status); } &&
72523 { ac_try='test -z "$ac_c_werror_flag"
72524 || test ! -s conftest.err'
72525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72526 (eval $ac_try) 2>&5
72527 ac_status=$?
72528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72529 (exit $ac_status); }; } &&
72530 { ac_try='test -s conftest$ac_exeext'
72531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72532 (eval $ac_try) 2>&5
72533 ac_status=$?
72534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72535 (exit $ac_status); }; }; then
72536 glibcxx_cv_func___builtin_fabsl_link=yes
72537 else
72538 echo "$as_me: failed program was:" >&5
72539 sed 's/^/| /' conftest.$ac_ext >&5
72541 glibcxx_cv_func___builtin_fabsl_link=no
72543 rm -f conftest.err conftest.$ac_objext \
72544 conftest$ac_exeext conftest.$ac_ext
72549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72550 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72552 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72554 cat >>confdefs.h <<\_ACEOF
72555 #define HAVE___BUILTIN_FABSL 1
72556 _ACEOF
72563 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72564 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72565 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72566 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72567 echo $ECHO_N "(cached) $ECHO_C" >&6
72568 else
72572 ac_ext=cc
72573 ac_cpp='$CXXCPP $CPPFLAGS'
72574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72578 cat >conftest.$ac_ext <<_ACEOF
72579 /* confdefs.h. */
72580 _ACEOF
72581 cat confdefs.h >>conftest.$ac_ext
72582 cat >>conftest.$ac_ext <<_ACEOF
72583 /* end confdefs.h. */
72584 #include <math.h>
72586 main ()
72588 __builtin_labs(0);
72590 return 0;
72592 _ACEOF
72593 rm -f conftest.$ac_objext
72594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72595 (eval $ac_compile) 2>conftest.er1
72596 ac_status=$?
72597 grep -v '^ *+' conftest.er1 >conftest.err
72598 rm -f conftest.er1
72599 cat conftest.err >&5
72600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72601 (exit $ac_status); } &&
72602 { ac_try='test -z "$ac_cxx_werror_flag"
72603 || test ! -s conftest.err'
72604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72605 (eval $ac_try) 2>&5
72606 ac_status=$?
72607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608 (exit $ac_status); }; } &&
72609 { ac_try='test -s conftest.$ac_objext'
72610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72611 (eval $ac_try) 2>&5
72612 ac_status=$?
72613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614 (exit $ac_status); }; }; then
72615 glibcxx_cv_func___builtin_labs_use=yes
72616 else
72617 echo "$as_me: failed program was:" >&5
72618 sed 's/^/| /' conftest.$ac_ext >&5
72620 glibcxx_cv_func___builtin_labs_use=no
72622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72623 ac_ext=c
72624 ac_cpp='$CPP $CPPFLAGS'
72625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72633 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72634 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72635 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72636 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72637 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72638 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72639 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72640 echo $ECHO_N "(cached) $ECHO_C" >&6
72641 else
72643 if test x$gcc_no_link = xyes; then
72644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72646 { (exit 1); exit 1; }; }
72648 cat >conftest.$ac_ext <<_ACEOF
72649 /* confdefs.h. */
72650 _ACEOF
72651 cat confdefs.h >>conftest.$ac_ext
72652 cat >>conftest.$ac_ext <<_ACEOF
72653 /* end confdefs.h. */
72654 #include <math.h>
72656 main ()
72658 __builtin_labs(0);
72660 return 0;
72662 _ACEOF
72663 rm -f conftest.$ac_objext conftest$ac_exeext
72664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72665 (eval $ac_link) 2>conftest.er1
72666 ac_status=$?
72667 grep -v '^ *+' conftest.er1 >conftest.err
72668 rm -f conftest.er1
72669 cat conftest.err >&5
72670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72671 (exit $ac_status); } &&
72672 { ac_try='test -z "$ac_c_werror_flag"
72673 || test ! -s conftest.err'
72674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72675 (eval $ac_try) 2>&5
72676 ac_status=$?
72677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72678 (exit $ac_status); }; } &&
72679 { ac_try='test -s conftest$ac_exeext'
72680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72681 (eval $ac_try) 2>&5
72682 ac_status=$?
72683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72684 (exit $ac_status); }; }; then
72685 glibcxx_cv_func___builtin_labs_link=yes
72686 else
72687 echo "$as_me: failed program was:" >&5
72688 sed 's/^/| /' conftest.$ac_ext >&5
72690 glibcxx_cv_func___builtin_labs_link=no
72692 rm -f conftest.err conftest.$ac_objext \
72693 conftest$ac_exeext conftest.$ac_ext
72698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72699 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72701 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72703 cat >>confdefs.h <<\_ACEOF
72704 #define HAVE___BUILTIN_LABS 1
72705 _ACEOF
72713 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72714 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72715 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72716 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72717 echo $ECHO_N "(cached) $ECHO_C" >&6
72718 else
72722 ac_ext=cc
72723 ac_cpp='$CXXCPP $CPPFLAGS'
72724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72728 cat >conftest.$ac_ext <<_ACEOF
72729 /* confdefs.h. */
72730 _ACEOF
72731 cat confdefs.h >>conftest.$ac_ext
72732 cat >>conftest.$ac_ext <<_ACEOF
72733 /* end confdefs.h. */
72734 #include <math.h>
72736 main ()
72738 __builtin_sqrtf(0);
72740 return 0;
72742 _ACEOF
72743 rm -f conftest.$ac_objext
72744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72745 (eval $ac_compile) 2>conftest.er1
72746 ac_status=$?
72747 grep -v '^ *+' conftest.er1 >conftest.err
72748 rm -f conftest.er1
72749 cat conftest.err >&5
72750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72751 (exit $ac_status); } &&
72752 { ac_try='test -z "$ac_cxx_werror_flag"
72753 || test ! -s conftest.err'
72754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755 (eval $ac_try) 2>&5
72756 ac_status=$?
72757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758 (exit $ac_status); }; } &&
72759 { ac_try='test -s conftest.$ac_objext'
72760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72761 (eval $ac_try) 2>&5
72762 ac_status=$?
72763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72764 (exit $ac_status); }; }; then
72765 glibcxx_cv_func___builtin_sqrtf_use=yes
72766 else
72767 echo "$as_me: failed program was:" >&5
72768 sed 's/^/| /' conftest.$ac_ext >&5
72770 glibcxx_cv_func___builtin_sqrtf_use=no
72772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72773 ac_ext=c
72774 ac_cpp='$CPP $CPPFLAGS'
72775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72783 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
72784 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
72785 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
72786 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
72787 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
72788 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
72789 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
72790 echo $ECHO_N "(cached) $ECHO_C" >&6
72791 else
72793 if test x$gcc_no_link = xyes; then
72794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72796 { (exit 1); exit 1; }; }
72798 cat >conftest.$ac_ext <<_ACEOF
72799 /* confdefs.h. */
72800 _ACEOF
72801 cat confdefs.h >>conftest.$ac_ext
72802 cat >>conftest.$ac_ext <<_ACEOF
72803 /* end confdefs.h. */
72804 #include <math.h>
72806 main ()
72808 __builtin_sqrtf(0);
72810 return 0;
72812 _ACEOF
72813 rm -f conftest.$ac_objext conftest$ac_exeext
72814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72815 (eval $ac_link) 2>conftest.er1
72816 ac_status=$?
72817 grep -v '^ *+' conftest.er1 >conftest.err
72818 rm -f conftest.er1
72819 cat conftest.err >&5
72820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72821 (exit $ac_status); } &&
72822 { ac_try='test -z "$ac_c_werror_flag"
72823 || test ! -s conftest.err'
72824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72825 (eval $ac_try) 2>&5
72826 ac_status=$?
72827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72828 (exit $ac_status); }; } &&
72829 { ac_try='test -s conftest$ac_exeext'
72830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72831 (eval $ac_try) 2>&5
72832 ac_status=$?
72833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834 (exit $ac_status); }; }; then
72835 glibcxx_cv_func___builtin_sqrtf_link=yes
72836 else
72837 echo "$as_me: failed program was:" >&5
72838 sed 's/^/| /' conftest.$ac_ext >&5
72840 glibcxx_cv_func___builtin_sqrtf_link=no
72842 rm -f conftest.err conftest.$ac_objext \
72843 conftest$ac_exeext conftest.$ac_ext
72848 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
72849 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
72851 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
72853 cat >>confdefs.h <<\_ACEOF
72854 #define HAVE___BUILTIN_SQRTF 1
72855 _ACEOF
72862 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
72863 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
72864 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
72865 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
72866 echo $ECHO_N "(cached) $ECHO_C" >&6
72867 else
72871 ac_ext=cc
72872 ac_cpp='$CXXCPP $CPPFLAGS'
72873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72877 cat >conftest.$ac_ext <<_ACEOF
72878 /* confdefs.h. */
72879 _ACEOF
72880 cat confdefs.h >>conftest.$ac_ext
72881 cat >>conftest.$ac_ext <<_ACEOF
72882 /* end confdefs.h. */
72883 #include <math.h>
72885 main ()
72887 __builtin_sqrt(0);
72889 return 0;
72891 _ACEOF
72892 rm -f conftest.$ac_objext
72893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72894 (eval $ac_compile) 2>conftest.er1
72895 ac_status=$?
72896 grep -v '^ *+' conftest.er1 >conftest.err
72897 rm -f conftest.er1
72898 cat conftest.err >&5
72899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72900 (exit $ac_status); } &&
72901 { ac_try='test -z "$ac_cxx_werror_flag"
72902 || test ! -s conftest.err'
72903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72904 (eval $ac_try) 2>&5
72905 ac_status=$?
72906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72907 (exit $ac_status); }; } &&
72908 { ac_try='test -s conftest.$ac_objext'
72909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72910 (eval $ac_try) 2>&5
72911 ac_status=$?
72912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72913 (exit $ac_status); }; }; then
72914 glibcxx_cv_func___builtin_sqrt_use=yes
72915 else
72916 echo "$as_me: failed program was:" >&5
72917 sed 's/^/| /' conftest.$ac_ext >&5
72919 glibcxx_cv_func___builtin_sqrt_use=no
72921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72922 ac_ext=c
72923 ac_cpp='$CPP $CPPFLAGS'
72924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
72933 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
72934 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
72935 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
72936 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
72937 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
72938 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
72939 echo $ECHO_N "(cached) $ECHO_C" >&6
72940 else
72942 if test x$gcc_no_link = xyes; then
72943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72945 { (exit 1); exit 1; }; }
72947 cat >conftest.$ac_ext <<_ACEOF
72948 /* confdefs.h. */
72949 _ACEOF
72950 cat confdefs.h >>conftest.$ac_ext
72951 cat >>conftest.$ac_ext <<_ACEOF
72952 /* end confdefs.h. */
72953 #include <math.h>
72955 main ()
72957 __builtin_sqrt(0);
72959 return 0;
72961 _ACEOF
72962 rm -f conftest.$ac_objext conftest$ac_exeext
72963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72964 (eval $ac_link) 2>conftest.er1
72965 ac_status=$?
72966 grep -v '^ *+' conftest.er1 >conftest.err
72967 rm -f conftest.er1
72968 cat conftest.err >&5
72969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970 (exit $ac_status); } &&
72971 { ac_try='test -z "$ac_c_werror_flag"
72972 || test ! -s conftest.err'
72973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72974 (eval $ac_try) 2>&5
72975 ac_status=$?
72976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72977 (exit $ac_status); }; } &&
72978 { ac_try='test -s conftest$ac_exeext'
72979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72980 (eval $ac_try) 2>&5
72981 ac_status=$?
72982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72983 (exit $ac_status); }; }; then
72984 glibcxx_cv_func___builtin_sqrt_link=yes
72985 else
72986 echo "$as_me: failed program was:" >&5
72987 sed 's/^/| /' conftest.$ac_ext >&5
72989 glibcxx_cv_func___builtin_sqrt_link=no
72991 rm -f conftest.err conftest.$ac_objext \
72992 conftest$ac_exeext conftest.$ac_ext
72997 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
72998 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
73000 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
73002 cat >>confdefs.h <<\_ACEOF
73003 #define HAVE___BUILTIN_SQRT 1
73004 _ACEOF
73011 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
73012 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
73013 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
73014 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
73015 echo $ECHO_N "(cached) $ECHO_C" >&6
73016 else
73020 ac_ext=cc
73021 ac_cpp='$CXXCPP $CPPFLAGS'
73022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73026 cat >conftest.$ac_ext <<_ACEOF
73027 /* confdefs.h. */
73028 _ACEOF
73029 cat confdefs.h >>conftest.$ac_ext
73030 cat >>conftest.$ac_ext <<_ACEOF
73031 /* end confdefs.h. */
73032 #include <math.h>
73034 main ()
73036 __builtin_sqrtl(0);
73038 return 0;
73040 _ACEOF
73041 rm -f conftest.$ac_objext
73042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73043 (eval $ac_compile) 2>conftest.er1
73044 ac_status=$?
73045 grep -v '^ *+' conftest.er1 >conftest.err
73046 rm -f conftest.er1
73047 cat conftest.err >&5
73048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73049 (exit $ac_status); } &&
73050 { ac_try='test -z "$ac_cxx_werror_flag"
73051 || test ! -s conftest.err'
73052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73053 (eval $ac_try) 2>&5
73054 ac_status=$?
73055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056 (exit $ac_status); }; } &&
73057 { ac_try='test -s conftest.$ac_objext'
73058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73059 (eval $ac_try) 2>&5
73060 ac_status=$?
73061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73062 (exit $ac_status); }; }; then
73063 glibcxx_cv_func___builtin_sqrtl_use=yes
73064 else
73065 echo "$as_me: failed program was:" >&5
73066 sed 's/^/| /' conftest.$ac_ext >&5
73068 glibcxx_cv_func___builtin_sqrtl_use=no
73070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73071 ac_ext=c
73072 ac_cpp='$CPP $CPPFLAGS'
73073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73081 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
73082 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
73083 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
73084 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
73085 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
73086 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
73087 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
73088 echo $ECHO_N "(cached) $ECHO_C" >&6
73089 else
73091 if test x$gcc_no_link = xyes; then
73092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73094 { (exit 1); exit 1; }; }
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>
73104 main ()
73106 __builtin_sqrtl(0);
73108 return 0;
73110 _ACEOF
73111 rm -f conftest.$ac_objext conftest$ac_exeext
73112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73113 (eval $ac_link) 2>conftest.er1
73114 ac_status=$?
73115 grep -v '^ *+' conftest.er1 >conftest.err
73116 rm -f conftest.er1
73117 cat conftest.err >&5
73118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73119 (exit $ac_status); } &&
73120 { ac_try='test -z "$ac_c_werror_flag"
73121 || test ! -s conftest.err'
73122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73123 (eval $ac_try) 2>&5
73124 ac_status=$?
73125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73126 (exit $ac_status); }; } &&
73127 { ac_try='test -s conftest$ac_exeext'
73128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73129 (eval $ac_try) 2>&5
73130 ac_status=$?
73131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73132 (exit $ac_status); }; }; then
73133 glibcxx_cv_func___builtin_sqrtl_link=yes
73134 else
73135 echo "$as_me: failed program was:" >&5
73136 sed 's/^/| /' conftest.$ac_ext >&5
73138 glibcxx_cv_func___builtin_sqrtl_link=no
73140 rm -f conftest.err conftest.$ac_objext \
73141 conftest$ac_exeext conftest.$ac_ext
73146 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
73147 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
73149 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
73151 cat >>confdefs.h <<\_ACEOF
73152 #define HAVE___BUILTIN_SQRTL 1
73153 _ACEOF
73161 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
73162 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
73163 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
73164 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
73165 echo $ECHO_N "(cached) $ECHO_C" >&6
73166 else
73170 ac_ext=cc
73171 ac_cpp='$CXXCPP $CPPFLAGS'
73172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73176 cat >conftest.$ac_ext <<_ACEOF
73177 /* confdefs.h. */
73178 _ACEOF
73179 cat confdefs.h >>conftest.$ac_ext
73180 cat >>conftest.$ac_ext <<_ACEOF
73181 /* end confdefs.h. */
73182 #include <math.h>
73184 main ()
73186 __builtin_sinf(0);
73188 return 0;
73190 _ACEOF
73191 rm -f conftest.$ac_objext
73192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73193 (eval $ac_compile) 2>conftest.er1
73194 ac_status=$?
73195 grep -v '^ *+' conftest.er1 >conftest.err
73196 rm -f conftest.er1
73197 cat conftest.err >&5
73198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73199 (exit $ac_status); } &&
73200 { ac_try='test -z "$ac_cxx_werror_flag"
73201 || test ! -s conftest.err'
73202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73203 (eval $ac_try) 2>&5
73204 ac_status=$?
73205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73206 (exit $ac_status); }; } &&
73207 { ac_try='test -s conftest.$ac_objext'
73208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73209 (eval $ac_try) 2>&5
73210 ac_status=$?
73211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73212 (exit $ac_status); }; }; then
73213 glibcxx_cv_func___builtin_sinf_use=yes
73214 else
73215 echo "$as_me: failed program was:" >&5
73216 sed 's/^/| /' conftest.$ac_ext >&5
73218 glibcxx_cv_func___builtin_sinf_use=no
73220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73221 ac_ext=c
73222 ac_cpp='$CPP $CPPFLAGS'
73223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73231 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73232 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73233 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73234 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73235 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73236 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73237 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73238 echo $ECHO_N "(cached) $ECHO_C" >&6
73239 else
73241 if test x$gcc_no_link = xyes; then
73242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73244 { (exit 1); exit 1; }; }
73246 cat >conftest.$ac_ext <<_ACEOF
73247 /* confdefs.h. */
73248 _ACEOF
73249 cat confdefs.h >>conftest.$ac_ext
73250 cat >>conftest.$ac_ext <<_ACEOF
73251 /* end confdefs.h. */
73252 #include <math.h>
73254 main ()
73256 __builtin_sinf(0);
73258 return 0;
73260 _ACEOF
73261 rm -f conftest.$ac_objext conftest$ac_exeext
73262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73263 (eval $ac_link) 2>conftest.er1
73264 ac_status=$?
73265 grep -v '^ *+' conftest.er1 >conftest.err
73266 rm -f conftest.er1
73267 cat conftest.err >&5
73268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73269 (exit $ac_status); } &&
73270 { ac_try='test -z "$ac_c_werror_flag"
73271 || test ! -s conftest.err'
73272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73273 (eval $ac_try) 2>&5
73274 ac_status=$?
73275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73276 (exit $ac_status); }; } &&
73277 { ac_try='test -s conftest$ac_exeext'
73278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73279 (eval $ac_try) 2>&5
73280 ac_status=$?
73281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73282 (exit $ac_status); }; }; then
73283 glibcxx_cv_func___builtin_sinf_link=yes
73284 else
73285 echo "$as_me: failed program was:" >&5
73286 sed 's/^/| /' conftest.$ac_ext >&5
73288 glibcxx_cv_func___builtin_sinf_link=no
73290 rm -f conftest.err conftest.$ac_objext \
73291 conftest$ac_exeext conftest.$ac_ext
73296 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73297 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73299 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73301 cat >>confdefs.h <<\_ACEOF
73302 #define HAVE___BUILTIN_SINF 1
73303 _ACEOF
73310 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73311 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73312 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73313 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73314 echo $ECHO_N "(cached) $ECHO_C" >&6
73315 else
73319 ac_ext=cc
73320 ac_cpp='$CXXCPP $CPPFLAGS'
73321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73325 cat >conftest.$ac_ext <<_ACEOF
73326 /* confdefs.h. */
73327 _ACEOF
73328 cat confdefs.h >>conftest.$ac_ext
73329 cat >>conftest.$ac_ext <<_ACEOF
73330 /* end confdefs.h. */
73331 #include <math.h>
73333 main ()
73335 __builtin_sin(0);
73337 return 0;
73339 _ACEOF
73340 rm -f conftest.$ac_objext
73341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73342 (eval $ac_compile) 2>conftest.er1
73343 ac_status=$?
73344 grep -v '^ *+' conftest.er1 >conftest.err
73345 rm -f conftest.er1
73346 cat conftest.err >&5
73347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73348 (exit $ac_status); } &&
73349 { ac_try='test -z "$ac_cxx_werror_flag"
73350 || test ! -s conftest.err'
73351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73352 (eval $ac_try) 2>&5
73353 ac_status=$?
73354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355 (exit $ac_status); }; } &&
73356 { ac_try='test -s conftest.$ac_objext'
73357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73358 (eval $ac_try) 2>&5
73359 ac_status=$?
73360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73361 (exit $ac_status); }; }; then
73362 glibcxx_cv_func___builtin_sin_use=yes
73363 else
73364 echo "$as_me: failed program was:" >&5
73365 sed 's/^/| /' conftest.$ac_ext >&5
73367 glibcxx_cv_func___builtin_sin_use=no
73369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73370 ac_ext=c
73371 ac_cpp='$CPP $CPPFLAGS'
73372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73381 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73382 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73383 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73384 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73385 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73386 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73387 echo $ECHO_N "(cached) $ECHO_C" >&6
73388 else
73390 if test x$gcc_no_link = xyes; then
73391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73393 { (exit 1); exit 1; }; }
73395 cat >conftest.$ac_ext <<_ACEOF
73396 /* confdefs.h. */
73397 _ACEOF
73398 cat confdefs.h >>conftest.$ac_ext
73399 cat >>conftest.$ac_ext <<_ACEOF
73400 /* end confdefs.h. */
73401 #include <math.h>
73403 main ()
73405 __builtin_sin(0);
73407 return 0;
73409 _ACEOF
73410 rm -f conftest.$ac_objext conftest$ac_exeext
73411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73412 (eval $ac_link) 2>conftest.er1
73413 ac_status=$?
73414 grep -v '^ *+' conftest.er1 >conftest.err
73415 rm -f conftest.er1
73416 cat conftest.err >&5
73417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73418 (exit $ac_status); } &&
73419 { ac_try='test -z "$ac_c_werror_flag"
73420 || test ! -s conftest.err'
73421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73422 (eval $ac_try) 2>&5
73423 ac_status=$?
73424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73425 (exit $ac_status); }; } &&
73426 { ac_try='test -s conftest$ac_exeext'
73427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73428 (eval $ac_try) 2>&5
73429 ac_status=$?
73430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73431 (exit $ac_status); }; }; then
73432 glibcxx_cv_func___builtin_sin_link=yes
73433 else
73434 echo "$as_me: failed program was:" >&5
73435 sed 's/^/| /' conftest.$ac_ext >&5
73437 glibcxx_cv_func___builtin_sin_link=no
73439 rm -f conftest.err conftest.$ac_objext \
73440 conftest$ac_exeext conftest.$ac_ext
73445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73446 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73448 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73450 cat >>confdefs.h <<\_ACEOF
73451 #define HAVE___BUILTIN_SIN 1
73452 _ACEOF
73459 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73460 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73461 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73462 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73463 echo $ECHO_N "(cached) $ECHO_C" >&6
73464 else
73468 ac_ext=cc
73469 ac_cpp='$CXXCPP $CPPFLAGS'
73470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73474 cat >conftest.$ac_ext <<_ACEOF
73475 /* confdefs.h. */
73476 _ACEOF
73477 cat confdefs.h >>conftest.$ac_ext
73478 cat >>conftest.$ac_ext <<_ACEOF
73479 /* end confdefs.h. */
73480 #include <math.h>
73482 main ()
73484 __builtin_sinl(0);
73486 return 0;
73488 _ACEOF
73489 rm -f conftest.$ac_objext
73490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73491 (eval $ac_compile) 2>conftest.er1
73492 ac_status=$?
73493 grep -v '^ *+' conftest.er1 >conftest.err
73494 rm -f conftest.er1
73495 cat conftest.err >&5
73496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73497 (exit $ac_status); } &&
73498 { ac_try='test -z "$ac_cxx_werror_flag"
73499 || test ! -s conftest.err'
73500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73501 (eval $ac_try) 2>&5
73502 ac_status=$?
73503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504 (exit $ac_status); }; } &&
73505 { ac_try='test -s conftest.$ac_objext'
73506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73507 (eval $ac_try) 2>&5
73508 ac_status=$?
73509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510 (exit $ac_status); }; }; then
73511 glibcxx_cv_func___builtin_sinl_use=yes
73512 else
73513 echo "$as_me: failed program was:" >&5
73514 sed 's/^/| /' conftest.$ac_ext >&5
73516 glibcxx_cv_func___builtin_sinl_use=no
73518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73519 ac_ext=c
73520 ac_cpp='$CPP $CPPFLAGS'
73521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73529 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73530 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73531 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73532 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73533 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73534 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73535 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73536 echo $ECHO_N "(cached) $ECHO_C" >&6
73537 else
73539 if test x$gcc_no_link = xyes; then
73540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73542 { (exit 1); exit 1; }; }
73544 cat >conftest.$ac_ext <<_ACEOF
73545 /* confdefs.h. */
73546 _ACEOF
73547 cat confdefs.h >>conftest.$ac_ext
73548 cat >>conftest.$ac_ext <<_ACEOF
73549 /* end confdefs.h. */
73550 #include <math.h>
73552 main ()
73554 __builtin_sinl(0);
73556 return 0;
73558 _ACEOF
73559 rm -f conftest.$ac_objext conftest$ac_exeext
73560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73561 (eval $ac_link) 2>conftest.er1
73562 ac_status=$?
73563 grep -v '^ *+' conftest.er1 >conftest.err
73564 rm -f conftest.er1
73565 cat conftest.err >&5
73566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73567 (exit $ac_status); } &&
73568 { ac_try='test -z "$ac_c_werror_flag"
73569 || test ! -s conftest.err'
73570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73571 (eval $ac_try) 2>&5
73572 ac_status=$?
73573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73574 (exit $ac_status); }; } &&
73575 { ac_try='test -s conftest$ac_exeext'
73576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73577 (eval $ac_try) 2>&5
73578 ac_status=$?
73579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73580 (exit $ac_status); }; }; then
73581 glibcxx_cv_func___builtin_sinl_link=yes
73582 else
73583 echo "$as_me: failed program was:" >&5
73584 sed 's/^/| /' conftest.$ac_ext >&5
73586 glibcxx_cv_func___builtin_sinl_link=no
73588 rm -f conftest.err conftest.$ac_objext \
73589 conftest$ac_exeext conftest.$ac_ext
73594 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73595 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73597 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73599 cat >>confdefs.h <<\_ACEOF
73600 #define HAVE___BUILTIN_SINL 1
73601 _ACEOF
73609 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73610 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73611 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73612 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73613 echo $ECHO_N "(cached) $ECHO_C" >&6
73614 else
73618 ac_ext=cc
73619 ac_cpp='$CXXCPP $CPPFLAGS'
73620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73624 cat >conftest.$ac_ext <<_ACEOF
73625 /* confdefs.h. */
73626 _ACEOF
73627 cat confdefs.h >>conftest.$ac_ext
73628 cat >>conftest.$ac_ext <<_ACEOF
73629 /* end confdefs.h. */
73630 #include <math.h>
73632 main ()
73634 __builtin_cosf(0);
73636 return 0;
73638 _ACEOF
73639 rm -f conftest.$ac_objext
73640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73641 (eval $ac_compile) 2>conftest.er1
73642 ac_status=$?
73643 grep -v '^ *+' conftest.er1 >conftest.err
73644 rm -f conftest.er1
73645 cat conftest.err >&5
73646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73647 (exit $ac_status); } &&
73648 { ac_try='test -z "$ac_cxx_werror_flag"
73649 || test ! -s conftest.err'
73650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73651 (eval $ac_try) 2>&5
73652 ac_status=$?
73653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73654 (exit $ac_status); }; } &&
73655 { ac_try='test -s conftest.$ac_objext'
73656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73657 (eval $ac_try) 2>&5
73658 ac_status=$?
73659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73660 (exit $ac_status); }; }; then
73661 glibcxx_cv_func___builtin_cosf_use=yes
73662 else
73663 echo "$as_me: failed program was:" >&5
73664 sed 's/^/| /' conftest.$ac_ext >&5
73666 glibcxx_cv_func___builtin_cosf_use=no
73668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73669 ac_ext=c
73670 ac_cpp='$CPP $CPPFLAGS'
73671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73679 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73680 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73681 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73682 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73683 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73684 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73685 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73686 echo $ECHO_N "(cached) $ECHO_C" >&6
73687 else
73689 if test x$gcc_no_link = xyes; then
73690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73692 { (exit 1); exit 1; }; }
73694 cat >conftest.$ac_ext <<_ACEOF
73695 /* confdefs.h. */
73696 _ACEOF
73697 cat confdefs.h >>conftest.$ac_ext
73698 cat >>conftest.$ac_ext <<_ACEOF
73699 /* end confdefs.h. */
73700 #include <math.h>
73702 main ()
73704 __builtin_cosf(0);
73706 return 0;
73708 _ACEOF
73709 rm -f conftest.$ac_objext conftest$ac_exeext
73710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73711 (eval $ac_link) 2>conftest.er1
73712 ac_status=$?
73713 grep -v '^ *+' conftest.er1 >conftest.err
73714 rm -f conftest.er1
73715 cat conftest.err >&5
73716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73717 (exit $ac_status); } &&
73718 { ac_try='test -z "$ac_c_werror_flag"
73719 || test ! -s conftest.err'
73720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73721 (eval $ac_try) 2>&5
73722 ac_status=$?
73723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73724 (exit $ac_status); }; } &&
73725 { ac_try='test -s conftest$ac_exeext'
73726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73727 (eval $ac_try) 2>&5
73728 ac_status=$?
73729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73730 (exit $ac_status); }; }; then
73731 glibcxx_cv_func___builtin_cosf_link=yes
73732 else
73733 echo "$as_me: failed program was:" >&5
73734 sed 's/^/| /' conftest.$ac_ext >&5
73736 glibcxx_cv_func___builtin_cosf_link=no
73738 rm -f conftest.err conftest.$ac_objext \
73739 conftest$ac_exeext conftest.$ac_ext
73744 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73745 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73747 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73749 cat >>confdefs.h <<\_ACEOF
73750 #define HAVE___BUILTIN_COSF 1
73751 _ACEOF
73758 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73759 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73760 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73761 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73762 echo $ECHO_N "(cached) $ECHO_C" >&6
73763 else
73767 ac_ext=cc
73768 ac_cpp='$CXXCPP $CPPFLAGS'
73769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73773 cat >conftest.$ac_ext <<_ACEOF
73774 /* confdefs.h. */
73775 _ACEOF
73776 cat confdefs.h >>conftest.$ac_ext
73777 cat >>conftest.$ac_ext <<_ACEOF
73778 /* end confdefs.h. */
73779 #include <math.h>
73781 main ()
73783 __builtin_cos(0);
73785 return 0;
73787 _ACEOF
73788 rm -f conftest.$ac_objext
73789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73790 (eval $ac_compile) 2>conftest.er1
73791 ac_status=$?
73792 grep -v '^ *+' conftest.er1 >conftest.err
73793 rm -f conftest.er1
73794 cat conftest.err >&5
73795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73796 (exit $ac_status); } &&
73797 { ac_try='test -z "$ac_cxx_werror_flag"
73798 || test ! -s conftest.err'
73799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73800 (eval $ac_try) 2>&5
73801 ac_status=$?
73802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73803 (exit $ac_status); }; } &&
73804 { ac_try='test -s conftest.$ac_objext'
73805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73806 (eval $ac_try) 2>&5
73807 ac_status=$?
73808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73809 (exit $ac_status); }; }; then
73810 glibcxx_cv_func___builtin_cos_use=yes
73811 else
73812 echo "$as_me: failed program was:" >&5
73813 sed 's/^/| /' conftest.$ac_ext >&5
73815 glibcxx_cv_func___builtin_cos_use=no
73817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73818 ac_ext=c
73819 ac_cpp='$CPP $CPPFLAGS'
73820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73828 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
73829 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
73830 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
73831 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
73832 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
73833 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
73834 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
73835 echo $ECHO_N "(cached) $ECHO_C" >&6
73836 else
73838 if test x$gcc_no_link = xyes; then
73839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73841 { (exit 1); exit 1; }; }
73843 cat >conftest.$ac_ext <<_ACEOF
73844 /* confdefs.h. */
73845 _ACEOF
73846 cat confdefs.h >>conftest.$ac_ext
73847 cat >>conftest.$ac_ext <<_ACEOF
73848 /* end confdefs.h. */
73849 #include <math.h>
73851 main ()
73853 __builtin_cos(0);
73855 return 0;
73857 _ACEOF
73858 rm -f conftest.$ac_objext conftest$ac_exeext
73859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73860 (eval $ac_link) 2>conftest.er1
73861 ac_status=$?
73862 grep -v '^ *+' conftest.er1 >conftest.err
73863 rm -f conftest.er1
73864 cat conftest.err >&5
73865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73866 (exit $ac_status); } &&
73867 { ac_try='test -z "$ac_c_werror_flag"
73868 || test ! -s conftest.err'
73869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73870 (eval $ac_try) 2>&5
73871 ac_status=$?
73872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73873 (exit $ac_status); }; } &&
73874 { ac_try='test -s conftest$ac_exeext'
73875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73876 (eval $ac_try) 2>&5
73877 ac_status=$?
73878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73879 (exit $ac_status); }; }; then
73880 glibcxx_cv_func___builtin_cos_link=yes
73881 else
73882 echo "$as_me: failed program was:" >&5
73883 sed 's/^/| /' conftest.$ac_ext >&5
73885 glibcxx_cv_func___builtin_cos_link=no
73887 rm -f conftest.err conftest.$ac_objext \
73888 conftest$ac_exeext conftest.$ac_ext
73893 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
73894 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
73896 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
73898 cat >>confdefs.h <<\_ACEOF
73899 #define HAVE___BUILTIN_COS 1
73900 _ACEOF
73907 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
73908 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
73909 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
73910 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
73911 echo $ECHO_N "(cached) $ECHO_C" >&6
73912 else
73916 ac_ext=cc
73917 ac_cpp='$CXXCPP $CPPFLAGS'
73918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73922 cat >conftest.$ac_ext <<_ACEOF
73923 /* confdefs.h. */
73924 _ACEOF
73925 cat confdefs.h >>conftest.$ac_ext
73926 cat >>conftest.$ac_ext <<_ACEOF
73927 /* end confdefs.h. */
73928 #include <math.h>
73930 main ()
73932 __builtin_cosl(0);
73934 return 0;
73936 _ACEOF
73937 rm -f conftest.$ac_objext
73938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73939 (eval $ac_compile) 2>conftest.er1
73940 ac_status=$?
73941 grep -v '^ *+' conftest.er1 >conftest.err
73942 rm -f conftest.er1
73943 cat conftest.err >&5
73944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73945 (exit $ac_status); } &&
73946 { ac_try='test -z "$ac_cxx_werror_flag"
73947 || test ! -s conftest.err'
73948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73949 (eval $ac_try) 2>&5
73950 ac_status=$?
73951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73952 (exit $ac_status); }; } &&
73953 { ac_try='test -s conftest.$ac_objext'
73954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73955 (eval $ac_try) 2>&5
73956 ac_status=$?
73957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73958 (exit $ac_status); }; }; then
73959 glibcxx_cv_func___builtin_cosl_use=yes
73960 else
73961 echo "$as_me: failed program was:" >&5
73962 sed 's/^/| /' conftest.$ac_ext >&5
73964 glibcxx_cv_func___builtin_cosl_use=no
73966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73967 ac_ext=c
73968 ac_cpp='$CPP $CPPFLAGS'
73969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73977 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
73978 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
73979 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
73980 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
73981 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
73982 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
73983 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
73984 echo $ECHO_N "(cached) $ECHO_C" >&6
73985 else
73987 if test x$gcc_no_link = xyes; then
73988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73990 { (exit 1); exit 1; }; }
73992 cat >conftest.$ac_ext <<_ACEOF
73993 /* confdefs.h. */
73994 _ACEOF
73995 cat confdefs.h >>conftest.$ac_ext
73996 cat >>conftest.$ac_ext <<_ACEOF
73997 /* end confdefs.h. */
73998 #include <math.h>
74000 main ()
74002 __builtin_cosl(0);
74004 return 0;
74006 _ACEOF
74007 rm -f conftest.$ac_objext conftest$ac_exeext
74008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74009 (eval $ac_link) 2>conftest.er1
74010 ac_status=$?
74011 grep -v '^ *+' conftest.er1 >conftest.err
74012 rm -f conftest.er1
74013 cat conftest.err >&5
74014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74015 (exit $ac_status); } &&
74016 { ac_try='test -z "$ac_c_werror_flag"
74017 || test ! -s conftest.err'
74018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74019 (eval $ac_try) 2>&5
74020 ac_status=$?
74021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74022 (exit $ac_status); }; } &&
74023 { ac_try='test -s conftest$ac_exeext'
74024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74025 (eval $ac_try) 2>&5
74026 ac_status=$?
74027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74028 (exit $ac_status); }; }; then
74029 glibcxx_cv_func___builtin_cosl_link=yes
74030 else
74031 echo "$as_me: failed program was:" >&5
74032 sed 's/^/| /' conftest.$ac_ext >&5
74034 glibcxx_cv_func___builtin_cosl_link=no
74036 rm -f conftest.err conftest.$ac_objext \
74037 conftest$ac_exeext conftest.$ac_ext
74042 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
74043 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
74045 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
74047 cat >>confdefs.h <<\_ACEOF
74048 #define HAVE___BUILTIN_COSL 1
74049 _ACEOF
74058 echo "$as_me:$LINENO: checking for main in -lm" >&5
74059 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74060 if test "${ac_cv_lib_m_main+set}" = set; then
74061 echo $ECHO_N "(cached) $ECHO_C" >&6
74062 else
74063 ac_check_lib_save_LIBS=$LIBS
74064 LIBS="-lm $LIBS"
74065 if test x$gcc_no_link = xyes; then
74066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74068 { (exit 1); exit 1; }; }
74070 cat >conftest.$ac_ext <<_ACEOF
74071 /* confdefs.h. */
74072 _ACEOF
74073 cat confdefs.h >>conftest.$ac_ext
74074 cat >>conftest.$ac_ext <<_ACEOF
74075 /* end confdefs.h. */
74079 main ()
74081 main ();
74083 return 0;
74085 _ACEOF
74086 rm -f conftest.$ac_objext conftest$ac_exeext
74087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74088 (eval $ac_link) 2>conftest.er1
74089 ac_status=$?
74090 grep -v '^ *+' conftest.er1 >conftest.err
74091 rm -f conftest.er1
74092 cat conftest.err >&5
74093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74094 (exit $ac_status); } &&
74095 { ac_try='test -z "$ac_c_werror_flag"
74096 || test ! -s conftest.err'
74097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74098 (eval $ac_try) 2>&5
74099 ac_status=$?
74100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74101 (exit $ac_status); }; } &&
74102 { ac_try='test -s conftest$ac_exeext'
74103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74104 (eval $ac_try) 2>&5
74105 ac_status=$?
74106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74107 (exit $ac_status); }; }; then
74108 ac_cv_lib_m_main=yes
74109 else
74110 echo "$as_me: failed program was:" >&5
74111 sed 's/^/| /' conftest.$ac_ext >&5
74113 ac_cv_lib_m_main=no
74115 rm -f conftest.err conftest.$ac_objext \
74116 conftest$ac_exeext conftest.$ac_ext
74117 LIBS=$ac_check_lib_save_LIBS
74119 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74120 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74121 if test $ac_cv_lib_m_main = yes; then
74122 cat >>confdefs.h <<_ACEOF
74123 #define HAVE_LIBM 1
74124 _ACEOF
74126 LIBS="-lm $LIBS"
74131 for ac_func in copysignf
74133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74134 echo "$as_me:$LINENO: checking for $ac_func" >&5
74135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74136 if eval "test \"\${$as_ac_var+set}\" = set"; then
74137 echo $ECHO_N "(cached) $ECHO_C" >&6
74138 else
74139 if test x$gcc_no_link = xyes; then
74140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74142 { (exit 1); exit 1; }; }
74144 cat >conftest.$ac_ext <<_ACEOF
74145 /* confdefs.h. */
74146 _ACEOF
74147 cat confdefs.h >>conftest.$ac_ext
74148 cat >>conftest.$ac_ext <<_ACEOF
74149 /* end confdefs.h. */
74150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74152 #define $ac_func innocuous_$ac_func
74154 /* System header to define __stub macros and hopefully few prototypes,
74155 which can conflict with char $ac_func (); below.
74156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74157 <limits.h> exists even on freestanding compilers. */
74159 #ifdef __STDC__
74160 # include <limits.h>
74161 #else
74162 # include <assert.h>
74163 #endif
74165 #undef $ac_func
74167 /* Override any gcc2 internal prototype to avoid an error. */
74168 #ifdef __cplusplus
74169 extern "C"
74171 #endif
74172 /* We use char because int might match the return type of a gcc2
74173 builtin and then its argument prototype would still apply. */
74174 char $ac_func ();
74175 /* The GNU C library defines this for functions which it implements
74176 to always fail with ENOSYS. Some functions are actually named
74177 something starting with __ and the normal name is an alias. */
74178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74179 choke me
74180 #else
74181 char (*f) () = $ac_func;
74182 #endif
74183 #ifdef __cplusplus
74185 #endif
74188 main ()
74190 return f != $ac_func;
74192 return 0;
74194 _ACEOF
74195 rm -f conftest.$ac_objext conftest$ac_exeext
74196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74197 (eval $ac_link) 2>conftest.er1
74198 ac_status=$?
74199 grep -v '^ *+' conftest.er1 >conftest.err
74200 rm -f conftest.er1
74201 cat conftest.err >&5
74202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74203 (exit $ac_status); } &&
74204 { ac_try='test -z "$ac_c_werror_flag"
74205 || test ! -s conftest.err'
74206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74207 (eval $ac_try) 2>&5
74208 ac_status=$?
74209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210 (exit $ac_status); }; } &&
74211 { ac_try='test -s conftest$ac_exeext'
74212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74213 (eval $ac_try) 2>&5
74214 ac_status=$?
74215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74216 (exit $ac_status); }; }; then
74217 eval "$as_ac_var=yes"
74218 else
74219 echo "$as_me: failed program was:" >&5
74220 sed 's/^/| /' conftest.$ac_ext >&5
74222 eval "$as_ac_var=no"
74224 rm -f conftest.err conftest.$ac_objext \
74225 conftest$ac_exeext conftest.$ac_ext
74227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74229 if test `eval echo '${'$as_ac_var'}'` = yes; then
74230 cat >>confdefs.h <<_ACEOF
74231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74232 _ACEOF
74234 else
74235 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74237 done
74241 for ac_func in __signbit
74243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74244 echo "$as_me:$LINENO: checking for $ac_func" >&5
74245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74246 if eval "test \"\${$as_ac_var+set}\" = set"; then
74247 echo $ECHO_N "(cached) $ECHO_C" >&6
74248 else
74249 if test x$gcc_no_link = xyes; then
74250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74252 { (exit 1); exit 1; }; }
74254 cat >conftest.$ac_ext <<_ACEOF
74255 /* confdefs.h. */
74256 _ACEOF
74257 cat confdefs.h >>conftest.$ac_ext
74258 cat >>conftest.$ac_ext <<_ACEOF
74259 /* end confdefs.h. */
74260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74262 #define $ac_func innocuous_$ac_func
74264 /* System header to define __stub macros and hopefully few prototypes,
74265 which can conflict with char $ac_func (); below.
74266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74267 <limits.h> exists even on freestanding compilers. */
74269 #ifdef __STDC__
74270 # include <limits.h>
74271 #else
74272 # include <assert.h>
74273 #endif
74275 #undef $ac_func
74277 /* Override any gcc2 internal prototype to avoid an error. */
74278 #ifdef __cplusplus
74279 extern "C"
74281 #endif
74282 /* We use char because int might match the return type of a gcc2
74283 builtin and then its argument prototype would still apply. */
74284 char $ac_func ();
74285 /* The GNU C library defines this for functions which it implements
74286 to always fail with ENOSYS. Some functions are actually named
74287 something starting with __ and the normal name is an alias. */
74288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74289 choke me
74290 #else
74291 char (*f) () = $ac_func;
74292 #endif
74293 #ifdef __cplusplus
74295 #endif
74298 main ()
74300 return f != $ac_func;
74302 return 0;
74304 _ACEOF
74305 rm -f conftest.$ac_objext conftest$ac_exeext
74306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74307 (eval $ac_link) 2>conftest.er1
74308 ac_status=$?
74309 grep -v '^ *+' conftest.er1 >conftest.err
74310 rm -f conftest.er1
74311 cat conftest.err >&5
74312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74313 (exit $ac_status); } &&
74314 { ac_try='test -z "$ac_c_werror_flag"
74315 || test ! -s conftest.err'
74316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74317 (eval $ac_try) 2>&5
74318 ac_status=$?
74319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74320 (exit $ac_status); }; } &&
74321 { ac_try='test -s conftest$ac_exeext'
74322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74323 (eval $ac_try) 2>&5
74324 ac_status=$?
74325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74326 (exit $ac_status); }; }; then
74327 eval "$as_ac_var=yes"
74328 else
74329 echo "$as_me: failed program was:" >&5
74330 sed 's/^/| /' conftest.$ac_ext >&5
74332 eval "$as_ac_var=no"
74334 rm -f conftest.err conftest.$ac_objext \
74335 conftest$ac_exeext conftest.$ac_ext
74337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74339 if test `eval echo '${'$as_ac_var'}'` = yes; then
74340 cat >>confdefs.h <<_ACEOF
74341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74342 _ACEOF
74344 else
74345 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74347 done
74351 for ac_func in __signbitf
74353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74354 echo "$as_me:$LINENO: checking for $ac_func" >&5
74355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74356 if eval "test \"\${$as_ac_var+set}\" = set"; then
74357 echo $ECHO_N "(cached) $ECHO_C" >&6
74358 else
74359 if test x$gcc_no_link = xyes; then
74360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74362 { (exit 1); exit 1; }; }
74364 cat >conftest.$ac_ext <<_ACEOF
74365 /* confdefs.h. */
74366 _ACEOF
74367 cat confdefs.h >>conftest.$ac_ext
74368 cat >>conftest.$ac_ext <<_ACEOF
74369 /* end confdefs.h. */
74370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74372 #define $ac_func innocuous_$ac_func
74374 /* System header to define __stub macros and hopefully few prototypes,
74375 which can conflict with char $ac_func (); below.
74376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74377 <limits.h> exists even on freestanding compilers. */
74379 #ifdef __STDC__
74380 # include <limits.h>
74381 #else
74382 # include <assert.h>
74383 #endif
74385 #undef $ac_func
74387 /* Override any gcc2 internal prototype to avoid an error. */
74388 #ifdef __cplusplus
74389 extern "C"
74391 #endif
74392 /* We use char because int might match the return type of a gcc2
74393 builtin and then its argument prototype would still apply. */
74394 char $ac_func ();
74395 /* The GNU C library defines this for functions which it implements
74396 to always fail with ENOSYS. Some functions are actually named
74397 something starting with __ and the normal name is an alias. */
74398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74399 choke me
74400 #else
74401 char (*f) () = $ac_func;
74402 #endif
74403 #ifdef __cplusplus
74405 #endif
74408 main ()
74410 return f != $ac_func;
74412 return 0;
74414 _ACEOF
74415 rm -f conftest.$ac_objext conftest$ac_exeext
74416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74417 (eval $ac_link) 2>conftest.er1
74418 ac_status=$?
74419 grep -v '^ *+' conftest.er1 >conftest.err
74420 rm -f conftest.er1
74421 cat conftest.err >&5
74422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74423 (exit $ac_status); } &&
74424 { ac_try='test -z "$ac_c_werror_flag"
74425 || test ! -s conftest.err'
74426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74427 (eval $ac_try) 2>&5
74428 ac_status=$?
74429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74430 (exit $ac_status); }; } &&
74431 { ac_try='test -s conftest$ac_exeext'
74432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74433 (eval $ac_try) 2>&5
74434 ac_status=$?
74435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74436 (exit $ac_status); }; }; then
74437 eval "$as_ac_var=yes"
74438 else
74439 echo "$as_me: failed program was:" >&5
74440 sed 's/^/| /' conftest.$ac_ext >&5
74442 eval "$as_ac_var=no"
74444 rm -f conftest.err conftest.$ac_objext \
74445 conftest$ac_exeext conftest.$ac_ext
74447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74449 if test `eval echo '${'$as_ac_var'}'` = yes; then
74450 cat >>confdefs.h <<_ACEOF
74451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74452 _ACEOF
74454 else
74455 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74457 done
74460 if test x$ac_cv_func_copysignl = x"yes"; then
74462 for ac_func in __signbitl
74464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74465 echo "$as_me:$LINENO: checking for $ac_func" >&5
74466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74467 if eval "test \"\${$as_ac_var+set}\" = set"; then
74468 echo $ECHO_N "(cached) $ECHO_C" >&6
74469 else
74470 if test x$gcc_no_link = xyes; then
74471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74473 { (exit 1); exit 1; }; }
74475 cat >conftest.$ac_ext <<_ACEOF
74476 /* confdefs.h. */
74477 _ACEOF
74478 cat confdefs.h >>conftest.$ac_ext
74479 cat >>conftest.$ac_ext <<_ACEOF
74480 /* end confdefs.h. */
74481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74483 #define $ac_func innocuous_$ac_func
74485 /* System header to define __stub macros and hopefully few prototypes,
74486 which can conflict with char $ac_func (); below.
74487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74488 <limits.h> exists even on freestanding compilers. */
74490 #ifdef __STDC__
74491 # include <limits.h>
74492 #else
74493 # include <assert.h>
74494 #endif
74496 #undef $ac_func
74498 /* Override any gcc2 internal prototype to avoid an error. */
74499 #ifdef __cplusplus
74500 extern "C"
74502 #endif
74503 /* We use char because int might match the return type of a gcc2
74504 builtin and then its argument prototype would still apply. */
74505 char $ac_func ();
74506 /* The GNU C library defines this for functions which it implements
74507 to always fail with ENOSYS. Some functions are actually named
74508 something starting with __ and the normal name is an alias. */
74509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74510 choke me
74511 #else
74512 char (*f) () = $ac_func;
74513 #endif
74514 #ifdef __cplusplus
74516 #endif
74519 main ()
74521 return f != $ac_func;
74523 return 0;
74525 _ACEOF
74526 rm -f conftest.$ac_objext conftest$ac_exeext
74527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74528 (eval $ac_link) 2>conftest.er1
74529 ac_status=$?
74530 grep -v '^ *+' conftest.er1 >conftest.err
74531 rm -f conftest.er1
74532 cat conftest.err >&5
74533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74534 (exit $ac_status); } &&
74535 { ac_try='test -z "$ac_c_werror_flag"
74536 || test ! -s conftest.err'
74537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74538 (eval $ac_try) 2>&5
74539 ac_status=$?
74540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74541 (exit $ac_status); }; } &&
74542 { ac_try='test -s conftest$ac_exeext'
74543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74544 (eval $ac_try) 2>&5
74545 ac_status=$?
74546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547 (exit $ac_status); }; }; then
74548 eval "$as_ac_var=yes"
74549 else
74550 echo "$as_me: failed program was:" >&5
74551 sed 's/^/| /' conftest.$ac_ext >&5
74553 eval "$as_ac_var=no"
74555 rm -f conftest.err conftest.$ac_objext \
74556 conftest$ac_exeext conftest.$ac_ext
74558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74560 if test `eval echo '${'$as_ac_var'}'` = yes; then
74561 cat >>confdefs.h <<_ACEOF
74562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74563 _ACEOF
74565 else
74566 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74568 done
74572 # Used in libmath/Makefile.am.
74573 if test -n "$LIBMATHOBJS"; then
74574 need_libmath=yes
74580 enable_iconv=no
74581 # Only continue checking if the ISO C99 headers exist and support is on.
74582 if test x"$enable_wchar_t" = xyes; then
74584 # Use iconv for wchar_t to char conversions. As such, check for
74585 # X/Open Portability Guide, version 2 features (XPG2).
74586 if test "${ac_cv_header_iconv_h+set}" = set; then
74587 echo "$as_me:$LINENO: checking for iconv.h" >&5
74588 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74589 if test "${ac_cv_header_iconv_h+set}" = set; then
74590 echo $ECHO_N "(cached) $ECHO_C" >&6
74592 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74593 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74594 else
74595 # Is the header compilable?
74596 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74597 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74598 cat >conftest.$ac_ext <<_ACEOF
74599 /* confdefs.h. */
74600 _ACEOF
74601 cat confdefs.h >>conftest.$ac_ext
74602 cat >>conftest.$ac_ext <<_ACEOF
74603 /* end confdefs.h. */
74604 $ac_includes_default
74605 #include <iconv.h>
74606 _ACEOF
74607 rm -f conftest.$ac_objext
74608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74609 (eval $ac_compile) 2>conftest.er1
74610 ac_status=$?
74611 grep -v '^ *+' conftest.er1 >conftest.err
74612 rm -f conftest.er1
74613 cat conftest.err >&5
74614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74615 (exit $ac_status); } &&
74616 { ac_try='test -z "$ac_c_werror_flag"
74617 || test ! -s conftest.err'
74618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74619 (eval $ac_try) 2>&5
74620 ac_status=$?
74621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74622 (exit $ac_status); }; } &&
74623 { ac_try='test -s conftest.$ac_objext'
74624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74625 (eval $ac_try) 2>&5
74626 ac_status=$?
74627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74628 (exit $ac_status); }; }; then
74629 ac_header_compiler=yes
74630 else
74631 echo "$as_me: failed program was:" >&5
74632 sed 's/^/| /' conftest.$ac_ext >&5
74634 ac_header_compiler=no
74636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74638 echo "${ECHO_T}$ac_header_compiler" >&6
74640 # Is the header present?
74641 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74642 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74643 cat >conftest.$ac_ext <<_ACEOF
74644 /* confdefs.h. */
74645 _ACEOF
74646 cat confdefs.h >>conftest.$ac_ext
74647 cat >>conftest.$ac_ext <<_ACEOF
74648 /* end confdefs.h. */
74649 #include <iconv.h>
74650 _ACEOF
74651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74653 ac_status=$?
74654 grep -v '^ *+' conftest.er1 >conftest.err
74655 rm -f conftest.er1
74656 cat conftest.err >&5
74657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74658 (exit $ac_status); } >/dev/null; then
74659 if test -s conftest.err; then
74660 ac_cpp_err=$ac_c_preproc_warn_flag
74661 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74662 else
74663 ac_cpp_err=
74665 else
74666 ac_cpp_err=yes
74668 if test -z "$ac_cpp_err"; then
74669 ac_header_preproc=yes
74670 else
74671 echo "$as_me: failed program was:" >&5
74672 sed 's/^/| /' conftest.$ac_ext >&5
74674 ac_header_preproc=no
74676 rm -f conftest.err conftest.$ac_ext
74677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74678 echo "${ECHO_T}$ac_header_preproc" >&6
74680 # So? What about this header?
74681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74682 yes:no: )
74683 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74684 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74685 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74686 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74687 ac_header_preproc=yes
74689 no:yes:* )
74690 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74691 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74692 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74693 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74694 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74695 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74696 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74697 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74698 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74699 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74700 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74701 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74703 cat <<\_ASBOX
74704 ## ----------------------------------------- ##
74705 ## Report this to the package-unused lists. ##
74706 ## ----------------------------------------- ##
74707 _ASBOX
74709 sed "s/^/$as_me: WARNING: /" >&2
74711 esac
74712 echo "$as_me:$LINENO: checking for iconv.h" >&5
74713 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74714 if test "${ac_cv_header_iconv_h+set}" = set; then
74715 echo $ECHO_N "(cached) $ECHO_C" >&6
74716 else
74717 ac_cv_header_iconv_h=$ac_header_preproc
74719 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74720 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74723 if test $ac_cv_header_iconv_h = yes; then
74724 ac_has_iconv_h=yes
74725 else
74726 ac_has_iconv_h=no
74730 if test "${ac_cv_header_langinfo_h+set}" = set; then
74731 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74732 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74733 if test "${ac_cv_header_langinfo_h+set}" = set; then
74734 echo $ECHO_N "(cached) $ECHO_C" >&6
74736 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74737 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74738 else
74739 # Is the header compilable?
74740 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74741 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74742 cat >conftest.$ac_ext <<_ACEOF
74743 /* confdefs.h. */
74744 _ACEOF
74745 cat confdefs.h >>conftest.$ac_ext
74746 cat >>conftest.$ac_ext <<_ACEOF
74747 /* end confdefs.h. */
74748 $ac_includes_default
74749 #include <langinfo.h>
74750 _ACEOF
74751 rm -f conftest.$ac_objext
74752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74753 (eval $ac_compile) 2>conftest.er1
74754 ac_status=$?
74755 grep -v '^ *+' conftest.er1 >conftest.err
74756 rm -f conftest.er1
74757 cat conftest.err >&5
74758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74759 (exit $ac_status); } &&
74760 { ac_try='test -z "$ac_c_werror_flag"
74761 || test ! -s conftest.err'
74762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74763 (eval $ac_try) 2>&5
74764 ac_status=$?
74765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766 (exit $ac_status); }; } &&
74767 { ac_try='test -s conftest.$ac_objext'
74768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74769 (eval $ac_try) 2>&5
74770 ac_status=$?
74771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74772 (exit $ac_status); }; }; then
74773 ac_header_compiler=yes
74774 else
74775 echo "$as_me: failed program was:" >&5
74776 sed 's/^/| /' conftest.$ac_ext >&5
74778 ac_header_compiler=no
74780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74782 echo "${ECHO_T}$ac_header_compiler" >&6
74784 # Is the header present?
74785 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74786 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74787 cat >conftest.$ac_ext <<_ACEOF
74788 /* confdefs.h. */
74789 _ACEOF
74790 cat confdefs.h >>conftest.$ac_ext
74791 cat >>conftest.$ac_ext <<_ACEOF
74792 /* end confdefs.h. */
74793 #include <langinfo.h>
74794 _ACEOF
74795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74797 ac_status=$?
74798 grep -v '^ *+' conftest.er1 >conftest.err
74799 rm -f conftest.er1
74800 cat conftest.err >&5
74801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74802 (exit $ac_status); } >/dev/null; then
74803 if test -s conftest.err; then
74804 ac_cpp_err=$ac_c_preproc_warn_flag
74805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74806 else
74807 ac_cpp_err=
74809 else
74810 ac_cpp_err=yes
74812 if test -z "$ac_cpp_err"; then
74813 ac_header_preproc=yes
74814 else
74815 echo "$as_me: failed program was:" >&5
74816 sed 's/^/| /' conftest.$ac_ext >&5
74818 ac_header_preproc=no
74820 rm -f conftest.err conftest.$ac_ext
74821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74822 echo "${ECHO_T}$ac_header_preproc" >&6
74824 # So? What about this header?
74825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74826 yes:no: )
74827 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74828 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74829 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74830 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74831 ac_header_preproc=yes
74833 no:yes:* )
74834 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74835 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74836 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74837 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74838 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74839 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74840 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74841 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74842 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74843 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74844 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74845 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74847 cat <<\_ASBOX
74848 ## ----------------------------------------- ##
74849 ## Report this to the package-unused lists. ##
74850 ## ----------------------------------------- ##
74851 _ASBOX
74853 sed "s/^/$as_me: WARNING: /" >&2
74855 esac
74856 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74857 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74858 if test "${ac_cv_header_langinfo_h+set}" = set; then
74859 echo $ECHO_N "(cached) $ECHO_C" >&6
74860 else
74861 ac_cv_header_langinfo_h=$ac_header_preproc
74863 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74864 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74867 if test $ac_cv_header_langinfo_h = yes; then
74868 ac_has_langinfo_h=yes
74869 else
74870 ac_has_langinfo_h=no
74875 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74876 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74877 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74878 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74879 echo $ECHO_N "(cached) $ECHO_C" >&6
74880 else
74881 ac_check_lib_save_LIBS=$LIBS
74882 LIBS="-liconv $LIBS"
74883 if test x$gcc_no_link = xyes; then
74884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74886 { (exit 1); exit 1; }; }
74888 cat >conftest.$ac_ext <<_ACEOF
74889 /* confdefs.h. */
74890 _ACEOF
74891 cat confdefs.h >>conftest.$ac_ext
74892 cat >>conftest.$ac_ext <<_ACEOF
74893 /* end confdefs.h. */
74895 /* Override any gcc2 internal prototype to avoid an error. */
74896 #ifdef __cplusplus
74897 extern "C"
74898 #endif
74899 /* We use char because int might match the return type of a gcc2
74900 builtin and then its argument prototype would still apply. */
74901 char iconv ();
74903 main ()
74905 iconv ();
74907 return 0;
74909 _ACEOF
74910 rm -f conftest.$ac_objext conftest$ac_exeext
74911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74912 (eval $ac_link) 2>conftest.er1
74913 ac_status=$?
74914 grep -v '^ *+' conftest.er1 >conftest.err
74915 rm -f conftest.er1
74916 cat conftest.err >&5
74917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74918 (exit $ac_status); } &&
74919 { ac_try='test -z "$ac_c_werror_flag"
74920 || test ! -s conftest.err'
74921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74922 (eval $ac_try) 2>&5
74923 ac_status=$?
74924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925 (exit $ac_status); }; } &&
74926 { ac_try='test -s conftest$ac_exeext'
74927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74928 (eval $ac_try) 2>&5
74929 ac_status=$?
74930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74931 (exit $ac_status); }; }; then
74932 ac_cv_lib_iconv_iconv=yes
74933 else
74934 echo "$as_me: failed program was:" >&5
74935 sed 's/^/| /' conftest.$ac_ext >&5
74937 ac_cv_lib_iconv_iconv=no
74939 rm -f conftest.err conftest.$ac_objext \
74940 conftest$ac_exeext conftest.$ac_ext
74941 LIBS=$ac_check_lib_save_LIBS
74943 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74944 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74945 if test $ac_cv_lib_iconv_iconv = yes; then
74946 LIBICONV="-liconv"
74949 ac_save_LIBS="$LIBS"
74950 LIBS="$LIBS $LIBICONV"
74957 for ac_func in iconv_open iconv_close iconv nl_langinfo
74959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74960 echo "$as_me:$LINENO: checking for $ac_func" >&5
74961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74962 if eval "test \"\${$as_ac_var+set}\" = set"; then
74963 echo $ECHO_N "(cached) $ECHO_C" >&6
74964 else
74965 if test x$gcc_no_link = xyes; then
74966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74968 { (exit 1); exit 1; }; }
74970 cat >conftest.$ac_ext <<_ACEOF
74971 /* confdefs.h. */
74972 _ACEOF
74973 cat confdefs.h >>conftest.$ac_ext
74974 cat >>conftest.$ac_ext <<_ACEOF
74975 /* end confdefs.h. */
74976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74978 #define $ac_func innocuous_$ac_func
74980 /* System header to define __stub macros and hopefully few prototypes,
74981 which can conflict with char $ac_func (); below.
74982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74983 <limits.h> exists even on freestanding compilers. */
74985 #ifdef __STDC__
74986 # include <limits.h>
74987 #else
74988 # include <assert.h>
74989 #endif
74991 #undef $ac_func
74993 /* Override any gcc2 internal prototype to avoid an error. */
74994 #ifdef __cplusplus
74995 extern "C"
74997 #endif
74998 /* We use char because int might match the return type of a gcc2
74999 builtin and then its argument prototype would still apply. */
75000 char $ac_func ();
75001 /* The GNU C library defines this for functions which it implements
75002 to always fail with ENOSYS. Some functions are actually named
75003 something starting with __ and the normal name is an alias. */
75004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75005 choke me
75006 #else
75007 char (*f) () = $ac_func;
75008 #endif
75009 #ifdef __cplusplus
75011 #endif
75014 main ()
75016 return f != $ac_func;
75018 return 0;
75020 _ACEOF
75021 rm -f conftest.$ac_objext conftest$ac_exeext
75022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75023 (eval $ac_link) 2>conftest.er1
75024 ac_status=$?
75025 grep -v '^ *+' conftest.er1 >conftest.err
75026 rm -f conftest.er1
75027 cat conftest.err >&5
75028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75029 (exit $ac_status); } &&
75030 { ac_try='test -z "$ac_c_werror_flag"
75031 || test ! -s conftest.err'
75032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75033 (eval $ac_try) 2>&5
75034 ac_status=$?
75035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75036 (exit $ac_status); }; } &&
75037 { ac_try='test -s conftest$ac_exeext'
75038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75039 (eval $ac_try) 2>&5
75040 ac_status=$?
75041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75042 (exit $ac_status); }; }; then
75043 eval "$as_ac_var=yes"
75044 else
75045 echo "$as_me: failed program was:" >&5
75046 sed 's/^/| /' conftest.$ac_ext >&5
75048 eval "$as_ac_var=no"
75050 rm -f conftest.err conftest.$ac_objext \
75051 conftest$ac_exeext conftest.$ac_ext
75053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75055 if test `eval echo '${'$as_ac_var'}'` = yes; then
75056 cat >>confdefs.h <<_ACEOF
75057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75058 _ACEOF
75059 ac_XPG2funcs=yes
75060 else
75061 ac_XPG2funcs=no
75063 done
75066 LIBS="$ac_save_LIBS"
75068 if test x"$ac_has_iconv_h" = xyes &&
75069 test x"$ac_has_langinfo_h" = xyes &&
75070 test x"$ac_XPG2funcs" = xyes;
75071 then
75073 cat >>confdefs.h <<\_ACEOF
75074 #define _GLIBCXX_USE_ICONV 1
75075 _ACEOF
75077 enable_iconv=yes
75080 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75081 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75082 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75083 echo "${ECHO_T}$enable_iconv" >&6
75086 ac_test_CXXFLAGS="${CXXFLAGS+set}"
75087 ac_save_CXXFLAGS="$CXXFLAGS"
75088 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
75091 echo "$as_me:$LINENO: checking for strtold declaration" >&5
75092 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
75093 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
75094 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
75095 echo $ECHO_N "(cached) $ECHO_C" >&6
75096 else
75100 ac_ext=cc
75101 ac_cpp='$CXXCPP $CPPFLAGS'
75102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75106 cat >conftest.$ac_ext <<_ACEOF
75107 /* confdefs.h. */
75108 _ACEOF
75109 cat confdefs.h >>conftest.$ac_ext
75110 cat >>conftest.$ac_ext <<_ACEOF
75111 /* end confdefs.h. */
75112 #include <stdlib.h>
75114 main ()
75116 strtold(0, 0);
75118 return 0;
75120 _ACEOF
75121 rm -f conftest.$ac_objext
75122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75123 (eval $ac_compile) 2>conftest.er1
75124 ac_status=$?
75125 grep -v '^ *+' conftest.er1 >conftest.err
75126 rm -f conftest.er1
75127 cat conftest.err >&5
75128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75129 (exit $ac_status); } &&
75130 { ac_try='test -z "$ac_cxx_werror_flag"
75131 || test ! -s conftest.err'
75132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75133 (eval $ac_try) 2>&5
75134 ac_status=$?
75135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75136 (exit $ac_status); }; } &&
75137 { ac_try='test -s conftest.$ac_objext'
75138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75139 (eval $ac_try) 2>&5
75140 ac_status=$?
75141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75142 (exit $ac_status); }; }; then
75143 glibcxx_cv_func_strtold_use=yes
75144 else
75145 echo "$as_me: failed program was:" >&5
75146 sed 's/^/| /' conftest.$ac_ext >&5
75148 glibcxx_cv_func_strtold_use=no
75150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75151 ac_ext=c
75152 ac_cpp='$CPP $CPPFLAGS'
75153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
75162 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
75163 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
75165 for ac_func in strtold
75167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75168 echo "$as_me:$LINENO: checking for $ac_func" >&5
75169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75170 if eval "test \"\${$as_ac_var+set}\" = set"; then
75171 echo $ECHO_N "(cached) $ECHO_C" >&6
75172 else
75173 if test x$gcc_no_link = xyes; then
75174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75176 { (exit 1); exit 1; }; }
75178 cat >conftest.$ac_ext <<_ACEOF
75179 /* confdefs.h. */
75180 _ACEOF
75181 cat confdefs.h >>conftest.$ac_ext
75182 cat >>conftest.$ac_ext <<_ACEOF
75183 /* end confdefs.h. */
75184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75186 #define $ac_func innocuous_$ac_func
75188 /* System header to define __stub macros and hopefully few prototypes,
75189 which can conflict with char $ac_func (); below.
75190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75191 <limits.h> exists even on freestanding compilers. */
75193 #ifdef __STDC__
75194 # include <limits.h>
75195 #else
75196 # include <assert.h>
75197 #endif
75199 #undef $ac_func
75201 /* Override any gcc2 internal prototype to avoid an error. */
75202 #ifdef __cplusplus
75203 extern "C"
75205 #endif
75206 /* We use char because int might match the return type of a gcc2
75207 builtin and then its argument prototype would still apply. */
75208 char $ac_func ();
75209 /* The GNU C library defines this for functions which it implements
75210 to always fail with ENOSYS. Some functions are actually named
75211 something starting with __ and the normal name is an alias. */
75212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75213 choke me
75214 #else
75215 char (*f) () = $ac_func;
75216 #endif
75217 #ifdef __cplusplus
75219 #endif
75222 main ()
75224 return f != $ac_func;
75226 return 0;
75228 _ACEOF
75229 rm -f conftest.$ac_objext conftest$ac_exeext
75230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75231 (eval $ac_link) 2>conftest.er1
75232 ac_status=$?
75233 grep -v '^ *+' conftest.er1 >conftest.err
75234 rm -f conftest.er1
75235 cat conftest.err >&5
75236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75237 (exit $ac_status); } &&
75238 { ac_try='test -z "$ac_c_werror_flag"
75239 || test ! -s conftest.err'
75240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75241 (eval $ac_try) 2>&5
75242 ac_status=$?
75243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75244 (exit $ac_status); }; } &&
75245 { ac_try='test -s conftest$ac_exeext'
75246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75247 (eval $ac_try) 2>&5
75248 ac_status=$?
75249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75250 (exit $ac_status); }; }; then
75251 eval "$as_ac_var=yes"
75252 else
75253 echo "$as_me: failed program was:" >&5
75254 sed 's/^/| /' conftest.$ac_ext >&5
75256 eval "$as_ac_var=no"
75258 rm -f conftest.err conftest.$ac_objext \
75259 conftest$ac_exeext conftest.$ac_ext
75261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75263 if test `eval echo '${'$as_ac_var'}'` = yes; then
75264 cat >>confdefs.h <<_ACEOF
75265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75266 _ACEOF
75269 done
75277 echo "$as_me:$LINENO: checking for strtof declaration" >&5
75278 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
75279 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
75280 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
75281 echo $ECHO_N "(cached) $ECHO_C" >&6
75282 else
75286 ac_ext=cc
75287 ac_cpp='$CXXCPP $CPPFLAGS'
75288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75292 cat >conftest.$ac_ext <<_ACEOF
75293 /* confdefs.h. */
75294 _ACEOF
75295 cat confdefs.h >>conftest.$ac_ext
75296 cat >>conftest.$ac_ext <<_ACEOF
75297 /* end confdefs.h. */
75298 #include <stdlib.h>
75300 main ()
75302 strtof(0, 0);
75304 return 0;
75306 _ACEOF
75307 rm -f conftest.$ac_objext
75308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75309 (eval $ac_compile) 2>conftest.er1
75310 ac_status=$?
75311 grep -v '^ *+' conftest.er1 >conftest.err
75312 rm -f conftest.er1
75313 cat conftest.err >&5
75314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75315 (exit $ac_status); } &&
75316 { ac_try='test -z "$ac_cxx_werror_flag"
75317 || test ! -s conftest.err'
75318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75319 (eval $ac_try) 2>&5
75320 ac_status=$?
75321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75322 (exit $ac_status); }; } &&
75323 { ac_try='test -s conftest.$ac_objext'
75324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75325 (eval $ac_try) 2>&5
75326 ac_status=$?
75327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75328 (exit $ac_status); }; }; then
75329 glibcxx_cv_func_strtof_use=yes
75330 else
75331 echo "$as_me: failed program was:" >&5
75332 sed 's/^/| /' conftest.$ac_ext >&5
75334 glibcxx_cv_func_strtof_use=no
75336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75337 ac_ext=c
75338 ac_cpp='$CPP $CPPFLAGS'
75339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
75348 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
75349 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
75351 for ac_func in strtof
75353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75354 echo "$as_me:$LINENO: checking for $ac_func" >&5
75355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75356 if eval "test \"\${$as_ac_var+set}\" = set"; then
75357 echo $ECHO_N "(cached) $ECHO_C" >&6
75358 else
75359 if test x$gcc_no_link = xyes; then
75360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75362 { (exit 1); exit 1; }; }
75364 cat >conftest.$ac_ext <<_ACEOF
75365 /* confdefs.h. */
75366 _ACEOF
75367 cat confdefs.h >>conftest.$ac_ext
75368 cat >>conftest.$ac_ext <<_ACEOF
75369 /* end confdefs.h. */
75370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75372 #define $ac_func innocuous_$ac_func
75374 /* System header to define __stub macros and hopefully few prototypes,
75375 which can conflict with char $ac_func (); below.
75376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75377 <limits.h> exists even on freestanding compilers. */
75379 #ifdef __STDC__
75380 # include <limits.h>
75381 #else
75382 # include <assert.h>
75383 #endif
75385 #undef $ac_func
75387 /* Override any gcc2 internal prototype to avoid an error. */
75388 #ifdef __cplusplus
75389 extern "C"
75391 #endif
75392 /* We use char because int might match the return type of a gcc2
75393 builtin and then its argument prototype would still apply. */
75394 char $ac_func ();
75395 /* The GNU C library defines this for functions which it implements
75396 to always fail with ENOSYS. Some functions are actually named
75397 something starting with __ and the normal name is an alias. */
75398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75399 choke me
75400 #else
75401 char (*f) () = $ac_func;
75402 #endif
75403 #ifdef __cplusplus
75405 #endif
75408 main ()
75410 return f != $ac_func;
75412 return 0;
75414 _ACEOF
75415 rm -f conftest.$ac_objext conftest$ac_exeext
75416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75417 (eval $ac_link) 2>conftest.er1
75418 ac_status=$?
75419 grep -v '^ *+' conftest.er1 >conftest.err
75420 rm -f conftest.er1
75421 cat conftest.err >&5
75422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75423 (exit $ac_status); } &&
75424 { ac_try='test -z "$ac_c_werror_flag"
75425 || test ! -s conftest.err'
75426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75427 (eval $ac_try) 2>&5
75428 ac_status=$?
75429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75430 (exit $ac_status); }; } &&
75431 { ac_try='test -s conftest$ac_exeext'
75432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75433 (eval $ac_try) 2>&5
75434 ac_status=$?
75435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75436 (exit $ac_status); }; }; then
75437 eval "$as_ac_var=yes"
75438 else
75439 echo "$as_me: failed program was:" >&5
75440 sed 's/^/| /' conftest.$ac_ext >&5
75442 eval "$as_ac_var=no"
75444 rm -f conftest.err conftest.$ac_objext \
75445 conftest$ac_exeext conftest.$ac_ext
75447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75449 if test `eval echo '${'$as_ac_var'}'` = yes; then
75450 cat >>confdefs.h <<_ACEOF
75451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75452 _ACEOF
75455 done
75463 CXXFLAGS="$ac_save_CXXFLAGS"
75466 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
75467 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
75468 if test "${glibcxx_cv_S_ISREG+set}" = set; then
75469 echo $ECHO_N "(cached) $ECHO_C" >&6
75470 else
75472 if test x$gcc_no_link = xyes; then
75473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75475 { (exit 1); exit 1; }; }
75477 cat >conftest.$ac_ext <<_ACEOF
75478 /* confdefs.h. */
75479 _ACEOF
75480 cat confdefs.h >>conftest.$ac_ext
75481 cat >>conftest.$ac_ext <<_ACEOF
75482 /* end confdefs.h. */
75483 #include <sys/stat.h>
75485 main ()
75487 struct stat buffer;
75488 fstat(0, &buffer);
75489 S_ISREG(buffer.st_mode);
75491 return 0;
75493 _ACEOF
75494 rm -f conftest.$ac_objext conftest$ac_exeext
75495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75496 (eval $ac_link) 2>conftest.er1
75497 ac_status=$?
75498 grep -v '^ *+' conftest.er1 >conftest.err
75499 rm -f conftest.er1
75500 cat conftest.err >&5
75501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75502 (exit $ac_status); } &&
75503 { ac_try='test -z "$ac_c_werror_flag"
75504 || test ! -s conftest.err'
75505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75506 (eval $ac_try) 2>&5
75507 ac_status=$?
75508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75509 (exit $ac_status); }; } &&
75510 { ac_try='test -s conftest$ac_exeext'
75511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75512 (eval $ac_try) 2>&5
75513 ac_status=$?
75514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75515 (exit $ac_status); }; }; then
75516 glibcxx_cv_S_ISREG=yes
75517 else
75518 echo "$as_me: failed program was:" >&5
75519 sed 's/^/| /' conftest.$ac_ext >&5
75521 glibcxx_cv_S_ISREG=no
75523 rm -f conftest.err conftest.$ac_objext \
75524 conftest$ac_exeext conftest.$ac_ext
75528 if test "${glibcxx_cv_S_IFREG+set}" = set; then
75529 echo $ECHO_N "(cached) $ECHO_C" >&6
75530 else
75532 if test x$gcc_no_link = xyes; then
75533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75535 { (exit 1); exit 1; }; }
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 <sys/stat.h>
75545 main ()
75547 struct stat buffer;
75548 fstat(0, &buffer);
75549 S_IFREG & buffer.st_mode;
75551 return 0;
75553 _ACEOF
75554 rm -f conftest.$ac_objext conftest$ac_exeext
75555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75556 (eval $ac_link) 2>conftest.er1
75557 ac_status=$?
75558 grep -v '^ *+' conftest.er1 >conftest.err
75559 rm -f conftest.er1
75560 cat conftest.err >&5
75561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75562 (exit $ac_status); } &&
75563 { ac_try='test -z "$ac_c_werror_flag"
75564 || test ! -s conftest.err'
75565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75566 (eval $ac_try) 2>&5
75567 ac_status=$?
75568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75569 (exit $ac_status); }; } &&
75570 { ac_try='test -s conftest$ac_exeext'
75571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75572 (eval $ac_try) 2>&5
75573 ac_status=$?
75574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75575 (exit $ac_status); }; }; then
75576 glibcxx_cv_S_IFREG=yes
75577 else
75578 echo "$as_me: failed program was:" >&5
75579 sed 's/^/| /' conftest.$ac_ext >&5
75581 glibcxx_cv_S_IFREG=no
75583 rm -f conftest.err conftest.$ac_objext \
75584 conftest$ac_exeext conftest.$ac_ext
75588 res=no
75589 if test $glibcxx_cv_S_ISREG = yes; then
75591 cat >>confdefs.h <<\_ACEOF
75592 #define HAVE_S_ISREG 1
75593 _ACEOF
75595 res=S_ISREG
75596 elif test $glibcxx_cv_S_IFREG = yes; then
75598 cat >>confdefs.h <<\_ACEOF
75599 #define HAVE_S_IFREG 1
75600 _ACEOF
75602 res=S_IFREG
75604 echo "$as_me:$LINENO: result: $res" >&5
75605 echo "${ECHO_T}$res" >&6
75607 cat >>confdefs.h <<\_ACEOF
75608 #define HAVE_WRITEV 1
75609 _ACEOF
75613 *-freebsd*)
75630 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75631 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75632 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75633 sys/time.h unistd.h
75635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75637 echo "$as_me:$LINENO: checking for $ac_header" >&5
75638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75640 echo $ECHO_N "(cached) $ECHO_C" >&6
75642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75644 else
75645 # Is the header compilable?
75646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75648 cat >conftest.$ac_ext <<_ACEOF
75649 /* confdefs.h. */
75650 _ACEOF
75651 cat confdefs.h >>conftest.$ac_ext
75652 cat >>conftest.$ac_ext <<_ACEOF
75653 /* end confdefs.h. */
75654 $ac_includes_default
75655 #include <$ac_header>
75656 _ACEOF
75657 rm -f conftest.$ac_objext
75658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75659 (eval $ac_compile) 2>conftest.er1
75660 ac_status=$?
75661 grep -v '^ *+' conftest.er1 >conftest.err
75662 rm -f conftest.er1
75663 cat conftest.err >&5
75664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75665 (exit $ac_status); } &&
75666 { ac_try='test -z "$ac_c_werror_flag"
75667 || test ! -s conftest.err'
75668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75669 (eval $ac_try) 2>&5
75670 ac_status=$?
75671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75672 (exit $ac_status); }; } &&
75673 { ac_try='test -s conftest.$ac_objext'
75674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75675 (eval $ac_try) 2>&5
75676 ac_status=$?
75677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75678 (exit $ac_status); }; }; then
75679 ac_header_compiler=yes
75680 else
75681 echo "$as_me: failed program was:" >&5
75682 sed 's/^/| /' conftest.$ac_ext >&5
75684 ac_header_compiler=no
75686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75688 echo "${ECHO_T}$ac_header_compiler" >&6
75690 # Is the header present?
75691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75693 cat >conftest.$ac_ext <<_ACEOF
75694 /* confdefs.h. */
75695 _ACEOF
75696 cat confdefs.h >>conftest.$ac_ext
75697 cat >>conftest.$ac_ext <<_ACEOF
75698 /* end confdefs.h. */
75699 #include <$ac_header>
75700 _ACEOF
75701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75703 ac_status=$?
75704 grep -v '^ *+' conftest.er1 >conftest.err
75705 rm -f conftest.er1
75706 cat conftest.err >&5
75707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75708 (exit $ac_status); } >/dev/null; then
75709 if test -s conftest.err; then
75710 ac_cpp_err=$ac_c_preproc_warn_flag
75711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75712 else
75713 ac_cpp_err=
75715 else
75716 ac_cpp_err=yes
75718 if test -z "$ac_cpp_err"; then
75719 ac_header_preproc=yes
75720 else
75721 echo "$as_me: failed program was:" >&5
75722 sed 's/^/| /' conftest.$ac_ext >&5
75724 ac_header_preproc=no
75726 rm -f conftest.err conftest.$ac_ext
75727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75728 echo "${ECHO_T}$ac_header_preproc" >&6
75730 # So? What about this header?
75731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75732 yes:no: )
75733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75737 ac_header_preproc=yes
75739 no:yes:* )
75740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75753 cat <<\_ASBOX
75754 ## ----------------------------------------- ##
75755 ## Report this to the package-unused lists. ##
75756 ## ----------------------------------------- ##
75757 _ASBOX
75759 sed "s/^/$as_me: WARNING: /" >&2
75761 esac
75762 echo "$as_me:$LINENO: checking for $ac_header" >&5
75763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75765 echo $ECHO_N "(cached) $ECHO_C" >&6
75766 else
75767 eval "$as_ac_Header=\$ac_header_preproc"
75769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75774 cat >>confdefs.h <<_ACEOF
75775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75776 _ACEOF
75780 done
75782 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75785 # If we're not using GNU ld, then there's no point in even trying these
75786 # tests. Check for that first. We should have already tested for gld
75787 # by now (in libtool), but require it now just to be safe...
75788 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75789 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75793 # The name set by libtool depends on the version of libtool. Shame on us
75794 # for depending on an impl detail, but c'est la vie. Older versions used
75795 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75796 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75797 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75798 # set (hence we're using an older libtool), then set it.
75799 if test x${with_gnu_ld+set} != xset; then
75800 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75801 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75802 with_gnu_ld=no
75803 else
75804 with_gnu_ld=$ac_cv_prog_gnu_ld
75808 # Start by getting the version number. I think the libtool test already
75809 # does some of this, but throws away the result.
75810 if test x"$with_gnu_ld" = x"yes"; then
75811 echo "$as_me:$LINENO: checking for ld version" >&5
75812 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
75814 ldver=`$LD --version 2>/dev/null | head -1 | \
75815 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
75817 glibcxx_gnu_ld_version=`echo $ldver | \
75818 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75819 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
75820 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
75823 # Set --gc-sections.
75824 glibcxx_gcsections_min_ld=21602
75825 if test x"$with_gnu_ld" = x"yes" &&
75826 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
75828 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
75829 # NB: This flag only works reliably after 2.16.1. Configure tests
75830 # for this are difficult, so hard wire a value that should work.
75832 ac_test_CFLAGS="${CFLAGS+set}"
75833 ac_save_CFLAGS="$CFLAGS"
75834 CFLAGS='-Wl,--gc-sections'
75836 # Check for -Wl,--gc-sections
75837 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75838 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75839 if test x$gcc_no_link = xyes; then
75840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75842 { (exit 1); exit 1; }; }
75844 cat >conftest.$ac_ext <<_ACEOF
75845 /* confdefs.h. */
75846 _ACEOF
75847 cat confdefs.h >>conftest.$ac_ext
75848 cat >>conftest.$ac_ext <<_ACEOF
75849 /* end confdefs.h. */
75850 int one(void) { return 1; }
75851 int two(void) { return 2; }
75854 main ()
75856 two();
75858 return 0;
75860 _ACEOF
75861 rm -f conftest.$ac_objext conftest$ac_exeext
75862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75863 (eval $ac_link) 2>conftest.er1
75864 ac_status=$?
75865 grep -v '^ *+' conftest.er1 >conftest.err
75866 rm -f conftest.er1
75867 cat conftest.err >&5
75868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75869 (exit $ac_status); } &&
75870 { ac_try='test -z "$ac_c_werror_flag"
75871 || test ! -s conftest.err'
75872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873 (eval $ac_try) 2>&5
75874 ac_status=$?
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); }; } &&
75877 { ac_try='test -s conftest$ac_exeext'
75878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75879 (eval $ac_try) 2>&5
75880 ac_status=$?
75881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75882 (exit $ac_status); }; }; then
75883 ac_gcsections=yes
75884 else
75885 echo "$as_me: failed program was:" >&5
75886 sed 's/^/| /' conftest.$ac_ext >&5
75888 ac_gcsections=no
75890 rm -f conftest.err conftest.$ac_objext \
75891 conftest$ac_exeext conftest.$ac_ext
75892 if test "$ac_gcsections" = "yes"; then
75893 rm -f conftest.c
75894 touch conftest.c
75895 if $CC -c conftest.c; then
75896 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
75897 grep "Warning: gc-sections option ignored" > /dev/null; then
75898 ac_gcsections=no
75901 rm -f conftest.c conftest.o conftest
75903 if test "$ac_gcsections" = "yes"; then
75904 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75906 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
75907 echo "${ECHO_T}$ac_gcsections" >&6
75909 if test "$ac_test_CFLAGS" = set; then
75910 CFLAGS="$ac_save_CFLAGS"
75911 else
75912 # this is the suspicious part
75913 CFLAGS=''
75917 # Set -z,relro.
75918 # Note this is only for shared objects.
75919 ac_ld_relro=no
75920 if test x"$with_gnu_ld" = x"yes"; then
75921 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75922 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75923 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75924 if test -n "$cxx_z_relo"; then
75925 OPT_LDFLAGS="-Wl,-z,relro"
75926 ac_ld_relro=yes
75928 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75929 echo "${ECHO_T}$ac_ld_relro" >&6
75932 # Set linker optimization flags.
75933 if test x"$with_gnu_ld" = x"yes"; then
75934 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75942 echo "$as_me:$LINENO: checking for main in -lm" >&5
75943 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75944 if test "${ac_cv_lib_m_main+set}" = set; then
75945 echo $ECHO_N "(cached) $ECHO_C" >&6
75946 else
75947 ac_check_lib_save_LIBS=$LIBS
75948 LIBS="-lm $LIBS"
75949 if test x$gcc_no_link = xyes; then
75950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75952 { (exit 1); exit 1; }; }
75954 cat >conftest.$ac_ext <<_ACEOF
75955 /* confdefs.h. */
75956 _ACEOF
75957 cat confdefs.h >>conftest.$ac_ext
75958 cat >>conftest.$ac_ext <<_ACEOF
75959 /* end confdefs.h. */
75963 main ()
75965 main ();
75967 return 0;
75969 _ACEOF
75970 rm -f conftest.$ac_objext conftest$ac_exeext
75971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75972 (eval $ac_link) 2>conftest.er1
75973 ac_status=$?
75974 grep -v '^ *+' conftest.er1 >conftest.err
75975 rm -f conftest.er1
75976 cat conftest.err >&5
75977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75978 (exit $ac_status); } &&
75979 { ac_try='test -z "$ac_c_werror_flag"
75980 || test ! -s conftest.err'
75981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75982 (eval $ac_try) 2>&5
75983 ac_status=$?
75984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75985 (exit $ac_status); }; } &&
75986 { ac_try='test -s conftest$ac_exeext'
75987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75988 (eval $ac_try) 2>&5
75989 ac_status=$?
75990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75991 (exit $ac_status); }; }; then
75992 ac_cv_lib_m_main=yes
75993 else
75994 echo "$as_me: failed program was:" >&5
75995 sed 's/^/| /' conftest.$ac_ext >&5
75997 ac_cv_lib_m_main=no
75999 rm -f conftest.err conftest.$ac_objext \
76000 conftest$ac_exeext conftest.$ac_ext
76001 LIBS=$ac_check_lib_save_LIBS
76003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76004 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76005 if test $ac_cv_lib_m_main = yes; then
76006 cat >>confdefs.h <<_ACEOF
76007 #define HAVE_LIBM 1
76008 _ACEOF
76010 LIBS="-lm $LIBS"
76015 for ac_func in copysignf
76017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76018 echo "$as_me:$LINENO: checking for $ac_func" >&5
76019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76020 if eval "test \"\${$as_ac_var+set}\" = set"; then
76021 echo $ECHO_N "(cached) $ECHO_C" >&6
76022 else
76023 if test x$gcc_no_link = xyes; then
76024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76026 { (exit 1); exit 1; }; }
76028 cat >conftest.$ac_ext <<_ACEOF
76029 /* confdefs.h. */
76030 _ACEOF
76031 cat confdefs.h >>conftest.$ac_ext
76032 cat >>conftest.$ac_ext <<_ACEOF
76033 /* end confdefs.h. */
76034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76036 #define $ac_func innocuous_$ac_func
76038 /* System header to define __stub macros and hopefully few prototypes,
76039 which can conflict with char $ac_func (); below.
76040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76041 <limits.h> exists even on freestanding compilers. */
76043 #ifdef __STDC__
76044 # include <limits.h>
76045 #else
76046 # include <assert.h>
76047 #endif
76049 #undef $ac_func
76051 /* Override any gcc2 internal prototype to avoid an error. */
76052 #ifdef __cplusplus
76053 extern "C"
76055 #endif
76056 /* We use char because int might match the return type of a gcc2
76057 builtin and then its argument prototype would still apply. */
76058 char $ac_func ();
76059 /* The GNU C library defines this for functions which it implements
76060 to always fail with ENOSYS. Some functions are actually named
76061 something starting with __ and the normal name is an alias. */
76062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76063 choke me
76064 #else
76065 char (*f) () = $ac_func;
76066 #endif
76067 #ifdef __cplusplus
76069 #endif
76072 main ()
76074 return f != $ac_func;
76076 return 0;
76078 _ACEOF
76079 rm -f conftest.$ac_objext conftest$ac_exeext
76080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76081 (eval $ac_link) 2>conftest.er1
76082 ac_status=$?
76083 grep -v '^ *+' conftest.er1 >conftest.err
76084 rm -f conftest.er1
76085 cat conftest.err >&5
76086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76087 (exit $ac_status); } &&
76088 { ac_try='test -z "$ac_c_werror_flag"
76089 || test ! -s conftest.err'
76090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76091 (eval $ac_try) 2>&5
76092 ac_status=$?
76093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76094 (exit $ac_status); }; } &&
76095 { ac_try='test -s conftest$ac_exeext'
76096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76097 (eval $ac_try) 2>&5
76098 ac_status=$?
76099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76100 (exit $ac_status); }; }; then
76101 eval "$as_ac_var=yes"
76102 else
76103 echo "$as_me: failed program was:" >&5
76104 sed 's/^/| /' conftest.$ac_ext >&5
76106 eval "$as_ac_var=no"
76108 rm -f conftest.err conftest.$ac_objext \
76109 conftest$ac_exeext conftest.$ac_ext
76111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76113 if test `eval echo '${'$as_ac_var'}'` = yes; then
76114 cat >>confdefs.h <<_ACEOF
76115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76116 _ACEOF
76118 else
76119 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76121 done
76125 for ac_func in __signbit
76127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76128 echo "$as_me:$LINENO: checking for $ac_func" >&5
76129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76130 if eval "test \"\${$as_ac_var+set}\" = set"; then
76131 echo $ECHO_N "(cached) $ECHO_C" >&6
76132 else
76133 if test x$gcc_no_link = xyes; then
76134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76136 { (exit 1); exit 1; }; }
76138 cat >conftest.$ac_ext <<_ACEOF
76139 /* confdefs.h. */
76140 _ACEOF
76141 cat confdefs.h >>conftest.$ac_ext
76142 cat >>conftest.$ac_ext <<_ACEOF
76143 /* end confdefs.h. */
76144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76146 #define $ac_func innocuous_$ac_func
76148 /* System header to define __stub macros and hopefully few prototypes,
76149 which can conflict with char $ac_func (); below.
76150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76151 <limits.h> exists even on freestanding compilers. */
76153 #ifdef __STDC__
76154 # include <limits.h>
76155 #else
76156 # include <assert.h>
76157 #endif
76159 #undef $ac_func
76161 /* Override any gcc2 internal prototype to avoid an error. */
76162 #ifdef __cplusplus
76163 extern "C"
76165 #endif
76166 /* We use char because int might match the return type of a gcc2
76167 builtin and then its argument prototype would still apply. */
76168 char $ac_func ();
76169 /* The GNU C library defines this for functions which it implements
76170 to always fail with ENOSYS. Some functions are actually named
76171 something starting with __ and the normal name is an alias. */
76172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76173 choke me
76174 #else
76175 char (*f) () = $ac_func;
76176 #endif
76177 #ifdef __cplusplus
76179 #endif
76182 main ()
76184 return f != $ac_func;
76186 return 0;
76188 _ACEOF
76189 rm -f conftest.$ac_objext conftest$ac_exeext
76190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76191 (eval $ac_link) 2>conftest.er1
76192 ac_status=$?
76193 grep -v '^ *+' conftest.er1 >conftest.err
76194 rm -f conftest.er1
76195 cat conftest.err >&5
76196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76197 (exit $ac_status); } &&
76198 { ac_try='test -z "$ac_c_werror_flag"
76199 || test ! -s conftest.err'
76200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76201 (eval $ac_try) 2>&5
76202 ac_status=$?
76203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76204 (exit $ac_status); }; } &&
76205 { ac_try='test -s conftest$ac_exeext'
76206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76207 (eval $ac_try) 2>&5
76208 ac_status=$?
76209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76210 (exit $ac_status); }; }; then
76211 eval "$as_ac_var=yes"
76212 else
76213 echo "$as_me: failed program was:" >&5
76214 sed 's/^/| /' conftest.$ac_ext >&5
76216 eval "$as_ac_var=no"
76218 rm -f conftest.err conftest.$ac_objext \
76219 conftest$ac_exeext conftest.$ac_ext
76221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76223 if test `eval echo '${'$as_ac_var'}'` = yes; then
76224 cat >>confdefs.h <<_ACEOF
76225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76226 _ACEOF
76228 else
76229 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76231 done
76235 for ac_func in __signbitf
76237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76238 echo "$as_me:$LINENO: checking for $ac_func" >&5
76239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76240 if eval "test \"\${$as_ac_var+set}\" = set"; then
76241 echo $ECHO_N "(cached) $ECHO_C" >&6
76242 else
76243 if test x$gcc_no_link = xyes; then
76244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76246 { (exit 1); exit 1; }; }
76248 cat >conftest.$ac_ext <<_ACEOF
76249 /* confdefs.h. */
76250 _ACEOF
76251 cat confdefs.h >>conftest.$ac_ext
76252 cat >>conftest.$ac_ext <<_ACEOF
76253 /* end confdefs.h. */
76254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76256 #define $ac_func innocuous_$ac_func
76258 /* System header to define __stub macros and hopefully few prototypes,
76259 which can conflict with char $ac_func (); below.
76260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76261 <limits.h> exists even on freestanding compilers. */
76263 #ifdef __STDC__
76264 # include <limits.h>
76265 #else
76266 # include <assert.h>
76267 #endif
76269 #undef $ac_func
76271 /* Override any gcc2 internal prototype to avoid an error. */
76272 #ifdef __cplusplus
76273 extern "C"
76275 #endif
76276 /* We use char because int might match the return type of a gcc2
76277 builtin and then its argument prototype would still apply. */
76278 char $ac_func ();
76279 /* The GNU C library defines this for functions which it implements
76280 to always fail with ENOSYS. Some functions are actually named
76281 something starting with __ and the normal name is an alias. */
76282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76283 choke me
76284 #else
76285 char (*f) () = $ac_func;
76286 #endif
76287 #ifdef __cplusplus
76289 #endif
76292 main ()
76294 return f != $ac_func;
76296 return 0;
76298 _ACEOF
76299 rm -f conftest.$ac_objext conftest$ac_exeext
76300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76301 (eval $ac_link) 2>conftest.er1
76302 ac_status=$?
76303 grep -v '^ *+' conftest.er1 >conftest.err
76304 rm -f conftest.er1
76305 cat conftest.err >&5
76306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76307 (exit $ac_status); } &&
76308 { ac_try='test -z "$ac_c_werror_flag"
76309 || test ! -s conftest.err'
76310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76311 (eval $ac_try) 2>&5
76312 ac_status=$?
76313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76314 (exit $ac_status); }; } &&
76315 { ac_try='test -s conftest$ac_exeext'
76316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76317 (eval $ac_try) 2>&5
76318 ac_status=$?
76319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76320 (exit $ac_status); }; }; then
76321 eval "$as_ac_var=yes"
76322 else
76323 echo "$as_me: failed program was:" >&5
76324 sed 's/^/| /' conftest.$ac_ext >&5
76326 eval "$as_ac_var=no"
76328 rm -f conftest.err conftest.$ac_objext \
76329 conftest$ac_exeext conftest.$ac_ext
76331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76333 if test `eval echo '${'$as_ac_var'}'` = yes; then
76334 cat >>confdefs.h <<_ACEOF
76335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76336 _ACEOF
76338 else
76339 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76341 done
76344 if test x$ac_cv_func_copysignl = x"yes"; then
76346 for ac_func in __signbitl
76348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76349 echo "$as_me:$LINENO: checking for $ac_func" >&5
76350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76351 if eval "test \"\${$as_ac_var+set}\" = set"; then
76352 echo $ECHO_N "(cached) $ECHO_C" >&6
76353 else
76354 if test x$gcc_no_link = xyes; then
76355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76357 { (exit 1); exit 1; }; }
76359 cat >conftest.$ac_ext <<_ACEOF
76360 /* confdefs.h. */
76361 _ACEOF
76362 cat confdefs.h >>conftest.$ac_ext
76363 cat >>conftest.$ac_ext <<_ACEOF
76364 /* end confdefs.h. */
76365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76367 #define $ac_func innocuous_$ac_func
76369 /* System header to define __stub macros and hopefully few prototypes,
76370 which can conflict with char $ac_func (); below.
76371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76372 <limits.h> exists even on freestanding compilers. */
76374 #ifdef __STDC__
76375 # include <limits.h>
76376 #else
76377 # include <assert.h>
76378 #endif
76380 #undef $ac_func
76382 /* Override any gcc2 internal prototype to avoid an error. */
76383 #ifdef __cplusplus
76384 extern "C"
76386 #endif
76387 /* We use char because int might match the return type of a gcc2
76388 builtin and then its argument prototype would still apply. */
76389 char $ac_func ();
76390 /* The GNU C library defines this for functions which it implements
76391 to always fail with ENOSYS. Some functions are actually named
76392 something starting with __ and the normal name is an alias. */
76393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76394 choke me
76395 #else
76396 char (*f) () = $ac_func;
76397 #endif
76398 #ifdef __cplusplus
76400 #endif
76403 main ()
76405 return f != $ac_func;
76407 return 0;
76409 _ACEOF
76410 rm -f conftest.$ac_objext conftest$ac_exeext
76411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76412 (eval $ac_link) 2>conftest.er1
76413 ac_status=$?
76414 grep -v '^ *+' conftest.er1 >conftest.err
76415 rm -f conftest.er1
76416 cat conftest.err >&5
76417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76418 (exit $ac_status); } &&
76419 { ac_try='test -z "$ac_c_werror_flag"
76420 || test ! -s conftest.err'
76421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76422 (eval $ac_try) 2>&5
76423 ac_status=$?
76424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76425 (exit $ac_status); }; } &&
76426 { ac_try='test -s conftest$ac_exeext'
76427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76428 (eval $ac_try) 2>&5
76429 ac_status=$?
76430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76431 (exit $ac_status); }; }; then
76432 eval "$as_ac_var=yes"
76433 else
76434 echo "$as_me: failed program was:" >&5
76435 sed 's/^/| /' conftest.$ac_ext >&5
76437 eval "$as_ac_var=no"
76439 rm -f conftest.err conftest.$ac_objext \
76440 conftest$ac_exeext conftest.$ac_ext
76442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76444 if test `eval echo '${'$as_ac_var'}'` = yes; then
76445 cat >>confdefs.h <<_ACEOF
76446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76447 _ACEOF
76449 else
76450 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76452 done
76456 # Used in libmath/Makefile.am.
76457 if test -n "$LIBMATHOBJS"; then
76458 need_libmath=yes
76464 enable_iconv=no
76465 # Only continue checking if the ISO C99 headers exist and support is on.
76466 if test x"$enable_wchar_t" = xyes; then
76468 # Use iconv for wchar_t to char conversions. As such, check for
76469 # X/Open Portability Guide, version 2 features (XPG2).
76470 if test "${ac_cv_header_iconv_h+set}" = set; then
76471 echo "$as_me:$LINENO: checking for iconv.h" >&5
76472 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76473 if test "${ac_cv_header_iconv_h+set}" = set; then
76474 echo $ECHO_N "(cached) $ECHO_C" >&6
76476 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76477 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76478 else
76479 # Is the header compilable?
76480 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76481 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76482 cat >conftest.$ac_ext <<_ACEOF
76483 /* confdefs.h. */
76484 _ACEOF
76485 cat confdefs.h >>conftest.$ac_ext
76486 cat >>conftest.$ac_ext <<_ACEOF
76487 /* end confdefs.h. */
76488 $ac_includes_default
76489 #include <iconv.h>
76490 _ACEOF
76491 rm -f conftest.$ac_objext
76492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76493 (eval $ac_compile) 2>conftest.er1
76494 ac_status=$?
76495 grep -v '^ *+' conftest.er1 >conftest.err
76496 rm -f conftest.er1
76497 cat conftest.err >&5
76498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76499 (exit $ac_status); } &&
76500 { ac_try='test -z "$ac_c_werror_flag"
76501 || test ! -s conftest.err'
76502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76503 (eval $ac_try) 2>&5
76504 ac_status=$?
76505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76506 (exit $ac_status); }; } &&
76507 { ac_try='test -s conftest.$ac_objext'
76508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76509 (eval $ac_try) 2>&5
76510 ac_status=$?
76511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76512 (exit $ac_status); }; }; then
76513 ac_header_compiler=yes
76514 else
76515 echo "$as_me: failed program was:" >&5
76516 sed 's/^/| /' conftest.$ac_ext >&5
76518 ac_header_compiler=no
76520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76522 echo "${ECHO_T}$ac_header_compiler" >&6
76524 # Is the header present?
76525 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76526 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76527 cat >conftest.$ac_ext <<_ACEOF
76528 /* confdefs.h. */
76529 _ACEOF
76530 cat confdefs.h >>conftest.$ac_ext
76531 cat >>conftest.$ac_ext <<_ACEOF
76532 /* end confdefs.h. */
76533 #include <iconv.h>
76534 _ACEOF
76535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76537 ac_status=$?
76538 grep -v '^ *+' conftest.er1 >conftest.err
76539 rm -f conftest.er1
76540 cat conftest.err >&5
76541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76542 (exit $ac_status); } >/dev/null; then
76543 if test -s conftest.err; then
76544 ac_cpp_err=$ac_c_preproc_warn_flag
76545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76546 else
76547 ac_cpp_err=
76549 else
76550 ac_cpp_err=yes
76552 if test -z "$ac_cpp_err"; then
76553 ac_header_preproc=yes
76554 else
76555 echo "$as_me: failed program was:" >&5
76556 sed 's/^/| /' conftest.$ac_ext >&5
76558 ac_header_preproc=no
76560 rm -f conftest.err conftest.$ac_ext
76561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76562 echo "${ECHO_T}$ac_header_preproc" >&6
76564 # So? What about this header?
76565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76566 yes:no: )
76567 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76568 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76569 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76570 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76571 ac_header_preproc=yes
76573 no:yes:* )
76574 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76575 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76576 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76577 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76578 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76579 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76580 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76581 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76582 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76583 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76584 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76585 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76587 cat <<\_ASBOX
76588 ## ----------------------------------------- ##
76589 ## Report this to the package-unused lists. ##
76590 ## ----------------------------------------- ##
76591 _ASBOX
76593 sed "s/^/$as_me: WARNING: /" >&2
76595 esac
76596 echo "$as_me:$LINENO: checking for iconv.h" >&5
76597 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76598 if test "${ac_cv_header_iconv_h+set}" = set; then
76599 echo $ECHO_N "(cached) $ECHO_C" >&6
76600 else
76601 ac_cv_header_iconv_h=$ac_header_preproc
76603 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76604 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76607 if test $ac_cv_header_iconv_h = yes; then
76608 ac_has_iconv_h=yes
76609 else
76610 ac_has_iconv_h=no
76614 if test "${ac_cv_header_langinfo_h+set}" = set; then
76615 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76616 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76617 if test "${ac_cv_header_langinfo_h+set}" = set; then
76618 echo $ECHO_N "(cached) $ECHO_C" >&6
76620 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76621 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76622 else
76623 # Is the header compilable?
76624 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76625 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76626 cat >conftest.$ac_ext <<_ACEOF
76627 /* confdefs.h. */
76628 _ACEOF
76629 cat confdefs.h >>conftest.$ac_ext
76630 cat >>conftest.$ac_ext <<_ACEOF
76631 /* end confdefs.h. */
76632 $ac_includes_default
76633 #include <langinfo.h>
76634 _ACEOF
76635 rm -f conftest.$ac_objext
76636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76637 (eval $ac_compile) 2>conftest.er1
76638 ac_status=$?
76639 grep -v '^ *+' conftest.er1 >conftest.err
76640 rm -f conftest.er1
76641 cat conftest.err >&5
76642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76643 (exit $ac_status); } &&
76644 { ac_try='test -z "$ac_c_werror_flag"
76645 || test ! -s conftest.err'
76646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76647 (eval $ac_try) 2>&5
76648 ac_status=$?
76649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76650 (exit $ac_status); }; } &&
76651 { ac_try='test -s conftest.$ac_objext'
76652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76653 (eval $ac_try) 2>&5
76654 ac_status=$?
76655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76656 (exit $ac_status); }; }; then
76657 ac_header_compiler=yes
76658 else
76659 echo "$as_me: failed program was:" >&5
76660 sed 's/^/| /' conftest.$ac_ext >&5
76662 ac_header_compiler=no
76664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76666 echo "${ECHO_T}$ac_header_compiler" >&6
76668 # Is the header present?
76669 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76670 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76671 cat >conftest.$ac_ext <<_ACEOF
76672 /* confdefs.h. */
76673 _ACEOF
76674 cat confdefs.h >>conftest.$ac_ext
76675 cat >>conftest.$ac_ext <<_ACEOF
76676 /* end confdefs.h. */
76677 #include <langinfo.h>
76678 _ACEOF
76679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76681 ac_status=$?
76682 grep -v '^ *+' conftest.er1 >conftest.err
76683 rm -f conftest.er1
76684 cat conftest.err >&5
76685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76686 (exit $ac_status); } >/dev/null; then
76687 if test -s conftest.err; then
76688 ac_cpp_err=$ac_c_preproc_warn_flag
76689 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76690 else
76691 ac_cpp_err=
76693 else
76694 ac_cpp_err=yes
76696 if test -z "$ac_cpp_err"; then
76697 ac_header_preproc=yes
76698 else
76699 echo "$as_me: failed program was:" >&5
76700 sed 's/^/| /' conftest.$ac_ext >&5
76702 ac_header_preproc=no
76704 rm -f conftest.err conftest.$ac_ext
76705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76706 echo "${ECHO_T}$ac_header_preproc" >&6
76708 # So? What about this header?
76709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76710 yes:no: )
76711 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76712 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76713 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76714 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76715 ac_header_preproc=yes
76717 no:yes:* )
76718 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76719 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76720 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76721 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76722 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76723 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76724 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76725 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76726 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76727 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76728 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76729 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76731 cat <<\_ASBOX
76732 ## ----------------------------------------- ##
76733 ## Report this to the package-unused lists. ##
76734 ## ----------------------------------------- ##
76735 _ASBOX
76737 sed "s/^/$as_me: WARNING: /" >&2
76739 esac
76740 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76741 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76742 if test "${ac_cv_header_langinfo_h+set}" = set; then
76743 echo $ECHO_N "(cached) $ECHO_C" >&6
76744 else
76745 ac_cv_header_langinfo_h=$ac_header_preproc
76747 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76748 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76751 if test $ac_cv_header_langinfo_h = yes; then
76752 ac_has_langinfo_h=yes
76753 else
76754 ac_has_langinfo_h=no
76759 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76760 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76761 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76762 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76763 echo $ECHO_N "(cached) $ECHO_C" >&6
76764 else
76765 ac_check_lib_save_LIBS=$LIBS
76766 LIBS="-liconv $LIBS"
76767 if test x$gcc_no_link = xyes; then
76768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76770 { (exit 1); exit 1; }; }
76772 cat >conftest.$ac_ext <<_ACEOF
76773 /* confdefs.h. */
76774 _ACEOF
76775 cat confdefs.h >>conftest.$ac_ext
76776 cat >>conftest.$ac_ext <<_ACEOF
76777 /* end confdefs.h. */
76779 /* Override any gcc2 internal prototype to avoid an error. */
76780 #ifdef __cplusplus
76781 extern "C"
76782 #endif
76783 /* We use char because int might match the return type of a gcc2
76784 builtin and then its argument prototype would still apply. */
76785 char iconv ();
76787 main ()
76789 iconv ();
76791 return 0;
76793 _ACEOF
76794 rm -f conftest.$ac_objext conftest$ac_exeext
76795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76796 (eval $ac_link) 2>conftest.er1
76797 ac_status=$?
76798 grep -v '^ *+' conftest.er1 >conftest.err
76799 rm -f conftest.er1
76800 cat conftest.err >&5
76801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76802 (exit $ac_status); } &&
76803 { ac_try='test -z "$ac_c_werror_flag"
76804 || test ! -s conftest.err'
76805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76806 (eval $ac_try) 2>&5
76807 ac_status=$?
76808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76809 (exit $ac_status); }; } &&
76810 { ac_try='test -s conftest$ac_exeext'
76811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76812 (eval $ac_try) 2>&5
76813 ac_status=$?
76814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815 (exit $ac_status); }; }; then
76816 ac_cv_lib_iconv_iconv=yes
76817 else
76818 echo "$as_me: failed program was:" >&5
76819 sed 's/^/| /' conftest.$ac_ext >&5
76821 ac_cv_lib_iconv_iconv=no
76823 rm -f conftest.err conftest.$ac_objext \
76824 conftest$ac_exeext conftest.$ac_ext
76825 LIBS=$ac_check_lib_save_LIBS
76827 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76828 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76829 if test $ac_cv_lib_iconv_iconv = yes; then
76830 LIBICONV="-liconv"
76833 ac_save_LIBS="$LIBS"
76834 LIBS="$LIBS $LIBICONV"
76841 for ac_func in iconv_open iconv_close iconv nl_langinfo
76843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76844 echo "$as_me:$LINENO: checking for $ac_func" >&5
76845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76846 if eval "test \"\${$as_ac_var+set}\" = set"; then
76847 echo $ECHO_N "(cached) $ECHO_C" >&6
76848 else
76849 if test x$gcc_no_link = xyes; then
76850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76852 { (exit 1); exit 1; }; }
76854 cat >conftest.$ac_ext <<_ACEOF
76855 /* confdefs.h. */
76856 _ACEOF
76857 cat confdefs.h >>conftest.$ac_ext
76858 cat >>conftest.$ac_ext <<_ACEOF
76859 /* end confdefs.h. */
76860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76862 #define $ac_func innocuous_$ac_func
76864 /* System header to define __stub macros and hopefully few prototypes,
76865 which can conflict with char $ac_func (); below.
76866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76867 <limits.h> exists even on freestanding compilers. */
76869 #ifdef __STDC__
76870 # include <limits.h>
76871 #else
76872 # include <assert.h>
76873 #endif
76875 #undef $ac_func
76877 /* Override any gcc2 internal prototype to avoid an error. */
76878 #ifdef __cplusplus
76879 extern "C"
76881 #endif
76882 /* We use char because int might match the return type of a gcc2
76883 builtin and then its argument prototype would still apply. */
76884 char $ac_func ();
76885 /* The GNU C library defines this for functions which it implements
76886 to always fail with ENOSYS. Some functions are actually named
76887 something starting with __ and the normal name is an alias. */
76888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76889 choke me
76890 #else
76891 char (*f) () = $ac_func;
76892 #endif
76893 #ifdef __cplusplus
76895 #endif
76898 main ()
76900 return f != $ac_func;
76902 return 0;
76904 _ACEOF
76905 rm -f conftest.$ac_objext conftest$ac_exeext
76906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76907 (eval $ac_link) 2>conftest.er1
76908 ac_status=$?
76909 grep -v '^ *+' conftest.er1 >conftest.err
76910 rm -f conftest.er1
76911 cat conftest.err >&5
76912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76913 (exit $ac_status); } &&
76914 { ac_try='test -z "$ac_c_werror_flag"
76915 || test ! -s conftest.err'
76916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76917 (eval $ac_try) 2>&5
76918 ac_status=$?
76919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76920 (exit $ac_status); }; } &&
76921 { ac_try='test -s conftest$ac_exeext'
76922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76923 (eval $ac_try) 2>&5
76924 ac_status=$?
76925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76926 (exit $ac_status); }; }; then
76927 eval "$as_ac_var=yes"
76928 else
76929 echo "$as_me: failed program was:" >&5
76930 sed 's/^/| /' conftest.$ac_ext >&5
76932 eval "$as_ac_var=no"
76934 rm -f conftest.err conftest.$ac_objext \
76935 conftest$ac_exeext conftest.$ac_ext
76937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76939 if test `eval echo '${'$as_ac_var'}'` = yes; then
76940 cat >>confdefs.h <<_ACEOF
76941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76942 _ACEOF
76943 ac_XPG2funcs=yes
76944 else
76945 ac_XPG2funcs=no
76947 done
76950 LIBS="$ac_save_LIBS"
76952 if test x"$ac_has_iconv_h" = xyes &&
76953 test x"$ac_has_langinfo_h" = xyes &&
76954 test x"$ac_XPG2funcs" = xyes;
76955 then
76957 cat >>confdefs.h <<\_ACEOF
76958 #define _GLIBCXX_USE_ICONV 1
76959 _ACEOF
76961 enable_iconv=yes
76964 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76965 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76966 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76967 echo "${ECHO_T}$enable_iconv" >&6
76969 cat >>confdefs.h <<\_ACEOF
76970 #define HAVE_LC_MESSAGES 1
76971 _ACEOF
76973 cat >>confdefs.h <<\_ACEOF
76974 #define HAVE_GETPAGESIZE 1
76975 _ACEOF
76977 cat >>confdefs.h <<\_ACEOF
76978 #define HAVE_SETENV 1
76979 _ACEOF
76981 cat >>confdefs.h <<\_ACEOF
76982 #define HAVE_SIGSETJMP 1
76983 _ACEOF
76985 cat >>confdefs.h <<\_ACEOF
76986 #define HAVE_COPYSIGN 1
76987 _ACEOF
76989 cat >>confdefs.h <<\_ACEOF
76990 #define HAVE_COPYSIGNF 1
76991 _ACEOF
76993 cat >>confdefs.h <<\_ACEOF
76994 #define HAVE_FINITEF 1
76995 _ACEOF
76997 cat >>confdefs.h <<\_ACEOF
76998 #define HAVE_FINITE 1
76999 _ACEOF
77001 cat >>confdefs.h <<\_ACEOF
77002 #define HAVE_FREXPF 1
77003 _ACEOF
77005 cat >>confdefs.h <<\_ACEOF
77006 #define HAVE_HYPOT 1
77007 _ACEOF
77009 cat >>confdefs.h <<\_ACEOF
77010 #define HAVE_HYPOTF 1
77011 _ACEOF
77013 cat >>confdefs.h <<\_ACEOF
77014 #define HAVE_ISINF 1
77015 _ACEOF
77017 cat >>confdefs.h <<\_ACEOF
77018 #define HAVE_ISNAN 1
77019 _ACEOF
77021 cat >>confdefs.h <<\_ACEOF
77022 #define HAVE_ISNANF 1
77023 _ACEOF
77026 cat >>confdefs.h <<\_ACEOF
77027 #define HAVE_MMAP 1
77028 _ACEOF
77030 cat >>confdefs.h <<\_ACEOF
77031 #define HAVE_ACOSF 1
77032 _ACEOF
77034 cat >>confdefs.h <<\_ACEOF
77035 #define HAVE_ASINF 1
77036 _ACEOF
77038 cat >>confdefs.h <<\_ACEOF
77039 #define HAVE_ATAN2F 1
77040 _ACEOF
77042 cat >>confdefs.h <<\_ACEOF
77043 #define HAVE_ATANF 1
77044 _ACEOF
77046 cat >>confdefs.h <<\_ACEOF
77047 #define HAVE_CEILF 1
77048 _ACEOF
77050 cat >>confdefs.h <<\_ACEOF
77051 #define HAVE_COPYSIGN 1
77052 _ACEOF
77054 cat >>confdefs.h <<\_ACEOF
77055 #define HAVE_COPYSIGNF 1
77056 _ACEOF
77058 cat >>confdefs.h <<\_ACEOF
77059 #define HAVE_COSF 1
77060 _ACEOF
77062 cat >>confdefs.h <<\_ACEOF
77063 #define HAVE_COSHF 1
77064 _ACEOF
77066 cat >>confdefs.h <<\_ACEOF
77067 #define HAVE_EXPF 1
77068 _ACEOF
77070 cat >>confdefs.h <<\_ACEOF
77071 #define HAVE_FABSF 1
77072 _ACEOF
77074 cat >>confdefs.h <<\_ACEOF
77075 #define HAVE_FLOORF 1
77076 _ACEOF
77078 cat >>confdefs.h <<\_ACEOF
77079 #define HAVE_FMODF 1
77080 _ACEOF
77082 cat >>confdefs.h <<\_ACEOF
77083 #define HAVE_FREXPF 1
77084 _ACEOF
77086 cat >>confdefs.h <<\_ACEOF
77087 #define HAVE_LDEXPF 1
77088 _ACEOF
77090 cat >>confdefs.h <<\_ACEOF
77091 #define HAVE_LOG10F 1
77092 _ACEOF
77094 cat >>confdefs.h <<\_ACEOF
77095 #define HAVE_LOGF 1
77096 _ACEOF
77098 cat >>confdefs.h <<\_ACEOF
77099 #define HAVE_MODFF 1
77100 _ACEOF
77102 cat >>confdefs.h <<\_ACEOF
77103 #define HAVE_POWF 1
77104 _ACEOF
77106 cat >>confdefs.h <<\_ACEOF
77107 #define HAVE_SINF 1
77108 _ACEOF
77110 cat >>confdefs.h <<\_ACEOF
77111 #define HAVE_SINHF 1
77112 _ACEOF
77114 cat >>confdefs.h <<\_ACEOF
77115 #define HAVE_SQRTF 1
77116 _ACEOF
77118 cat >>confdefs.h <<\_ACEOF
77119 #define HAVE_TANF 1
77120 _ACEOF
77122 cat >>confdefs.h <<\_ACEOF
77123 #define HAVE_TANHF 1
77124 _ACEOF
77126 if test x"long_double_math_on_this_cpu" = x"yes"; then
77127 cat >>confdefs.h <<\_ACEOF
77128 #define HAVE_FINITEL 1
77129 _ACEOF
77131 cat >>confdefs.h <<\_ACEOF
77132 #define HAVE_ISINFL 1
77133 _ACEOF
77135 cat >>confdefs.h <<\_ACEOF
77136 #define HAVE_ISNANL 1
77137 _ACEOF
77141 *-hpux*)
77154 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77155 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77156 fp.h locale.h float.h inttypes.h
77158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77160 echo "$as_me:$LINENO: checking for $ac_header" >&5
77161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77163 echo $ECHO_N "(cached) $ECHO_C" >&6
77165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77167 else
77168 # Is the header compilable?
77169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77171 cat >conftest.$ac_ext <<_ACEOF
77172 /* confdefs.h. */
77173 _ACEOF
77174 cat confdefs.h >>conftest.$ac_ext
77175 cat >>conftest.$ac_ext <<_ACEOF
77176 /* end confdefs.h. */
77177 $ac_includes_default
77178 #include <$ac_header>
77179 _ACEOF
77180 rm -f conftest.$ac_objext
77181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77182 (eval $ac_compile) 2>conftest.er1
77183 ac_status=$?
77184 grep -v '^ *+' conftest.er1 >conftest.err
77185 rm -f conftest.er1
77186 cat conftest.err >&5
77187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77188 (exit $ac_status); } &&
77189 { ac_try='test -z "$ac_c_werror_flag"
77190 || test ! -s conftest.err'
77191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77192 (eval $ac_try) 2>&5
77193 ac_status=$?
77194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77195 (exit $ac_status); }; } &&
77196 { ac_try='test -s conftest.$ac_objext'
77197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77198 (eval $ac_try) 2>&5
77199 ac_status=$?
77200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77201 (exit $ac_status); }; }; then
77202 ac_header_compiler=yes
77203 else
77204 echo "$as_me: failed program was:" >&5
77205 sed 's/^/| /' conftest.$ac_ext >&5
77207 ac_header_compiler=no
77209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77211 echo "${ECHO_T}$ac_header_compiler" >&6
77213 # Is the header present?
77214 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77216 cat >conftest.$ac_ext <<_ACEOF
77217 /* confdefs.h. */
77218 _ACEOF
77219 cat confdefs.h >>conftest.$ac_ext
77220 cat >>conftest.$ac_ext <<_ACEOF
77221 /* end confdefs.h. */
77222 #include <$ac_header>
77223 _ACEOF
77224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77226 ac_status=$?
77227 grep -v '^ *+' conftest.er1 >conftest.err
77228 rm -f conftest.er1
77229 cat conftest.err >&5
77230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231 (exit $ac_status); } >/dev/null; then
77232 if test -s conftest.err; then
77233 ac_cpp_err=$ac_c_preproc_warn_flag
77234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77235 else
77236 ac_cpp_err=
77238 else
77239 ac_cpp_err=yes
77241 if test -z "$ac_cpp_err"; then
77242 ac_header_preproc=yes
77243 else
77244 echo "$as_me: failed program was:" >&5
77245 sed 's/^/| /' conftest.$ac_ext >&5
77247 ac_header_preproc=no
77249 rm -f conftest.err conftest.$ac_ext
77250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77251 echo "${ECHO_T}$ac_header_preproc" >&6
77253 # So? What about this header?
77254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77255 yes:no: )
77256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77259 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77260 ac_header_preproc=yes
77262 no:yes:* )
77263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77267 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77269 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77270 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77273 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77276 cat <<\_ASBOX
77277 ## ----------------------------------------- ##
77278 ## Report this to the package-unused lists. ##
77279 ## ----------------------------------------- ##
77280 _ASBOX
77282 sed "s/^/$as_me: WARNING: /" >&2
77284 esac
77285 echo "$as_me:$LINENO: checking for $ac_header" >&5
77286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77288 echo $ECHO_N "(cached) $ECHO_C" >&6
77289 else
77290 eval "$as_ac_Header=\$ac_header_preproc"
77292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77297 cat >>confdefs.h <<_ACEOF
77298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77299 _ACEOF
77303 done
77305 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77308 # If we're not using GNU ld, then there's no point in even trying these
77309 # tests. Check for that first. We should have already tested for gld
77310 # by now (in libtool), but require it now just to be safe...
77311 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77312 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77316 # The name set by libtool depends on the version of libtool. Shame on us
77317 # for depending on an impl detail, but c'est la vie. Older versions used
77318 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77319 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77320 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77321 # set (hence we're using an older libtool), then set it.
77322 if test x${with_gnu_ld+set} != xset; then
77323 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77324 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77325 with_gnu_ld=no
77326 else
77327 with_gnu_ld=$ac_cv_prog_gnu_ld
77331 # Start by getting the version number. I think the libtool test already
77332 # does some of this, but throws away the result.
77333 if test x"$with_gnu_ld" = x"yes"; then
77334 echo "$as_me:$LINENO: checking for ld version" >&5
77335 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77337 ldver=`$LD --version 2>/dev/null | head -1 | \
77338 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
77340 glibcxx_gnu_ld_version=`echo $ldver | \
77341 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77342 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77343 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77346 # Set --gc-sections.
77347 glibcxx_gcsections_min_ld=21602
77348 if test x"$with_gnu_ld" = x"yes" &&
77349 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77351 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77352 # NB: This flag only works reliably after 2.16.1. Configure tests
77353 # for this are difficult, so hard wire a value that should work.
77355 ac_test_CFLAGS="${CFLAGS+set}"
77356 ac_save_CFLAGS="$CFLAGS"
77357 CFLAGS='-Wl,--gc-sections'
77359 # Check for -Wl,--gc-sections
77360 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77361 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77362 if test x$gcc_no_link = xyes; then
77363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77365 { (exit 1); exit 1; }; }
77367 cat >conftest.$ac_ext <<_ACEOF
77368 /* confdefs.h. */
77369 _ACEOF
77370 cat confdefs.h >>conftest.$ac_ext
77371 cat >>conftest.$ac_ext <<_ACEOF
77372 /* end confdefs.h. */
77373 int one(void) { return 1; }
77374 int two(void) { return 2; }
77377 main ()
77379 two();
77381 return 0;
77383 _ACEOF
77384 rm -f conftest.$ac_objext conftest$ac_exeext
77385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77386 (eval $ac_link) 2>conftest.er1
77387 ac_status=$?
77388 grep -v '^ *+' conftest.er1 >conftest.err
77389 rm -f conftest.er1
77390 cat conftest.err >&5
77391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77392 (exit $ac_status); } &&
77393 { ac_try='test -z "$ac_c_werror_flag"
77394 || test ! -s conftest.err'
77395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77396 (eval $ac_try) 2>&5
77397 ac_status=$?
77398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77399 (exit $ac_status); }; } &&
77400 { ac_try='test -s conftest$ac_exeext'
77401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77402 (eval $ac_try) 2>&5
77403 ac_status=$?
77404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77405 (exit $ac_status); }; }; then
77406 ac_gcsections=yes
77407 else
77408 echo "$as_me: failed program was:" >&5
77409 sed 's/^/| /' conftest.$ac_ext >&5
77411 ac_gcsections=no
77413 rm -f conftest.err conftest.$ac_objext \
77414 conftest$ac_exeext conftest.$ac_ext
77415 if test "$ac_gcsections" = "yes"; then
77416 rm -f conftest.c
77417 touch conftest.c
77418 if $CC -c conftest.c; then
77419 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77420 grep "Warning: gc-sections option ignored" > /dev/null; then
77421 ac_gcsections=no
77424 rm -f conftest.c conftest.o conftest
77426 if test "$ac_gcsections" = "yes"; then
77427 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77429 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77430 echo "${ECHO_T}$ac_gcsections" >&6
77432 if test "$ac_test_CFLAGS" = set; then
77433 CFLAGS="$ac_save_CFLAGS"
77434 else
77435 # this is the suspicious part
77436 CFLAGS=''
77440 # Set -z,relro.
77441 # Note this is only for shared objects.
77442 ac_ld_relro=no
77443 if test x"$with_gnu_ld" = x"yes"; then
77444 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77445 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77446 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77447 if test -n "$cxx_z_relo"; then
77448 OPT_LDFLAGS="-Wl,-z,relro"
77449 ac_ld_relro=yes
77451 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77452 echo "${ECHO_T}$ac_ld_relro" >&6
77455 # Set linker optimization flags.
77456 if test x"$with_gnu_ld" = x"yes"; then
77457 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77465 echo "$as_me:$LINENO: checking for main in -lm" >&5
77466 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77467 if test "${ac_cv_lib_m_main+set}" = set; then
77468 echo $ECHO_N "(cached) $ECHO_C" >&6
77469 else
77470 ac_check_lib_save_LIBS=$LIBS
77471 LIBS="-lm $LIBS"
77472 if test x$gcc_no_link = xyes; then
77473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77475 { (exit 1); exit 1; }; }
77477 cat >conftest.$ac_ext <<_ACEOF
77478 /* confdefs.h. */
77479 _ACEOF
77480 cat confdefs.h >>conftest.$ac_ext
77481 cat >>conftest.$ac_ext <<_ACEOF
77482 /* end confdefs.h. */
77486 main ()
77488 main ();
77490 return 0;
77492 _ACEOF
77493 rm -f conftest.$ac_objext conftest$ac_exeext
77494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77495 (eval $ac_link) 2>conftest.er1
77496 ac_status=$?
77497 grep -v '^ *+' conftest.er1 >conftest.err
77498 rm -f conftest.er1
77499 cat conftest.err >&5
77500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77501 (exit $ac_status); } &&
77502 { ac_try='test -z "$ac_c_werror_flag"
77503 || test ! -s conftest.err'
77504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77505 (eval $ac_try) 2>&5
77506 ac_status=$?
77507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77508 (exit $ac_status); }; } &&
77509 { ac_try='test -s conftest$ac_exeext'
77510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77511 (eval $ac_try) 2>&5
77512 ac_status=$?
77513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77514 (exit $ac_status); }; }; then
77515 ac_cv_lib_m_main=yes
77516 else
77517 echo "$as_me: failed program was:" >&5
77518 sed 's/^/| /' conftest.$ac_ext >&5
77520 ac_cv_lib_m_main=no
77522 rm -f conftest.err conftest.$ac_objext \
77523 conftest$ac_exeext conftest.$ac_ext
77524 LIBS=$ac_check_lib_save_LIBS
77526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77527 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77528 if test $ac_cv_lib_m_main = yes; then
77529 cat >>confdefs.h <<_ACEOF
77530 #define HAVE_LIBM 1
77531 _ACEOF
77533 LIBS="-lm $LIBS"
77538 for ac_func in copysignf
77540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77541 echo "$as_me:$LINENO: checking for $ac_func" >&5
77542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77543 if eval "test \"\${$as_ac_var+set}\" = set"; then
77544 echo $ECHO_N "(cached) $ECHO_C" >&6
77545 else
77546 if test x$gcc_no_link = xyes; then
77547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77549 { (exit 1); exit 1; }; }
77551 cat >conftest.$ac_ext <<_ACEOF
77552 /* confdefs.h. */
77553 _ACEOF
77554 cat confdefs.h >>conftest.$ac_ext
77555 cat >>conftest.$ac_ext <<_ACEOF
77556 /* end confdefs.h. */
77557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77559 #define $ac_func innocuous_$ac_func
77561 /* System header to define __stub macros and hopefully few prototypes,
77562 which can conflict with char $ac_func (); below.
77563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77564 <limits.h> exists even on freestanding compilers. */
77566 #ifdef __STDC__
77567 # include <limits.h>
77568 #else
77569 # include <assert.h>
77570 #endif
77572 #undef $ac_func
77574 /* Override any gcc2 internal prototype to avoid an error. */
77575 #ifdef __cplusplus
77576 extern "C"
77578 #endif
77579 /* We use char because int might match the return type of a gcc2
77580 builtin and then its argument prototype would still apply. */
77581 char $ac_func ();
77582 /* The GNU C library defines this for functions which it implements
77583 to always fail with ENOSYS. Some functions are actually named
77584 something starting with __ and the normal name is an alias. */
77585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77586 choke me
77587 #else
77588 char (*f) () = $ac_func;
77589 #endif
77590 #ifdef __cplusplus
77592 #endif
77595 main ()
77597 return f != $ac_func;
77599 return 0;
77601 _ACEOF
77602 rm -f conftest.$ac_objext conftest$ac_exeext
77603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77604 (eval $ac_link) 2>conftest.er1
77605 ac_status=$?
77606 grep -v '^ *+' conftest.er1 >conftest.err
77607 rm -f conftest.er1
77608 cat conftest.err >&5
77609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77610 (exit $ac_status); } &&
77611 { ac_try='test -z "$ac_c_werror_flag"
77612 || test ! -s conftest.err'
77613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77614 (eval $ac_try) 2>&5
77615 ac_status=$?
77616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77617 (exit $ac_status); }; } &&
77618 { ac_try='test -s conftest$ac_exeext'
77619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77620 (eval $ac_try) 2>&5
77621 ac_status=$?
77622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77623 (exit $ac_status); }; }; then
77624 eval "$as_ac_var=yes"
77625 else
77626 echo "$as_me: failed program was:" >&5
77627 sed 's/^/| /' conftest.$ac_ext >&5
77629 eval "$as_ac_var=no"
77631 rm -f conftest.err conftest.$ac_objext \
77632 conftest$ac_exeext conftest.$ac_ext
77634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77636 if test `eval echo '${'$as_ac_var'}'` = yes; then
77637 cat >>confdefs.h <<_ACEOF
77638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77639 _ACEOF
77641 else
77642 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77644 done
77648 for ac_func in __signbit
77650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77651 echo "$as_me:$LINENO: checking for $ac_func" >&5
77652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77653 if eval "test \"\${$as_ac_var+set}\" = set"; then
77654 echo $ECHO_N "(cached) $ECHO_C" >&6
77655 else
77656 if test x$gcc_no_link = xyes; then
77657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77659 { (exit 1); exit 1; }; }
77661 cat >conftest.$ac_ext <<_ACEOF
77662 /* confdefs.h. */
77663 _ACEOF
77664 cat confdefs.h >>conftest.$ac_ext
77665 cat >>conftest.$ac_ext <<_ACEOF
77666 /* end confdefs.h. */
77667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77669 #define $ac_func innocuous_$ac_func
77671 /* System header to define __stub macros and hopefully few prototypes,
77672 which can conflict with char $ac_func (); below.
77673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77674 <limits.h> exists even on freestanding compilers. */
77676 #ifdef __STDC__
77677 # include <limits.h>
77678 #else
77679 # include <assert.h>
77680 #endif
77682 #undef $ac_func
77684 /* Override any gcc2 internal prototype to avoid an error. */
77685 #ifdef __cplusplus
77686 extern "C"
77688 #endif
77689 /* We use char because int might match the return type of a gcc2
77690 builtin and then its argument prototype would still apply. */
77691 char $ac_func ();
77692 /* The GNU C library defines this for functions which it implements
77693 to always fail with ENOSYS. Some functions are actually named
77694 something starting with __ and the normal name is an alias. */
77695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77696 choke me
77697 #else
77698 char (*f) () = $ac_func;
77699 #endif
77700 #ifdef __cplusplus
77702 #endif
77705 main ()
77707 return f != $ac_func;
77709 return 0;
77711 _ACEOF
77712 rm -f conftest.$ac_objext conftest$ac_exeext
77713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77714 (eval $ac_link) 2>conftest.er1
77715 ac_status=$?
77716 grep -v '^ *+' conftest.er1 >conftest.err
77717 rm -f conftest.er1
77718 cat conftest.err >&5
77719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77720 (exit $ac_status); } &&
77721 { ac_try='test -z "$ac_c_werror_flag"
77722 || test ! -s conftest.err'
77723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77724 (eval $ac_try) 2>&5
77725 ac_status=$?
77726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77727 (exit $ac_status); }; } &&
77728 { ac_try='test -s conftest$ac_exeext'
77729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77730 (eval $ac_try) 2>&5
77731 ac_status=$?
77732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77733 (exit $ac_status); }; }; then
77734 eval "$as_ac_var=yes"
77735 else
77736 echo "$as_me: failed program was:" >&5
77737 sed 's/^/| /' conftest.$ac_ext >&5
77739 eval "$as_ac_var=no"
77741 rm -f conftest.err conftest.$ac_objext \
77742 conftest$ac_exeext conftest.$ac_ext
77744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77746 if test `eval echo '${'$as_ac_var'}'` = yes; then
77747 cat >>confdefs.h <<_ACEOF
77748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77749 _ACEOF
77751 else
77752 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77754 done
77758 for ac_func in __signbitf
77760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77761 echo "$as_me:$LINENO: checking for $ac_func" >&5
77762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77763 if eval "test \"\${$as_ac_var+set}\" = set"; then
77764 echo $ECHO_N "(cached) $ECHO_C" >&6
77765 else
77766 if test x$gcc_no_link = xyes; then
77767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77769 { (exit 1); exit 1; }; }
77771 cat >conftest.$ac_ext <<_ACEOF
77772 /* confdefs.h. */
77773 _ACEOF
77774 cat confdefs.h >>conftest.$ac_ext
77775 cat >>conftest.$ac_ext <<_ACEOF
77776 /* end confdefs.h. */
77777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77779 #define $ac_func innocuous_$ac_func
77781 /* System header to define __stub macros and hopefully few prototypes,
77782 which can conflict with char $ac_func (); below.
77783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77784 <limits.h> exists even on freestanding compilers. */
77786 #ifdef __STDC__
77787 # include <limits.h>
77788 #else
77789 # include <assert.h>
77790 #endif
77792 #undef $ac_func
77794 /* Override any gcc2 internal prototype to avoid an error. */
77795 #ifdef __cplusplus
77796 extern "C"
77798 #endif
77799 /* We use char because int might match the return type of a gcc2
77800 builtin and then its argument prototype would still apply. */
77801 char $ac_func ();
77802 /* The GNU C library defines this for functions which it implements
77803 to always fail with ENOSYS. Some functions are actually named
77804 something starting with __ and the normal name is an alias. */
77805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77806 choke me
77807 #else
77808 char (*f) () = $ac_func;
77809 #endif
77810 #ifdef __cplusplus
77812 #endif
77815 main ()
77817 return f != $ac_func;
77819 return 0;
77821 _ACEOF
77822 rm -f conftest.$ac_objext conftest$ac_exeext
77823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77824 (eval $ac_link) 2>conftest.er1
77825 ac_status=$?
77826 grep -v '^ *+' conftest.er1 >conftest.err
77827 rm -f conftest.er1
77828 cat conftest.err >&5
77829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830 (exit $ac_status); } &&
77831 { ac_try='test -z "$ac_c_werror_flag"
77832 || test ! -s conftest.err'
77833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77834 (eval $ac_try) 2>&5
77835 ac_status=$?
77836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77837 (exit $ac_status); }; } &&
77838 { ac_try='test -s conftest$ac_exeext'
77839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77840 (eval $ac_try) 2>&5
77841 ac_status=$?
77842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77843 (exit $ac_status); }; }; then
77844 eval "$as_ac_var=yes"
77845 else
77846 echo "$as_me: failed program was:" >&5
77847 sed 's/^/| /' conftest.$ac_ext >&5
77849 eval "$as_ac_var=no"
77851 rm -f conftest.err conftest.$ac_objext \
77852 conftest$ac_exeext conftest.$ac_ext
77854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77856 if test `eval echo '${'$as_ac_var'}'` = yes; then
77857 cat >>confdefs.h <<_ACEOF
77858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77859 _ACEOF
77861 else
77862 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77864 done
77867 if test x$ac_cv_func_copysignl = x"yes"; then
77869 for ac_func in __signbitl
77871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77872 echo "$as_me:$LINENO: checking for $ac_func" >&5
77873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77874 if eval "test \"\${$as_ac_var+set}\" = set"; then
77875 echo $ECHO_N "(cached) $ECHO_C" >&6
77876 else
77877 if test x$gcc_no_link = xyes; then
77878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77880 { (exit 1); exit 1; }; }
77882 cat >conftest.$ac_ext <<_ACEOF
77883 /* confdefs.h. */
77884 _ACEOF
77885 cat confdefs.h >>conftest.$ac_ext
77886 cat >>conftest.$ac_ext <<_ACEOF
77887 /* end confdefs.h. */
77888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77890 #define $ac_func innocuous_$ac_func
77892 /* System header to define __stub macros and hopefully few prototypes,
77893 which can conflict with char $ac_func (); below.
77894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77895 <limits.h> exists even on freestanding compilers. */
77897 #ifdef __STDC__
77898 # include <limits.h>
77899 #else
77900 # include <assert.h>
77901 #endif
77903 #undef $ac_func
77905 /* Override any gcc2 internal prototype to avoid an error. */
77906 #ifdef __cplusplus
77907 extern "C"
77909 #endif
77910 /* We use char because int might match the return type of a gcc2
77911 builtin and then its argument prototype would still apply. */
77912 char $ac_func ();
77913 /* The GNU C library defines this for functions which it implements
77914 to always fail with ENOSYS. Some functions are actually named
77915 something starting with __ and the normal name is an alias. */
77916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77917 choke me
77918 #else
77919 char (*f) () = $ac_func;
77920 #endif
77921 #ifdef __cplusplus
77923 #endif
77926 main ()
77928 return f != $ac_func;
77930 return 0;
77932 _ACEOF
77933 rm -f conftest.$ac_objext conftest$ac_exeext
77934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77935 (eval $ac_link) 2>conftest.er1
77936 ac_status=$?
77937 grep -v '^ *+' conftest.er1 >conftest.err
77938 rm -f conftest.er1
77939 cat conftest.err >&5
77940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77941 (exit $ac_status); } &&
77942 { ac_try='test -z "$ac_c_werror_flag"
77943 || test ! -s conftest.err'
77944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77945 (eval $ac_try) 2>&5
77946 ac_status=$?
77947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948 (exit $ac_status); }; } &&
77949 { ac_try='test -s conftest$ac_exeext'
77950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77951 (eval $ac_try) 2>&5
77952 ac_status=$?
77953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77954 (exit $ac_status); }; }; then
77955 eval "$as_ac_var=yes"
77956 else
77957 echo "$as_me: failed program was:" >&5
77958 sed 's/^/| /' conftest.$ac_ext >&5
77960 eval "$as_ac_var=no"
77962 rm -f conftest.err conftest.$ac_objext \
77963 conftest$ac_exeext conftest.$ac_ext
77965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77967 if test `eval echo '${'$as_ac_var'}'` = yes; then
77968 cat >>confdefs.h <<_ACEOF
77969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77970 _ACEOF
77972 else
77973 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77975 done
77979 # Used in libmath/Makefile.am.
77980 if test -n "$LIBMATHOBJS"; then
77981 need_libmath=yes
77987 enable_iconv=no
77988 # Only continue checking if the ISO C99 headers exist and support is on.
77989 if test x"$enable_wchar_t" = xyes; then
77991 # Use iconv for wchar_t to char conversions. As such, check for
77992 # X/Open Portability Guide, version 2 features (XPG2).
77993 if test "${ac_cv_header_iconv_h+set}" = set; then
77994 echo "$as_me:$LINENO: checking for iconv.h" >&5
77995 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77996 if test "${ac_cv_header_iconv_h+set}" = set; then
77997 echo $ECHO_N "(cached) $ECHO_C" >&6
77999 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78000 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78001 else
78002 # Is the header compilable?
78003 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78004 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78005 cat >conftest.$ac_ext <<_ACEOF
78006 /* confdefs.h. */
78007 _ACEOF
78008 cat confdefs.h >>conftest.$ac_ext
78009 cat >>conftest.$ac_ext <<_ACEOF
78010 /* end confdefs.h. */
78011 $ac_includes_default
78012 #include <iconv.h>
78013 _ACEOF
78014 rm -f conftest.$ac_objext
78015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78016 (eval $ac_compile) 2>conftest.er1
78017 ac_status=$?
78018 grep -v '^ *+' conftest.er1 >conftest.err
78019 rm -f conftest.er1
78020 cat conftest.err >&5
78021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78022 (exit $ac_status); } &&
78023 { ac_try='test -z "$ac_c_werror_flag"
78024 || test ! -s conftest.err'
78025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78026 (eval $ac_try) 2>&5
78027 ac_status=$?
78028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78029 (exit $ac_status); }; } &&
78030 { ac_try='test -s conftest.$ac_objext'
78031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78032 (eval $ac_try) 2>&5
78033 ac_status=$?
78034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78035 (exit $ac_status); }; }; then
78036 ac_header_compiler=yes
78037 else
78038 echo "$as_me: failed program was:" >&5
78039 sed 's/^/| /' conftest.$ac_ext >&5
78041 ac_header_compiler=no
78043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78045 echo "${ECHO_T}$ac_header_compiler" >&6
78047 # Is the header present?
78048 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78049 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78050 cat >conftest.$ac_ext <<_ACEOF
78051 /* confdefs.h. */
78052 _ACEOF
78053 cat confdefs.h >>conftest.$ac_ext
78054 cat >>conftest.$ac_ext <<_ACEOF
78055 /* end confdefs.h. */
78056 #include <iconv.h>
78057 _ACEOF
78058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78060 ac_status=$?
78061 grep -v '^ *+' conftest.er1 >conftest.err
78062 rm -f conftest.er1
78063 cat conftest.err >&5
78064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78065 (exit $ac_status); } >/dev/null; then
78066 if test -s conftest.err; then
78067 ac_cpp_err=$ac_c_preproc_warn_flag
78068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78069 else
78070 ac_cpp_err=
78072 else
78073 ac_cpp_err=yes
78075 if test -z "$ac_cpp_err"; then
78076 ac_header_preproc=yes
78077 else
78078 echo "$as_me: failed program was:" >&5
78079 sed 's/^/| /' conftest.$ac_ext >&5
78081 ac_header_preproc=no
78083 rm -f conftest.err conftest.$ac_ext
78084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78085 echo "${ECHO_T}$ac_header_preproc" >&6
78087 # So? What about this header?
78088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78089 yes:no: )
78090 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78091 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78092 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78093 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78094 ac_header_preproc=yes
78096 no:yes:* )
78097 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78098 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78099 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78100 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78101 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78102 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78103 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78104 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78105 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78106 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78107 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78108 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78110 cat <<\_ASBOX
78111 ## ----------------------------------------- ##
78112 ## Report this to the package-unused lists. ##
78113 ## ----------------------------------------- ##
78114 _ASBOX
78116 sed "s/^/$as_me: WARNING: /" >&2
78118 esac
78119 echo "$as_me:$LINENO: checking for iconv.h" >&5
78120 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78121 if test "${ac_cv_header_iconv_h+set}" = set; then
78122 echo $ECHO_N "(cached) $ECHO_C" >&6
78123 else
78124 ac_cv_header_iconv_h=$ac_header_preproc
78126 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78127 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78130 if test $ac_cv_header_iconv_h = yes; then
78131 ac_has_iconv_h=yes
78132 else
78133 ac_has_iconv_h=no
78137 if test "${ac_cv_header_langinfo_h+set}" = set; then
78138 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78139 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78140 if test "${ac_cv_header_langinfo_h+set}" = set; then
78141 echo $ECHO_N "(cached) $ECHO_C" >&6
78143 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78144 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78145 else
78146 # Is the header compilable?
78147 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78148 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78149 cat >conftest.$ac_ext <<_ACEOF
78150 /* confdefs.h. */
78151 _ACEOF
78152 cat confdefs.h >>conftest.$ac_ext
78153 cat >>conftest.$ac_ext <<_ACEOF
78154 /* end confdefs.h. */
78155 $ac_includes_default
78156 #include <langinfo.h>
78157 _ACEOF
78158 rm -f conftest.$ac_objext
78159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78160 (eval $ac_compile) 2>conftest.er1
78161 ac_status=$?
78162 grep -v '^ *+' conftest.er1 >conftest.err
78163 rm -f conftest.er1
78164 cat conftest.err >&5
78165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78166 (exit $ac_status); } &&
78167 { ac_try='test -z "$ac_c_werror_flag"
78168 || test ! -s conftest.err'
78169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78170 (eval $ac_try) 2>&5
78171 ac_status=$?
78172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78173 (exit $ac_status); }; } &&
78174 { ac_try='test -s conftest.$ac_objext'
78175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78176 (eval $ac_try) 2>&5
78177 ac_status=$?
78178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78179 (exit $ac_status); }; }; then
78180 ac_header_compiler=yes
78181 else
78182 echo "$as_me: failed program was:" >&5
78183 sed 's/^/| /' conftest.$ac_ext >&5
78185 ac_header_compiler=no
78187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78189 echo "${ECHO_T}$ac_header_compiler" >&6
78191 # Is the header present?
78192 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78193 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78194 cat >conftest.$ac_ext <<_ACEOF
78195 /* confdefs.h. */
78196 _ACEOF
78197 cat confdefs.h >>conftest.$ac_ext
78198 cat >>conftest.$ac_ext <<_ACEOF
78199 /* end confdefs.h. */
78200 #include <langinfo.h>
78201 _ACEOF
78202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78204 ac_status=$?
78205 grep -v '^ *+' conftest.er1 >conftest.err
78206 rm -f conftest.er1
78207 cat conftest.err >&5
78208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78209 (exit $ac_status); } >/dev/null; then
78210 if test -s conftest.err; then
78211 ac_cpp_err=$ac_c_preproc_warn_flag
78212 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78213 else
78214 ac_cpp_err=
78216 else
78217 ac_cpp_err=yes
78219 if test -z "$ac_cpp_err"; then
78220 ac_header_preproc=yes
78221 else
78222 echo "$as_me: failed program was:" >&5
78223 sed 's/^/| /' conftest.$ac_ext >&5
78225 ac_header_preproc=no
78227 rm -f conftest.err conftest.$ac_ext
78228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78229 echo "${ECHO_T}$ac_header_preproc" >&6
78231 # So? What about this header?
78232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78233 yes:no: )
78234 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78235 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78236 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78237 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78238 ac_header_preproc=yes
78240 no:yes:* )
78241 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78242 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78243 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78244 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78245 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78246 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78247 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78248 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78249 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78250 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78251 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78252 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78254 cat <<\_ASBOX
78255 ## ----------------------------------------- ##
78256 ## Report this to the package-unused lists. ##
78257 ## ----------------------------------------- ##
78258 _ASBOX
78260 sed "s/^/$as_me: WARNING: /" >&2
78262 esac
78263 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78264 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78265 if test "${ac_cv_header_langinfo_h+set}" = set; then
78266 echo $ECHO_N "(cached) $ECHO_C" >&6
78267 else
78268 ac_cv_header_langinfo_h=$ac_header_preproc
78270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78274 if test $ac_cv_header_langinfo_h = yes; then
78275 ac_has_langinfo_h=yes
78276 else
78277 ac_has_langinfo_h=no
78282 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78283 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78284 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78285 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78286 echo $ECHO_N "(cached) $ECHO_C" >&6
78287 else
78288 ac_check_lib_save_LIBS=$LIBS
78289 LIBS="-liconv $LIBS"
78290 if test x$gcc_no_link = xyes; then
78291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78293 { (exit 1); exit 1; }; }
78295 cat >conftest.$ac_ext <<_ACEOF
78296 /* confdefs.h. */
78297 _ACEOF
78298 cat confdefs.h >>conftest.$ac_ext
78299 cat >>conftest.$ac_ext <<_ACEOF
78300 /* end confdefs.h. */
78302 /* Override any gcc2 internal prototype to avoid an error. */
78303 #ifdef __cplusplus
78304 extern "C"
78305 #endif
78306 /* We use char because int might match the return type of a gcc2
78307 builtin and then its argument prototype would still apply. */
78308 char iconv ();
78310 main ()
78312 iconv ();
78314 return 0;
78316 _ACEOF
78317 rm -f conftest.$ac_objext conftest$ac_exeext
78318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78319 (eval $ac_link) 2>conftest.er1
78320 ac_status=$?
78321 grep -v '^ *+' conftest.er1 >conftest.err
78322 rm -f conftest.er1
78323 cat conftest.err >&5
78324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78325 (exit $ac_status); } &&
78326 { ac_try='test -z "$ac_c_werror_flag"
78327 || test ! -s conftest.err'
78328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78329 (eval $ac_try) 2>&5
78330 ac_status=$?
78331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78332 (exit $ac_status); }; } &&
78333 { ac_try='test -s conftest$ac_exeext'
78334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78335 (eval $ac_try) 2>&5
78336 ac_status=$?
78337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78338 (exit $ac_status); }; }; then
78339 ac_cv_lib_iconv_iconv=yes
78340 else
78341 echo "$as_me: failed program was:" >&5
78342 sed 's/^/| /' conftest.$ac_ext >&5
78344 ac_cv_lib_iconv_iconv=no
78346 rm -f conftest.err conftest.$ac_objext \
78347 conftest$ac_exeext conftest.$ac_ext
78348 LIBS=$ac_check_lib_save_LIBS
78350 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78351 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78352 if test $ac_cv_lib_iconv_iconv = yes; then
78353 LIBICONV="-liconv"
78356 ac_save_LIBS="$LIBS"
78357 LIBS="$LIBS $LIBICONV"
78364 for ac_func in iconv_open iconv_close iconv nl_langinfo
78366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78367 echo "$as_me:$LINENO: checking for $ac_func" >&5
78368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78369 if eval "test \"\${$as_ac_var+set}\" = set"; then
78370 echo $ECHO_N "(cached) $ECHO_C" >&6
78371 else
78372 if test x$gcc_no_link = xyes; then
78373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78375 { (exit 1); exit 1; }; }
78377 cat >conftest.$ac_ext <<_ACEOF
78378 /* confdefs.h. */
78379 _ACEOF
78380 cat confdefs.h >>conftest.$ac_ext
78381 cat >>conftest.$ac_ext <<_ACEOF
78382 /* end confdefs.h. */
78383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78385 #define $ac_func innocuous_$ac_func
78387 /* System header to define __stub macros and hopefully few prototypes,
78388 which can conflict with char $ac_func (); below.
78389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78390 <limits.h> exists even on freestanding compilers. */
78392 #ifdef __STDC__
78393 # include <limits.h>
78394 #else
78395 # include <assert.h>
78396 #endif
78398 #undef $ac_func
78400 /* Override any gcc2 internal prototype to avoid an error. */
78401 #ifdef __cplusplus
78402 extern "C"
78404 #endif
78405 /* We use char because int might match the return type of a gcc2
78406 builtin and then its argument prototype would still apply. */
78407 char $ac_func ();
78408 /* The GNU C library defines this for functions which it implements
78409 to always fail with ENOSYS. Some functions are actually named
78410 something starting with __ and the normal name is an alias. */
78411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78412 choke me
78413 #else
78414 char (*f) () = $ac_func;
78415 #endif
78416 #ifdef __cplusplus
78418 #endif
78421 main ()
78423 return f != $ac_func;
78425 return 0;
78427 _ACEOF
78428 rm -f conftest.$ac_objext conftest$ac_exeext
78429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78430 (eval $ac_link) 2>conftest.er1
78431 ac_status=$?
78432 grep -v '^ *+' conftest.er1 >conftest.err
78433 rm -f conftest.er1
78434 cat conftest.err >&5
78435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78436 (exit $ac_status); } &&
78437 { ac_try='test -z "$ac_c_werror_flag"
78438 || test ! -s conftest.err'
78439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78440 (eval $ac_try) 2>&5
78441 ac_status=$?
78442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78443 (exit $ac_status); }; } &&
78444 { ac_try='test -s conftest$ac_exeext'
78445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78446 (eval $ac_try) 2>&5
78447 ac_status=$?
78448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449 (exit $ac_status); }; }; then
78450 eval "$as_ac_var=yes"
78451 else
78452 echo "$as_me: failed program was:" >&5
78453 sed 's/^/| /' conftest.$ac_ext >&5
78455 eval "$as_ac_var=no"
78457 rm -f conftest.err conftest.$ac_objext \
78458 conftest$ac_exeext conftest.$ac_ext
78460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78462 if test `eval echo '${'$as_ac_var'}'` = yes; then
78463 cat >>confdefs.h <<_ACEOF
78464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78465 _ACEOF
78466 ac_XPG2funcs=yes
78467 else
78468 ac_XPG2funcs=no
78470 done
78473 LIBS="$ac_save_LIBS"
78475 if test x"$ac_has_iconv_h" = xyes &&
78476 test x"$ac_has_langinfo_h" = xyes &&
78477 test x"$ac_XPG2funcs" = xyes;
78478 then
78480 cat >>confdefs.h <<\_ACEOF
78481 #define _GLIBCXX_USE_ICONV 1
78482 _ACEOF
78484 enable_iconv=yes
78487 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78488 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78489 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78490 echo "${ECHO_T}$enable_iconv" >&6
78492 cat >>confdefs.h <<\_ACEOF
78493 #define HAVE_COPYSIGN 1
78494 _ACEOF
78496 cat >>confdefs.h <<\_ACEOF
78497 #define HAVE_COPYSIGNF 1
78498 _ACEOF
78500 cat >>confdefs.h <<\_ACEOF
78501 #define HAVE_FREXPF 1
78502 _ACEOF
78504 cat >>confdefs.h <<\_ACEOF
78505 #define HAVE_HYPOT 1
78506 _ACEOF
78508 case "$target" in
78509 *-hpux10*)
78510 cat >>confdefs.h <<\_ACEOF
78511 #define HAVE_FINITE 1
78512 _ACEOF
78514 cat >>confdefs.h <<\_ACEOF
78515 #define HAVE_FINITEF 1
78516 _ACEOF
78518 cat >>confdefs.h <<\_ACEOF
78519 #define HAVE_ISINF 1
78520 _ACEOF
78522 cat >>confdefs.h <<\_ACEOF
78523 #define HAVE_ISINFF 1
78524 _ACEOF
78526 cat >>confdefs.h <<\_ACEOF
78527 #define HAVE_ISNAN 1
78528 _ACEOF
78530 cat >>confdefs.h <<\_ACEOF
78531 #define HAVE_ISNANF 1
78532 _ACEOF
78535 esac
78537 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
78553 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78554 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78555 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
78557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78559 echo "$as_me:$LINENO: checking for $ac_header" >&5
78560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78562 echo $ECHO_N "(cached) $ECHO_C" >&6
78564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78566 else
78567 # Is the header compilable?
78568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78570 cat >conftest.$ac_ext <<_ACEOF
78571 /* confdefs.h. */
78572 _ACEOF
78573 cat confdefs.h >>conftest.$ac_ext
78574 cat >>conftest.$ac_ext <<_ACEOF
78575 /* end confdefs.h. */
78576 $ac_includes_default
78577 #include <$ac_header>
78578 _ACEOF
78579 rm -f conftest.$ac_objext
78580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78581 (eval $ac_compile) 2>conftest.er1
78582 ac_status=$?
78583 grep -v '^ *+' conftest.er1 >conftest.err
78584 rm -f conftest.er1
78585 cat conftest.err >&5
78586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78587 (exit $ac_status); } &&
78588 { ac_try='test -z "$ac_c_werror_flag"
78589 || test ! -s conftest.err'
78590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78591 (eval $ac_try) 2>&5
78592 ac_status=$?
78593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78594 (exit $ac_status); }; } &&
78595 { ac_try='test -s conftest.$ac_objext'
78596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78597 (eval $ac_try) 2>&5
78598 ac_status=$?
78599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78600 (exit $ac_status); }; }; then
78601 ac_header_compiler=yes
78602 else
78603 echo "$as_me: failed program was:" >&5
78604 sed 's/^/| /' conftest.$ac_ext >&5
78606 ac_header_compiler=no
78608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78610 echo "${ECHO_T}$ac_header_compiler" >&6
78612 # Is the header present?
78613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78615 cat >conftest.$ac_ext <<_ACEOF
78616 /* confdefs.h. */
78617 _ACEOF
78618 cat confdefs.h >>conftest.$ac_ext
78619 cat >>conftest.$ac_ext <<_ACEOF
78620 /* end confdefs.h. */
78621 #include <$ac_header>
78622 _ACEOF
78623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78625 ac_status=$?
78626 grep -v '^ *+' conftest.er1 >conftest.err
78627 rm -f conftest.er1
78628 cat conftest.err >&5
78629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78630 (exit $ac_status); } >/dev/null; then
78631 if test -s conftest.err; then
78632 ac_cpp_err=$ac_c_preproc_warn_flag
78633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78634 else
78635 ac_cpp_err=
78637 else
78638 ac_cpp_err=yes
78640 if test -z "$ac_cpp_err"; then
78641 ac_header_preproc=yes
78642 else
78643 echo "$as_me: failed program was:" >&5
78644 sed 's/^/| /' conftest.$ac_ext >&5
78646 ac_header_preproc=no
78648 rm -f conftest.err conftest.$ac_ext
78649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78650 echo "${ECHO_T}$ac_header_preproc" >&6
78652 # So? What about this header?
78653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78654 yes:no: )
78655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78659 ac_header_preproc=yes
78661 no:yes:* )
78662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78675 cat <<\_ASBOX
78676 ## ----------------------------------------- ##
78677 ## Report this to the package-unused lists. ##
78678 ## ----------------------------------------- ##
78679 _ASBOX
78681 sed "s/^/$as_me: WARNING: /" >&2
78683 esac
78684 echo "$as_me:$LINENO: checking for $ac_header" >&5
78685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78687 echo $ECHO_N "(cached) $ECHO_C" >&6
78688 else
78689 eval "$as_ac_Header=\$ac_header_preproc"
78691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78696 cat >>confdefs.h <<_ACEOF
78697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78698 _ACEOF
78702 done
78704 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78707 # All these tests are for C++; save the language and the compiler flags.
78708 # The CXXFLAGS thing is suspicious, but based on similar bits previously
78709 # found in GLIBCXX_CONFIGURE.
78712 ac_ext=cc
78713 ac_cpp='$CXXCPP $CPPFLAGS'
78714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78718 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78719 ac_save_CXXFLAGS="$CXXFLAGS"
78721 # Check for maintainer-mode bits.
78722 if test x"$USE_MAINTAINER_MODE" = xno; then
78723 WERROR=''
78724 else
78725 WERROR='-Werror'
78728 # Check for -ffunction-sections -fdata-sections
78729 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
78730 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
78731 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
78732 cat >conftest.$ac_ext <<_ACEOF
78733 /* confdefs.h. */
78734 _ACEOF
78735 cat confdefs.h >>conftest.$ac_ext
78736 cat >>conftest.$ac_ext <<_ACEOF
78737 /* end confdefs.h. */
78740 main ()
78742 int foo;
78744 return 0;
78746 _ACEOF
78747 rm -f conftest.$ac_objext
78748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78749 (eval $ac_compile) 2>conftest.er1
78750 ac_status=$?
78751 grep -v '^ *+' conftest.er1 >conftest.err
78752 rm -f conftest.er1
78753 cat conftest.err >&5
78754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78755 (exit $ac_status); } &&
78756 { ac_try='test -z "$ac_cxx_werror_flag"
78757 || test ! -s conftest.err'
78758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78759 (eval $ac_try) 2>&5
78760 ac_status=$?
78761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762 (exit $ac_status); }; } &&
78763 { ac_try='test -s conftest.$ac_objext'
78764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78765 (eval $ac_try) 2>&5
78766 ac_status=$?
78767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768 (exit $ac_status); }; }; then
78769 ac_fdsections=yes
78770 else
78771 echo "$as_me: failed program was:" >&5
78772 sed 's/^/| /' conftest.$ac_ext >&5
78774 ac_fdsections=no
78776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78777 if test "$ac_test_CXXFLAGS" = set; then
78778 CXXFLAGS="$ac_save_CXXFLAGS"
78779 else
78780 # this is the suspicious part
78781 CXXFLAGS=''
78783 if test x"$ac_fdsections" = x"yes"; then
78784 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78786 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
78787 echo "${ECHO_T}$ac_fdsections" >&6
78789 ac_ext=c
78790 ac_cpp='$CPP $CPPFLAGS'
78791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78799 # If we're not using GNU ld, then there's no point in even trying these
78800 # tests. Check for that first. We should have already tested for gld
78801 # by now (in libtool), but require it now just to be safe...
78802 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78803 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78807 # The name set by libtool depends on the version of libtool. Shame on us
78808 # for depending on an impl detail, but c'est la vie. Older versions used
78809 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78810 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78811 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78812 # set (hence we're using an older libtool), then set it.
78813 if test x${with_gnu_ld+set} != xset; then
78814 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78815 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78816 with_gnu_ld=no
78817 else
78818 with_gnu_ld=$ac_cv_prog_gnu_ld
78822 # Start by getting the version number. I think the libtool test already
78823 # does some of this, but throws away the result.
78824 if test x"$with_gnu_ld" = x"yes"; then
78825 echo "$as_me:$LINENO: checking for ld version" >&5
78826 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78828 ldver=`$LD --version 2>/dev/null | head -1 | \
78829 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78831 glibcxx_gnu_ld_version=`echo $ldver | \
78832 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78833 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78834 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78837 # Set --gc-sections.
78838 glibcxx_gcsections_min_ld=21602
78839 if test x"$with_gnu_ld" = x"yes" &&
78840 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78842 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78843 # NB: This flag only works reliably after 2.16.1. Configure tests
78844 # for this are difficult, so hard wire a value that should work.
78846 ac_test_CFLAGS="${CFLAGS+set}"
78847 ac_save_CFLAGS="$CFLAGS"
78848 CFLAGS='-Wl,--gc-sections'
78850 # Check for -Wl,--gc-sections
78851 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78852 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78853 if test x$gcc_no_link = xyes; then
78854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78856 { (exit 1); exit 1; }; }
78858 cat >conftest.$ac_ext <<_ACEOF
78859 /* confdefs.h. */
78860 _ACEOF
78861 cat confdefs.h >>conftest.$ac_ext
78862 cat >>conftest.$ac_ext <<_ACEOF
78863 /* end confdefs.h. */
78864 int one(void) { return 1; }
78865 int two(void) { return 2; }
78868 main ()
78870 two();
78872 return 0;
78874 _ACEOF
78875 rm -f conftest.$ac_objext conftest$ac_exeext
78876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78877 (eval $ac_link) 2>conftest.er1
78878 ac_status=$?
78879 grep -v '^ *+' conftest.er1 >conftest.err
78880 rm -f conftest.er1
78881 cat conftest.err >&5
78882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78883 (exit $ac_status); } &&
78884 { ac_try='test -z "$ac_c_werror_flag"
78885 || test ! -s conftest.err'
78886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887 (eval $ac_try) 2>&5
78888 ac_status=$?
78889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890 (exit $ac_status); }; } &&
78891 { ac_try='test -s conftest$ac_exeext'
78892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78893 (eval $ac_try) 2>&5
78894 ac_status=$?
78895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78896 (exit $ac_status); }; }; then
78897 ac_gcsections=yes
78898 else
78899 echo "$as_me: failed program was:" >&5
78900 sed 's/^/| /' conftest.$ac_ext >&5
78902 ac_gcsections=no
78904 rm -f conftest.err conftest.$ac_objext \
78905 conftest$ac_exeext conftest.$ac_ext
78906 if test "$ac_gcsections" = "yes"; then
78907 rm -f conftest.c
78908 touch conftest.c
78909 if $CC -c conftest.c; then
78910 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78911 grep "Warning: gc-sections option ignored" > /dev/null; then
78912 ac_gcsections=no
78915 rm -f conftest.c conftest.o conftest
78917 if test "$ac_gcsections" = "yes"; then
78918 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78920 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78921 echo "${ECHO_T}$ac_gcsections" >&6
78923 if test "$ac_test_CFLAGS" = set; then
78924 CFLAGS="$ac_save_CFLAGS"
78925 else
78926 # this is the suspicious part
78927 CFLAGS=''
78931 # Set -z,relro.
78932 # Note this is only for shared objects.
78933 ac_ld_relro=no
78934 if test x"$with_gnu_ld" = x"yes"; then
78935 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78936 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78937 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78938 if test -n "$cxx_z_relo"; then
78939 OPT_LDFLAGS="-Wl,-z,relro"
78940 ac_ld_relro=yes
78942 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78943 echo "${ECHO_T}$ac_ld_relro" >&6
78946 # Set linker optimization flags.
78947 if test x"$with_gnu_ld" = x"yes"; then
78948 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78955 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78956 ac_save_CXXFLAGS="$CXXFLAGS"
78957 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78959 echo "$as_me:$LINENO: checking for sin in -lm" >&5
78960 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
78961 if test "${ac_cv_lib_m_sin+set}" = set; then
78962 echo $ECHO_N "(cached) $ECHO_C" >&6
78963 else
78964 ac_check_lib_save_LIBS=$LIBS
78965 LIBS="-lm $LIBS"
78966 if test x$gcc_no_link = xyes; then
78967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78969 { (exit 1); exit 1; }; }
78971 cat >conftest.$ac_ext <<_ACEOF
78972 /* confdefs.h. */
78973 _ACEOF
78974 cat confdefs.h >>conftest.$ac_ext
78975 cat >>conftest.$ac_ext <<_ACEOF
78976 /* end confdefs.h. */
78978 /* Override any gcc2 internal prototype to avoid an error. */
78979 #ifdef __cplusplus
78980 extern "C"
78981 #endif
78982 /* We use char because int might match the return type of a gcc2
78983 builtin and then its argument prototype would still apply. */
78984 char sin ();
78986 main ()
78988 sin ();
78990 return 0;
78992 _ACEOF
78993 rm -f conftest.$ac_objext conftest$ac_exeext
78994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78995 (eval $ac_link) 2>conftest.er1
78996 ac_status=$?
78997 grep -v '^ *+' conftest.er1 >conftest.err
78998 rm -f conftest.er1
78999 cat conftest.err >&5
79000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79001 (exit $ac_status); } &&
79002 { ac_try='test -z "$ac_c_werror_flag"
79003 || test ! -s conftest.err'
79004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79005 (eval $ac_try) 2>&5
79006 ac_status=$?
79007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79008 (exit $ac_status); }; } &&
79009 { ac_try='test -s conftest$ac_exeext'
79010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79011 (eval $ac_try) 2>&5
79012 ac_status=$?
79013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79014 (exit $ac_status); }; }; then
79015 ac_cv_lib_m_sin=yes
79016 else
79017 echo "$as_me: failed program was:" >&5
79018 sed 's/^/| /' conftest.$ac_ext >&5
79020 ac_cv_lib_m_sin=no
79022 rm -f conftest.err conftest.$ac_objext \
79023 conftest$ac_exeext conftest.$ac_ext
79024 LIBS=$ac_check_lib_save_LIBS
79026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
79027 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
79028 if test $ac_cv_lib_m_sin = yes; then
79029 libm="-lm"
79032 ac_save_LIBS="$LIBS"
79033 LIBS="$LIBS $libm"
79037 echo "$as_me:$LINENO: checking for isinf declaration" >&5
79038 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
79039 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
79040 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
79041 echo $ECHO_N "(cached) $ECHO_C" >&6
79042 else
79046 ac_ext=cc
79047 ac_cpp='$CXXCPP $CPPFLAGS'
79048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79052 cat >conftest.$ac_ext <<_ACEOF
79053 /* confdefs.h. */
79054 _ACEOF
79055 cat confdefs.h >>conftest.$ac_ext
79056 cat >>conftest.$ac_ext <<_ACEOF
79057 /* end confdefs.h. */
79058 #include <math.h>
79059 #ifdef HAVE_IEEEFP_H
79060 #include <ieeefp.h>
79061 #endif
79064 main ()
79066 isinf(0);
79068 return 0;
79070 _ACEOF
79071 rm -f conftest.$ac_objext
79072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79073 (eval $ac_compile) 2>conftest.er1
79074 ac_status=$?
79075 grep -v '^ *+' conftest.er1 >conftest.err
79076 rm -f conftest.er1
79077 cat conftest.err >&5
79078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79079 (exit $ac_status); } &&
79080 { ac_try='test -z "$ac_cxx_werror_flag"
79081 || test ! -s conftest.err'
79082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79083 (eval $ac_try) 2>&5
79084 ac_status=$?
79085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79086 (exit $ac_status); }; } &&
79087 { ac_try='test -s conftest.$ac_objext'
79088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79089 (eval $ac_try) 2>&5
79090 ac_status=$?
79091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79092 (exit $ac_status); }; }; then
79093 glibcxx_cv_func_isinf_use=yes
79094 else
79095 echo "$as_me: failed program was:" >&5
79096 sed 's/^/| /' conftest.$ac_ext >&5
79098 glibcxx_cv_func_isinf_use=no
79100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79101 ac_ext=c
79102 ac_cpp='$CPP $CPPFLAGS'
79103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
79112 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
79114 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
79116 for ac_func in isinf
79118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79119 echo "$as_me:$LINENO: checking for $ac_func" >&5
79120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79121 if eval "test \"\${$as_ac_var+set}\" = set"; then
79122 echo $ECHO_N "(cached) $ECHO_C" >&6
79123 else
79124 if test x$gcc_no_link = xyes; then
79125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79127 { (exit 1); exit 1; }; }
79129 cat >conftest.$ac_ext <<_ACEOF
79130 /* confdefs.h. */
79131 _ACEOF
79132 cat confdefs.h >>conftest.$ac_ext
79133 cat >>conftest.$ac_ext <<_ACEOF
79134 /* end confdefs.h. */
79135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79137 #define $ac_func innocuous_$ac_func
79139 /* System header to define __stub macros and hopefully few prototypes,
79140 which can conflict with char $ac_func (); below.
79141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79142 <limits.h> exists even on freestanding compilers. */
79144 #ifdef __STDC__
79145 # include <limits.h>
79146 #else
79147 # include <assert.h>
79148 #endif
79150 #undef $ac_func
79152 /* Override any gcc2 internal prototype to avoid an error. */
79153 #ifdef __cplusplus
79154 extern "C"
79156 #endif
79157 /* We use char because int might match the return type of a gcc2
79158 builtin and then its argument prototype would still apply. */
79159 char $ac_func ();
79160 /* The GNU C library defines this for functions which it implements
79161 to always fail with ENOSYS. Some functions are actually named
79162 something starting with __ and the normal name is an alias. */
79163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79164 choke me
79165 #else
79166 char (*f) () = $ac_func;
79167 #endif
79168 #ifdef __cplusplus
79170 #endif
79173 main ()
79175 return f != $ac_func;
79177 return 0;
79179 _ACEOF
79180 rm -f conftest.$ac_objext conftest$ac_exeext
79181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79182 (eval $ac_link) 2>conftest.er1
79183 ac_status=$?
79184 grep -v '^ *+' conftest.er1 >conftest.err
79185 rm -f conftest.er1
79186 cat conftest.err >&5
79187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79188 (exit $ac_status); } &&
79189 { ac_try='test -z "$ac_c_werror_flag"
79190 || test ! -s conftest.err'
79191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79192 (eval $ac_try) 2>&5
79193 ac_status=$?
79194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79195 (exit $ac_status); }; } &&
79196 { ac_try='test -s conftest$ac_exeext'
79197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79198 (eval $ac_try) 2>&5
79199 ac_status=$?
79200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79201 (exit $ac_status); }; }; then
79202 eval "$as_ac_var=yes"
79203 else
79204 echo "$as_me: failed program was:" >&5
79205 sed 's/^/| /' conftest.$ac_ext >&5
79207 eval "$as_ac_var=no"
79209 rm -f conftest.err conftest.$ac_objext \
79210 conftest$ac_exeext conftest.$ac_ext
79212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79214 if test `eval echo '${'$as_ac_var'}'` = yes; then
79215 cat >>confdefs.h <<_ACEOF
79216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79217 _ACEOF
79220 done
79222 else
79224 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
79225 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
79226 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
79227 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
79228 echo $ECHO_N "(cached) $ECHO_C" >&6
79229 else
79233 ac_ext=cc
79234 ac_cpp='$CXXCPP $CPPFLAGS'
79235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79239 cat >conftest.$ac_ext <<_ACEOF
79240 /* confdefs.h. */
79241 _ACEOF
79242 cat confdefs.h >>conftest.$ac_ext
79243 cat >>conftest.$ac_ext <<_ACEOF
79244 /* end confdefs.h. */
79245 #include <math.h>
79246 #ifdef HAVE_IEEEFP_H
79247 #include <ieeefp.h>
79248 #endif
79251 main ()
79253 _isinf(0);
79255 return 0;
79257 _ACEOF
79258 rm -f conftest.$ac_objext
79259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79260 (eval $ac_compile) 2>conftest.er1
79261 ac_status=$?
79262 grep -v '^ *+' conftest.er1 >conftest.err
79263 rm -f conftest.er1
79264 cat conftest.err >&5
79265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79266 (exit $ac_status); } &&
79267 { ac_try='test -z "$ac_cxx_werror_flag"
79268 || test ! -s conftest.err'
79269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79270 (eval $ac_try) 2>&5
79271 ac_status=$?
79272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79273 (exit $ac_status); }; } &&
79274 { ac_try='test -s conftest.$ac_objext'
79275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79276 (eval $ac_try) 2>&5
79277 ac_status=$?
79278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79279 (exit $ac_status); }; }; then
79280 glibcxx_cv_func__isinf_use=yes
79281 else
79282 echo "$as_me: failed program was:" >&5
79283 sed 's/^/| /' conftest.$ac_ext >&5
79285 glibcxx_cv_func__isinf_use=no
79287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79288 ac_ext=c
79289 ac_cpp='$CPP $CPPFLAGS'
79290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79298 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
79299 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
79301 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
79303 for ac_func in _isinf
79305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79306 echo "$as_me:$LINENO: checking for $ac_func" >&5
79307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79308 if eval "test \"\${$as_ac_var+set}\" = set"; then
79309 echo $ECHO_N "(cached) $ECHO_C" >&6
79310 else
79311 if test x$gcc_no_link = xyes; then
79312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79314 { (exit 1); exit 1; }; }
79316 cat >conftest.$ac_ext <<_ACEOF
79317 /* confdefs.h. */
79318 _ACEOF
79319 cat confdefs.h >>conftest.$ac_ext
79320 cat >>conftest.$ac_ext <<_ACEOF
79321 /* end confdefs.h. */
79322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79324 #define $ac_func innocuous_$ac_func
79326 /* System header to define __stub macros and hopefully few prototypes,
79327 which can conflict with char $ac_func (); below.
79328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79329 <limits.h> exists even on freestanding compilers. */
79331 #ifdef __STDC__
79332 # include <limits.h>
79333 #else
79334 # include <assert.h>
79335 #endif
79337 #undef $ac_func
79339 /* Override any gcc2 internal prototype to avoid an error. */
79340 #ifdef __cplusplus
79341 extern "C"
79343 #endif
79344 /* We use char because int might match the return type of a gcc2
79345 builtin and then its argument prototype would still apply. */
79346 char $ac_func ();
79347 /* The GNU C library defines this for functions which it implements
79348 to always fail with ENOSYS. Some functions are actually named
79349 something starting with __ and the normal name is an alias. */
79350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79351 choke me
79352 #else
79353 char (*f) () = $ac_func;
79354 #endif
79355 #ifdef __cplusplus
79357 #endif
79360 main ()
79362 return f != $ac_func;
79364 return 0;
79366 _ACEOF
79367 rm -f conftest.$ac_objext conftest$ac_exeext
79368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79369 (eval $ac_link) 2>conftest.er1
79370 ac_status=$?
79371 grep -v '^ *+' conftest.er1 >conftest.err
79372 rm -f conftest.er1
79373 cat conftest.err >&5
79374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79375 (exit $ac_status); } &&
79376 { ac_try='test -z "$ac_c_werror_flag"
79377 || test ! -s conftest.err'
79378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79379 (eval $ac_try) 2>&5
79380 ac_status=$?
79381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79382 (exit $ac_status); }; } &&
79383 { ac_try='test -s conftest$ac_exeext'
79384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79385 (eval $ac_try) 2>&5
79386 ac_status=$?
79387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79388 (exit $ac_status); }; }; then
79389 eval "$as_ac_var=yes"
79390 else
79391 echo "$as_me: failed program was:" >&5
79392 sed 's/^/| /' conftest.$ac_ext >&5
79394 eval "$as_ac_var=no"
79396 rm -f conftest.err conftest.$ac_objext \
79397 conftest$ac_exeext conftest.$ac_ext
79399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79401 if test `eval echo '${'$as_ac_var'}'` = yes; then
79402 cat >>confdefs.h <<_ACEOF
79403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79404 _ACEOF
79407 done
79417 echo "$as_me:$LINENO: checking for isnan declaration" >&5
79418 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
79419 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
79420 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
79421 echo $ECHO_N "(cached) $ECHO_C" >&6
79422 else
79426 ac_ext=cc
79427 ac_cpp='$CXXCPP $CPPFLAGS'
79428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79432 cat >conftest.$ac_ext <<_ACEOF
79433 /* confdefs.h. */
79434 _ACEOF
79435 cat confdefs.h >>conftest.$ac_ext
79436 cat >>conftest.$ac_ext <<_ACEOF
79437 /* end confdefs.h. */
79438 #include <math.h>
79439 #ifdef HAVE_IEEEFP_H
79440 #include <ieeefp.h>
79441 #endif
79444 main ()
79446 isnan(0);
79448 return 0;
79450 _ACEOF
79451 rm -f conftest.$ac_objext
79452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79453 (eval $ac_compile) 2>conftest.er1
79454 ac_status=$?
79455 grep -v '^ *+' conftest.er1 >conftest.err
79456 rm -f conftest.er1
79457 cat conftest.err >&5
79458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79459 (exit $ac_status); } &&
79460 { ac_try='test -z "$ac_cxx_werror_flag"
79461 || test ! -s conftest.err'
79462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79463 (eval $ac_try) 2>&5
79464 ac_status=$?
79465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466 (exit $ac_status); }; } &&
79467 { ac_try='test -s conftest.$ac_objext'
79468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79469 (eval $ac_try) 2>&5
79470 ac_status=$?
79471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79472 (exit $ac_status); }; }; then
79473 glibcxx_cv_func_isnan_use=yes
79474 else
79475 echo "$as_me: failed program was:" >&5
79476 sed 's/^/| /' conftest.$ac_ext >&5
79478 glibcxx_cv_func_isnan_use=no
79480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79481 ac_ext=c
79482 ac_cpp='$CPP $CPPFLAGS'
79483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
79492 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
79494 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
79496 for ac_func in isnan
79498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79499 echo "$as_me:$LINENO: checking for $ac_func" >&5
79500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79501 if eval "test \"\${$as_ac_var+set}\" = set"; then
79502 echo $ECHO_N "(cached) $ECHO_C" >&6
79503 else
79504 if test x$gcc_no_link = xyes; then
79505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79507 { (exit 1); exit 1; }; }
79509 cat >conftest.$ac_ext <<_ACEOF
79510 /* confdefs.h. */
79511 _ACEOF
79512 cat confdefs.h >>conftest.$ac_ext
79513 cat >>conftest.$ac_ext <<_ACEOF
79514 /* end confdefs.h. */
79515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79517 #define $ac_func innocuous_$ac_func
79519 /* System header to define __stub macros and hopefully few prototypes,
79520 which can conflict with char $ac_func (); below.
79521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79522 <limits.h> exists even on freestanding compilers. */
79524 #ifdef __STDC__
79525 # include <limits.h>
79526 #else
79527 # include <assert.h>
79528 #endif
79530 #undef $ac_func
79532 /* Override any gcc2 internal prototype to avoid an error. */
79533 #ifdef __cplusplus
79534 extern "C"
79536 #endif
79537 /* We use char because int might match the return type of a gcc2
79538 builtin and then its argument prototype would still apply. */
79539 char $ac_func ();
79540 /* The GNU C library defines this for functions which it implements
79541 to always fail with ENOSYS. Some functions are actually named
79542 something starting with __ and the normal name is an alias. */
79543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79544 choke me
79545 #else
79546 char (*f) () = $ac_func;
79547 #endif
79548 #ifdef __cplusplus
79550 #endif
79553 main ()
79555 return f != $ac_func;
79557 return 0;
79559 _ACEOF
79560 rm -f conftest.$ac_objext conftest$ac_exeext
79561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79562 (eval $ac_link) 2>conftest.er1
79563 ac_status=$?
79564 grep -v '^ *+' conftest.er1 >conftest.err
79565 rm -f conftest.er1
79566 cat conftest.err >&5
79567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79568 (exit $ac_status); } &&
79569 { ac_try='test -z "$ac_c_werror_flag"
79570 || test ! -s conftest.err'
79571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79572 (eval $ac_try) 2>&5
79573 ac_status=$?
79574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79575 (exit $ac_status); }; } &&
79576 { ac_try='test -s conftest$ac_exeext'
79577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79578 (eval $ac_try) 2>&5
79579 ac_status=$?
79580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79581 (exit $ac_status); }; }; then
79582 eval "$as_ac_var=yes"
79583 else
79584 echo "$as_me: failed program was:" >&5
79585 sed 's/^/| /' conftest.$ac_ext >&5
79587 eval "$as_ac_var=no"
79589 rm -f conftest.err conftest.$ac_objext \
79590 conftest$ac_exeext conftest.$ac_ext
79592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79594 if test `eval echo '${'$as_ac_var'}'` = yes; then
79595 cat >>confdefs.h <<_ACEOF
79596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79597 _ACEOF
79600 done
79602 else
79604 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
79605 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
79606 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
79607 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
79608 echo $ECHO_N "(cached) $ECHO_C" >&6
79609 else
79613 ac_ext=cc
79614 ac_cpp='$CXXCPP $CPPFLAGS'
79615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79619 cat >conftest.$ac_ext <<_ACEOF
79620 /* confdefs.h. */
79621 _ACEOF
79622 cat confdefs.h >>conftest.$ac_ext
79623 cat >>conftest.$ac_ext <<_ACEOF
79624 /* end confdefs.h. */
79625 #include <math.h>
79626 #ifdef HAVE_IEEEFP_H
79627 #include <ieeefp.h>
79628 #endif
79631 main ()
79633 _isnan(0);
79635 return 0;
79637 _ACEOF
79638 rm -f conftest.$ac_objext
79639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79640 (eval $ac_compile) 2>conftest.er1
79641 ac_status=$?
79642 grep -v '^ *+' conftest.er1 >conftest.err
79643 rm -f conftest.er1
79644 cat conftest.err >&5
79645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79646 (exit $ac_status); } &&
79647 { ac_try='test -z "$ac_cxx_werror_flag"
79648 || test ! -s conftest.err'
79649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79650 (eval $ac_try) 2>&5
79651 ac_status=$?
79652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653 (exit $ac_status); }; } &&
79654 { ac_try='test -s conftest.$ac_objext'
79655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656 (eval $ac_try) 2>&5
79657 ac_status=$?
79658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659 (exit $ac_status); }; }; then
79660 glibcxx_cv_func__isnan_use=yes
79661 else
79662 echo "$as_me: failed program was:" >&5
79663 sed 's/^/| /' conftest.$ac_ext >&5
79665 glibcxx_cv_func__isnan_use=no
79667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79668 ac_ext=c
79669 ac_cpp='$CPP $CPPFLAGS'
79670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
79679 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
79681 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
79683 for ac_func in _isnan
79685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79686 echo "$as_me:$LINENO: checking for $ac_func" >&5
79687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79688 if eval "test \"\${$as_ac_var+set}\" = set"; then
79689 echo $ECHO_N "(cached) $ECHO_C" >&6
79690 else
79691 if test x$gcc_no_link = xyes; then
79692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79694 { (exit 1); exit 1; }; }
79696 cat >conftest.$ac_ext <<_ACEOF
79697 /* confdefs.h. */
79698 _ACEOF
79699 cat confdefs.h >>conftest.$ac_ext
79700 cat >>conftest.$ac_ext <<_ACEOF
79701 /* end confdefs.h. */
79702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79704 #define $ac_func innocuous_$ac_func
79706 /* System header to define __stub macros and hopefully few prototypes,
79707 which can conflict with char $ac_func (); below.
79708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79709 <limits.h> exists even on freestanding compilers. */
79711 #ifdef __STDC__
79712 # include <limits.h>
79713 #else
79714 # include <assert.h>
79715 #endif
79717 #undef $ac_func
79719 /* Override any gcc2 internal prototype to avoid an error. */
79720 #ifdef __cplusplus
79721 extern "C"
79723 #endif
79724 /* We use char because int might match the return type of a gcc2
79725 builtin and then its argument prototype would still apply. */
79726 char $ac_func ();
79727 /* The GNU C library defines this for functions which it implements
79728 to always fail with ENOSYS. Some functions are actually named
79729 something starting with __ and the normal name is an alias. */
79730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79731 choke me
79732 #else
79733 char (*f) () = $ac_func;
79734 #endif
79735 #ifdef __cplusplus
79737 #endif
79740 main ()
79742 return f != $ac_func;
79744 return 0;
79746 _ACEOF
79747 rm -f conftest.$ac_objext conftest$ac_exeext
79748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79749 (eval $ac_link) 2>conftest.er1
79750 ac_status=$?
79751 grep -v '^ *+' conftest.er1 >conftest.err
79752 rm -f conftest.er1
79753 cat conftest.err >&5
79754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79755 (exit $ac_status); } &&
79756 { ac_try='test -z "$ac_c_werror_flag"
79757 || test ! -s conftest.err'
79758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79759 (eval $ac_try) 2>&5
79760 ac_status=$?
79761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79762 (exit $ac_status); }; } &&
79763 { ac_try='test -s conftest$ac_exeext'
79764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79765 (eval $ac_try) 2>&5
79766 ac_status=$?
79767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79768 (exit $ac_status); }; }; then
79769 eval "$as_ac_var=yes"
79770 else
79771 echo "$as_me: failed program was:" >&5
79772 sed 's/^/| /' conftest.$ac_ext >&5
79774 eval "$as_ac_var=no"
79776 rm -f conftest.err conftest.$ac_objext \
79777 conftest$ac_exeext conftest.$ac_ext
79779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79781 if test `eval echo '${'$as_ac_var'}'` = yes; then
79782 cat >>confdefs.h <<_ACEOF
79783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79784 _ACEOF
79787 done
79797 echo "$as_me:$LINENO: checking for finite declaration" >&5
79798 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
79799 if test x${glibcxx_cv_func_finite_use+set} != xset; then
79800 if test "${glibcxx_cv_func_finite_use+set}" = set; then
79801 echo $ECHO_N "(cached) $ECHO_C" >&6
79802 else
79806 ac_ext=cc
79807 ac_cpp='$CXXCPP $CPPFLAGS'
79808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79812 cat >conftest.$ac_ext <<_ACEOF
79813 /* confdefs.h. */
79814 _ACEOF
79815 cat confdefs.h >>conftest.$ac_ext
79816 cat >>conftest.$ac_ext <<_ACEOF
79817 /* end confdefs.h. */
79818 #include <math.h>
79819 #ifdef HAVE_IEEEFP_H
79820 #include <ieeefp.h>
79821 #endif
79824 main ()
79826 finite(0);
79828 return 0;
79830 _ACEOF
79831 rm -f conftest.$ac_objext
79832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79833 (eval $ac_compile) 2>conftest.er1
79834 ac_status=$?
79835 grep -v '^ *+' conftest.er1 >conftest.err
79836 rm -f conftest.er1
79837 cat conftest.err >&5
79838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79839 (exit $ac_status); } &&
79840 { ac_try='test -z "$ac_cxx_werror_flag"
79841 || test ! -s conftest.err'
79842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79843 (eval $ac_try) 2>&5
79844 ac_status=$?
79845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79846 (exit $ac_status); }; } &&
79847 { ac_try='test -s conftest.$ac_objext'
79848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79849 (eval $ac_try) 2>&5
79850 ac_status=$?
79851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79852 (exit $ac_status); }; }; then
79853 glibcxx_cv_func_finite_use=yes
79854 else
79855 echo "$as_me: failed program was:" >&5
79856 sed 's/^/| /' conftest.$ac_ext >&5
79858 glibcxx_cv_func_finite_use=no
79860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79861 ac_ext=c
79862 ac_cpp='$CPP $CPPFLAGS'
79863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
79872 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
79874 if test x$glibcxx_cv_func_finite_use = x"yes"; then
79876 for ac_func in finite
79878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79879 echo "$as_me:$LINENO: checking for $ac_func" >&5
79880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79881 if eval "test \"\${$as_ac_var+set}\" = set"; then
79882 echo $ECHO_N "(cached) $ECHO_C" >&6
79883 else
79884 if test x$gcc_no_link = xyes; then
79885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79887 { (exit 1); exit 1; }; }
79889 cat >conftest.$ac_ext <<_ACEOF
79890 /* confdefs.h. */
79891 _ACEOF
79892 cat confdefs.h >>conftest.$ac_ext
79893 cat >>conftest.$ac_ext <<_ACEOF
79894 /* end confdefs.h. */
79895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79897 #define $ac_func innocuous_$ac_func
79899 /* System header to define __stub macros and hopefully few prototypes,
79900 which can conflict with char $ac_func (); below.
79901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79902 <limits.h> exists even on freestanding compilers. */
79904 #ifdef __STDC__
79905 # include <limits.h>
79906 #else
79907 # include <assert.h>
79908 #endif
79910 #undef $ac_func
79912 /* Override any gcc2 internal prototype to avoid an error. */
79913 #ifdef __cplusplus
79914 extern "C"
79916 #endif
79917 /* We use char because int might match the return type of a gcc2
79918 builtin and then its argument prototype would still apply. */
79919 char $ac_func ();
79920 /* The GNU C library defines this for functions which it implements
79921 to always fail with ENOSYS. Some functions are actually named
79922 something starting with __ and the normal name is an alias. */
79923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79924 choke me
79925 #else
79926 char (*f) () = $ac_func;
79927 #endif
79928 #ifdef __cplusplus
79930 #endif
79933 main ()
79935 return f != $ac_func;
79937 return 0;
79939 _ACEOF
79940 rm -f conftest.$ac_objext conftest$ac_exeext
79941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79942 (eval $ac_link) 2>conftest.er1
79943 ac_status=$?
79944 grep -v '^ *+' conftest.er1 >conftest.err
79945 rm -f conftest.er1
79946 cat conftest.err >&5
79947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79948 (exit $ac_status); } &&
79949 { ac_try='test -z "$ac_c_werror_flag"
79950 || test ! -s conftest.err'
79951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79952 (eval $ac_try) 2>&5
79953 ac_status=$?
79954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79955 (exit $ac_status); }; } &&
79956 { ac_try='test -s conftest$ac_exeext'
79957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79958 (eval $ac_try) 2>&5
79959 ac_status=$?
79960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79961 (exit $ac_status); }; }; then
79962 eval "$as_ac_var=yes"
79963 else
79964 echo "$as_me: failed program was:" >&5
79965 sed 's/^/| /' conftest.$ac_ext >&5
79967 eval "$as_ac_var=no"
79969 rm -f conftest.err conftest.$ac_objext \
79970 conftest$ac_exeext conftest.$ac_ext
79972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79974 if test `eval echo '${'$as_ac_var'}'` = yes; then
79975 cat >>confdefs.h <<_ACEOF
79976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79977 _ACEOF
79980 done
79982 else
79984 echo "$as_me:$LINENO: checking for _finite declaration" >&5
79985 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
79986 if test x${glibcxx_cv_func__finite_use+set} != xset; then
79987 if test "${glibcxx_cv_func__finite_use+set}" = set; then
79988 echo $ECHO_N "(cached) $ECHO_C" >&6
79989 else
79993 ac_ext=cc
79994 ac_cpp='$CXXCPP $CPPFLAGS'
79995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79999 cat >conftest.$ac_ext <<_ACEOF
80000 /* confdefs.h. */
80001 _ACEOF
80002 cat confdefs.h >>conftest.$ac_ext
80003 cat >>conftest.$ac_ext <<_ACEOF
80004 /* end confdefs.h. */
80005 #include <math.h>
80006 #ifdef HAVE_IEEEFP_H
80007 #include <ieeefp.h>
80008 #endif
80011 main ()
80013 _finite(0);
80015 return 0;
80017 _ACEOF
80018 rm -f conftest.$ac_objext
80019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80020 (eval $ac_compile) 2>conftest.er1
80021 ac_status=$?
80022 grep -v '^ *+' conftest.er1 >conftest.err
80023 rm -f conftest.er1
80024 cat conftest.err >&5
80025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026 (exit $ac_status); } &&
80027 { ac_try='test -z "$ac_cxx_werror_flag"
80028 || test ! -s conftest.err'
80029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80030 (eval $ac_try) 2>&5
80031 ac_status=$?
80032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80033 (exit $ac_status); }; } &&
80034 { ac_try='test -s conftest.$ac_objext'
80035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80036 (eval $ac_try) 2>&5
80037 ac_status=$?
80038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80039 (exit $ac_status); }; }; then
80040 glibcxx_cv_func__finite_use=yes
80041 else
80042 echo "$as_me: failed program was:" >&5
80043 sed 's/^/| /' conftest.$ac_ext >&5
80045 glibcxx_cv_func__finite_use=no
80047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80048 ac_ext=c
80049 ac_cpp='$CPP $CPPFLAGS'
80050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
80059 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
80061 if test x$glibcxx_cv_func__finite_use = x"yes"; then
80063 for ac_func in _finite
80065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80066 echo "$as_me:$LINENO: checking for $ac_func" >&5
80067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80068 if eval "test \"\${$as_ac_var+set}\" = set"; then
80069 echo $ECHO_N "(cached) $ECHO_C" >&6
80070 else
80071 if test x$gcc_no_link = xyes; then
80072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80074 { (exit 1); exit 1; }; }
80076 cat >conftest.$ac_ext <<_ACEOF
80077 /* confdefs.h. */
80078 _ACEOF
80079 cat confdefs.h >>conftest.$ac_ext
80080 cat >>conftest.$ac_ext <<_ACEOF
80081 /* end confdefs.h. */
80082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80084 #define $ac_func innocuous_$ac_func
80086 /* System header to define __stub macros and hopefully few prototypes,
80087 which can conflict with char $ac_func (); below.
80088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80089 <limits.h> exists even on freestanding compilers. */
80091 #ifdef __STDC__
80092 # include <limits.h>
80093 #else
80094 # include <assert.h>
80095 #endif
80097 #undef $ac_func
80099 /* Override any gcc2 internal prototype to avoid an error. */
80100 #ifdef __cplusplus
80101 extern "C"
80103 #endif
80104 /* We use char because int might match the return type of a gcc2
80105 builtin and then its argument prototype would still apply. */
80106 char $ac_func ();
80107 /* The GNU C library defines this for functions which it implements
80108 to always fail with ENOSYS. Some functions are actually named
80109 something starting with __ and the normal name is an alias. */
80110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80111 choke me
80112 #else
80113 char (*f) () = $ac_func;
80114 #endif
80115 #ifdef __cplusplus
80117 #endif
80120 main ()
80122 return f != $ac_func;
80124 return 0;
80126 _ACEOF
80127 rm -f conftest.$ac_objext conftest$ac_exeext
80128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80129 (eval $ac_link) 2>conftest.er1
80130 ac_status=$?
80131 grep -v '^ *+' conftest.er1 >conftest.err
80132 rm -f conftest.er1
80133 cat conftest.err >&5
80134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80135 (exit $ac_status); } &&
80136 { ac_try='test -z "$ac_c_werror_flag"
80137 || test ! -s conftest.err'
80138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80139 (eval $ac_try) 2>&5
80140 ac_status=$?
80141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80142 (exit $ac_status); }; } &&
80143 { ac_try='test -s conftest$ac_exeext'
80144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145 (eval $ac_try) 2>&5
80146 ac_status=$?
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); }; }; then
80149 eval "$as_ac_var=yes"
80150 else
80151 echo "$as_me: failed program was:" >&5
80152 sed 's/^/| /' conftest.$ac_ext >&5
80154 eval "$as_ac_var=no"
80156 rm -f conftest.err conftest.$ac_objext \
80157 conftest$ac_exeext conftest.$ac_ext
80159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80161 if test `eval echo '${'$as_ac_var'}'` = yes; then
80162 cat >>confdefs.h <<_ACEOF
80163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80164 _ACEOF
80167 done
80177 echo "$as_me:$LINENO: checking for copysign declaration" >&5
80178 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
80179 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
80180 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
80181 echo $ECHO_N "(cached) $ECHO_C" >&6
80182 else
80186 ac_ext=cc
80187 ac_cpp='$CXXCPP $CPPFLAGS'
80188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80192 cat >conftest.$ac_ext <<_ACEOF
80193 /* confdefs.h. */
80194 _ACEOF
80195 cat confdefs.h >>conftest.$ac_ext
80196 cat >>conftest.$ac_ext <<_ACEOF
80197 /* end confdefs.h. */
80198 #include <math.h>
80200 main ()
80202 copysign(0, 0);
80204 return 0;
80206 _ACEOF
80207 rm -f conftest.$ac_objext
80208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80209 (eval $ac_compile) 2>conftest.er1
80210 ac_status=$?
80211 grep -v '^ *+' conftest.er1 >conftest.err
80212 rm -f conftest.er1
80213 cat conftest.err >&5
80214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80215 (exit $ac_status); } &&
80216 { ac_try='test -z "$ac_cxx_werror_flag"
80217 || test ! -s conftest.err'
80218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80219 (eval $ac_try) 2>&5
80220 ac_status=$?
80221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80222 (exit $ac_status); }; } &&
80223 { ac_try='test -s conftest.$ac_objext'
80224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80225 (eval $ac_try) 2>&5
80226 ac_status=$?
80227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80228 (exit $ac_status); }; }; then
80229 glibcxx_cv_func_copysign_use=yes
80230 else
80231 echo "$as_me: failed program was:" >&5
80232 sed 's/^/| /' conftest.$ac_ext >&5
80234 glibcxx_cv_func_copysign_use=no
80236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80237 ac_ext=c
80238 ac_cpp='$CPP $CPPFLAGS'
80239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
80248 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
80250 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
80252 for ac_func in copysign
80254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80255 echo "$as_me:$LINENO: checking for $ac_func" >&5
80256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80257 if eval "test \"\${$as_ac_var+set}\" = set"; then
80258 echo $ECHO_N "(cached) $ECHO_C" >&6
80259 else
80260 if test x$gcc_no_link = xyes; then
80261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80263 { (exit 1); exit 1; }; }
80265 cat >conftest.$ac_ext <<_ACEOF
80266 /* confdefs.h. */
80267 _ACEOF
80268 cat confdefs.h >>conftest.$ac_ext
80269 cat >>conftest.$ac_ext <<_ACEOF
80270 /* end confdefs.h. */
80271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80273 #define $ac_func innocuous_$ac_func
80275 /* System header to define __stub macros and hopefully few prototypes,
80276 which can conflict with char $ac_func (); below.
80277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80278 <limits.h> exists even on freestanding compilers. */
80280 #ifdef __STDC__
80281 # include <limits.h>
80282 #else
80283 # include <assert.h>
80284 #endif
80286 #undef $ac_func
80288 /* Override any gcc2 internal prototype to avoid an error. */
80289 #ifdef __cplusplus
80290 extern "C"
80292 #endif
80293 /* We use char because int might match the return type of a gcc2
80294 builtin and then its argument prototype would still apply. */
80295 char $ac_func ();
80296 /* The GNU C library defines this for functions which it implements
80297 to always fail with ENOSYS. Some functions are actually named
80298 something starting with __ and the normal name is an alias. */
80299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80300 choke me
80301 #else
80302 char (*f) () = $ac_func;
80303 #endif
80304 #ifdef __cplusplus
80306 #endif
80309 main ()
80311 return f != $ac_func;
80313 return 0;
80315 _ACEOF
80316 rm -f conftest.$ac_objext conftest$ac_exeext
80317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80318 (eval $ac_link) 2>conftest.er1
80319 ac_status=$?
80320 grep -v '^ *+' conftest.er1 >conftest.err
80321 rm -f conftest.er1
80322 cat conftest.err >&5
80323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80324 (exit $ac_status); } &&
80325 { ac_try='test -z "$ac_c_werror_flag"
80326 || test ! -s conftest.err'
80327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80328 (eval $ac_try) 2>&5
80329 ac_status=$?
80330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80331 (exit $ac_status); }; } &&
80332 { ac_try='test -s conftest$ac_exeext'
80333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80334 (eval $ac_try) 2>&5
80335 ac_status=$?
80336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80337 (exit $ac_status); }; }; then
80338 eval "$as_ac_var=yes"
80339 else
80340 echo "$as_me: failed program was:" >&5
80341 sed 's/^/| /' conftest.$ac_ext >&5
80343 eval "$as_ac_var=no"
80345 rm -f conftest.err conftest.$ac_objext \
80346 conftest$ac_exeext conftest.$ac_ext
80348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80350 if test `eval echo '${'$as_ac_var'}'` = yes; then
80351 cat >>confdefs.h <<_ACEOF
80352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80353 _ACEOF
80356 done
80358 else
80360 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
80361 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
80362 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
80363 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
80364 echo $ECHO_N "(cached) $ECHO_C" >&6
80365 else
80369 ac_ext=cc
80370 ac_cpp='$CXXCPP $CPPFLAGS'
80371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80375 cat >conftest.$ac_ext <<_ACEOF
80376 /* confdefs.h. */
80377 _ACEOF
80378 cat confdefs.h >>conftest.$ac_ext
80379 cat >>conftest.$ac_ext <<_ACEOF
80380 /* end confdefs.h. */
80381 #include <math.h>
80383 main ()
80385 _copysign(0, 0);
80387 return 0;
80389 _ACEOF
80390 rm -f conftest.$ac_objext
80391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80392 (eval $ac_compile) 2>conftest.er1
80393 ac_status=$?
80394 grep -v '^ *+' conftest.er1 >conftest.err
80395 rm -f conftest.er1
80396 cat conftest.err >&5
80397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80398 (exit $ac_status); } &&
80399 { ac_try='test -z "$ac_cxx_werror_flag"
80400 || test ! -s conftest.err'
80401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80402 (eval $ac_try) 2>&5
80403 ac_status=$?
80404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80405 (exit $ac_status); }; } &&
80406 { ac_try='test -s conftest.$ac_objext'
80407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80408 (eval $ac_try) 2>&5
80409 ac_status=$?
80410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80411 (exit $ac_status); }; }; then
80412 glibcxx_cv_func__copysign_use=yes
80413 else
80414 echo "$as_me: failed program was:" >&5
80415 sed 's/^/| /' conftest.$ac_ext >&5
80417 glibcxx_cv_func__copysign_use=no
80419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80420 ac_ext=c
80421 ac_cpp='$CPP $CPPFLAGS'
80422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
80431 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
80433 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
80435 for ac_func in _copysign
80437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80438 echo "$as_me:$LINENO: checking for $ac_func" >&5
80439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80440 if eval "test \"\${$as_ac_var+set}\" = set"; then
80441 echo $ECHO_N "(cached) $ECHO_C" >&6
80442 else
80443 if test x$gcc_no_link = xyes; then
80444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80446 { (exit 1); exit 1; }; }
80448 cat >conftest.$ac_ext <<_ACEOF
80449 /* confdefs.h. */
80450 _ACEOF
80451 cat confdefs.h >>conftest.$ac_ext
80452 cat >>conftest.$ac_ext <<_ACEOF
80453 /* end confdefs.h. */
80454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80456 #define $ac_func innocuous_$ac_func
80458 /* System header to define __stub macros and hopefully few prototypes,
80459 which can conflict with char $ac_func (); below.
80460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80461 <limits.h> exists even on freestanding compilers. */
80463 #ifdef __STDC__
80464 # include <limits.h>
80465 #else
80466 # include <assert.h>
80467 #endif
80469 #undef $ac_func
80471 /* Override any gcc2 internal prototype to avoid an error. */
80472 #ifdef __cplusplus
80473 extern "C"
80475 #endif
80476 /* We use char because int might match the return type of a gcc2
80477 builtin and then its argument prototype would still apply. */
80478 char $ac_func ();
80479 /* The GNU C library defines this for functions which it implements
80480 to always fail with ENOSYS. Some functions are actually named
80481 something starting with __ and the normal name is an alias. */
80482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80483 choke me
80484 #else
80485 char (*f) () = $ac_func;
80486 #endif
80487 #ifdef __cplusplus
80489 #endif
80492 main ()
80494 return f != $ac_func;
80496 return 0;
80498 _ACEOF
80499 rm -f conftest.$ac_objext conftest$ac_exeext
80500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80501 (eval $ac_link) 2>conftest.er1
80502 ac_status=$?
80503 grep -v '^ *+' conftest.er1 >conftest.err
80504 rm -f conftest.er1
80505 cat conftest.err >&5
80506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80507 (exit $ac_status); } &&
80508 { ac_try='test -z "$ac_c_werror_flag"
80509 || test ! -s conftest.err'
80510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80511 (eval $ac_try) 2>&5
80512 ac_status=$?
80513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80514 (exit $ac_status); }; } &&
80515 { ac_try='test -s conftest$ac_exeext'
80516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80517 (eval $ac_try) 2>&5
80518 ac_status=$?
80519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80520 (exit $ac_status); }; }; then
80521 eval "$as_ac_var=yes"
80522 else
80523 echo "$as_me: failed program was:" >&5
80524 sed 's/^/| /' conftest.$ac_ext >&5
80526 eval "$as_ac_var=no"
80528 rm -f conftest.err conftest.$ac_objext \
80529 conftest$ac_exeext conftest.$ac_ext
80531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80533 if test `eval echo '${'$as_ac_var'}'` = yes; then
80534 cat >>confdefs.h <<_ACEOF
80535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80536 _ACEOF
80539 done
80549 echo "$as_me:$LINENO: checking for sincos declaration" >&5
80550 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
80551 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
80552 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
80553 echo $ECHO_N "(cached) $ECHO_C" >&6
80554 else
80558 ac_ext=cc
80559 ac_cpp='$CXXCPP $CPPFLAGS'
80560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80564 cat >conftest.$ac_ext <<_ACEOF
80565 /* confdefs.h. */
80566 _ACEOF
80567 cat confdefs.h >>conftest.$ac_ext
80568 cat >>conftest.$ac_ext <<_ACEOF
80569 /* end confdefs.h. */
80570 #include <math.h>
80572 main ()
80574 sincos(0, 0, 0);
80576 return 0;
80578 _ACEOF
80579 rm -f conftest.$ac_objext
80580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80581 (eval $ac_compile) 2>conftest.er1
80582 ac_status=$?
80583 grep -v '^ *+' conftest.er1 >conftest.err
80584 rm -f conftest.er1
80585 cat conftest.err >&5
80586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80587 (exit $ac_status); } &&
80588 { ac_try='test -z "$ac_cxx_werror_flag"
80589 || test ! -s conftest.err'
80590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80591 (eval $ac_try) 2>&5
80592 ac_status=$?
80593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80594 (exit $ac_status); }; } &&
80595 { ac_try='test -s conftest.$ac_objext'
80596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80597 (eval $ac_try) 2>&5
80598 ac_status=$?
80599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80600 (exit $ac_status); }; }; then
80601 glibcxx_cv_func_sincos_use=yes
80602 else
80603 echo "$as_me: failed program was:" >&5
80604 sed 's/^/| /' conftest.$ac_ext >&5
80606 glibcxx_cv_func_sincos_use=no
80608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80609 ac_ext=c
80610 ac_cpp='$CPP $CPPFLAGS'
80611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
80620 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
80622 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
80624 for ac_func in sincos
80626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80627 echo "$as_me:$LINENO: checking for $ac_func" >&5
80628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80629 if eval "test \"\${$as_ac_var+set}\" = set"; then
80630 echo $ECHO_N "(cached) $ECHO_C" >&6
80631 else
80632 if test x$gcc_no_link = xyes; then
80633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80635 { (exit 1); exit 1; }; }
80637 cat >conftest.$ac_ext <<_ACEOF
80638 /* confdefs.h. */
80639 _ACEOF
80640 cat confdefs.h >>conftest.$ac_ext
80641 cat >>conftest.$ac_ext <<_ACEOF
80642 /* end confdefs.h. */
80643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80645 #define $ac_func innocuous_$ac_func
80647 /* System header to define __stub macros and hopefully few prototypes,
80648 which can conflict with char $ac_func (); below.
80649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80650 <limits.h> exists even on freestanding compilers. */
80652 #ifdef __STDC__
80653 # include <limits.h>
80654 #else
80655 # include <assert.h>
80656 #endif
80658 #undef $ac_func
80660 /* Override any gcc2 internal prototype to avoid an error. */
80661 #ifdef __cplusplus
80662 extern "C"
80664 #endif
80665 /* We use char because int might match the return type of a gcc2
80666 builtin and then its argument prototype would still apply. */
80667 char $ac_func ();
80668 /* The GNU C library defines this for functions which it implements
80669 to always fail with ENOSYS. Some functions are actually named
80670 something starting with __ and the normal name is an alias. */
80671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80672 choke me
80673 #else
80674 char (*f) () = $ac_func;
80675 #endif
80676 #ifdef __cplusplus
80678 #endif
80681 main ()
80683 return f != $ac_func;
80685 return 0;
80687 _ACEOF
80688 rm -f conftest.$ac_objext conftest$ac_exeext
80689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80690 (eval $ac_link) 2>conftest.er1
80691 ac_status=$?
80692 grep -v '^ *+' conftest.er1 >conftest.err
80693 rm -f conftest.er1
80694 cat conftest.err >&5
80695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80696 (exit $ac_status); } &&
80697 { ac_try='test -z "$ac_c_werror_flag"
80698 || test ! -s conftest.err'
80699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80700 (eval $ac_try) 2>&5
80701 ac_status=$?
80702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80703 (exit $ac_status); }; } &&
80704 { ac_try='test -s conftest$ac_exeext'
80705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80706 (eval $ac_try) 2>&5
80707 ac_status=$?
80708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80709 (exit $ac_status); }; }; then
80710 eval "$as_ac_var=yes"
80711 else
80712 echo "$as_me: failed program was:" >&5
80713 sed 's/^/| /' conftest.$ac_ext >&5
80715 eval "$as_ac_var=no"
80717 rm -f conftest.err conftest.$ac_objext \
80718 conftest$ac_exeext conftest.$ac_ext
80720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80722 if test `eval echo '${'$as_ac_var'}'` = yes; then
80723 cat >>confdefs.h <<_ACEOF
80724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80725 _ACEOF
80728 done
80730 else
80732 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
80733 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
80734 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
80735 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
80736 echo $ECHO_N "(cached) $ECHO_C" >&6
80737 else
80741 ac_ext=cc
80742 ac_cpp='$CXXCPP $CPPFLAGS'
80743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80747 cat >conftest.$ac_ext <<_ACEOF
80748 /* confdefs.h. */
80749 _ACEOF
80750 cat confdefs.h >>conftest.$ac_ext
80751 cat >>conftest.$ac_ext <<_ACEOF
80752 /* end confdefs.h. */
80753 #include <math.h>
80755 main ()
80757 _sincos(0, 0, 0);
80759 return 0;
80761 _ACEOF
80762 rm -f conftest.$ac_objext
80763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80764 (eval $ac_compile) 2>conftest.er1
80765 ac_status=$?
80766 grep -v '^ *+' conftest.er1 >conftest.err
80767 rm -f conftest.er1
80768 cat conftest.err >&5
80769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80770 (exit $ac_status); } &&
80771 { ac_try='test -z "$ac_cxx_werror_flag"
80772 || test ! -s conftest.err'
80773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80774 (eval $ac_try) 2>&5
80775 ac_status=$?
80776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80777 (exit $ac_status); }; } &&
80778 { ac_try='test -s conftest.$ac_objext'
80779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80780 (eval $ac_try) 2>&5
80781 ac_status=$?
80782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80783 (exit $ac_status); }; }; then
80784 glibcxx_cv_func__sincos_use=yes
80785 else
80786 echo "$as_me: failed program was:" >&5
80787 sed 's/^/| /' conftest.$ac_ext >&5
80789 glibcxx_cv_func__sincos_use=no
80791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80792 ac_ext=c
80793 ac_cpp='$CPP $CPPFLAGS'
80794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
80803 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
80805 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
80807 for ac_func in _sincos
80809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80810 echo "$as_me:$LINENO: checking for $ac_func" >&5
80811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80812 if eval "test \"\${$as_ac_var+set}\" = set"; then
80813 echo $ECHO_N "(cached) $ECHO_C" >&6
80814 else
80815 if test x$gcc_no_link = xyes; then
80816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80818 { (exit 1); exit 1; }; }
80820 cat >conftest.$ac_ext <<_ACEOF
80821 /* confdefs.h. */
80822 _ACEOF
80823 cat confdefs.h >>conftest.$ac_ext
80824 cat >>conftest.$ac_ext <<_ACEOF
80825 /* end confdefs.h. */
80826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80828 #define $ac_func innocuous_$ac_func
80830 /* System header to define __stub macros and hopefully few prototypes,
80831 which can conflict with char $ac_func (); below.
80832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80833 <limits.h> exists even on freestanding compilers. */
80835 #ifdef __STDC__
80836 # include <limits.h>
80837 #else
80838 # include <assert.h>
80839 #endif
80841 #undef $ac_func
80843 /* Override any gcc2 internal prototype to avoid an error. */
80844 #ifdef __cplusplus
80845 extern "C"
80847 #endif
80848 /* We use char because int might match the return type of a gcc2
80849 builtin and then its argument prototype would still apply. */
80850 char $ac_func ();
80851 /* The GNU C library defines this for functions which it implements
80852 to always fail with ENOSYS. Some functions are actually named
80853 something starting with __ and the normal name is an alias. */
80854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80855 choke me
80856 #else
80857 char (*f) () = $ac_func;
80858 #endif
80859 #ifdef __cplusplus
80861 #endif
80864 main ()
80866 return f != $ac_func;
80868 return 0;
80870 _ACEOF
80871 rm -f conftest.$ac_objext conftest$ac_exeext
80872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80873 (eval $ac_link) 2>conftest.er1
80874 ac_status=$?
80875 grep -v '^ *+' conftest.er1 >conftest.err
80876 rm -f conftest.er1
80877 cat conftest.err >&5
80878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879 (exit $ac_status); } &&
80880 { ac_try='test -z "$ac_c_werror_flag"
80881 || test ! -s conftest.err'
80882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80883 (eval $ac_try) 2>&5
80884 ac_status=$?
80885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80886 (exit $ac_status); }; } &&
80887 { ac_try='test -s conftest$ac_exeext'
80888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80889 (eval $ac_try) 2>&5
80890 ac_status=$?
80891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80892 (exit $ac_status); }; }; then
80893 eval "$as_ac_var=yes"
80894 else
80895 echo "$as_me: failed program was:" >&5
80896 sed 's/^/| /' conftest.$ac_ext >&5
80898 eval "$as_ac_var=no"
80900 rm -f conftest.err conftest.$ac_objext \
80901 conftest$ac_exeext conftest.$ac_ext
80903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80905 if test `eval echo '${'$as_ac_var'}'` = yes; then
80906 cat >>confdefs.h <<_ACEOF
80907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80908 _ACEOF
80911 done
80921 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
80922 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
80923 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
80924 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
80925 echo $ECHO_N "(cached) $ECHO_C" >&6
80926 else
80930 ac_ext=cc
80931 ac_cpp='$CXXCPP $CPPFLAGS'
80932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80936 cat >conftest.$ac_ext <<_ACEOF
80937 /* confdefs.h. */
80938 _ACEOF
80939 cat confdefs.h >>conftest.$ac_ext
80940 cat >>conftest.$ac_ext <<_ACEOF
80941 /* end confdefs.h. */
80942 #include <math.h>
80943 #ifdef HAVE_IEEEFP_H
80944 #include <ieeefp.h>
80945 #endif
80948 main ()
80950 fpclass(0);
80952 return 0;
80954 _ACEOF
80955 rm -f conftest.$ac_objext
80956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80957 (eval $ac_compile) 2>conftest.er1
80958 ac_status=$?
80959 grep -v '^ *+' conftest.er1 >conftest.err
80960 rm -f conftest.er1
80961 cat conftest.err >&5
80962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80963 (exit $ac_status); } &&
80964 { ac_try='test -z "$ac_cxx_werror_flag"
80965 || test ! -s conftest.err'
80966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80967 (eval $ac_try) 2>&5
80968 ac_status=$?
80969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80970 (exit $ac_status); }; } &&
80971 { ac_try='test -s conftest.$ac_objext'
80972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80973 (eval $ac_try) 2>&5
80974 ac_status=$?
80975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80976 (exit $ac_status); }; }; then
80977 glibcxx_cv_func_fpclass_use=yes
80978 else
80979 echo "$as_me: failed program was:" >&5
80980 sed 's/^/| /' conftest.$ac_ext >&5
80982 glibcxx_cv_func_fpclass_use=no
80984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80985 ac_ext=c
80986 ac_cpp='$CPP $CPPFLAGS'
80987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
80996 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
80998 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
81000 for ac_func in fpclass
81002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81003 echo "$as_me:$LINENO: checking for $ac_func" >&5
81004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81005 if eval "test \"\${$as_ac_var+set}\" = set"; then
81006 echo $ECHO_N "(cached) $ECHO_C" >&6
81007 else
81008 if test x$gcc_no_link = xyes; then
81009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81011 { (exit 1); exit 1; }; }
81013 cat >conftest.$ac_ext <<_ACEOF
81014 /* confdefs.h. */
81015 _ACEOF
81016 cat confdefs.h >>conftest.$ac_ext
81017 cat >>conftest.$ac_ext <<_ACEOF
81018 /* end confdefs.h. */
81019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81021 #define $ac_func innocuous_$ac_func
81023 /* System header to define __stub macros and hopefully few prototypes,
81024 which can conflict with char $ac_func (); below.
81025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81026 <limits.h> exists even on freestanding compilers. */
81028 #ifdef __STDC__
81029 # include <limits.h>
81030 #else
81031 # include <assert.h>
81032 #endif
81034 #undef $ac_func
81036 /* Override any gcc2 internal prototype to avoid an error. */
81037 #ifdef __cplusplus
81038 extern "C"
81040 #endif
81041 /* We use char because int might match the return type of a gcc2
81042 builtin and then its argument prototype would still apply. */
81043 char $ac_func ();
81044 /* The GNU C library defines this for functions which it implements
81045 to always fail with ENOSYS. Some functions are actually named
81046 something starting with __ and the normal name is an alias. */
81047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81048 choke me
81049 #else
81050 char (*f) () = $ac_func;
81051 #endif
81052 #ifdef __cplusplus
81054 #endif
81057 main ()
81059 return f != $ac_func;
81061 return 0;
81063 _ACEOF
81064 rm -f conftest.$ac_objext conftest$ac_exeext
81065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81066 (eval $ac_link) 2>conftest.er1
81067 ac_status=$?
81068 grep -v '^ *+' conftest.er1 >conftest.err
81069 rm -f conftest.er1
81070 cat conftest.err >&5
81071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81072 (exit $ac_status); } &&
81073 { ac_try='test -z "$ac_c_werror_flag"
81074 || test ! -s conftest.err'
81075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81076 (eval $ac_try) 2>&5
81077 ac_status=$?
81078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81079 (exit $ac_status); }; } &&
81080 { ac_try='test -s conftest$ac_exeext'
81081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81082 (eval $ac_try) 2>&5
81083 ac_status=$?
81084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81085 (exit $ac_status); }; }; then
81086 eval "$as_ac_var=yes"
81087 else
81088 echo "$as_me: failed program was:" >&5
81089 sed 's/^/| /' conftest.$ac_ext >&5
81091 eval "$as_ac_var=no"
81093 rm -f conftest.err conftest.$ac_objext \
81094 conftest$ac_exeext conftest.$ac_ext
81096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81098 if test `eval echo '${'$as_ac_var'}'` = yes; then
81099 cat >>confdefs.h <<_ACEOF
81100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81101 _ACEOF
81104 done
81106 else
81108 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
81109 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
81110 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
81111 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
81112 echo $ECHO_N "(cached) $ECHO_C" >&6
81113 else
81117 ac_ext=cc
81118 ac_cpp='$CXXCPP $CPPFLAGS'
81119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81123 cat >conftest.$ac_ext <<_ACEOF
81124 /* confdefs.h. */
81125 _ACEOF
81126 cat confdefs.h >>conftest.$ac_ext
81127 cat >>conftest.$ac_ext <<_ACEOF
81128 /* end confdefs.h. */
81129 #include <math.h>
81130 #ifdef HAVE_IEEEFP_H
81131 #include <ieeefp.h>
81132 #endif
81135 main ()
81137 _fpclass(0);
81139 return 0;
81141 _ACEOF
81142 rm -f conftest.$ac_objext
81143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81144 (eval $ac_compile) 2>conftest.er1
81145 ac_status=$?
81146 grep -v '^ *+' conftest.er1 >conftest.err
81147 rm -f conftest.er1
81148 cat conftest.err >&5
81149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81150 (exit $ac_status); } &&
81151 { ac_try='test -z "$ac_cxx_werror_flag"
81152 || test ! -s conftest.err'
81153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81154 (eval $ac_try) 2>&5
81155 ac_status=$?
81156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81157 (exit $ac_status); }; } &&
81158 { ac_try='test -s conftest.$ac_objext'
81159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81160 (eval $ac_try) 2>&5
81161 ac_status=$?
81162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81163 (exit $ac_status); }; }; then
81164 glibcxx_cv_func__fpclass_use=yes
81165 else
81166 echo "$as_me: failed program was:" >&5
81167 sed 's/^/| /' conftest.$ac_ext >&5
81169 glibcxx_cv_func__fpclass_use=no
81171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81172 ac_ext=c
81173 ac_cpp='$CPP $CPPFLAGS'
81174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
81183 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
81185 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
81187 for ac_func in _fpclass
81189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81190 echo "$as_me:$LINENO: checking for $ac_func" >&5
81191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81192 if eval "test \"\${$as_ac_var+set}\" = set"; then
81193 echo $ECHO_N "(cached) $ECHO_C" >&6
81194 else
81195 if test x$gcc_no_link = xyes; then
81196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81198 { (exit 1); exit 1; }; }
81200 cat >conftest.$ac_ext <<_ACEOF
81201 /* confdefs.h. */
81202 _ACEOF
81203 cat confdefs.h >>conftest.$ac_ext
81204 cat >>conftest.$ac_ext <<_ACEOF
81205 /* end confdefs.h. */
81206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81208 #define $ac_func innocuous_$ac_func
81210 /* System header to define __stub macros and hopefully few prototypes,
81211 which can conflict with char $ac_func (); below.
81212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81213 <limits.h> exists even on freestanding compilers. */
81215 #ifdef __STDC__
81216 # include <limits.h>
81217 #else
81218 # include <assert.h>
81219 #endif
81221 #undef $ac_func
81223 /* Override any gcc2 internal prototype to avoid an error. */
81224 #ifdef __cplusplus
81225 extern "C"
81227 #endif
81228 /* We use char because int might match the return type of a gcc2
81229 builtin and then its argument prototype would still apply. */
81230 char $ac_func ();
81231 /* The GNU C library defines this for functions which it implements
81232 to always fail with ENOSYS. Some functions are actually named
81233 something starting with __ and the normal name is an alias. */
81234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81235 choke me
81236 #else
81237 char (*f) () = $ac_func;
81238 #endif
81239 #ifdef __cplusplus
81241 #endif
81244 main ()
81246 return f != $ac_func;
81248 return 0;
81250 _ACEOF
81251 rm -f conftest.$ac_objext conftest$ac_exeext
81252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81253 (eval $ac_link) 2>conftest.er1
81254 ac_status=$?
81255 grep -v '^ *+' conftest.er1 >conftest.err
81256 rm -f conftest.er1
81257 cat conftest.err >&5
81258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81259 (exit $ac_status); } &&
81260 { ac_try='test -z "$ac_c_werror_flag"
81261 || test ! -s conftest.err'
81262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81263 (eval $ac_try) 2>&5
81264 ac_status=$?
81265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81266 (exit $ac_status); }; } &&
81267 { ac_try='test -s conftest$ac_exeext'
81268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81269 (eval $ac_try) 2>&5
81270 ac_status=$?
81271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81272 (exit $ac_status); }; }; then
81273 eval "$as_ac_var=yes"
81274 else
81275 echo "$as_me: failed program was:" >&5
81276 sed 's/^/| /' conftest.$ac_ext >&5
81278 eval "$as_ac_var=no"
81280 rm -f conftest.err conftest.$ac_objext \
81281 conftest$ac_exeext conftest.$ac_ext
81283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81285 if test `eval echo '${'$as_ac_var'}'` = yes; then
81286 cat >>confdefs.h <<_ACEOF
81287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81288 _ACEOF
81291 done
81301 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
81302 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
81303 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
81304 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
81305 echo $ECHO_N "(cached) $ECHO_C" >&6
81306 else
81310 ac_ext=cc
81311 ac_cpp='$CXXCPP $CPPFLAGS'
81312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81316 cat >conftest.$ac_ext <<_ACEOF
81317 /* confdefs.h. */
81318 _ACEOF
81319 cat confdefs.h >>conftest.$ac_ext
81320 cat >>conftest.$ac_ext <<_ACEOF
81321 /* end confdefs.h. */
81322 #include <math.h>
81323 #ifdef HAVE_IEEEFP_H
81324 #include <ieeefp.h>
81325 #endif
81328 main ()
81330 qfpclass(0);
81332 return 0;
81334 _ACEOF
81335 rm -f conftest.$ac_objext
81336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81337 (eval $ac_compile) 2>conftest.er1
81338 ac_status=$?
81339 grep -v '^ *+' conftest.er1 >conftest.err
81340 rm -f conftest.er1
81341 cat conftest.err >&5
81342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81343 (exit $ac_status); } &&
81344 { ac_try='test -z "$ac_cxx_werror_flag"
81345 || test ! -s conftest.err'
81346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81347 (eval $ac_try) 2>&5
81348 ac_status=$?
81349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81350 (exit $ac_status); }; } &&
81351 { ac_try='test -s conftest.$ac_objext'
81352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81353 (eval $ac_try) 2>&5
81354 ac_status=$?
81355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81356 (exit $ac_status); }; }; then
81357 glibcxx_cv_func_qfpclass_use=yes
81358 else
81359 echo "$as_me: failed program was:" >&5
81360 sed 's/^/| /' conftest.$ac_ext >&5
81362 glibcxx_cv_func_qfpclass_use=no
81364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81365 ac_ext=c
81366 ac_cpp='$CPP $CPPFLAGS'
81367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
81376 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
81378 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
81380 for ac_func in qfpclass
81382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81383 echo "$as_me:$LINENO: checking for $ac_func" >&5
81384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81385 if eval "test \"\${$as_ac_var+set}\" = set"; then
81386 echo $ECHO_N "(cached) $ECHO_C" >&6
81387 else
81388 if test x$gcc_no_link = xyes; then
81389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81391 { (exit 1); exit 1; }; }
81393 cat >conftest.$ac_ext <<_ACEOF
81394 /* confdefs.h. */
81395 _ACEOF
81396 cat confdefs.h >>conftest.$ac_ext
81397 cat >>conftest.$ac_ext <<_ACEOF
81398 /* end confdefs.h. */
81399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81401 #define $ac_func innocuous_$ac_func
81403 /* System header to define __stub macros and hopefully few prototypes,
81404 which can conflict with char $ac_func (); below.
81405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81406 <limits.h> exists even on freestanding compilers. */
81408 #ifdef __STDC__
81409 # include <limits.h>
81410 #else
81411 # include <assert.h>
81412 #endif
81414 #undef $ac_func
81416 /* Override any gcc2 internal prototype to avoid an error. */
81417 #ifdef __cplusplus
81418 extern "C"
81420 #endif
81421 /* We use char because int might match the return type of a gcc2
81422 builtin and then its argument prototype would still apply. */
81423 char $ac_func ();
81424 /* The GNU C library defines this for functions which it implements
81425 to always fail with ENOSYS. Some functions are actually named
81426 something starting with __ and the normal name is an alias. */
81427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81428 choke me
81429 #else
81430 char (*f) () = $ac_func;
81431 #endif
81432 #ifdef __cplusplus
81434 #endif
81437 main ()
81439 return f != $ac_func;
81441 return 0;
81443 _ACEOF
81444 rm -f conftest.$ac_objext conftest$ac_exeext
81445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81446 (eval $ac_link) 2>conftest.er1
81447 ac_status=$?
81448 grep -v '^ *+' conftest.er1 >conftest.err
81449 rm -f conftest.er1
81450 cat conftest.err >&5
81451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81452 (exit $ac_status); } &&
81453 { ac_try='test -z "$ac_c_werror_flag"
81454 || test ! -s conftest.err'
81455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81456 (eval $ac_try) 2>&5
81457 ac_status=$?
81458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81459 (exit $ac_status); }; } &&
81460 { ac_try='test -s conftest$ac_exeext'
81461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81462 (eval $ac_try) 2>&5
81463 ac_status=$?
81464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81465 (exit $ac_status); }; }; then
81466 eval "$as_ac_var=yes"
81467 else
81468 echo "$as_me: failed program was:" >&5
81469 sed 's/^/| /' conftest.$ac_ext >&5
81471 eval "$as_ac_var=no"
81473 rm -f conftest.err conftest.$ac_objext \
81474 conftest$ac_exeext conftest.$ac_ext
81476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81478 if test `eval echo '${'$as_ac_var'}'` = yes; then
81479 cat >>confdefs.h <<_ACEOF
81480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81481 _ACEOF
81484 done
81486 else
81488 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
81489 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
81490 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
81491 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
81492 echo $ECHO_N "(cached) $ECHO_C" >&6
81493 else
81497 ac_ext=cc
81498 ac_cpp='$CXXCPP $CPPFLAGS'
81499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81503 cat >conftest.$ac_ext <<_ACEOF
81504 /* confdefs.h. */
81505 _ACEOF
81506 cat confdefs.h >>conftest.$ac_ext
81507 cat >>conftest.$ac_ext <<_ACEOF
81508 /* end confdefs.h. */
81509 #include <math.h>
81510 #ifdef HAVE_IEEEFP_H
81511 #include <ieeefp.h>
81512 #endif
81515 main ()
81517 _qfpclass(0);
81519 return 0;
81521 _ACEOF
81522 rm -f conftest.$ac_objext
81523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81524 (eval $ac_compile) 2>conftest.er1
81525 ac_status=$?
81526 grep -v '^ *+' conftest.er1 >conftest.err
81527 rm -f conftest.er1
81528 cat conftest.err >&5
81529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530 (exit $ac_status); } &&
81531 { ac_try='test -z "$ac_cxx_werror_flag"
81532 || test ! -s conftest.err'
81533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81534 (eval $ac_try) 2>&5
81535 ac_status=$?
81536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537 (exit $ac_status); }; } &&
81538 { ac_try='test -s conftest.$ac_objext'
81539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81540 (eval $ac_try) 2>&5
81541 ac_status=$?
81542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81543 (exit $ac_status); }; }; then
81544 glibcxx_cv_func__qfpclass_use=yes
81545 else
81546 echo "$as_me: failed program was:" >&5
81547 sed 's/^/| /' conftest.$ac_ext >&5
81549 glibcxx_cv_func__qfpclass_use=no
81551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81552 ac_ext=c
81553 ac_cpp='$CPP $CPPFLAGS'
81554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
81563 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
81565 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
81567 for ac_func in _qfpclass
81569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81570 echo "$as_me:$LINENO: checking for $ac_func" >&5
81571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81572 if eval "test \"\${$as_ac_var+set}\" = set"; then
81573 echo $ECHO_N "(cached) $ECHO_C" >&6
81574 else
81575 if test x$gcc_no_link = xyes; then
81576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81578 { (exit 1); exit 1; }; }
81580 cat >conftest.$ac_ext <<_ACEOF
81581 /* confdefs.h. */
81582 _ACEOF
81583 cat confdefs.h >>conftest.$ac_ext
81584 cat >>conftest.$ac_ext <<_ACEOF
81585 /* end confdefs.h. */
81586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81588 #define $ac_func innocuous_$ac_func
81590 /* System header to define __stub macros and hopefully few prototypes,
81591 which can conflict with char $ac_func (); below.
81592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81593 <limits.h> exists even on freestanding compilers. */
81595 #ifdef __STDC__
81596 # include <limits.h>
81597 #else
81598 # include <assert.h>
81599 #endif
81601 #undef $ac_func
81603 /* Override any gcc2 internal prototype to avoid an error. */
81604 #ifdef __cplusplus
81605 extern "C"
81607 #endif
81608 /* We use char because int might match the return type of a gcc2
81609 builtin and then its argument prototype would still apply. */
81610 char $ac_func ();
81611 /* The GNU C library defines this for functions which it implements
81612 to always fail with ENOSYS. Some functions are actually named
81613 something starting with __ and the normal name is an alias. */
81614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81615 choke me
81616 #else
81617 char (*f) () = $ac_func;
81618 #endif
81619 #ifdef __cplusplus
81621 #endif
81624 main ()
81626 return f != $ac_func;
81628 return 0;
81630 _ACEOF
81631 rm -f conftest.$ac_objext conftest$ac_exeext
81632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81633 (eval $ac_link) 2>conftest.er1
81634 ac_status=$?
81635 grep -v '^ *+' conftest.er1 >conftest.err
81636 rm -f conftest.er1
81637 cat conftest.err >&5
81638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81639 (exit $ac_status); } &&
81640 { ac_try='test -z "$ac_c_werror_flag"
81641 || test ! -s conftest.err'
81642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81643 (eval $ac_try) 2>&5
81644 ac_status=$?
81645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81646 (exit $ac_status); }; } &&
81647 { ac_try='test -s conftest$ac_exeext'
81648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81649 (eval $ac_try) 2>&5
81650 ac_status=$?
81651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81652 (exit $ac_status); }; }; then
81653 eval "$as_ac_var=yes"
81654 else
81655 echo "$as_me: failed program was:" >&5
81656 sed 's/^/| /' conftest.$ac_ext >&5
81658 eval "$as_ac_var=no"
81660 rm -f conftest.err conftest.$ac_objext \
81661 conftest$ac_exeext conftest.$ac_ext
81663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81665 if test `eval echo '${'$as_ac_var'}'` = yes; then
81666 cat >>confdefs.h <<_ACEOF
81667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81668 _ACEOF
81671 done
81681 echo "$as_me:$LINENO: checking for hypot declaration" >&5
81682 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
81683 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
81684 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
81685 echo $ECHO_N "(cached) $ECHO_C" >&6
81686 else
81690 ac_ext=cc
81691 ac_cpp='$CXXCPP $CPPFLAGS'
81692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81696 cat >conftest.$ac_ext <<_ACEOF
81697 /* confdefs.h. */
81698 _ACEOF
81699 cat confdefs.h >>conftest.$ac_ext
81700 cat >>conftest.$ac_ext <<_ACEOF
81701 /* end confdefs.h. */
81702 #include <math.h>
81704 main ()
81706 hypot(0, 0);
81708 return 0;
81710 _ACEOF
81711 rm -f conftest.$ac_objext
81712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81713 (eval $ac_compile) 2>conftest.er1
81714 ac_status=$?
81715 grep -v '^ *+' conftest.er1 >conftest.err
81716 rm -f conftest.er1
81717 cat conftest.err >&5
81718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81719 (exit $ac_status); } &&
81720 { ac_try='test -z "$ac_cxx_werror_flag"
81721 || test ! -s conftest.err'
81722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81723 (eval $ac_try) 2>&5
81724 ac_status=$?
81725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81726 (exit $ac_status); }; } &&
81727 { ac_try='test -s conftest.$ac_objext'
81728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81729 (eval $ac_try) 2>&5
81730 ac_status=$?
81731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81732 (exit $ac_status); }; }; then
81733 glibcxx_cv_func_hypot_use=yes
81734 else
81735 echo "$as_me: failed program was:" >&5
81736 sed 's/^/| /' conftest.$ac_ext >&5
81738 glibcxx_cv_func_hypot_use=no
81740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81741 ac_ext=c
81742 ac_cpp='$CPP $CPPFLAGS'
81743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
81752 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
81754 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
81756 for ac_func in hypot
81758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81759 echo "$as_me:$LINENO: checking for $ac_func" >&5
81760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81761 if eval "test \"\${$as_ac_var+set}\" = set"; then
81762 echo $ECHO_N "(cached) $ECHO_C" >&6
81763 else
81764 if test x$gcc_no_link = xyes; then
81765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81767 { (exit 1); exit 1; }; }
81769 cat >conftest.$ac_ext <<_ACEOF
81770 /* confdefs.h. */
81771 _ACEOF
81772 cat confdefs.h >>conftest.$ac_ext
81773 cat >>conftest.$ac_ext <<_ACEOF
81774 /* end confdefs.h. */
81775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81777 #define $ac_func innocuous_$ac_func
81779 /* System header to define __stub macros and hopefully few prototypes,
81780 which can conflict with char $ac_func (); below.
81781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81782 <limits.h> exists even on freestanding compilers. */
81784 #ifdef __STDC__
81785 # include <limits.h>
81786 #else
81787 # include <assert.h>
81788 #endif
81790 #undef $ac_func
81792 /* Override any gcc2 internal prototype to avoid an error. */
81793 #ifdef __cplusplus
81794 extern "C"
81796 #endif
81797 /* We use char because int might match the return type of a gcc2
81798 builtin and then its argument prototype would still apply. */
81799 char $ac_func ();
81800 /* The GNU C library defines this for functions which it implements
81801 to always fail with ENOSYS. Some functions are actually named
81802 something starting with __ and the normal name is an alias. */
81803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81804 choke me
81805 #else
81806 char (*f) () = $ac_func;
81807 #endif
81808 #ifdef __cplusplus
81810 #endif
81813 main ()
81815 return f != $ac_func;
81817 return 0;
81819 _ACEOF
81820 rm -f conftest.$ac_objext conftest$ac_exeext
81821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81822 (eval $ac_link) 2>conftest.er1
81823 ac_status=$?
81824 grep -v '^ *+' conftest.er1 >conftest.err
81825 rm -f conftest.er1
81826 cat conftest.err >&5
81827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81828 (exit $ac_status); } &&
81829 { ac_try='test -z "$ac_c_werror_flag"
81830 || test ! -s conftest.err'
81831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81832 (eval $ac_try) 2>&5
81833 ac_status=$?
81834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81835 (exit $ac_status); }; } &&
81836 { ac_try='test -s conftest$ac_exeext'
81837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81838 (eval $ac_try) 2>&5
81839 ac_status=$?
81840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81841 (exit $ac_status); }; }; then
81842 eval "$as_ac_var=yes"
81843 else
81844 echo "$as_me: failed program was:" >&5
81845 sed 's/^/| /' conftest.$ac_ext >&5
81847 eval "$as_ac_var=no"
81849 rm -f conftest.err conftest.$ac_objext \
81850 conftest$ac_exeext conftest.$ac_ext
81852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81854 if test `eval echo '${'$as_ac_var'}'` = yes; then
81855 cat >>confdefs.h <<_ACEOF
81856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81857 _ACEOF
81860 done
81862 else
81864 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
81865 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
81866 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
81867 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
81868 echo $ECHO_N "(cached) $ECHO_C" >&6
81869 else
81873 ac_ext=cc
81874 ac_cpp='$CXXCPP $CPPFLAGS'
81875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81879 cat >conftest.$ac_ext <<_ACEOF
81880 /* confdefs.h. */
81881 _ACEOF
81882 cat confdefs.h >>conftest.$ac_ext
81883 cat >>conftest.$ac_ext <<_ACEOF
81884 /* end confdefs.h. */
81885 #include <math.h>
81887 main ()
81889 _hypot(0, 0);
81891 return 0;
81893 _ACEOF
81894 rm -f conftest.$ac_objext
81895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81896 (eval $ac_compile) 2>conftest.er1
81897 ac_status=$?
81898 grep -v '^ *+' conftest.er1 >conftest.err
81899 rm -f conftest.er1
81900 cat conftest.err >&5
81901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81902 (exit $ac_status); } &&
81903 { ac_try='test -z "$ac_cxx_werror_flag"
81904 || test ! -s conftest.err'
81905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81906 (eval $ac_try) 2>&5
81907 ac_status=$?
81908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81909 (exit $ac_status); }; } &&
81910 { ac_try='test -s conftest.$ac_objext'
81911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81912 (eval $ac_try) 2>&5
81913 ac_status=$?
81914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81915 (exit $ac_status); }; }; then
81916 glibcxx_cv_func__hypot_use=yes
81917 else
81918 echo "$as_me: failed program was:" >&5
81919 sed 's/^/| /' conftest.$ac_ext >&5
81921 glibcxx_cv_func__hypot_use=no
81923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81924 ac_ext=c
81925 ac_cpp='$CPP $CPPFLAGS'
81926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
81935 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
81937 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
81939 for ac_func in _hypot
81941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81942 echo "$as_me:$LINENO: checking for $ac_func" >&5
81943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81944 if eval "test \"\${$as_ac_var+set}\" = set"; then
81945 echo $ECHO_N "(cached) $ECHO_C" >&6
81946 else
81947 if test x$gcc_no_link = xyes; then
81948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81950 { (exit 1); exit 1; }; }
81952 cat >conftest.$ac_ext <<_ACEOF
81953 /* confdefs.h. */
81954 _ACEOF
81955 cat confdefs.h >>conftest.$ac_ext
81956 cat >>conftest.$ac_ext <<_ACEOF
81957 /* end confdefs.h. */
81958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81960 #define $ac_func innocuous_$ac_func
81962 /* System header to define __stub macros and hopefully few prototypes,
81963 which can conflict with char $ac_func (); below.
81964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81965 <limits.h> exists even on freestanding compilers. */
81967 #ifdef __STDC__
81968 # include <limits.h>
81969 #else
81970 # include <assert.h>
81971 #endif
81973 #undef $ac_func
81975 /* Override any gcc2 internal prototype to avoid an error. */
81976 #ifdef __cplusplus
81977 extern "C"
81979 #endif
81980 /* We use char because int might match the return type of a gcc2
81981 builtin and then its argument prototype would still apply. */
81982 char $ac_func ();
81983 /* The GNU C library defines this for functions which it implements
81984 to always fail with ENOSYS. Some functions are actually named
81985 something starting with __ and the normal name is an alias. */
81986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81987 choke me
81988 #else
81989 char (*f) () = $ac_func;
81990 #endif
81991 #ifdef __cplusplus
81993 #endif
81996 main ()
81998 return f != $ac_func;
82000 return 0;
82002 _ACEOF
82003 rm -f conftest.$ac_objext conftest$ac_exeext
82004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82005 (eval $ac_link) 2>conftest.er1
82006 ac_status=$?
82007 grep -v '^ *+' conftest.er1 >conftest.err
82008 rm -f conftest.er1
82009 cat conftest.err >&5
82010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82011 (exit $ac_status); } &&
82012 { ac_try='test -z "$ac_c_werror_flag"
82013 || test ! -s conftest.err'
82014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82015 (eval $ac_try) 2>&5
82016 ac_status=$?
82017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82018 (exit $ac_status); }; } &&
82019 { ac_try='test -s conftest$ac_exeext'
82020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82021 (eval $ac_try) 2>&5
82022 ac_status=$?
82023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82024 (exit $ac_status); }; }; then
82025 eval "$as_ac_var=yes"
82026 else
82027 echo "$as_me: failed program was:" >&5
82028 sed 's/^/| /' conftest.$ac_ext >&5
82030 eval "$as_ac_var=no"
82032 rm -f conftest.err conftest.$ac_objext \
82033 conftest$ac_exeext conftest.$ac_ext
82035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82037 if test `eval echo '${'$as_ac_var'}'` = yes; then
82038 cat >>confdefs.h <<_ACEOF
82039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82040 _ACEOF
82043 done
82053 echo "$as_me:$LINENO: checking for float trig functions" >&5
82054 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
82055 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
82056 echo $ECHO_N "(cached) $ECHO_C" >&6
82057 else
82061 ac_ext=cc
82062 ac_cpp='$CXXCPP $CPPFLAGS'
82063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82067 cat >conftest.$ac_ext <<_ACEOF
82068 /* confdefs.h. */
82069 _ACEOF
82070 cat confdefs.h >>conftest.$ac_ext
82071 cat >>conftest.$ac_ext <<_ACEOF
82072 /* end confdefs.h. */
82073 #include <math.h>
82075 main ()
82077 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
82079 return 0;
82081 _ACEOF
82082 rm -f conftest.$ac_objext
82083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82084 (eval $ac_compile) 2>conftest.er1
82085 ac_status=$?
82086 grep -v '^ *+' conftest.er1 >conftest.err
82087 rm -f conftest.er1
82088 cat conftest.err >&5
82089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82090 (exit $ac_status); } &&
82091 { ac_try='test -z "$ac_cxx_werror_flag"
82092 || test ! -s conftest.err'
82093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82094 (eval $ac_try) 2>&5
82095 ac_status=$?
82096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82097 (exit $ac_status); }; } &&
82098 { ac_try='test -s conftest.$ac_objext'
82099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82100 (eval $ac_try) 2>&5
82101 ac_status=$?
82102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82103 (exit $ac_status); }; }; then
82104 glibcxx_cv_func_float_trig_use=yes
82105 else
82106 echo "$as_me: failed program was:" >&5
82107 sed 's/^/| /' conftest.$ac_ext >&5
82109 glibcxx_cv_func_float_trig_use=no
82111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82112 ac_ext=c
82113 ac_cpp='$CPP $CPPFLAGS'
82114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
82121 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
82122 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
82132 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
82134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82135 echo "$as_me:$LINENO: checking for $ac_func" >&5
82136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82137 if eval "test \"\${$as_ac_var+set}\" = set"; then
82138 echo $ECHO_N "(cached) $ECHO_C" >&6
82139 else
82140 if test x$gcc_no_link = xyes; then
82141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82143 { (exit 1); exit 1; }; }
82145 cat >conftest.$ac_ext <<_ACEOF
82146 /* confdefs.h. */
82147 _ACEOF
82148 cat confdefs.h >>conftest.$ac_ext
82149 cat >>conftest.$ac_ext <<_ACEOF
82150 /* end confdefs.h. */
82151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82153 #define $ac_func innocuous_$ac_func
82155 /* System header to define __stub macros and hopefully few prototypes,
82156 which can conflict with char $ac_func (); below.
82157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82158 <limits.h> exists even on freestanding compilers. */
82160 #ifdef __STDC__
82161 # include <limits.h>
82162 #else
82163 # include <assert.h>
82164 #endif
82166 #undef $ac_func
82168 /* Override any gcc2 internal prototype to avoid an error. */
82169 #ifdef __cplusplus
82170 extern "C"
82172 #endif
82173 /* We use char because int might match the return type of a gcc2
82174 builtin and then its argument prototype would still apply. */
82175 char $ac_func ();
82176 /* The GNU C library defines this for functions which it implements
82177 to always fail with ENOSYS. Some functions are actually named
82178 something starting with __ and the normal name is an alias. */
82179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82180 choke me
82181 #else
82182 char (*f) () = $ac_func;
82183 #endif
82184 #ifdef __cplusplus
82186 #endif
82189 main ()
82191 return f != $ac_func;
82193 return 0;
82195 _ACEOF
82196 rm -f conftest.$ac_objext conftest$ac_exeext
82197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82198 (eval $ac_link) 2>conftest.er1
82199 ac_status=$?
82200 grep -v '^ *+' conftest.er1 >conftest.err
82201 rm -f conftest.er1
82202 cat conftest.err >&5
82203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82204 (exit $ac_status); } &&
82205 { ac_try='test -z "$ac_c_werror_flag"
82206 || test ! -s conftest.err'
82207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82208 (eval $ac_try) 2>&5
82209 ac_status=$?
82210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82211 (exit $ac_status); }; } &&
82212 { ac_try='test -s conftest$ac_exeext'
82213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82214 (eval $ac_try) 2>&5
82215 ac_status=$?
82216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82217 (exit $ac_status); }; }; then
82218 eval "$as_ac_var=yes"
82219 else
82220 echo "$as_me: failed program was:" >&5
82221 sed 's/^/| /' conftest.$ac_ext >&5
82223 eval "$as_ac_var=no"
82225 rm -f conftest.err conftest.$ac_objext \
82226 conftest$ac_exeext conftest.$ac_ext
82228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82230 if test `eval echo '${'$as_ac_var'}'` = yes; then
82231 cat >>confdefs.h <<_ACEOF
82232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82233 _ACEOF
82236 done
82238 else
82239 echo "$as_me:$LINENO: checking for _float trig functions" >&5
82240 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
82241 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
82242 echo $ECHO_N "(cached) $ECHO_C" >&6
82243 else
82247 ac_ext=cc
82248 ac_cpp='$CXXCPP $CPPFLAGS'
82249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82253 cat >conftest.$ac_ext <<_ACEOF
82254 /* confdefs.h. */
82255 _ACEOF
82256 cat confdefs.h >>conftest.$ac_ext
82257 cat >>conftest.$ac_ext <<_ACEOF
82258 /* end confdefs.h. */
82259 #include <math.h>
82261 main ()
82263 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
82265 return 0;
82267 _ACEOF
82268 rm -f conftest.$ac_objext
82269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82270 (eval $ac_compile) 2>conftest.er1
82271 ac_status=$?
82272 grep -v '^ *+' conftest.er1 >conftest.err
82273 rm -f conftest.er1
82274 cat conftest.err >&5
82275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82276 (exit $ac_status); } &&
82277 { ac_try='test -z "$ac_cxx_werror_flag"
82278 || test ! -s conftest.err'
82279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82280 (eval $ac_try) 2>&5
82281 ac_status=$?
82282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82283 (exit $ac_status); }; } &&
82284 { ac_try='test -s conftest.$ac_objext'
82285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82286 (eval $ac_try) 2>&5
82287 ac_status=$?
82288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82289 (exit $ac_status); }; }; then
82290 glibcxx_cv_func__float_trig_use=yes
82291 else
82292 echo "$as_me: failed program was:" >&5
82293 sed 's/^/| /' conftest.$ac_ext >&5
82295 glibcxx_cv_func__float_trig_use=no
82297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82298 ac_ext=c
82299 ac_cpp='$CPP $CPPFLAGS'
82300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
82307 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
82308 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
82318 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
82320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82321 echo "$as_me:$LINENO: checking for $ac_func" >&5
82322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82323 if eval "test \"\${$as_ac_var+set}\" = set"; then
82324 echo $ECHO_N "(cached) $ECHO_C" >&6
82325 else
82326 if test x$gcc_no_link = xyes; then
82327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82329 { (exit 1); exit 1; }; }
82331 cat >conftest.$ac_ext <<_ACEOF
82332 /* confdefs.h. */
82333 _ACEOF
82334 cat confdefs.h >>conftest.$ac_ext
82335 cat >>conftest.$ac_ext <<_ACEOF
82336 /* end confdefs.h. */
82337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82339 #define $ac_func innocuous_$ac_func
82341 /* System header to define __stub macros and hopefully few prototypes,
82342 which can conflict with char $ac_func (); below.
82343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82344 <limits.h> exists even on freestanding compilers. */
82346 #ifdef __STDC__
82347 # include <limits.h>
82348 #else
82349 # include <assert.h>
82350 #endif
82352 #undef $ac_func
82354 /* Override any gcc2 internal prototype to avoid an error. */
82355 #ifdef __cplusplus
82356 extern "C"
82358 #endif
82359 /* We use char because int might match the return type of a gcc2
82360 builtin and then its argument prototype would still apply. */
82361 char $ac_func ();
82362 /* The GNU C library defines this for functions which it implements
82363 to always fail with ENOSYS. Some functions are actually named
82364 something starting with __ and the normal name is an alias. */
82365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82366 choke me
82367 #else
82368 char (*f) () = $ac_func;
82369 #endif
82370 #ifdef __cplusplus
82372 #endif
82375 main ()
82377 return f != $ac_func;
82379 return 0;
82381 _ACEOF
82382 rm -f conftest.$ac_objext conftest$ac_exeext
82383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82384 (eval $ac_link) 2>conftest.er1
82385 ac_status=$?
82386 grep -v '^ *+' conftest.er1 >conftest.err
82387 rm -f conftest.er1
82388 cat conftest.err >&5
82389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82390 (exit $ac_status); } &&
82391 { ac_try='test -z "$ac_c_werror_flag"
82392 || test ! -s conftest.err'
82393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82394 (eval $ac_try) 2>&5
82395 ac_status=$?
82396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82397 (exit $ac_status); }; } &&
82398 { ac_try='test -s conftest$ac_exeext'
82399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82400 (eval $ac_try) 2>&5
82401 ac_status=$?
82402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82403 (exit $ac_status); }; }; then
82404 eval "$as_ac_var=yes"
82405 else
82406 echo "$as_me: failed program was:" >&5
82407 sed 's/^/| /' conftest.$ac_ext >&5
82409 eval "$as_ac_var=no"
82411 rm -f conftest.err conftest.$ac_objext \
82412 conftest$ac_exeext conftest.$ac_ext
82414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82416 if test `eval echo '${'$as_ac_var'}'` = yes; then
82417 cat >>confdefs.h <<_ACEOF
82418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82419 _ACEOF
82422 done
82440 echo "$as_me:$LINENO: checking for float round functions" >&5
82441 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
82442 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
82443 echo $ECHO_N "(cached) $ECHO_C" >&6
82444 else
82448 ac_ext=cc
82449 ac_cpp='$CXXCPP $CPPFLAGS'
82450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82454 cat >conftest.$ac_ext <<_ACEOF
82455 /* confdefs.h. */
82456 _ACEOF
82457 cat confdefs.h >>conftest.$ac_ext
82458 cat >>conftest.$ac_ext <<_ACEOF
82459 /* end confdefs.h. */
82460 #include <math.h>
82462 main ()
82464 ceilf (0); floorf (0);
82466 return 0;
82468 _ACEOF
82469 rm -f conftest.$ac_objext
82470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82471 (eval $ac_compile) 2>conftest.er1
82472 ac_status=$?
82473 grep -v '^ *+' conftest.er1 >conftest.err
82474 rm -f conftest.er1
82475 cat conftest.err >&5
82476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82477 (exit $ac_status); } &&
82478 { ac_try='test -z "$ac_cxx_werror_flag"
82479 || test ! -s conftest.err'
82480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82481 (eval $ac_try) 2>&5
82482 ac_status=$?
82483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484 (exit $ac_status); }; } &&
82485 { ac_try='test -s conftest.$ac_objext'
82486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82487 (eval $ac_try) 2>&5
82488 ac_status=$?
82489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490 (exit $ac_status); }; }; then
82491 glibcxx_cv_func_float_round_use=yes
82492 else
82493 echo "$as_me: failed program was:" >&5
82494 sed 's/^/| /' conftest.$ac_ext >&5
82496 glibcxx_cv_func_float_round_use=no
82498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82499 ac_ext=c
82500 ac_cpp='$CPP $CPPFLAGS'
82501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82507 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
82508 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
82509 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
82512 for ac_func in ceilf floorf
82514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82515 echo "$as_me:$LINENO: checking for $ac_func" >&5
82516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82517 if eval "test \"\${$as_ac_var+set}\" = set"; then
82518 echo $ECHO_N "(cached) $ECHO_C" >&6
82519 else
82520 if test x$gcc_no_link = xyes; then
82521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82523 { (exit 1); exit 1; }; }
82525 cat >conftest.$ac_ext <<_ACEOF
82526 /* confdefs.h. */
82527 _ACEOF
82528 cat confdefs.h >>conftest.$ac_ext
82529 cat >>conftest.$ac_ext <<_ACEOF
82530 /* end confdefs.h. */
82531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82533 #define $ac_func innocuous_$ac_func
82535 /* System header to define __stub macros and hopefully few prototypes,
82536 which can conflict with char $ac_func (); below.
82537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82538 <limits.h> exists even on freestanding compilers. */
82540 #ifdef __STDC__
82541 # include <limits.h>
82542 #else
82543 # include <assert.h>
82544 #endif
82546 #undef $ac_func
82548 /* Override any gcc2 internal prototype to avoid an error. */
82549 #ifdef __cplusplus
82550 extern "C"
82552 #endif
82553 /* We use char because int might match the return type of a gcc2
82554 builtin and then its argument prototype would still apply. */
82555 char $ac_func ();
82556 /* The GNU C library defines this for functions which it implements
82557 to always fail with ENOSYS. Some functions are actually named
82558 something starting with __ and the normal name is an alias. */
82559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82560 choke me
82561 #else
82562 char (*f) () = $ac_func;
82563 #endif
82564 #ifdef __cplusplus
82566 #endif
82569 main ()
82571 return f != $ac_func;
82573 return 0;
82575 _ACEOF
82576 rm -f conftest.$ac_objext conftest$ac_exeext
82577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82578 (eval $ac_link) 2>conftest.er1
82579 ac_status=$?
82580 grep -v '^ *+' conftest.er1 >conftest.err
82581 rm -f conftest.er1
82582 cat conftest.err >&5
82583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82584 (exit $ac_status); } &&
82585 { ac_try='test -z "$ac_c_werror_flag"
82586 || test ! -s conftest.err'
82587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82588 (eval $ac_try) 2>&5
82589 ac_status=$?
82590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82591 (exit $ac_status); }; } &&
82592 { ac_try='test -s conftest$ac_exeext'
82593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82594 (eval $ac_try) 2>&5
82595 ac_status=$?
82596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82597 (exit $ac_status); }; }; then
82598 eval "$as_ac_var=yes"
82599 else
82600 echo "$as_me: failed program was:" >&5
82601 sed 's/^/| /' conftest.$ac_ext >&5
82603 eval "$as_ac_var=no"
82605 rm -f conftest.err conftest.$ac_objext \
82606 conftest$ac_exeext conftest.$ac_ext
82608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82610 if test `eval echo '${'$as_ac_var'}'` = yes; then
82611 cat >>confdefs.h <<_ACEOF
82612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82613 _ACEOF
82616 done
82618 else
82619 echo "$as_me:$LINENO: checking for _float round functions" >&5
82620 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
82621 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
82622 echo $ECHO_N "(cached) $ECHO_C" >&6
82623 else
82627 ac_ext=cc
82628 ac_cpp='$CXXCPP $CPPFLAGS'
82629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82633 cat >conftest.$ac_ext <<_ACEOF
82634 /* confdefs.h. */
82635 _ACEOF
82636 cat confdefs.h >>conftest.$ac_ext
82637 cat >>conftest.$ac_ext <<_ACEOF
82638 /* end confdefs.h. */
82639 #include <math.h>
82641 main ()
82643 _ceilf (0); _floorf (0);
82645 return 0;
82647 _ACEOF
82648 rm -f conftest.$ac_objext
82649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82650 (eval $ac_compile) 2>conftest.er1
82651 ac_status=$?
82652 grep -v '^ *+' conftest.er1 >conftest.err
82653 rm -f conftest.er1
82654 cat conftest.err >&5
82655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82656 (exit $ac_status); } &&
82657 { ac_try='test -z "$ac_cxx_werror_flag"
82658 || test ! -s conftest.err'
82659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82660 (eval $ac_try) 2>&5
82661 ac_status=$?
82662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82663 (exit $ac_status); }; } &&
82664 { ac_try='test -s conftest.$ac_objext'
82665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82666 (eval $ac_try) 2>&5
82667 ac_status=$?
82668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82669 (exit $ac_status); }; }; then
82670 glibcxx_cv_func__float_round_use=yes
82671 else
82672 echo "$as_me: failed program was:" >&5
82673 sed 's/^/| /' conftest.$ac_ext >&5
82675 glibcxx_cv_func__float_round_use=no
82677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82678 ac_ext=c
82679 ac_cpp='$CPP $CPPFLAGS'
82680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
82687 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
82688 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
82691 for ac_func in _ceilf _floorf
82693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82694 echo "$as_me:$LINENO: checking for $ac_func" >&5
82695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82696 if eval "test \"\${$as_ac_var+set}\" = set"; then
82697 echo $ECHO_N "(cached) $ECHO_C" >&6
82698 else
82699 if test x$gcc_no_link = xyes; then
82700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82702 { (exit 1); exit 1; }; }
82704 cat >conftest.$ac_ext <<_ACEOF
82705 /* confdefs.h. */
82706 _ACEOF
82707 cat confdefs.h >>conftest.$ac_ext
82708 cat >>conftest.$ac_ext <<_ACEOF
82709 /* end confdefs.h. */
82710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82712 #define $ac_func innocuous_$ac_func
82714 /* System header to define __stub macros and hopefully few prototypes,
82715 which can conflict with char $ac_func (); below.
82716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82717 <limits.h> exists even on freestanding compilers. */
82719 #ifdef __STDC__
82720 # include <limits.h>
82721 #else
82722 # include <assert.h>
82723 #endif
82725 #undef $ac_func
82727 /* Override any gcc2 internal prototype to avoid an error. */
82728 #ifdef __cplusplus
82729 extern "C"
82731 #endif
82732 /* We use char because int might match the return type of a gcc2
82733 builtin and then its argument prototype would still apply. */
82734 char $ac_func ();
82735 /* The GNU C library defines this for functions which it implements
82736 to always fail with ENOSYS. Some functions are actually named
82737 something starting with __ and the normal name is an alias. */
82738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82739 choke me
82740 #else
82741 char (*f) () = $ac_func;
82742 #endif
82743 #ifdef __cplusplus
82745 #endif
82748 main ()
82750 return f != $ac_func;
82752 return 0;
82754 _ACEOF
82755 rm -f conftest.$ac_objext conftest$ac_exeext
82756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82757 (eval $ac_link) 2>conftest.er1
82758 ac_status=$?
82759 grep -v '^ *+' conftest.er1 >conftest.err
82760 rm -f conftest.er1
82761 cat conftest.err >&5
82762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763 (exit $ac_status); } &&
82764 { ac_try='test -z "$ac_c_werror_flag"
82765 || test ! -s conftest.err'
82766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82767 (eval $ac_try) 2>&5
82768 ac_status=$?
82769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82770 (exit $ac_status); }; } &&
82771 { ac_try='test -s conftest$ac_exeext'
82772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82773 (eval $ac_try) 2>&5
82774 ac_status=$?
82775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82776 (exit $ac_status); }; }; then
82777 eval "$as_ac_var=yes"
82778 else
82779 echo "$as_me: failed program was:" >&5
82780 sed 's/^/| /' conftest.$ac_ext >&5
82782 eval "$as_ac_var=no"
82784 rm -f conftest.err conftest.$ac_objext \
82785 conftest$ac_exeext conftest.$ac_ext
82787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82789 if test `eval echo '${'$as_ac_var'}'` = yes; then
82790 cat >>confdefs.h <<_ACEOF
82791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82792 _ACEOF
82795 done
82807 echo "$as_me:$LINENO: checking for expf declaration" >&5
82808 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
82809 if test x${glibcxx_cv_func_expf_use+set} != xset; then
82810 if test "${glibcxx_cv_func_expf_use+set}" = set; then
82811 echo $ECHO_N "(cached) $ECHO_C" >&6
82812 else
82816 ac_ext=cc
82817 ac_cpp='$CXXCPP $CPPFLAGS'
82818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82822 cat >conftest.$ac_ext <<_ACEOF
82823 /* confdefs.h. */
82824 _ACEOF
82825 cat confdefs.h >>conftest.$ac_ext
82826 cat >>conftest.$ac_ext <<_ACEOF
82827 /* end confdefs.h. */
82828 #include <math.h>
82829 #ifdef HAVE_IEEEFP_H
82830 #include <ieeefp.h>
82831 #endif
82834 main ()
82836 expf(0);
82838 return 0;
82840 _ACEOF
82841 rm -f conftest.$ac_objext
82842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82843 (eval $ac_compile) 2>conftest.er1
82844 ac_status=$?
82845 grep -v '^ *+' conftest.er1 >conftest.err
82846 rm -f conftest.er1
82847 cat conftest.err >&5
82848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82849 (exit $ac_status); } &&
82850 { ac_try='test -z "$ac_cxx_werror_flag"
82851 || test ! -s conftest.err'
82852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82853 (eval $ac_try) 2>&5
82854 ac_status=$?
82855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82856 (exit $ac_status); }; } &&
82857 { ac_try='test -s conftest.$ac_objext'
82858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82859 (eval $ac_try) 2>&5
82860 ac_status=$?
82861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82862 (exit $ac_status); }; }; then
82863 glibcxx_cv_func_expf_use=yes
82864 else
82865 echo "$as_me: failed program was:" >&5
82866 sed 's/^/| /' conftest.$ac_ext >&5
82868 glibcxx_cv_func_expf_use=no
82870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82871 ac_ext=c
82872 ac_cpp='$CPP $CPPFLAGS'
82873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
82882 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
82884 if test x$glibcxx_cv_func_expf_use = x"yes"; then
82886 for ac_func in expf
82888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82889 echo "$as_me:$LINENO: checking for $ac_func" >&5
82890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82891 if eval "test \"\${$as_ac_var+set}\" = set"; then
82892 echo $ECHO_N "(cached) $ECHO_C" >&6
82893 else
82894 if test x$gcc_no_link = xyes; then
82895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82897 { (exit 1); exit 1; }; }
82899 cat >conftest.$ac_ext <<_ACEOF
82900 /* confdefs.h. */
82901 _ACEOF
82902 cat confdefs.h >>conftest.$ac_ext
82903 cat >>conftest.$ac_ext <<_ACEOF
82904 /* end confdefs.h. */
82905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82907 #define $ac_func innocuous_$ac_func
82909 /* System header to define __stub macros and hopefully few prototypes,
82910 which can conflict with char $ac_func (); below.
82911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82912 <limits.h> exists even on freestanding compilers. */
82914 #ifdef __STDC__
82915 # include <limits.h>
82916 #else
82917 # include <assert.h>
82918 #endif
82920 #undef $ac_func
82922 /* Override any gcc2 internal prototype to avoid an error. */
82923 #ifdef __cplusplus
82924 extern "C"
82926 #endif
82927 /* We use char because int might match the return type of a gcc2
82928 builtin and then its argument prototype would still apply. */
82929 char $ac_func ();
82930 /* The GNU C library defines this for functions which it implements
82931 to always fail with ENOSYS. Some functions are actually named
82932 something starting with __ and the normal name is an alias. */
82933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82934 choke me
82935 #else
82936 char (*f) () = $ac_func;
82937 #endif
82938 #ifdef __cplusplus
82940 #endif
82943 main ()
82945 return f != $ac_func;
82947 return 0;
82949 _ACEOF
82950 rm -f conftest.$ac_objext conftest$ac_exeext
82951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82952 (eval $ac_link) 2>conftest.er1
82953 ac_status=$?
82954 grep -v '^ *+' conftest.er1 >conftest.err
82955 rm -f conftest.er1
82956 cat conftest.err >&5
82957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82958 (exit $ac_status); } &&
82959 { ac_try='test -z "$ac_c_werror_flag"
82960 || test ! -s conftest.err'
82961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82962 (eval $ac_try) 2>&5
82963 ac_status=$?
82964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82965 (exit $ac_status); }; } &&
82966 { ac_try='test -s conftest$ac_exeext'
82967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82968 (eval $ac_try) 2>&5
82969 ac_status=$?
82970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82971 (exit $ac_status); }; }; then
82972 eval "$as_ac_var=yes"
82973 else
82974 echo "$as_me: failed program was:" >&5
82975 sed 's/^/| /' conftest.$ac_ext >&5
82977 eval "$as_ac_var=no"
82979 rm -f conftest.err conftest.$ac_objext \
82980 conftest$ac_exeext conftest.$ac_ext
82982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82984 if test `eval echo '${'$as_ac_var'}'` = yes; then
82985 cat >>confdefs.h <<_ACEOF
82986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82987 _ACEOF
82990 done
82992 else
82994 echo "$as_me:$LINENO: checking for _expf declaration" >&5
82995 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
82996 if test x${glibcxx_cv_func__expf_use+set} != xset; then
82997 if test "${glibcxx_cv_func__expf_use+set}" = set; then
82998 echo $ECHO_N "(cached) $ECHO_C" >&6
82999 else
83003 ac_ext=cc
83004 ac_cpp='$CXXCPP $CPPFLAGS'
83005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83009 cat >conftest.$ac_ext <<_ACEOF
83010 /* confdefs.h. */
83011 _ACEOF
83012 cat confdefs.h >>conftest.$ac_ext
83013 cat >>conftest.$ac_ext <<_ACEOF
83014 /* end confdefs.h. */
83015 #include <math.h>
83016 #ifdef HAVE_IEEEFP_H
83017 #include <ieeefp.h>
83018 #endif
83021 main ()
83023 _expf(0);
83025 return 0;
83027 _ACEOF
83028 rm -f conftest.$ac_objext
83029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83030 (eval $ac_compile) 2>conftest.er1
83031 ac_status=$?
83032 grep -v '^ *+' conftest.er1 >conftest.err
83033 rm -f conftest.er1
83034 cat conftest.err >&5
83035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83036 (exit $ac_status); } &&
83037 { ac_try='test -z "$ac_cxx_werror_flag"
83038 || test ! -s conftest.err'
83039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83040 (eval $ac_try) 2>&5
83041 ac_status=$?
83042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83043 (exit $ac_status); }; } &&
83044 { ac_try='test -s conftest.$ac_objext'
83045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83046 (eval $ac_try) 2>&5
83047 ac_status=$?
83048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83049 (exit $ac_status); }; }; then
83050 glibcxx_cv_func__expf_use=yes
83051 else
83052 echo "$as_me: failed program was:" >&5
83053 sed 's/^/| /' conftest.$ac_ext >&5
83055 glibcxx_cv_func__expf_use=no
83057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83058 ac_ext=c
83059 ac_cpp='$CPP $CPPFLAGS'
83060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
83069 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
83071 if test x$glibcxx_cv_func__expf_use = x"yes"; then
83073 for ac_func in _expf
83075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83076 echo "$as_me:$LINENO: checking for $ac_func" >&5
83077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83078 if eval "test \"\${$as_ac_var+set}\" = set"; then
83079 echo $ECHO_N "(cached) $ECHO_C" >&6
83080 else
83081 if test x$gcc_no_link = xyes; then
83082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83084 { (exit 1); exit 1; }; }
83086 cat >conftest.$ac_ext <<_ACEOF
83087 /* confdefs.h. */
83088 _ACEOF
83089 cat confdefs.h >>conftest.$ac_ext
83090 cat >>conftest.$ac_ext <<_ACEOF
83091 /* end confdefs.h. */
83092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83094 #define $ac_func innocuous_$ac_func
83096 /* System header to define __stub macros and hopefully few prototypes,
83097 which can conflict with char $ac_func (); below.
83098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83099 <limits.h> exists even on freestanding compilers. */
83101 #ifdef __STDC__
83102 # include <limits.h>
83103 #else
83104 # include <assert.h>
83105 #endif
83107 #undef $ac_func
83109 /* Override any gcc2 internal prototype to avoid an error. */
83110 #ifdef __cplusplus
83111 extern "C"
83113 #endif
83114 /* We use char because int might match the return type of a gcc2
83115 builtin and then its argument prototype would still apply. */
83116 char $ac_func ();
83117 /* The GNU C library defines this for functions which it implements
83118 to always fail with ENOSYS. Some functions are actually named
83119 something starting with __ and the normal name is an alias. */
83120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83121 choke me
83122 #else
83123 char (*f) () = $ac_func;
83124 #endif
83125 #ifdef __cplusplus
83127 #endif
83130 main ()
83132 return f != $ac_func;
83134 return 0;
83136 _ACEOF
83137 rm -f conftest.$ac_objext conftest$ac_exeext
83138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83139 (eval $ac_link) 2>conftest.er1
83140 ac_status=$?
83141 grep -v '^ *+' conftest.er1 >conftest.err
83142 rm -f conftest.er1
83143 cat conftest.err >&5
83144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83145 (exit $ac_status); } &&
83146 { ac_try='test -z "$ac_c_werror_flag"
83147 || test ! -s conftest.err'
83148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83149 (eval $ac_try) 2>&5
83150 ac_status=$?
83151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83152 (exit $ac_status); }; } &&
83153 { ac_try='test -s conftest$ac_exeext'
83154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83155 (eval $ac_try) 2>&5
83156 ac_status=$?
83157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158 (exit $ac_status); }; }; then
83159 eval "$as_ac_var=yes"
83160 else
83161 echo "$as_me: failed program was:" >&5
83162 sed 's/^/| /' conftest.$ac_ext >&5
83164 eval "$as_ac_var=no"
83166 rm -f conftest.err conftest.$ac_objext \
83167 conftest$ac_exeext conftest.$ac_ext
83169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83171 if test `eval echo '${'$as_ac_var'}'` = yes; then
83172 cat >>confdefs.h <<_ACEOF
83173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83174 _ACEOF
83177 done
83187 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
83188 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
83189 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
83190 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
83191 echo $ECHO_N "(cached) $ECHO_C" >&6
83192 else
83196 ac_ext=cc
83197 ac_cpp='$CXXCPP $CPPFLAGS'
83198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83202 cat >conftest.$ac_ext <<_ACEOF
83203 /* confdefs.h. */
83204 _ACEOF
83205 cat confdefs.h >>conftest.$ac_ext
83206 cat >>conftest.$ac_ext <<_ACEOF
83207 /* end confdefs.h. */
83208 #include <math.h>
83209 #ifdef HAVE_IEEEFP_H
83210 #include <ieeefp.h>
83211 #endif
83214 main ()
83216 isnanf(0);
83218 return 0;
83220 _ACEOF
83221 rm -f conftest.$ac_objext
83222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83223 (eval $ac_compile) 2>conftest.er1
83224 ac_status=$?
83225 grep -v '^ *+' conftest.er1 >conftest.err
83226 rm -f conftest.er1
83227 cat conftest.err >&5
83228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83229 (exit $ac_status); } &&
83230 { ac_try='test -z "$ac_cxx_werror_flag"
83231 || test ! -s conftest.err'
83232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83233 (eval $ac_try) 2>&5
83234 ac_status=$?
83235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83236 (exit $ac_status); }; } &&
83237 { ac_try='test -s conftest.$ac_objext'
83238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83239 (eval $ac_try) 2>&5
83240 ac_status=$?
83241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83242 (exit $ac_status); }; }; then
83243 glibcxx_cv_func_isnanf_use=yes
83244 else
83245 echo "$as_me: failed program was:" >&5
83246 sed 's/^/| /' conftest.$ac_ext >&5
83248 glibcxx_cv_func_isnanf_use=no
83250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83251 ac_ext=c
83252 ac_cpp='$CPP $CPPFLAGS'
83253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
83262 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
83264 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
83266 for ac_func in isnanf
83268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83269 echo "$as_me:$LINENO: checking for $ac_func" >&5
83270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83271 if eval "test \"\${$as_ac_var+set}\" = set"; then
83272 echo $ECHO_N "(cached) $ECHO_C" >&6
83273 else
83274 if test x$gcc_no_link = xyes; then
83275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83277 { (exit 1); exit 1; }; }
83279 cat >conftest.$ac_ext <<_ACEOF
83280 /* confdefs.h. */
83281 _ACEOF
83282 cat confdefs.h >>conftest.$ac_ext
83283 cat >>conftest.$ac_ext <<_ACEOF
83284 /* end confdefs.h. */
83285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83287 #define $ac_func innocuous_$ac_func
83289 /* System header to define __stub macros and hopefully few prototypes,
83290 which can conflict with char $ac_func (); below.
83291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83292 <limits.h> exists even on freestanding compilers. */
83294 #ifdef __STDC__
83295 # include <limits.h>
83296 #else
83297 # include <assert.h>
83298 #endif
83300 #undef $ac_func
83302 /* Override any gcc2 internal prototype to avoid an error. */
83303 #ifdef __cplusplus
83304 extern "C"
83306 #endif
83307 /* We use char because int might match the return type of a gcc2
83308 builtin and then its argument prototype would still apply. */
83309 char $ac_func ();
83310 /* The GNU C library defines this for functions which it implements
83311 to always fail with ENOSYS. Some functions are actually named
83312 something starting with __ and the normal name is an alias. */
83313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83314 choke me
83315 #else
83316 char (*f) () = $ac_func;
83317 #endif
83318 #ifdef __cplusplus
83320 #endif
83323 main ()
83325 return f != $ac_func;
83327 return 0;
83329 _ACEOF
83330 rm -f conftest.$ac_objext conftest$ac_exeext
83331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83332 (eval $ac_link) 2>conftest.er1
83333 ac_status=$?
83334 grep -v '^ *+' conftest.er1 >conftest.err
83335 rm -f conftest.er1
83336 cat conftest.err >&5
83337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338 (exit $ac_status); } &&
83339 { ac_try='test -z "$ac_c_werror_flag"
83340 || test ! -s conftest.err'
83341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83342 (eval $ac_try) 2>&5
83343 ac_status=$?
83344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83345 (exit $ac_status); }; } &&
83346 { ac_try='test -s conftest$ac_exeext'
83347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83348 (eval $ac_try) 2>&5
83349 ac_status=$?
83350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83351 (exit $ac_status); }; }; then
83352 eval "$as_ac_var=yes"
83353 else
83354 echo "$as_me: failed program was:" >&5
83355 sed 's/^/| /' conftest.$ac_ext >&5
83357 eval "$as_ac_var=no"
83359 rm -f conftest.err conftest.$ac_objext \
83360 conftest$ac_exeext conftest.$ac_ext
83362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83364 if test `eval echo '${'$as_ac_var'}'` = yes; then
83365 cat >>confdefs.h <<_ACEOF
83366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83367 _ACEOF
83370 done
83372 else
83374 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
83375 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
83376 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
83377 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
83378 echo $ECHO_N "(cached) $ECHO_C" >&6
83379 else
83383 ac_ext=cc
83384 ac_cpp='$CXXCPP $CPPFLAGS'
83385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83389 cat >conftest.$ac_ext <<_ACEOF
83390 /* confdefs.h. */
83391 _ACEOF
83392 cat confdefs.h >>conftest.$ac_ext
83393 cat >>conftest.$ac_ext <<_ACEOF
83394 /* end confdefs.h. */
83395 #include <math.h>
83396 #ifdef HAVE_IEEEFP_H
83397 #include <ieeefp.h>
83398 #endif
83401 main ()
83403 _isnanf(0);
83405 return 0;
83407 _ACEOF
83408 rm -f conftest.$ac_objext
83409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83410 (eval $ac_compile) 2>conftest.er1
83411 ac_status=$?
83412 grep -v '^ *+' conftest.er1 >conftest.err
83413 rm -f conftest.er1
83414 cat conftest.err >&5
83415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83416 (exit $ac_status); } &&
83417 { ac_try='test -z "$ac_cxx_werror_flag"
83418 || test ! -s conftest.err'
83419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83420 (eval $ac_try) 2>&5
83421 ac_status=$?
83422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83423 (exit $ac_status); }; } &&
83424 { ac_try='test -s conftest.$ac_objext'
83425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83426 (eval $ac_try) 2>&5
83427 ac_status=$?
83428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83429 (exit $ac_status); }; }; then
83430 glibcxx_cv_func__isnanf_use=yes
83431 else
83432 echo "$as_me: failed program was:" >&5
83433 sed 's/^/| /' conftest.$ac_ext >&5
83435 glibcxx_cv_func__isnanf_use=no
83437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83438 ac_ext=c
83439 ac_cpp='$CPP $CPPFLAGS'
83440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
83449 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
83451 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
83453 for ac_func in _isnanf
83455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83456 echo "$as_me:$LINENO: checking for $ac_func" >&5
83457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83458 if eval "test \"\${$as_ac_var+set}\" = set"; then
83459 echo $ECHO_N "(cached) $ECHO_C" >&6
83460 else
83461 if test x$gcc_no_link = xyes; then
83462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83464 { (exit 1); exit 1; }; }
83466 cat >conftest.$ac_ext <<_ACEOF
83467 /* confdefs.h. */
83468 _ACEOF
83469 cat confdefs.h >>conftest.$ac_ext
83470 cat >>conftest.$ac_ext <<_ACEOF
83471 /* end confdefs.h. */
83472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83474 #define $ac_func innocuous_$ac_func
83476 /* System header to define __stub macros and hopefully few prototypes,
83477 which can conflict with char $ac_func (); below.
83478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83479 <limits.h> exists even on freestanding compilers. */
83481 #ifdef __STDC__
83482 # include <limits.h>
83483 #else
83484 # include <assert.h>
83485 #endif
83487 #undef $ac_func
83489 /* Override any gcc2 internal prototype to avoid an error. */
83490 #ifdef __cplusplus
83491 extern "C"
83493 #endif
83494 /* We use char because int might match the return type of a gcc2
83495 builtin and then its argument prototype would still apply. */
83496 char $ac_func ();
83497 /* The GNU C library defines this for functions which it implements
83498 to always fail with ENOSYS. Some functions are actually named
83499 something starting with __ and the normal name is an alias. */
83500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83501 choke me
83502 #else
83503 char (*f) () = $ac_func;
83504 #endif
83505 #ifdef __cplusplus
83507 #endif
83510 main ()
83512 return f != $ac_func;
83514 return 0;
83516 _ACEOF
83517 rm -f conftest.$ac_objext conftest$ac_exeext
83518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83519 (eval $ac_link) 2>conftest.er1
83520 ac_status=$?
83521 grep -v '^ *+' conftest.er1 >conftest.err
83522 rm -f conftest.er1
83523 cat conftest.err >&5
83524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83525 (exit $ac_status); } &&
83526 { ac_try='test -z "$ac_c_werror_flag"
83527 || test ! -s conftest.err'
83528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83529 (eval $ac_try) 2>&5
83530 ac_status=$?
83531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83532 (exit $ac_status); }; } &&
83533 { ac_try='test -s conftest$ac_exeext'
83534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83535 (eval $ac_try) 2>&5
83536 ac_status=$?
83537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83538 (exit $ac_status); }; }; then
83539 eval "$as_ac_var=yes"
83540 else
83541 echo "$as_me: failed program was:" >&5
83542 sed 's/^/| /' conftest.$ac_ext >&5
83544 eval "$as_ac_var=no"
83546 rm -f conftest.err conftest.$ac_objext \
83547 conftest$ac_exeext conftest.$ac_ext
83549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83551 if test `eval echo '${'$as_ac_var'}'` = yes; then
83552 cat >>confdefs.h <<_ACEOF
83553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83554 _ACEOF
83557 done
83567 echo "$as_me:$LINENO: checking for isinff declaration" >&5
83568 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
83569 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
83570 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
83571 echo $ECHO_N "(cached) $ECHO_C" >&6
83572 else
83576 ac_ext=cc
83577 ac_cpp='$CXXCPP $CPPFLAGS'
83578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83582 cat >conftest.$ac_ext <<_ACEOF
83583 /* confdefs.h. */
83584 _ACEOF
83585 cat confdefs.h >>conftest.$ac_ext
83586 cat >>conftest.$ac_ext <<_ACEOF
83587 /* end confdefs.h. */
83588 #include <math.h>
83589 #ifdef HAVE_IEEEFP_H
83590 #include <ieeefp.h>
83591 #endif
83594 main ()
83596 isinff(0);
83598 return 0;
83600 _ACEOF
83601 rm -f conftest.$ac_objext
83602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83603 (eval $ac_compile) 2>conftest.er1
83604 ac_status=$?
83605 grep -v '^ *+' conftest.er1 >conftest.err
83606 rm -f conftest.er1
83607 cat conftest.err >&5
83608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83609 (exit $ac_status); } &&
83610 { ac_try='test -z "$ac_cxx_werror_flag"
83611 || test ! -s conftest.err'
83612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83613 (eval $ac_try) 2>&5
83614 ac_status=$?
83615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83616 (exit $ac_status); }; } &&
83617 { ac_try='test -s conftest.$ac_objext'
83618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83619 (eval $ac_try) 2>&5
83620 ac_status=$?
83621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83622 (exit $ac_status); }; }; then
83623 glibcxx_cv_func_isinff_use=yes
83624 else
83625 echo "$as_me: failed program was:" >&5
83626 sed 's/^/| /' conftest.$ac_ext >&5
83628 glibcxx_cv_func_isinff_use=no
83630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83631 ac_ext=c
83632 ac_cpp='$CPP $CPPFLAGS'
83633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
83642 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
83644 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
83646 for ac_func in isinff
83648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83649 echo "$as_me:$LINENO: checking for $ac_func" >&5
83650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83651 if eval "test \"\${$as_ac_var+set}\" = set"; then
83652 echo $ECHO_N "(cached) $ECHO_C" >&6
83653 else
83654 if test x$gcc_no_link = xyes; then
83655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83657 { (exit 1); exit 1; }; }
83659 cat >conftest.$ac_ext <<_ACEOF
83660 /* confdefs.h. */
83661 _ACEOF
83662 cat confdefs.h >>conftest.$ac_ext
83663 cat >>conftest.$ac_ext <<_ACEOF
83664 /* end confdefs.h. */
83665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83667 #define $ac_func innocuous_$ac_func
83669 /* System header to define __stub macros and hopefully few prototypes,
83670 which can conflict with char $ac_func (); below.
83671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83672 <limits.h> exists even on freestanding compilers. */
83674 #ifdef __STDC__
83675 # include <limits.h>
83676 #else
83677 # include <assert.h>
83678 #endif
83680 #undef $ac_func
83682 /* Override any gcc2 internal prototype to avoid an error. */
83683 #ifdef __cplusplus
83684 extern "C"
83686 #endif
83687 /* We use char because int might match the return type of a gcc2
83688 builtin and then its argument prototype would still apply. */
83689 char $ac_func ();
83690 /* The GNU C library defines this for functions which it implements
83691 to always fail with ENOSYS. Some functions are actually named
83692 something starting with __ and the normal name is an alias. */
83693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83694 choke me
83695 #else
83696 char (*f) () = $ac_func;
83697 #endif
83698 #ifdef __cplusplus
83700 #endif
83703 main ()
83705 return f != $ac_func;
83707 return 0;
83709 _ACEOF
83710 rm -f conftest.$ac_objext conftest$ac_exeext
83711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83712 (eval $ac_link) 2>conftest.er1
83713 ac_status=$?
83714 grep -v '^ *+' conftest.er1 >conftest.err
83715 rm -f conftest.er1
83716 cat conftest.err >&5
83717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83718 (exit $ac_status); } &&
83719 { ac_try='test -z "$ac_c_werror_flag"
83720 || test ! -s conftest.err'
83721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83722 (eval $ac_try) 2>&5
83723 ac_status=$?
83724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83725 (exit $ac_status); }; } &&
83726 { ac_try='test -s conftest$ac_exeext'
83727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83728 (eval $ac_try) 2>&5
83729 ac_status=$?
83730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83731 (exit $ac_status); }; }; then
83732 eval "$as_ac_var=yes"
83733 else
83734 echo "$as_me: failed program was:" >&5
83735 sed 's/^/| /' conftest.$ac_ext >&5
83737 eval "$as_ac_var=no"
83739 rm -f conftest.err conftest.$ac_objext \
83740 conftest$ac_exeext conftest.$ac_ext
83742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83744 if test `eval echo '${'$as_ac_var'}'` = yes; then
83745 cat >>confdefs.h <<_ACEOF
83746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83747 _ACEOF
83750 done
83752 else
83754 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
83755 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
83756 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
83757 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
83758 echo $ECHO_N "(cached) $ECHO_C" >&6
83759 else
83763 ac_ext=cc
83764 ac_cpp='$CXXCPP $CPPFLAGS'
83765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83769 cat >conftest.$ac_ext <<_ACEOF
83770 /* confdefs.h. */
83771 _ACEOF
83772 cat confdefs.h >>conftest.$ac_ext
83773 cat >>conftest.$ac_ext <<_ACEOF
83774 /* end confdefs.h. */
83775 #include <math.h>
83776 #ifdef HAVE_IEEEFP_H
83777 #include <ieeefp.h>
83778 #endif
83781 main ()
83783 _isinff(0);
83785 return 0;
83787 _ACEOF
83788 rm -f conftest.$ac_objext
83789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83790 (eval $ac_compile) 2>conftest.er1
83791 ac_status=$?
83792 grep -v '^ *+' conftest.er1 >conftest.err
83793 rm -f conftest.er1
83794 cat conftest.err >&5
83795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796 (exit $ac_status); } &&
83797 { ac_try='test -z "$ac_cxx_werror_flag"
83798 || test ! -s conftest.err'
83799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83800 (eval $ac_try) 2>&5
83801 ac_status=$?
83802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83803 (exit $ac_status); }; } &&
83804 { ac_try='test -s conftest.$ac_objext'
83805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83806 (eval $ac_try) 2>&5
83807 ac_status=$?
83808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83809 (exit $ac_status); }; }; then
83810 glibcxx_cv_func__isinff_use=yes
83811 else
83812 echo "$as_me: failed program was:" >&5
83813 sed 's/^/| /' conftest.$ac_ext >&5
83815 glibcxx_cv_func__isinff_use=no
83817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83818 ac_ext=c
83819 ac_cpp='$CPP $CPPFLAGS'
83820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
83829 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
83831 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
83833 for ac_func in _isinff
83835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83836 echo "$as_me:$LINENO: checking for $ac_func" >&5
83837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83838 if eval "test \"\${$as_ac_var+set}\" = set"; then
83839 echo $ECHO_N "(cached) $ECHO_C" >&6
83840 else
83841 if test x$gcc_no_link = xyes; then
83842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83844 { (exit 1); exit 1; }; }
83846 cat >conftest.$ac_ext <<_ACEOF
83847 /* confdefs.h. */
83848 _ACEOF
83849 cat confdefs.h >>conftest.$ac_ext
83850 cat >>conftest.$ac_ext <<_ACEOF
83851 /* end confdefs.h. */
83852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83854 #define $ac_func innocuous_$ac_func
83856 /* System header to define __stub macros and hopefully few prototypes,
83857 which can conflict with char $ac_func (); below.
83858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83859 <limits.h> exists even on freestanding compilers. */
83861 #ifdef __STDC__
83862 # include <limits.h>
83863 #else
83864 # include <assert.h>
83865 #endif
83867 #undef $ac_func
83869 /* Override any gcc2 internal prototype to avoid an error. */
83870 #ifdef __cplusplus
83871 extern "C"
83873 #endif
83874 /* We use char because int might match the return type of a gcc2
83875 builtin and then its argument prototype would still apply. */
83876 char $ac_func ();
83877 /* The GNU C library defines this for functions which it implements
83878 to always fail with ENOSYS. Some functions are actually named
83879 something starting with __ and the normal name is an alias. */
83880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83881 choke me
83882 #else
83883 char (*f) () = $ac_func;
83884 #endif
83885 #ifdef __cplusplus
83887 #endif
83890 main ()
83892 return f != $ac_func;
83894 return 0;
83896 _ACEOF
83897 rm -f conftest.$ac_objext conftest$ac_exeext
83898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83899 (eval $ac_link) 2>conftest.er1
83900 ac_status=$?
83901 grep -v '^ *+' conftest.er1 >conftest.err
83902 rm -f conftest.er1
83903 cat conftest.err >&5
83904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905 (exit $ac_status); } &&
83906 { ac_try='test -z "$ac_c_werror_flag"
83907 || test ! -s conftest.err'
83908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83909 (eval $ac_try) 2>&5
83910 ac_status=$?
83911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83912 (exit $ac_status); }; } &&
83913 { ac_try='test -s conftest$ac_exeext'
83914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83915 (eval $ac_try) 2>&5
83916 ac_status=$?
83917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83918 (exit $ac_status); }; }; then
83919 eval "$as_ac_var=yes"
83920 else
83921 echo "$as_me: failed program was:" >&5
83922 sed 's/^/| /' conftest.$ac_ext >&5
83924 eval "$as_ac_var=no"
83926 rm -f conftest.err conftest.$ac_objext \
83927 conftest$ac_exeext conftest.$ac_ext
83929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83931 if test `eval echo '${'$as_ac_var'}'` = yes; then
83932 cat >>confdefs.h <<_ACEOF
83933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83934 _ACEOF
83937 done
83947 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
83948 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
83949 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
83950 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
83951 echo $ECHO_N "(cached) $ECHO_C" >&6
83952 else
83956 ac_ext=cc
83957 ac_cpp='$CXXCPP $CPPFLAGS'
83958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83962 cat >conftest.$ac_ext <<_ACEOF
83963 /* confdefs.h. */
83964 _ACEOF
83965 cat confdefs.h >>conftest.$ac_ext
83966 cat >>conftest.$ac_ext <<_ACEOF
83967 /* end confdefs.h. */
83968 #include <math.h>
83970 main ()
83972 atan2f(0, 0);
83974 return 0;
83976 _ACEOF
83977 rm -f conftest.$ac_objext
83978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83979 (eval $ac_compile) 2>conftest.er1
83980 ac_status=$?
83981 grep -v '^ *+' conftest.er1 >conftest.err
83982 rm -f conftest.er1
83983 cat conftest.err >&5
83984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83985 (exit $ac_status); } &&
83986 { ac_try='test -z "$ac_cxx_werror_flag"
83987 || test ! -s conftest.err'
83988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83989 (eval $ac_try) 2>&5
83990 ac_status=$?
83991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83992 (exit $ac_status); }; } &&
83993 { ac_try='test -s conftest.$ac_objext'
83994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83995 (eval $ac_try) 2>&5
83996 ac_status=$?
83997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83998 (exit $ac_status); }; }; then
83999 glibcxx_cv_func_atan2f_use=yes
84000 else
84001 echo "$as_me: failed program was:" >&5
84002 sed 's/^/| /' conftest.$ac_ext >&5
84004 glibcxx_cv_func_atan2f_use=no
84006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84007 ac_ext=c
84008 ac_cpp='$CPP $CPPFLAGS'
84009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
84018 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
84020 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
84022 for ac_func in atan2f
84024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84025 echo "$as_me:$LINENO: checking for $ac_func" >&5
84026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84027 if eval "test \"\${$as_ac_var+set}\" = set"; then
84028 echo $ECHO_N "(cached) $ECHO_C" >&6
84029 else
84030 if test x$gcc_no_link = xyes; then
84031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84033 { (exit 1); exit 1; }; }
84035 cat >conftest.$ac_ext <<_ACEOF
84036 /* confdefs.h. */
84037 _ACEOF
84038 cat confdefs.h >>conftest.$ac_ext
84039 cat >>conftest.$ac_ext <<_ACEOF
84040 /* end confdefs.h. */
84041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84043 #define $ac_func innocuous_$ac_func
84045 /* System header to define __stub macros and hopefully few prototypes,
84046 which can conflict with char $ac_func (); below.
84047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84048 <limits.h> exists even on freestanding compilers. */
84050 #ifdef __STDC__
84051 # include <limits.h>
84052 #else
84053 # include <assert.h>
84054 #endif
84056 #undef $ac_func
84058 /* Override any gcc2 internal prototype to avoid an error. */
84059 #ifdef __cplusplus
84060 extern "C"
84062 #endif
84063 /* We use char because int might match the return type of a gcc2
84064 builtin and then its argument prototype would still apply. */
84065 char $ac_func ();
84066 /* The GNU C library defines this for functions which it implements
84067 to always fail with ENOSYS. Some functions are actually named
84068 something starting with __ and the normal name is an alias. */
84069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84070 choke me
84071 #else
84072 char (*f) () = $ac_func;
84073 #endif
84074 #ifdef __cplusplus
84076 #endif
84079 main ()
84081 return f != $ac_func;
84083 return 0;
84085 _ACEOF
84086 rm -f conftest.$ac_objext conftest$ac_exeext
84087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84088 (eval $ac_link) 2>conftest.er1
84089 ac_status=$?
84090 grep -v '^ *+' conftest.er1 >conftest.err
84091 rm -f conftest.er1
84092 cat conftest.err >&5
84093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84094 (exit $ac_status); } &&
84095 { ac_try='test -z "$ac_c_werror_flag"
84096 || test ! -s conftest.err'
84097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84098 (eval $ac_try) 2>&5
84099 ac_status=$?
84100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84101 (exit $ac_status); }; } &&
84102 { ac_try='test -s conftest$ac_exeext'
84103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84104 (eval $ac_try) 2>&5
84105 ac_status=$?
84106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84107 (exit $ac_status); }; }; then
84108 eval "$as_ac_var=yes"
84109 else
84110 echo "$as_me: failed program was:" >&5
84111 sed 's/^/| /' conftest.$ac_ext >&5
84113 eval "$as_ac_var=no"
84115 rm -f conftest.err conftest.$ac_objext \
84116 conftest$ac_exeext conftest.$ac_ext
84118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84120 if test `eval echo '${'$as_ac_var'}'` = yes; then
84121 cat >>confdefs.h <<_ACEOF
84122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84123 _ACEOF
84126 done
84128 else
84130 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
84131 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
84132 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
84133 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
84134 echo $ECHO_N "(cached) $ECHO_C" >&6
84135 else
84139 ac_ext=cc
84140 ac_cpp='$CXXCPP $CPPFLAGS'
84141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84145 cat >conftest.$ac_ext <<_ACEOF
84146 /* confdefs.h. */
84147 _ACEOF
84148 cat confdefs.h >>conftest.$ac_ext
84149 cat >>conftest.$ac_ext <<_ACEOF
84150 /* end confdefs.h. */
84151 #include <math.h>
84153 main ()
84155 _atan2f(0, 0);
84157 return 0;
84159 _ACEOF
84160 rm -f conftest.$ac_objext
84161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84162 (eval $ac_compile) 2>conftest.er1
84163 ac_status=$?
84164 grep -v '^ *+' conftest.er1 >conftest.err
84165 rm -f conftest.er1
84166 cat conftest.err >&5
84167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84168 (exit $ac_status); } &&
84169 { ac_try='test -z "$ac_cxx_werror_flag"
84170 || test ! -s conftest.err'
84171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84172 (eval $ac_try) 2>&5
84173 ac_status=$?
84174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84175 (exit $ac_status); }; } &&
84176 { ac_try='test -s conftest.$ac_objext'
84177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84178 (eval $ac_try) 2>&5
84179 ac_status=$?
84180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181 (exit $ac_status); }; }; then
84182 glibcxx_cv_func__atan2f_use=yes
84183 else
84184 echo "$as_me: failed program was:" >&5
84185 sed 's/^/| /' conftest.$ac_ext >&5
84187 glibcxx_cv_func__atan2f_use=no
84189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84190 ac_ext=c
84191 ac_cpp='$CPP $CPPFLAGS'
84192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
84201 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
84203 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
84205 for ac_func in _atan2f
84207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84208 echo "$as_me:$LINENO: checking for $ac_func" >&5
84209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84210 if eval "test \"\${$as_ac_var+set}\" = set"; then
84211 echo $ECHO_N "(cached) $ECHO_C" >&6
84212 else
84213 if test x$gcc_no_link = xyes; then
84214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84216 { (exit 1); exit 1; }; }
84218 cat >conftest.$ac_ext <<_ACEOF
84219 /* confdefs.h. */
84220 _ACEOF
84221 cat confdefs.h >>conftest.$ac_ext
84222 cat >>conftest.$ac_ext <<_ACEOF
84223 /* end confdefs.h. */
84224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84226 #define $ac_func innocuous_$ac_func
84228 /* System header to define __stub macros and hopefully few prototypes,
84229 which can conflict with char $ac_func (); below.
84230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84231 <limits.h> exists even on freestanding compilers. */
84233 #ifdef __STDC__
84234 # include <limits.h>
84235 #else
84236 # include <assert.h>
84237 #endif
84239 #undef $ac_func
84241 /* Override any gcc2 internal prototype to avoid an error. */
84242 #ifdef __cplusplus
84243 extern "C"
84245 #endif
84246 /* We use char because int might match the return type of a gcc2
84247 builtin and then its argument prototype would still apply. */
84248 char $ac_func ();
84249 /* The GNU C library defines this for functions which it implements
84250 to always fail with ENOSYS. Some functions are actually named
84251 something starting with __ and the normal name is an alias. */
84252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84253 choke me
84254 #else
84255 char (*f) () = $ac_func;
84256 #endif
84257 #ifdef __cplusplus
84259 #endif
84262 main ()
84264 return f != $ac_func;
84266 return 0;
84268 _ACEOF
84269 rm -f conftest.$ac_objext conftest$ac_exeext
84270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84271 (eval $ac_link) 2>conftest.er1
84272 ac_status=$?
84273 grep -v '^ *+' conftest.er1 >conftest.err
84274 rm -f conftest.er1
84275 cat conftest.err >&5
84276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84277 (exit $ac_status); } &&
84278 { ac_try='test -z "$ac_c_werror_flag"
84279 || test ! -s conftest.err'
84280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84281 (eval $ac_try) 2>&5
84282 ac_status=$?
84283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84284 (exit $ac_status); }; } &&
84285 { ac_try='test -s conftest$ac_exeext'
84286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84287 (eval $ac_try) 2>&5
84288 ac_status=$?
84289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84290 (exit $ac_status); }; }; then
84291 eval "$as_ac_var=yes"
84292 else
84293 echo "$as_me: failed program was:" >&5
84294 sed 's/^/| /' conftest.$ac_ext >&5
84296 eval "$as_ac_var=no"
84298 rm -f conftest.err conftest.$ac_objext \
84299 conftest$ac_exeext conftest.$ac_ext
84301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84303 if test `eval echo '${'$as_ac_var'}'` = yes; then
84304 cat >>confdefs.h <<_ACEOF
84305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84306 _ACEOF
84309 done
84319 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
84320 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
84321 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
84322 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
84323 echo $ECHO_N "(cached) $ECHO_C" >&6
84324 else
84328 ac_ext=cc
84329 ac_cpp='$CXXCPP $CPPFLAGS'
84330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84334 cat >conftest.$ac_ext <<_ACEOF
84335 /* confdefs.h. */
84336 _ACEOF
84337 cat confdefs.h >>conftest.$ac_ext
84338 cat >>conftest.$ac_ext <<_ACEOF
84339 /* end confdefs.h. */
84340 #include <math.h>
84341 #ifdef HAVE_IEEEFP_H
84342 #include <ieeefp.h>
84343 #endif
84346 main ()
84348 fabsf(0);
84350 return 0;
84352 _ACEOF
84353 rm -f conftest.$ac_objext
84354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84355 (eval $ac_compile) 2>conftest.er1
84356 ac_status=$?
84357 grep -v '^ *+' conftest.er1 >conftest.err
84358 rm -f conftest.er1
84359 cat conftest.err >&5
84360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84361 (exit $ac_status); } &&
84362 { ac_try='test -z "$ac_cxx_werror_flag"
84363 || test ! -s conftest.err'
84364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84365 (eval $ac_try) 2>&5
84366 ac_status=$?
84367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84368 (exit $ac_status); }; } &&
84369 { ac_try='test -s conftest.$ac_objext'
84370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84371 (eval $ac_try) 2>&5
84372 ac_status=$?
84373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84374 (exit $ac_status); }; }; then
84375 glibcxx_cv_func_fabsf_use=yes
84376 else
84377 echo "$as_me: failed program was:" >&5
84378 sed 's/^/| /' conftest.$ac_ext >&5
84380 glibcxx_cv_func_fabsf_use=no
84382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84383 ac_ext=c
84384 ac_cpp='$CPP $CPPFLAGS'
84385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
84394 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
84396 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
84398 for ac_func in fabsf
84400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84401 echo "$as_me:$LINENO: checking for $ac_func" >&5
84402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84403 if eval "test \"\${$as_ac_var+set}\" = set"; then
84404 echo $ECHO_N "(cached) $ECHO_C" >&6
84405 else
84406 if test x$gcc_no_link = xyes; then
84407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84409 { (exit 1); exit 1; }; }
84411 cat >conftest.$ac_ext <<_ACEOF
84412 /* confdefs.h. */
84413 _ACEOF
84414 cat confdefs.h >>conftest.$ac_ext
84415 cat >>conftest.$ac_ext <<_ACEOF
84416 /* end confdefs.h. */
84417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84419 #define $ac_func innocuous_$ac_func
84421 /* System header to define __stub macros and hopefully few prototypes,
84422 which can conflict with char $ac_func (); below.
84423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84424 <limits.h> exists even on freestanding compilers. */
84426 #ifdef __STDC__
84427 # include <limits.h>
84428 #else
84429 # include <assert.h>
84430 #endif
84432 #undef $ac_func
84434 /* Override any gcc2 internal prototype to avoid an error. */
84435 #ifdef __cplusplus
84436 extern "C"
84438 #endif
84439 /* We use char because int might match the return type of a gcc2
84440 builtin and then its argument prototype would still apply. */
84441 char $ac_func ();
84442 /* The GNU C library defines this for functions which it implements
84443 to always fail with ENOSYS. Some functions are actually named
84444 something starting with __ and the normal name is an alias. */
84445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84446 choke me
84447 #else
84448 char (*f) () = $ac_func;
84449 #endif
84450 #ifdef __cplusplus
84452 #endif
84455 main ()
84457 return f != $ac_func;
84459 return 0;
84461 _ACEOF
84462 rm -f conftest.$ac_objext conftest$ac_exeext
84463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84464 (eval $ac_link) 2>conftest.er1
84465 ac_status=$?
84466 grep -v '^ *+' conftest.er1 >conftest.err
84467 rm -f conftest.er1
84468 cat conftest.err >&5
84469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84470 (exit $ac_status); } &&
84471 { ac_try='test -z "$ac_c_werror_flag"
84472 || test ! -s conftest.err'
84473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84474 (eval $ac_try) 2>&5
84475 ac_status=$?
84476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84477 (exit $ac_status); }; } &&
84478 { ac_try='test -s conftest$ac_exeext'
84479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84480 (eval $ac_try) 2>&5
84481 ac_status=$?
84482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84483 (exit $ac_status); }; }; then
84484 eval "$as_ac_var=yes"
84485 else
84486 echo "$as_me: failed program was:" >&5
84487 sed 's/^/| /' conftest.$ac_ext >&5
84489 eval "$as_ac_var=no"
84491 rm -f conftest.err conftest.$ac_objext \
84492 conftest$ac_exeext conftest.$ac_ext
84494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84496 if test `eval echo '${'$as_ac_var'}'` = yes; then
84497 cat >>confdefs.h <<_ACEOF
84498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84499 _ACEOF
84502 done
84504 else
84506 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
84507 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
84508 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
84509 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
84510 echo $ECHO_N "(cached) $ECHO_C" >&6
84511 else
84515 ac_ext=cc
84516 ac_cpp='$CXXCPP $CPPFLAGS'
84517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84521 cat >conftest.$ac_ext <<_ACEOF
84522 /* confdefs.h. */
84523 _ACEOF
84524 cat confdefs.h >>conftest.$ac_ext
84525 cat >>conftest.$ac_ext <<_ACEOF
84526 /* end confdefs.h. */
84527 #include <math.h>
84528 #ifdef HAVE_IEEEFP_H
84529 #include <ieeefp.h>
84530 #endif
84533 main ()
84535 _fabsf(0);
84537 return 0;
84539 _ACEOF
84540 rm -f conftest.$ac_objext
84541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84542 (eval $ac_compile) 2>conftest.er1
84543 ac_status=$?
84544 grep -v '^ *+' conftest.er1 >conftest.err
84545 rm -f conftest.er1
84546 cat conftest.err >&5
84547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84548 (exit $ac_status); } &&
84549 { ac_try='test -z "$ac_cxx_werror_flag"
84550 || test ! -s conftest.err'
84551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84552 (eval $ac_try) 2>&5
84553 ac_status=$?
84554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84555 (exit $ac_status); }; } &&
84556 { ac_try='test -s conftest.$ac_objext'
84557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84558 (eval $ac_try) 2>&5
84559 ac_status=$?
84560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84561 (exit $ac_status); }; }; then
84562 glibcxx_cv_func__fabsf_use=yes
84563 else
84564 echo "$as_me: failed program was:" >&5
84565 sed 's/^/| /' conftest.$ac_ext >&5
84567 glibcxx_cv_func__fabsf_use=no
84569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84570 ac_ext=c
84571 ac_cpp='$CPP $CPPFLAGS'
84572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
84581 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
84583 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
84585 for ac_func in _fabsf
84587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84588 echo "$as_me:$LINENO: checking for $ac_func" >&5
84589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84590 if eval "test \"\${$as_ac_var+set}\" = set"; then
84591 echo $ECHO_N "(cached) $ECHO_C" >&6
84592 else
84593 if test x$gcc_no_link = xyes; then
84594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84596 { (exit 1); exit 1; }; }
84598 cat >conftest.$ac_ext <<_ACEOF
84599 /* confdefs.h. */
84600 _ACEOF
84601 cat confdefs.h >>conftest.$ac_ext
84602 cat >>conftest.$ac_ext <<_ACEOF
84603 /* end confdefs.h. */
84604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84606 #define $ac_func innocuous_$ac_func
84608 /* System header to define __stub macros and hopefully few prototypes,
84609 which can conflict with char $ac_func (); below.
84610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84611 <limits.h> exists even on freestanding compilers. */
84613 #ifdef __STDC__
84614 # include <limits.h>
84615 #else
84616 # include <assert.h>
84617 #endif
84619 #undef $ac_func
84621 /* Override any gcc2 internal prototype to avoid an error. */
84622 #ifdef __cplusplus
84623 extern "C"
84625 #endif
84626 /* We use char because int might match the return type of a gcc2
84627 builtin and then its argument prototype would still apply. */
84628 char $ac_func ();
84629 /* The GNU C library defines this for functions which it implements
84630 to always fail with ENOSYS. Some functions are actually named
84631 something starting with __ and the normal name is an alias. */
84632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84633 choke me
84634 #else
84635 char (*f) () = $ac_func;
84636 #endif
84637 #ifdef __cplusplus
84639 #endif
84642 main ()
84644 return f != $ac_func;
84646 return 0;
84648 _ACEOF
84649 rm -f conftest.$ac_objext conftest$ac_exeext
84650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84651 (eval $ac_link) 2>conftest.er1
84652 ac_status=$?
84653 grep -v '^ *+' conftest.er1 >conftest.err
84654 rm -f conftest.er1
84655 cat conftest.err >&5
84656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84657 (exit $ac_status); } &&
84658 { ac_try='test -z "$ac_c_werror_flag"
84659 || test ! -s conftest.err'
84660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84661 (eval $ac_try) 2>&5
84662 ac_status=$?
84663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84664 (exit $ac_status); }; } &&
84665 { ac_try='test -s conftest$ac_exeext'
84666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84667 (eval $ac_try) 2>&5
84668 ac_status=$?
84669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670 (exit $ac_status); }; }; then
84671 eval "$as_ac_var=yes"
84672 else
84673 echo "$as_me: failed program was:" >&5
84674 sed 's/^/| /' conftest.$ac_ext >&5
84676 eval "$as_ac_var=no"
84678 rm -f conftest.err conftest.$ac_objext \
84679 conftest$ac_exeext conftest.$ac_ext
84681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84683 if test `eval echo '${'$as_ac_var'}'` = yes; then
84684 cat >>confdefs.h <<_ACEOF
84685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84686 _ACEOF
84689 done
84699 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
84700 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
84701 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
84702 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
84703 echo $ECHO_N "(cached) $ECHO_C" >&6
84704 else
84708 ac_ext=cc
84709 ac_cpp='$CXXCPP $CPPFLAGS'
84710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84714 cat >conftest.$ac_ext <<_ACEOF
84715 /* confdefs.h. */
84716 _ACEOF
84717 cat confdefs.h >>conftest.$ac_ext
84718 cat >>conftest.$ac_ext <<_ACEOF
84719 /* end confdefs.h. */
84720 #include <math.h>
84722 main ()
84724 fmodf(0, 0);
84726 return 0;
84728 _ACEOF
84729 rm -f conftest.$ac_objext
84730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84731 (eval $ac_compile) 2>conftest.er1
84732 ac_status=$?
84733 grep -v '^ *+' conftest.er1 >conftest.err
84734 rm -f conftest.er1
84735 cat conftest.err >&5
84736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84737 (exit $ac_status); } &&
84738 { ac_try='test -z "$ac_cxx_werror_flag"
84739 || test ! -s conftest.err'
84740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84741 (eval $ac_try) 2>&5
84742 ac_status=$?
84743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84744 (exit $ac_status); }; } &&
84745 { ac_try='test -s conftest.$ac_objext'
84746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84747 (eval $ac_try) 2>&5
84748 ac_status=$?
84749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84750 (exit $ac_status); }; }; then
84751 glibcxx_cv_func_fmodf_use=yes
84752 else
84753 echo "$as_me: failed program was:" >&5
84754 sed 's/^/| /' conftest.$ac_ext >&5
84756 glibcxx_cv_func_fmodf_use=no
84758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84759 ac_ext=c
84760 ac_cpp='$CPP $CPPFLAGS'
84761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
84770 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
84772 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
84774 for ac_func in fmodf
84776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84777 echo "$as_me:$LINENO: checking for $ac_func" >&5
84778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84779 if eval "test \"\${$as_ac_var+set}\" = set"; then
84780 echo $ECHO_N "(cached) $ECHO_C" >&6
84781 else
84782 if test x$gcc_no_link = xyes; then
84783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84785 { (exit 1); exit 1; }; }
84787 cat >conftest.$ac_ext <<_ACEOF
84788 /* confdefs.h. */
84789 _ACEOF
84790 cat confdefs.h >>conftest.$ac_ext
84791 cat >>conftest.$ac_ext <<_ACEOF
84792 /* end confdefs.h. */
84793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84795 #define $ac_func innocuous_$ac_func
84797 /* System header to define __stub macros and hopefully few prototypes,
84798 which can conflict with char $ac_func (); below.
84799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84800 <limits.h> exists even on freestanding compilers. */
84802 #ifdef __STDC__
84803 # include <limits.h>
84804 #else
84805 # include <assert.h>
84806 #endif
84808 #undef $ac_func
84810 /* Override any gcc2 internal prototype to avoid an error. */
84811 #ifdef __cplusplus
84812 extern "C"
84814 #endif
84815 /* We use char because int might match the return type of a gcc2
84816 builtin and then its argument prototype would still apply. */
84817 char $ac_func ();
84818 /* The GNU C library defines this for functions which it implements
84819 to always fail with ENOSYS. Some functions are actually named
84820 something starting with __ and the normal name is an alias. */
84821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84822 choke me
84823 #else
84824 char (*f) () = $ac_func;
84825 #endif
84826 #ifdef __cplusplus
84828 #endif
84831 main ()
84833 return f != $ac_func;
84835 return 0;
84837 _ACEOF
84838 rm -f conftest.$ac_objext conftest$ac_exeext
84839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84840 (eval $ac_link) 2>conftest.er1
84841 ac_status=$?
84842 grep -v '^ *+' conftest.er1 >conftest.err
84843 rm -f conftest.er1
84844 cat conftest.err >&5
84845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84846 (exit $ac_status); } &&
84847 { ac_try='test -z "$ac_c_werror_flag"
84848 || test ! -s conftest.err'
84849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84850 (eval $ac_try) 2>&5
84851 ac_status=$?
84852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84853 (exit $ac_status); }; } &&
84854 { ac_try='test -s conftest$ac_exeext'
84855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84856 (eval $ac_try) 2>&5
84857 ac_status=$?
84858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84859 (exit $ac_status); }; }; then
84860 eval "$as_ac_var=yes"
84861 else
84862 echo "$as_me: failed program was:" >&5
84863 sed 's/^/| /' conftest.$ac_ext >&5
84865 eval "$as_ac_var=no"
84867 rm -f conftest.err conftest.$ac_objext \
84868 conftest$ac_exeext conftest.$ac_ext
84870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84872 if test `eval echo '${'$as_ac_var'}'` = yes; then
84873 cat >>confdefs.h <<_ACEOF
84874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84875 _ACEOF
84878 done
84880 else
84882 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
84883 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
84884 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
84885 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
84886 echo $ECHO_N "(cached) $ECHO_C" >&6
84887 else
84891 ac_ext=cc
84892 ac_cpp='$CXXCPP $CPPFLAGS'
84893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84897 cat >conftest.$ac_ext <<_ACEOF
84898 /* confdefs.h. */
84899 _ACEOF
84900 cat confdefs.h >>conftest.$ac_ext
84901 cat >>conftest.$ac_ext <<_ACEOF
84902 /* end confdefs.h. */
84903 #include <math.h>
84905 main ()
84907 _fmodf(0, 0);
84909 return 0;
84911 _ACEOF
84912 rm -f conftest.$ac_objext
84913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84914 (eval $ac_compile) 2>conftest.er1
84915 ac_status=$?
84916 grep -v '^ *+' conftest.er1 >conftest.err
84917 rm -f conftest.er1
84918 cat conftest.err >&5
84919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84920 (exit $ac_status); } &&
84921 { ac_try='test -z "$ac_cxx_werror_flag"
84922 || test ! -s conftest.err'
84923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84924 (eval $ac_try) 2>&5
84925 ac_status=$?
84926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84927 (exit $ac_status); }; } &&
84928 { ac_try='test -s conftest.$ac_objext'
84929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84930 (eval $ac_try) 2>&5
84931 ac_status=$?
84932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84933 (exit $ac_status); }; }; then
84934 glibcxx_cv_func__fmodf_use=yes
84935 else
84936 echo "$as_me: failed program was:" >&5
84937 sed 's/^/| /' conftest.$ac_ext >&5
84939 glibcxx_cv_func__fmodf_use=no
84941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84942 ac_ext=c
84943 ac_cpp='$CPP $CPPFLAGS'
84944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
84953 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
84955 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
84957 for ac_func in _fmodf
84959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84960 echo "$as_me:$LINENO: checking for $ac_func" >&5
84961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84962 if eval "test \"\${$as_ac_var+set}\" = set"; then
84963 echo $ECHO_N "(cached) $ECHO_C" >&6
84964 else
84965 if test x$gcc_no_link = xyes; then
84966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84968 { (exit 1); exit 1; }; }
84970 cat >conftest.$ac_ext <<_ACEOF
84971 /* confdefs.h. */
84972 _ACEOF
84973 cat confdefs.h >>conftest.$ac_ext
84974 cat >>conftest.$ac_ext <<_ACEOF
84975 /* end confdefs.h. */
84976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84978 #define $ac_func innocuous_$ac_func
84980 /* System header to define __stub macros and hopefully few prototypes,
84981 which can conflict with char $ac_func (); below.
84982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84983 <limits.h> exists even on freestanding compilers. */
84985 #ifdef __STDC__
84986 # include <limits.h>
84987 #else
84988 # include <assert.h>
84989 #endif
84991 #undef $ac_func
84993 /* Override any gcc2 internal prototype to avoid an error. */
84994 #ifdef __cplusplus
84995 extern "C"
84997 #endif
84998 /* We use char because int might match the return type of a gcc2
84999 builtin and then its argument prototype would still apply. */
85000 char $ac_func ();
85001 /* The GNU C library defines this for functions which it implements
85002 to always fail with ENOSYS. Some functions are actually named
85003 something starting with __ and the normal name is an alias. */
85004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85005 choke me
85006 #else
85007 char (*f) () = $ac_func;
85008 #endif
85009 #ifdef __cplusplus
85011 #endif
85014 main ()
85016 return f != $ac_func;
85018 return 0;
85020 _ACEOF
85021 rm -f conftest.$ac_objext conftest$ac_exeext
85022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85023 (eval $ac_link) 2>conftest.er1
85024 ac_status=$?
85025 grep -v '^ *+' conftest.er1 >conftest.err
85026 rm -f conftest.er1
85027 cat conftest.err >&5
85028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85029 (exit $ac_status); } &&
85030 { ac_try='test -z "$ac_c_werror_flag"
85031 || test ! -s conftest.err'
85032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85033 (eval $ac_try) 2>&5
85034 ac_status=$?
85035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85036 (exit $ac_status); }; } &&
85037 { ac_try='test -s conftest$ac_exeext'
85038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85039 (eval $ac_try) 2>&5
85040 ac_status=$?
85041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85042 (exit $ac_status); }; }; then
85043 eval "$as_ac_var=yes"
85044 else
85045 echo "$as_me: failed program was:" >&5
85046 sed 's/^/| /' conftest.$ac_ext >&5
85048 eval "$as_ac_var=no"
85050 rm -f conftest.err conftest.$ac_objext \
85051 conftest$ac_exeext conftest.$ac_ext
85053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85055 if test `eval echo '${'$as_ac_var'}'` = yes; then
85056 cat >>confdefs.h <<_ACEOF
85057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85058 _ACEOF
85061 done
85071 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
85072 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
85073 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
85074 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
85075 echo $ECHO_N "(cached) $ECHO_C" >&6
85076 else
85080 ac_ext=cc
85081 ac_cpp='$CXXCPP $CPPFLAGS'
85082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85086 cat >conftest.$ac_ext <<_ACEOF
85087 /* confdefs.h. */
85088 _ACEOF
85089 cat confdefs.h >>conftest.$ac_ext
85090 cat >>conftest.$ac_ext <<_ACEOF
85091 /* end confdefs.h. */
85092 #include <math.h>
85094 main ()
85096 frexpf(0, 0);
85098 return 0;
85100 _ACEOF
85101 rm -f conftest.$ac_objext
85102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85103 (eval $ac_compile) 2>conftest.er1
85104 ac_status=$?
85105 grep -v '^ *+' conftest.er1 >conftest.err
85106 rm -f conftest.er1
85107 cat conftest.err >&5
85108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85109 (exit $ac_status); } &&
85110 { ac_try='test -z "$ac_cxx_werror_flag"
85111 || test ! -s conftest.err'
85112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85113 (eval $ac_try) 2>&5
85114 ac_status=$?
85115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85116 (exit $ac_status); }; } &&
85117 { ac_try='test -s conftest.$ac_objext'
85118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85119 (eval $ac_try) 2>&5
85120 ac_status=$?
85121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122 (exit $ac_status); }; }; then
85123 glibcxx_cv_func_frexpf_use=yes
85124 else
85125 echo "$as_me: failed program was:" >&5
85126 sed 's/^/| /' conftest.$ac_ext >&5
85128 glibcxx_cv_func_frexpf_use=no
85130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85131 ac_ext=c
85132 ac_cpp='$CPP $CPPFLAGS'
85133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
85142 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
85144 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
85146 for ac_func in frexpf
85148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85149 echo "$as_me:$LINENO: checking for $ac_func" >&5
85150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85151 if eval "test \"\${$as_ac_var+set}\" = set"; then
85152 echo $ECHO_N "(cached) $ECHO_C" >&6
85153 else
85154 if test x$gcc_no_link = xyes; then
85155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85157 { (exit 1); exit 1; }; }
85159 cat >conftest.$ac_ext <<_ACEOF
85160 /* confdefs.h. */
85161 _ACEOF
85162 cat confdefs.h >>conftest.$ac_ext
85163 cat >>conftest.$ac_ext <<_ACEOF
85164 /* end confdefs.h. */
85165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85167 #define $ac_func innocuous_$ac_func
85169 /* System header to define __stub macros and hopefully few prototypes,
85170 which can conflict with char $ac_func (); below.
85171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85172 <limits.h> exists even on freestanding compilers. */
85174 #ifdef __STDC__
85175 # include <limits.h>
85176 #else
85177 # include <assert.h>
85178 #endif
85180 #undef $ac_func
85182 /* Override any gcc2 internal prototype to avoid an error. */
85183 #ifdef __cplusplus
85184 extern "C"
85186 #endif
85187 /* We use char because int might match the return type of a gcc2
85188 builtin and then its argument prototype would still apply. */
85189 char $ac_func ();
85190 /* The GNU C library defines this for functions which it implements
85191 to always fail with ENOSYS. Some functions are actually named
85192 something starting with __ and the normal name is an alias. */
85193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85194 choke me
85195 #else
85196 char (*f) () = $ac_func;
85197 #endif
85198 #ifdef __cplusplus
85200 #endif
85203 main ()
85205 return f != $ac_func;
85207 return 0;
85209 _ACEOF
85210 rm -f conftest.$ac_objext conftest$ac_exeext
85211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85212 (eval $ac_link) 2>conftest.er1
85213 ac_status=$?
85214 grep -v '^ *+' conftest.er1 >conftest.err
85215 rm -f conftest.er1
85216 cat conftest.err >&5
85217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85218 (exit $ac_status); } &&
85219 { ac_try='test -z "$ac_c_werror_flag"
85220 || test ! -s conftest.err'
85221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85222 (eval $ac_try) 2>&5
85223 ac_status=$?
85224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85225 (exit $ac_status); }; } &&
85226 { ac_try='test -s conftest$ac_exeext'
85227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85228 (eval $ac_try) 2>&5
85229 ac_status=$?
85230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85231 (exit $ac_status); }; }; then
85232 eval "$as_ac_var=yes"
85233 else
85234 echo "$as_me: failed program was:" >&5
85235 sed 's/^/| /' conftest.$ac_ext >&5
85237 eval "$as_ac_var=no"
85239 rm -f conftest.err conftest.$ac_objext \
85240 conftest$ac_exeext conftest.$ac_ext
85242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85244 if test `eval echo '${'$as_ac_var'}'` = yes; then
85245 cat >>confdefs.h <<_ACEOF
85246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85247 _ACEOF
85250 done
85252 else
85254 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
85255 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
85256 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
85257 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
85258 echo $ECHO_N "(cached) $ECHO_C" >&6
85259 else
85263 ac_ext=cc
85264 ac_cpp='$CXXCPP $CPPFLAGS'
85265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85269 cat >conftest.$ac_ext <<_ACEOF
85270 /* confdefs.h. */
85271 _ACEOF
85272 cat confdefs.h >>conftest.$ac_ext
85273 cat >>conftest.$ac_ext <<_ACEOF
85274 /* end confdefs.h. */
85275 #include <math.h>
85277 main ()
85279 _frexpf(0, 0);
85281 return 0;
85283 _ACEOF
85284 rm -f conftest.$ac_objext
85285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85286 (eval $ac_compile) 2>conftest.er1
85287 ac_status=$?
85288 grep -v '^ *+' conftest.er1 >conftest.err
85289 rm -f conftest.er1
85290 cat conftest.err >&5
85291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85292 (exit $ac_status); } &&
85293 { ac_try='test -z "$ac_cxx_werror_flag"
85294 || test ! -s conftest.err'
85295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85296 (eval $ac_try) 2>&5
85297 ac_status=$?
85298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85299 (exit $ac_status); }; } &&
85300 { ac_try='test -s conftest.$ac_objext'
85301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85302 (eval $ac_try) 2>&5
85303 ac_status=$?
85304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85305 (exit $ac_status); }; }; then
85306 glibcxx_cv_func__frexpf_use=yes
85307 else
85308 echo "$as_me: failed program was:" >&5
85309 sed 's/^/| /' conftest.$ac_ext >&5
85311 glibcxx_cv_func__frexpf_use=no
85313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85314 ac_ext=c
85315 ac_cpp='$CPP $CPPFLAGS'
85316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
85325 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
85327 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
85329 for ac_func in _frexpf
85331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85332 echo "$as_me:$LINENO: checking for $ac_func" >&5
85333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85334 if eval "test \"\${$as_ac_var+set}\" = set"; then
85335 echo $ECHO_N "(cached) $ECHO_C" >&6
85336 else
85337 if test x$gcc_no_link = xyes; then
85338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85340 { (exit 1); exit 1; }; }
85342 cat >conftest.$ac_ext <<_ACEOF
85343 /* confdefs.h. */
85344 _ACEOF
85345 cat confdefs.h >>conftest.$ac_ext
85346 cat >>conftest.$ac_ext <<_ACEOF
85347 /* end confdefs.h. */
85348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85350 #define $ac_func innocuous_$ac_func
85352 /* System header to define __stub macros and hopefully few prototypes,
85353 which can conflict with char $ac_func (); below.
85354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85355 <limits.h> exists even on freestanding compilers. */
85357 #ifdef __STDC__
85358 # include <limits.h>
85359 #else
85360 # include <assert.h>
85361 #endif
85363 #undef $ac_func
85365 /* Override any gcc2 internal prototype to avoid an error. */
85366 #ifdef __cplusplus
85367 extern "C"
85369 #endif
85370 /* We use char because int might match the return type of a gcc2
85371 builtin and then its argument prototype would still apply. */
85372 char $ac_func ();
85373 /* The GNU C library defines this for functions which it implements
85374 to always fail with ENOSYS. Some functions are actually named
85375 something starting with __ and the normal name is an alias. */
85376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85377 choke me
85378 #else
85379 char (*f) () = $ac_func;
85380 #endif
85381 #ifdef __cplusplus
85383 #endif
85386 main ()
85388 return f != $ac_func;
85390 return 0;
85392 _ACEOF
85393 rm -f conftest.$ac_objext conftest$ac_exeext
85394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85395 (eval $ac_link) 2>conftest.er1
85396 ac_status=$?
85397 grep -v '^ *+' conftest.er1 >conftest.err
85398 rm -f conftest.er1
85399 cat conftest.err >&5
85400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85401 (exit $ac_status); } &&
85402 { ac_try='test -z "$ac_c_werror_flag"
85403 || test ! -s conftest.err'
85404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85405 (eval $ac_try) 2>&5
85406 ac_status=$?
85407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85408 (exit $ac_status); }; } &&
85409 { ac_try='test -s conftest$ac_exeext'
85410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85411 (eval $ac_try) 2>&5
85412 ac_status=$?
85413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85414 (exit $ac_status); }; }; then
85415 eval "$as_ac_var=yes"
85416 else
85417 echo "$as_me: failed program was:" >&5
85418 sed 's/^/| /' conftest.$ac_ext >&5
85420 eval "$as_ac_var=no"
85422 rm -f conftest.err conftest.$ac_objext \
85423 conftest$ac_exeext conftest.$ac_ext
85425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85427 if test `eval echo '${'$as_ac_var'}'` = yes; then
85428 cat >>confdefs.h <<_ACEOF
85429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85430 _ACEOF
85433 done
85443 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
85444 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
85445 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
85446 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
85447 echo $ECHO_N "(cached) $ECHO_C" >&6
85448 else
85452 ac_ext=cc
85453 ac_cpp='$CXXCPP $CPPFLAGS'
85454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85458 cat >conftest.$ac_ext <<_ACEOF
85459 /* confdefs.h. */
85460 _ACEOF
85461 cat confdefs.h >>conftest.$ac_ext
85462 cat >>conftest.$ac_ext <<_ACEOF
85463 /* end confdefs.h. */
85464 #include <math.h>
85466 main ()
85468 hypotf(0, 0);
85470 return 0;
85472 _ACEOF
85473 rm -f conftest.$ac_objext
85474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85475 (eval $ac_compile) 2>conftest.er1
85476 ac_status=$?
85477 grep -v '^ *+' conftest.er1 >conftest.err
85478 rm -f conftest.er1
85479 cat conftest.err >&5
85480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85481 (exit $ac_status); } &&
85482 { ac_try='test -z "$ac_cxx_werror_flag"
85483 || test ! -s conftest.err'
85484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85485 (eval $ac_try) 2>&5
85486 ac_status=$?
85487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85488 (exit $ac_status); }; } &&
85489 { ac_try='test -s conftest.$ac_objext'
85490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85491 (eval $ac_try) 2>&5
85492 ac_status=$?
85493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85494 (exit $ac_status); }; }; then
85495 glibcxx_cv_func_hypotf_use=yes
85496 else
85497 echo "$as_me: failed program was:" >&5
85498 sed 's/^/| /' conftest.$ac_ext >&5
85500 glibcxx_cv_func_hypotf_use=no
85502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85503 ac_ext=c
85504 ac_cpp='$CPP $CPPFLAGS'
85505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
85514 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
85516 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
85518 for ac_func in hypotf
85520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85521 echo "$as_me:$LINENO: checking for $ac_func" >&5
85522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85523 if eval "test \"\${$as_ac_var+set}\" = set"; then
85524 echo $ECHO_N "(cached) $ECHO_C" >&6
85525 else
85526 if test x$gcc_no_link = xyes; then
85527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85529 { (exit 1); exit 1; }; }
85531 cat >conftest.$ac_ext <<_ACEOF
85532 /* confdefs.h. */
85533 _ACEOF
85534 cat confdefs.h >>conftest.$ac_ext
85535 cat >>conftest.$ac_ext <<_ACEOF
85536 /* end confdefs.h. */
85537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85539 #define $ac_func innocuous_$ac_func
85541 /* System header to define __stub macros and hopefully few prototypes,
85542 which can conflict with char $ac_func (); below.
85543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85544 <limits.h> exists even on freestanding compilers. */
85546 #ifdef __STDC__
85547 # include <limits.h>
85548 #else
85549 # include <assert.h>
85550 #endif
85552 #undef $ac_func
85554 /* Override any gcc2 internal prototype to avoid an error. */
85555 #ifdef __cplusplus
85556 extern "C"
85558 #endif
85559 /* We use char because int might match the return type of a gcc2
85560 builtin and then its argument prototype would still apply. */
85561 char $ac_func ();
85562 /* The GNU C library defines this for functions which it implements
85563 to always fail with ENOSYS. Some functions are actually named
85564 something starting with __ and the normal name is an alias. */
85565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85566 choke me
85567 #else
85568 char (*f) () = $ac_func;
85569 #endif
85570 #ifdef __cplusplus
85572 #endif
85575 main ()
85577 return f != $ac_func;
85579 return 0;
85581 _ACEOF
85582 rm -f conftest.$ac_objext conftest$ac_exeext
85583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85584 (eval $ac_link) 2>conftest.er1
85585 ac_status=$?
85586 grep -v '^ *+' conftest.er1 >conftest.err
85587 rm -f conftest.er1
85588 cat conftest.err >&5
85589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85590 (exit $ac_status); } &&
85591 { ac_try='test -z "$ac_c_werror_flag"
85592 || test ! -s conftest.err'
85593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85594 (eval $ac_try) 2>&5
85595 ac_status=$?
85596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85597 (exit $ac_status); }; } &&
85598 { ac_try='test -s conftest$ac_exeext'
85599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85600 (eval $ac_try) 2>&5
85601 ac_status=$?
85602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85603 (exit $ac_status); }; }; then
85604 eval "$as_ac_var=yes"
85605 else
85606 echo "$as_me: failed program was:" >&5
85607 sed 's/^/| /' conftest.$ac_ext >&5
85609 eval "$as_ac_var=no"
85611 rm -f conftest.err conftest.$ac_objext \
85612 conftest$ac_exeext conftest.$ac_ext
85614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85616 if test `eval echo '${'$as_ac_var'}'` = yes; then
85617 cat >>confdefs.h <<_ACEOF
85618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85619 _ACEOF
85622 done
85624 else
85626 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
85627 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
85628 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
85629 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
85630 echo $ECHO_N "(cached) $ECHO_C" >&6
85631 else
85635 ac_ext=cc
85636 ac_cpp='$CXXCPP $CPPFLAGS'
85637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85641 cat >conftest.$ac_ext <<_ACEOF
85642 /* confdefs.h. */
85643 _ACEOF
85644 cat confdefs.h >>conftest.$ac_ext
85645 cat >>conftest.$ac_ext <<_ACEOF
85646 /* end confdefs.h. */
85647 #include <math.h>
85649 main ()
85651 _hypotf(0, 0);
85653 return 0;
85655 _ACEOF
85656 rm -f conftest.$ac_objext
85657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85658 (eval $ac_compile) 2>conftest.er1
85659 ac_status=$?
85660 grep -v '^ *+' conftest.er1 >conftest.err
85661 rm -f conftest.er1
85662 cat conftest.err >&5
85663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85664 (exit $ac_status); } &&
85665 { ac_try='test -z "$ac_cxx_werror_flag"
85666 || test ! -s conftest.err'
85667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85668 (eval $ac_try) 2>&5
85669 ac_status=$?
85670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85671 (exit $ac_status); }; } &&
85672 { ac_try='test -s conftest.$ac_objext'
85673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85674 (eval $ac_try) 2>&5
85675 ac_status=$?
85676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85677 (exit $ac_status); }; }; then
85678 glibcxx_cv_func__hypotf_use=yes
85679 else
85680 echo "$as_me: failed program was:" >&5
85681 sed 's/^/| /' conftest.$ac_ext >&5
85683 glibcxx_cv_func__hypotf_use=no
85685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85686 ac_ext=c
85687 ac_cpp='$CPP $CPPFLAGS'
85688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
85697 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
85699 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
85701 for ac_func in _hypotf
85703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85704 echo "$as_me:$LINENO: checking for $ac_func" >&5
85705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85706 if eval "test \"\${$as_ac_var+set}\" = set"; then
85707 echo $ECHO_N "(cached) $ECHO_C" >&6
85708 else
85709 if test x$gcc_no_link = xyes; then
85710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85712 { (exit 1); exit 1; }; }
85714 cat >conftest.$ac_ext <<_ACEOF
85715 /* confdefs.h. */
85716 _ACEOF
85717 cat confdefs.h >>conftest.$ac_ext
85718 cat >>conftest.$ac_ext <<_ACEOF
85719 /* end confdefs.h. */
85720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85722 #define $ac_func innocuous_$ac_func
85724 /* System header to define __stub macros and hopefully few prototypes,
85725 which can conflict with char $ac_func (); below.
85726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85727 <limits.h> exists even on freestanding compilers. */
85729 #ifdef __STDC__
85730 # include <limits.h>
85731 #else
85732 # include <assert.h>
85733 #endif
85735 #undef $ac_func
85737 /* Override any gcc2 internal prototype to avoid an error. */
85738 #ifdef __cplusplus
85739 extern "C"
85741 #endif
85742 /* We use char because int might match the return type of a gcc2
85743 builtin and then its argument prototype would still apply. */
85744 char $ac_func ();
85745 /* The GNU C library defines this for functions which it implements
85746 to always fail with ENOSYS. Some functions are actually named
85747 something starting with __ and the normal name is an alias. */
85748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85749 choke me
85750 #else
85751 char (*f) () = $ac_func;
85752 #endif
85753 #ifdef __cplusplus
85755 #endif
85758 main ()
85760 return f != $ac_func;
85762 return 0;
85764 _ACEOF
85765 rm -f conftest.$ac_objext conftest$ac_exeext
85766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85767 (eval $ac_link) 2>conftest.er1
85768 ac_status=$?
85769 grep -v '^ *+' conftest.er1 >conftest.err
85770 rm -f conftest.er1
85771 cat conftest.err >&5
85772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773 (exit $ac_status); } &&
85774 { ac_try='test -z "$ac_c_werror_flag"
85775 || test ! -s conftest.err'
85776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85777 (eval $ac_try) 2>&5
85778 ac_status=$?
85779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85780 (exit $ac_status); }; } &&
85781 { ac_try='test -s conftest$ac_exeext'
85782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85783 (eval $ac_try) 2>&5
85784 ac_status=$?
85785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85786 (exit $ac_status); }; }; then
85787 eval "$as_ac_var=yes"
85788 else
85789 echo "$as_me: failed program was:" >&5
85790 sed 's/^/| /' conftest.$ac_ext >&5
85792 eval "$as_ac_var=no"
85794 rm -f conftest.err conftest.$ac_objext \
85795 conftest$ac_exeext conftest.$ac_ext
85797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85799 if test `eval echo '${'$as_ac_var'}'` = yes; then
85800 cat >>confdefs.h <<_ACEOF
85801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85802 _ACEOF
85805 done
85815 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
85816 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
85817 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
85818 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
85819 echo $ECHO_N "(cached) $ECHO_C" >&6
85820 else
85824 ac_ext=cc
85825 ac_cpp='$CXXCPP $CPPFLAGS'
85826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85830 cat >conftest.$ac_ext <<_ACEOF
85831 /* confdefs.h. */
85832 _ACEOF
85833 cat confdefs.h >>conftest.$ac_ext
85834 cat >>conftest.$ac_ext <<_ACEOF
85835 /* end confdefs.h. */
85836 #include <math.h>
85838 main ()
85840 ldexpf(0, 0);
85842 return 0;
85844 _ACEOF
85845 rm -f conftest.$ac_objext
85846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85847 (eval $ac_compile) 2>conftest.er1
85848 ac_status=$?
85849 grep -v '^ *+' conftest.er1 >conftest.err
85850 rm -f conftest.er1
85851 cat conftest.err >&5
85852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85853 (exit $ac_status); } &&
85854 { ac_try='test -z "$ac_cxx_werror_flag"
85855 || test ! -s conftest.err'
85856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85857 (eval $ac_try) 2>&5
85858 ac_status=$?
85859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85860 (exit $ac_status); }; } &&
85861 { ac_try='test -s conftest.$ac_objext'
85862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85863 (eval $ac_try) 2>&5
85864 ac_status=$?
85865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85866 (exit $ac_status); }; }; then
85867 glibcxx_cv_func_ldexpf_use=yes
85868 else
85869 echo "$as_me: failed program was:" >&5
85870 sed 's/^/| /' conftest.$ac_ext >&5
85872 glibcxx_cv_func_ldexpf_use=no
85874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85875 ac_ext=c
85876 ac_cpp='$CPP $CPPFLAGS'
85877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
85886 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
85888 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
85890 for ac_func in ldexpf
85892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85893 echo "$as_me:$LINENO: checking for $ac_func" >&5
85894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85895 if eval "test \"\${$as_ac_var+set}\" = set"; then
85896 echo $ECHO_N "(cached) $ECHO_C" >&6
85897 else
85898 if test x$gcc_no_link = xyes; then
85899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85901 { (exit 1); exit 1; }; }
85903 cat >conftest.$ac_ext <<_ACEOF
85904 /* confdefs.h. */
85905 _ACEOF
85906 cat confdefs.h >>conftest.$ac_ext
85907 cat >>conftest.$ac_ext <<_ACEOF
85908 /* end confdefs.h. */
85909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85911 #define $ac_func innocuous_$ac_func
85913 /* System header to define __stub macros and hopefully few prototypes,
85914 which can conflict with char $ac_func (); below.
85915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85916 <limits.h> exists even on freestanding compilers. */
85918 #ifdef __STDC__
85919 # include <limits.h>
85920 #else
85921 # include <assert.h>
85922 #endif
85924 #undef $ac_func
85926 /* Override any gcc2 internal prototype to avoid an error. */
85927 #ifdef __cplusplus
85928 extern "C"
85930 #endif
85931 /* We use char because int might match the return type of a gcc2
85932 builtin and then its argument prototype would still apply. */
85933 char $ac_func ();
85934 /* The GNU C library defines this for functions which it implements
85935 to always fail with ENOSYS. Some functions are actually named
85936 something starting with __ and the normal name is an alias. */
85937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85938 choke me
85939 #else
85940 char (*f) () = $ac_func;
85941 #endif
85942 #ifdef __cplusplus
85944 #endif
85947 main ()
85949 return f != $ac_func;
85951 return 0;
85953 _ACEOF
85954 rm -f conftest.$ac_objext conftest$ac_exeext
85955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85956 (eval $ac_link) 2>conftest.er1
85957 ac_status=$?
85958 grep -v '^ *+' conftest.er1 >conftest.err
85959 rm -f conftest.er1
85960 cat conftest.err >&5
85961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85962 (exit $ac_status); } &&
85963 { ac_try='test -z "$ac_c_werror_flag"
85964 || test ! -s conftest.err'
85965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85966 (eval $ac_try) 2>&5
85967 ac_status=$?
85968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85969 (exit $ac_status); }; } &&
85970 { ac_try='test -s conftest$ac_exeext'
85971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85972 (eval $ac_try) 2>&5
85973 ac_status=$?
85974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85975 (exit $ac_status); }; }; then
85976 eval "$as_ac_var=yes"
85977 else
85978 echo "$as_me: failed program was:" >&5
85979 sed 's/^/| /' conftest.$ac_ext >&5
85981 eval "$as_ac_var=no"
85983 rm -f conftest.err conftest.$ac_objext \
85984 conftest$ac_exeext conftest.$ac_ext
85986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85988 if test `eval echo '${'$as_ac_var'}'` = yes; then
85989 cat >>confdefs.h <<_ACEOF
85990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85991 _ACEOF
85994 done
85996 else
85998 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
85999 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
86000 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
86001 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
86002 echo $ECHO_N "(cached) $ECHO_C" >&6
86003 else
86007 ac_ext=cc
86008 ac_cpp='$CXXCPP $CPPFLAGS'
86009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86013 cat >conftest.$ac_ext <<_ACEOF
86014 /* confdefs.h. */
86015 _ACEOF
86016 cat confdefs.h >>conftest.$ac_ext
86017 cat >>conftest.$ac_ext <<_ACEOF
86018 /* end confdefs.h. */
86019 #include <math.h>
86021 main ()
86023 _ldexpf(0, 0);
86025 return 0;
86027 _ACEOF
86028 rm -f conftest.$ac_objext
86029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86030 (eval $ac_compile) 2>conftest.er1
86031 ac_status=$?
86032 grep -v '^ *+' conftest.er1 >conftest.err
86033 rm -f conftest.er1
86034 cat conftest.err >&5
86035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86036 (exit $ac_status); } &&
86037 { ac_try='test -z "$ac_cxx_werror_flag"
86038 || test ! -s conftest.err'
86039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86040 (eval $ac_try) 2>&5
86041 ac_status=$?
86042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86043 (exit $ac_status); }; } &&
86044 { ac_try='test -s conftest.$ac_objext'
86045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86046 (eval $ac_try) 2>&5
86047 ac_status=$?
86048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86049 (exit $ac_status); }; }; then
86050 glibcxx_cv_func__ldexpf_use=yes
86051 else
86052 echo "$as_me: failed program was:" >&5
86053 sed 's/^/| /' conftest.$ac_ext >&5
86055 glibcxx_cv_func__ldexpf_use=no
86057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86058 ac_ext=c
86059 ac_cpp='$CPP $CPPFLAGS'
86060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
86069 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
86071 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
86073 for ac_func in _ldexpf
86075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86076 echo "$as_me:$LINENO: checking for $ac_func" >&5
86077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86078 if eval "test \"\${$as_ac_var+set}\" = set"; then
86079 echo $ECHO_N "(cached) $ECHO_C" >&6
86080 else
86081 if test x$gcc_no_link = xyes; then
86082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86084 { (exit 1); exit 1; }; }
86086 cat >conftest.$ac_ext <<_ACEOF
86087 /* confdefs.h. */
86088 _ACEOF
86089 cat confdefs.h >>conftest.$ac_ext
86090 cat >>conftest.$ac_ext <<_ACEOF
86091 /* end confdefs.h. */
86092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86094 #define $ac_func innocuous_$ac_func
86096 /* System header to define __stub macros and hopefully few prototypes,
86097 which can conflict with char $ac_func (); below.
86098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86099 <limits.h> exists even on freestanding compilers. */
86101 #ifdef __STDC__
86102 # include <limits.h>
86103 #else
86104 # include <assert.h>
86105 #endif
86107 #undef $ac_func
86109 /* Override any gcc2 internal prototype to avoid an error. */
86110 #ifdef __cplusplus
86111 extern "C"
86113 #endif
86114 /* We use char because int might match the return type of a gcc2
86115 builtin and then its argument prototype would still apply. */
86116 char $ac_func ();
86117 /* The GNU C library defines this for functions which it implements
86118 to always fail with ENOSYS. Some functions are actually named
86119 something starting with __ and the normal name is an alias. */
86120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86121 choke me
86122 #else
86123 char (*f) () = $ac_func;
86124 #endif
86125 #ifdef __cplusplus
86127 #endif
86130 main ()
86132 return f != $ac_func;
86134 return 0;
86136 _ACEOF
86137 rm -f conftest.$ac_objext conftest$ac_exeext
86138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86139 (eval $ac_link) 2>conftest.er1
86140 ac_status=$?
86141 grep -v '^ *+' conftest.er1 >conftest.err
86142 rm -f conftest.er1
86143 cat conftest.err >&5
86144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86145 (exit $ac_status); } &&
86146 { ac_try='test -z "$ac_c_werror_flag"
86147 || test ! -s conftest.err'
86148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86149 (eval $ac_try) 2>&5
86150 ac_status=$?
86151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86152 (exit $ac_status); }; } &&
86153 { ac_try='test -s conftest$ac_exeext'
86154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86155 (eval $ac_try) 2>&5
86156 ac_status=$?
86157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86158 (exit $ac_status); }; }; then
86159 eval "$as_ac_var=yes"
86160 else
86161 echo "$as_me: failed program was:" >&5
86162 sed 's/^/| /' conftest.$ac_ext >&5
86164 eval "$as_ac_var=no"
86166 rm -f conftest.err conftest.$ac_objext \
86167 conftest$ac_exeext conftest.$ac_ext
86169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86171 if test `eval echo '${'$as_ac_var'}'` = yes; then
86172 cat >>confdefs.h <<_ACEOF
86173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86174 _ACEOF
86177 done
86187 echo "$as_me:$LINENO: checking for logf declaration" >&5
86188 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
86189 if test x${glibcxx_cv_func_logf_use+set} != xset; then
86190 if test "${glibcxx_cv_func_logf_use+set}" = set; then
86191 echo $ECHO_N "(cached) $ECHO_C" >&6
86192 else
86196 ac_ext=cc
86197 ac_cpp='$CXXCPP $CPPFLAGS'
86198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86202 cat >conftest.$ac_ext <<_ACEOF
86203 /* confdefs.h. */
86204 _ACEOF
86205 cat confdefs.h >>conftest.$ac_ext
86206 cat >>conftest.$ac_ext <<_ACEOF
86207 /* end confdefs.h. */
86208 #include <math.h>
86209 #ifdef HAVE_IEEEFP_H
86210 #include <ieeefp.h>
86211 #endif
86214 main ()
86216 logf(0);
86218 return 0;
86220 _ACEOF
86221 rm -f conftest.$ac_objext
86222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86223 (eval $ac_compile) 2>conftest.er1
86224 ac_status=$?
86225 grep -v '^ *+' conftest.er1 >conftest.err
86226 rm -f conftest.er1
86227 cat conftest.err >&5
86228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86229 (exit $ac_status); } &&
86230 { ac_try='test -z "$ac_cxx_werror_flag"
86231 || test ! -s conftest.err'
86232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86233 (eval $ac_try) 2>&5
86234 ac_status=$?
86235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86236 (exit $ac_status); }; } &&
86237 { ac_try='test -s conftest.$ac_objext'
86238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86239 (eval $ac_try) 2>&5
86240 ac_status=$?
86241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86242 (exit $ac_status); }; }; then
86243 glibcxx_cv_func_logf_use=yes
86244 else
86245 echo "$as_me: failed program was:" >&5
86246 sed 's/^/| /' conftest.$ac_ext >&5
86248 glibcxx_cv_func_logf_use=no
86250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86251 ac_ext=c
86252 ac_cpp='$CPP $CPPFLAGS'
86253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
86262 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
86264 if test x$glibcxx_cv_func_logf_use = x"yes"; then
86266 for ac_func in logf
86268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86269 echo "$as_me:$LINENO: checking for $ac_func" >&5
86270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86271 if eval "test \"\${$as_ac_var+set}\" = set"; then
86272 echo $ECHO_N "(cached) $ECHO_C" >&6
86273 else
86274 if test x$gcc_no_link = xyes; then
86275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86277 { (exit 1); exit 1; }; }
86279 cat >conftest.$ac_ext <<_ACEOF
86280 /* confdefs.h. */
86281 _ACEOF
86282 cat confdefs.h >>conftest.$ac_ext
86283 cat >>conftest.$ac_ext <<_ACEOF
86284 /* end confdefs.h. */
86285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86287 #define $ac_func innocuous_$ac_func
86289 /* System header to define __stub macros and hopefully few prototypes,
86290 which can conflict with char $ac_func (); below.
86291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86292 <limits.h> exists even on freestanding compilers. */
86294 #ifdef __STDC__
86295 # include <limits.h>
86296 #else
86297 # include <assert.h>
86298 #endif
86300 #undef $ac_func
86302 /* Override any gcc2 internal prototype to avoid an error. */
86303 #ifdef __cplusplus
86304 extern "C"
86306 #endif
86307 /* We use char because int might match the return type of a gcc2
86308 builtin and then its argument prototype would still apply. */
86309 char $ac_func ();
86310 /* The GNU C library defines this for functions which it implements
86311 to always fail with ENOSYS. Some functions are actually named
86312 something starting with __ and the normal name is an alias. */
86313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86314 choke me
86315 #else
86316 char (*f) () = $ac_func;
86317 #endif
86318 #ifdef __cplusplus
86320 #endif
86323 main ()
86325 return f != $ac_func;
86327 return 0;
86329 _ACEOF
86330 rm -f conftest.$ac_objext conftest$ac_exeext
86331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86332 (eval $ac_link) 2>conftest.er1
86333 ac_status=$?
86334 grep -v '^ *+' conftest.er1 >conftest.err
86335 rm -f conftest.er1
86336 cat conftest.err >&5
86337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86338 (exit $ac_status); } &&
86339 { ac_try='test -z "$ac_c_werror_flag"
86340 || test ! -s conftest.err'
86341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86342 (eval $ac_try) 2>&5
86343 ac_status=$?
86344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86345 (exit $ac_status); }; } &&
86346 { ac_try='test -s conftest$ac_exeext'
86347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86348 (eval $ac_try) 2>&5
86349 ac_status=$?
86350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86351 (exit $ac_status); }; }; then
86352 eval "$as_ac_var=yes"
86353 else
86354 echo "$as_me: failed program was:" >&5
86355 sed 's/^/| /' conftest.$ac_ext >&5
86357 eval "$as_ac_var=no"
86359 rm -f conftest.err conftest.$ac_objext \
86360 conftest$ac_exeext conftest.$ac_ext
86362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86364 if test `eval echo '${'$as_ac_var'}'` = yes; then
86365 cat >>confdefs.h <<_ACEOF
86366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86367 _ACEOF
86370 done
86372 else
86374 echo "$as_me:$LINENO: checking for _logf declaration" >&5
86375 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
86376 if test x${glibcxx_cv_func__logf_use+set} != xset; then
86377 if test "${glibcxx_cv_func__logf_use+set}" = set; then
86378 echo $ECHO_N "(cached) $ECHO_C" >&6
86379 else
86383 ac_ext=cc
86384 ac_cpp='$CXXCPP $CPPFLAGS'
86385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86389 cat >conftest.$ac_ext <<_ACEOF
86390 /* confdefs.h. */
86391 _ACEOF
86392 cat confdefs.h >>conftest.$ac_ext
86393 cat >>conftest.$ac_ext <<_ACEOF
86394 /* end confdefs.h. */
86395 #include <math.h>
86396 #ifdef HAVE_IEEEFP_H
86397 #include <ieeefp.h>
86398 #endif
86401 main ()
86403 _logf(0);
86405 return 0;
86407 _ACEOF
86408 rm -f conftest.$ac_objext
86409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86410 (eval $ac_compile) 2>conftest.er1
86411 ac_status=$?
86412 grep -v '^ *+' conftest.er1 >conftest.err
86413 rm -f conftest.er1
86414 cat conftest.err >&5
86415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86416 (exit $ac_status); } &&
86417 { ac_try='test -z "$ac_cxx_werror_flag"
86418 || test ! -s conftest.err'
86419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86420 (eval $ac_try) 2>&5
86421 ac_status=$?
86422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86423 (exit $ac_status); }; } &&
86424 { ac_try='test -s conftest.$ac_objext'
86425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86426 (eval $ac_try) 2>&5
86427 ac_status=$?
86428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86429 (exit $ac_status); }; }; then
86430 glibcxx_cv_func__logf_use=yes
86431 else
86432 echo "$as_me: failed program was:" >&5
86433 sed 's/^/| /' conftest.$ac_ext >&5
86435 glibcxx_cv_func__logf_use=no
86437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86438 ac_ext=c
86439 ac_cpp='$CPP $CPPFLAGS'
86440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
86449 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
86451 if test x$glibcxx_cv_func__logf_use = x"yes"; then
86453 for ac_func in _logf
86455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86456 echo "$as_me:$LINENO: checking for $ac_func" >&5
86457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86458 if eval "test \"\${$as_ac_var+set}\" = set"; then
86459 echo $ECHO_N "(cached) $ECHO_C" >&6
86460 else
86461 if test x$gcc_no_link = xyes; then
86462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86464 { (exit 1); exit 1; }; }
86466 cat >conftest.$ac_ext <<_ACEOF
86467 /* confdefs.h. */
86468 _ACEOF
86469 cat confdefs.h >>conftest.$ac_ext
86470 cat >>conftest.$ac_ext <<_ACEOF
86471 /* end confdefs.h. */
86472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86474 #define $ac_func innocuous_$ac_func
86476 /* System header to define __stub macros and hopefully few prototypes,
86477 which can conflict with char $ac_func (); below.
86478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86479 <limits.h> exists even on freestanding compilers. */
86481 #ifdef __STDC__
86482 # include <limits.h>
86483 #else
86484 # include <assert.h>
86485 #endif
86487 #undef $ac_func
86489 /* Override any gcc2 internal prototype to avoid an error. */
86490 #ifdef __cplusplus
86491 extern "C"
86493 #endif
86494 /* We use char because int might match the return type of a gcc2
86495 builtin and then its argument prototype would still apply. */
86496 char $ac_func ();
86497 /* The GNU C library defines this for functions which it implements
86498 to always fail with ENOSYS. Some functions are actually named
86499 something starting with __ and the normal name is an alias. */
86500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86501 choke me
86502 #else
86503 char (*f) () = $ac_func;
86504 #endif
86505 #ifdef __cplusplus
86507 #endif
86510 main ()
86512 return f != $ac_func;
86514 return 0;
86516 _ACEOF
86517 rm -f conftest.$ac_objext conftest$ac_exeext
86518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86519 (eval $ac_link) 2>conftest.er1
86520 ac_status=$?
86521 grep -v '^ *+' conftest.er1 >conftest.err
86522 rm -f conftest.er1
86523 cat conftest.err >&5
86524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86525 (exit $ac_status); } &&
86526 { ac_try='test -z "$ac_c_werror_flag"
86527 || test ! -s conftest.err'
86528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86529 (eval $ac_try) 2>&5
86530 ac_status=$?
86531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86532 (exit $ac_status); }; } &&
86533 { ac_try='test -s conftest$ac_exeext'
86534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86535 (eval $ac_try) 2>&5
86536 ac_status=$?
86537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86538 (exit $ac_status); }; }; then
86539 eval "$as_ac_var=yes"
86540 else
86541 echo "$as_me: failed program was:" >&5
86542 sed 's/^/| /' conftest.$ac_ext >&5
86544 eval "$as_ac_var=no"
86546 rm -f conftest.err conftest.$ac_objext \
86547 conftest$ac_exeext conftest.$ac_ext
86549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86551 if test `eval echo '${'$as_ac_var'}'` = yes; then
86552 cat >>confdefs.h <<_ACEOF
86553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86554 _ACEOF
86557 done
86567 echo "$as_me:$LINENO: checking for log10f declaration" >&5
86568 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
86569 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
86570 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
86571 echo $ECHO_N "(cached) $ECHO_C" >&6
86572 else
86576 ac_ext=cc
86577 ac_cpp='$CXXCPP $CPPFLAGS'
86578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86582 cat >conftest.$ac_ext <<_ACEOF
86583 /* confdefs.h. */
86584 _ACEOF
86585 cat confdefs.h >>conftest.$ac_ext
86586 cat >>conftest.$ac_ext <<_ACEOF
86587 /* end confdefs.h. */
86588 #include <math.h>
86589 #ifdef HAVE_IEEEFP_H
86590 #include <ieeefp.h>
86591 #endif
86594 main ()
86596 log10f(0);
86598 return 0;
86600 _ACEOF
86601 rm -f conftest.$ac_objext
86602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86603 (eval $ac_compile) 2>conftest.er1
86604 ac_status=$?
86605 grep -v '^ *+' conftest.er1 >conftest.err
86606 rm -f conftest.er1
86607 cat conftest.err >&5
86608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86609 (exit $ac_status); } &&
86610 { ac_try='test -z "$ac_cxx_werror_flag"
86611 || test ! -s conftest.err'
86612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86613 (eval $ac_try) 2>&5
86614 ac_status=$?
86615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86616 (exit $ac_status); }; } &&
86617 { ac_try='test -s conftest.$ac_objext'
86618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86619 (eval $ac_try) 2>&5
86620 ac_status=$?
86621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86622 (exit $ac_status); }; }; then
86623 glibcxx_cv_func_log10f_use=yes
86624 else
86625 echo "$as_me: failed program was:" >&5
86626 sed 's/^/| /' conftest.$ac_ext >&5
86628 glibcxx_cv_func_log10f_use=no
86630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86631 ac_ext=c
86632 ac_cpp='$CPP $CPPFLAGS'
86633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
86642 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
86644 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
86646 for ac_func in log10f
86648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86649 echo "$as_me:$LINENO: checking for $ac_func" >&5
86650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86651 if eval "test \"\${$as_ac_var+set}\" = set"; then
86652 echo $ECHO_N "(cached) $ECHO_C" >&6
86653 else
86654 if test x$gcc_no_link = xyes; then
86655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86657 { (exit 1); exit 1; }; }
86659 cat >conftest.$ac_ext <<_ACEOF
86660 /* confdefs.h. */
86661 _ACEOF
86662 cat confdefs.h >>conftest.$ac_ext
86663 cat >>conftest.$ac_ext <<_ACEOF
86664 /* end confdefs.h. */
86665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86667 #define $ac_func innocuous_$ac_func
86669 /* System header to define __stub macros and hopefully few prototypes,
86670 which can conflict with char $ac_func (); below.
86671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86672 <limits.h> exists even on freestanding compilers. */
86674 #ifdef __STDC__
86675 # include <limits.h>
86676 #else
86677 # include <assert.h>
86678 #endif
86680 #undef $ac_func
86682 /* Override any gcc2 internal prototype to avoid an error. */
86683 #ifdef __cplusplus
86684 extern "C"
86686 #endif
86687 /* We use char because int might match the return type of a gcc2
86688 builtin and then its argument prototype would still apply. */
86689 char $ac_func ();
86690 /* The GNU C library defines this for functions which it implements
86691 to always fail with ENOSYS. Some functions are actually named
86692 something starting with __ and the normal name is an alias. */
86693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86694 choke me
86695 #else
86696 char (*f) () = $ac_func;
86697 #endif
86698 #ifdef __cplusplus
86700 #endif
86703 main ()
86705 return f != $ac_func;
86707 return 0;
86709 _ACEOF
86710 rm -f conftest.$ac_objext conftest$ac_exeext
86711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86712 (eval $ac_link) 2>conftest.er1
86713 ac_status=$?
86714 grep -v '^ *+' conftest.er1 >conftest.err
86715 rm -f conftest.er1
86716 cat conftest.err >&5
86717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86718 (exit $ac_status); } &&
86719 { ac_try='test -z "$ac_c_werror_flag"
86720 || test ! -s conftest.err'
86721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86722 (eval $ac_try) 2>&5
86723 ac_status=$?
86724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86725 (exit $ac_status); }; } &&
86726 { ac_try='test -s conftest$ac_exeext'
86727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86728 (eval $ac_try) 2>&5
86729 ac_status=$?
86730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86731 (exit $ac_status); }; }; then
86732 eval "$as_ac_var=yes"
86733 else
86734 echo "$as_me: failed program was:" >&5
86735 sed 's/^/| /' conftest.$ac_ext >&5
86737 eval "$as_ac_var=no"
86739 rm -f conftest.err conftest.$ac_objext \
86740 conftest$ac_exeext conftest.$ac_ext
86742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86744 if test `eval echo '${'$as_ac_var'}'` = yes; then
86745 cat >>confdefs.h <<_ACEOF
86746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86747 _ACEOF
86750 done
86752 else
86754 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
86755 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
86756 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
86757 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
86758 echo $ECHO_N "(cached) $ECHO_C" >&6
86759 else
86763 ac_ext=cc
86764 ac_cpp='$CXXCPP $CPPFLAGS'
86765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86769 cat >conftest.$ac_ext <<_ACEOF
86770 /* confdefs.h. */
86771 _ACEOF
86772 cat confdefs.h >>conftest.$ac_ext
86773 cat >>conftest.$ac_ext <<_ACEOF
86774 /* end confdefs.h. */
86775 #include <math.h>
86776 #ifdef HAVE_IEEEFP_H
86777 #include <ieeefp.h>
86778 #endif
86781 main ()
86783 _log10f(0);
86785 return 0;
86787 _ACEOF
86788 rm -f conftest.$ac_objext
86789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86790 (eval $ac_compile) 2>conftest.er1
86791 ac_status=$?
86792 grep -v '^ *+' conftest.er1 >conftest.err
86793 rm -f conftest.er1
86794 cat conftest.err >&5
86795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86796 (exit $ac_status); } &&
86797 { ac_try='test -z "$ac_cxx_werror_flag"
86798 || test ! -s conftest.err'
86799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86800 (eval $ac_try) 2>&5
86801 ac_status=$?
86802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86803 (exit $ac_status); }; } &&
86804 { ac_try='test -s conftest.$ac_objext'
86805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86806 (eval $ac_try) 2>&5
86807 ac_status=$?
86808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86809 (exit $ac_status); }; }; then
86810 glibcxx_cv_func__log10f_use=yes
86811 else
86812 echo "$as_me: failed program was:" >&5
86813 sed 's/^/| /' conftest.$ac_ext >&5
86815 glibcxx_cv_func__log10f_use=no
86817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86818 ac_ext=c
86819 ac_cpp='$CPP $CPPFLAGS'
86820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
86829 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
86831 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
86833 for ac_func in _log10f
86835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86836 echo "$as_me:$LINENO: checking for $ac_func" >&5
86837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86838 if eval "test \"\${$as_ac_var+set}\" = set"; then
86839 echo $ECHO_N "(cached) $ECHO_C" >&6
86840 else
86841 if test x$gcc_no_link = xyes; then
86842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86844 { (exit 1); exit 1; }; }
86846 cat >conftest.$ac_ext <<_ACEOF
86847 /* confdefs.h. */
86848 _ACEOF
86849 cat confdefs.h >>conftest.$ac_ext
86850 cat >>conftest.$ac_ext <<_ACEOF
86851 /* end confdefs.h. */
86852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86854 #define $ac_func innocuous_$ac_func
86856 /* System header to define __stub macros and hopefully few prototypes,
86857 which can conflict with char $ac_func (); below.
86858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86859 <limits.h> exists even on freestanding compilers. */
86861 #ifdef __STDC__
86862 # include <limits.h>
86863 #else
86864 # include <assert.h>
86865 #endif
86867 #undef $ac_func
86869 /* Override any gcc2 internal prototype to avoid an error. */
86870 #ifdef __cplusplus
86871 extern "C"
86873 #endif
86874 /* We use char because int might match the return type of a gcc2
86875 builtin and then its argument prototype would still apply. */
86876 char $ac_func ();
86877 /* The GNU C library defines this for functions which it implements
86878 to always fail with ENOSYS. Some functions are actually named
86879 something starting with __ and the normal name is an alias. */
86880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86881 choke me
86882 #else
86883 char (*f) () = $ac_func;
86884 #endif
86885 #ifdef __cplusplus
86887 #endif
86890 main ()
86892 return f != $ac_func;
86894 return 0;
86896 _ACEOF
86897 rm -f conftest.$ac_objext conftest$ac_exeext
86898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86899 (eval $ac_link) 2>conftest.er1
86900 ac_status=$?
86901 grep -v '^ *+' conftest.er1 >conftest.err
86902 rm -f conftest.er1
86903 cat conftest.err >&5
86904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86905 (exit $ac_status); } &&
86906 { ac_try='test -z "$ac_c_werror_flag"
86907 || test ! -s conftest.err'
86908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86909 (eval $ac_try) 2>&5
86910 ac_status=$?
86911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86912 (exit $ac_status); }; } &&
86913 { ac_try='test -s conftest$ac_exeext'
86914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86915 (eval $ac_try) 2>&5
86916 ac_status=$?
86917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86918 (exit $ac_status); }; }; then
86919 eval "$as_ac_var=yes"
86920 else
86921 echo "$as_me: failed program was:" >&5
86922 sed 's/^/| /' conftest.$ac_ext >&5
86924 eval "$as_ac_var=no"
86926 rm -f conftest.err conftest.$ac_objext \
86927 conftest$ac_exeext conftest.$ac_ext
86929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86931 if test `eval echo '${'$as_ac_var'}'` = yes; then
86932 cat >>confdefs.h <<_ACEOF
86933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86934 _ACEOF
86937 done
86947 echo "$as_me:$LINENO: checking for modff declaration" >&5
86948 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
86949 if test x${glibcxx_cv_func_modff_use+set} != xset; then
86950 if test "${glibcxx_cv_func_modff_use+set}" = set; then
86951 echo $ECHO_N "(cached) $ECHO_C" >&6
86952 else
86956 ac_ext=cc
86957 ac_cpp='$CXXCPP $CPPFLAGS'
86958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86962 cat >conftest.$ac_ext <<_ACEOF
86963 /* confdefs.h. */
86964 _ACEOF
86965 cat confdefs.h >>conftest.$ac_ext
86966 cat >>conftest.$ac_ext <<_ACEOF
86967 /* end confdefs.h. */
86968 #include <math.h>
86970 main ()
86972 modff(0, 0);
86974 return 0;
86976 _ACEOF
86977 rm -f conftest.$ac_objext
86978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86979 (eval $ac_compile) 2>conftest.er1
86980 ac_status=$?
86981 grep -v '^ *+' conftest.er1 >conftest.err
86982 rm -f conftest.er1
86983 cat conftest.err >&5
86984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86985 (exit $ac_status); } &&
86986 { ac_try='test -z "$ac_cxx_werror_flag"
86987 || test ! -s conftest.err'
86988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86989 (eval $ac_try) 2>&5
86990 ac_status=$?
86991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86992 (exit $ac_status); }; } &&
86993 { ac_try='test -s conftest.$ac_objext'
86994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86995 (eval $ac_try) 2>&5
86996 ac_status=$?
86997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86998 (exit $ac_status); }; }; then
86999 glibcxx_cv_func_modff_use=yes
87000 else
87001 echo "$as_me: failed program was:" >&5
87002 sed 's/^/| /' conftest.$ac_ext >&5
87004 glibcxx_cv_func_modff_use=no
87006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87007 ac_ext=c
87008 ac_cpp='$CPP $CPPFLAGS'
87009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
87018 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
87020 if test x$glibcxx_cv_func_modff_use = x"yes"; then
87022 for ac_func in modff
87024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87025 echo "$as_me:$LINENO: checking for $ac_func" >&5
87026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87027 if eval "test \"\${$as_ac_var+set}\" = set"; then
87028 echo $ECHO_N "(cached) $ECHO_C" >&6
87029 else
87030 if test x$gcc_no_link = xyes; then
87031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87033 { (exit 1); exit 1; }; }
87035 cat >conftest.$ac_ext <<_ACEOF
87036 /* confdefs.h. */
87037 _ACEOF
87038 cat confdefs.h >>conftest.$ac_ext
87039 cat >>conftest.$ac_ext <<_ACEOF
87040 /* end confdefs.h. */
87041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87043 #define $ac_func innocuous_$ac_func
87045 /* System header to define __stub macros and hopefully few prototypes,
87046 which can conflict with char $ac_func (); below.
87047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87048 <limits.h> exists even on freestanding compilers. */
87050 #ifdef __STDC__
87051 # include <limits.h>
87052 #else
87053 # include <assert.h>
87054 #endif
87056 #undef $ac_func
87058 /* Override any gcc2 internal prototype to avoid an error. */
87059 #ifdef __cplusplus
87060 extern "C"
87062 #endif
87063 /* We use char because int might match the return type of a gcc2
87064 builtin and then its argument prototype would still apply. */
87065 char $ac_func ();
87066 /* The GNU C library defines this for functions which it implements
87067 to always fail with ENOSYS. Some functions are actually named
87068 something starting with __ and the normal name is an alias. */
87069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87070 choke me
87071 #else
87072 char (*f) () = $ac_func;
87073 #endif
87074 #ifdef __cplusplus
87076 #endif
87079 main ()
87081 return f != $ac_func;
87083 return 0;
87085 _ACEOF
87086 rm -f conftest.$ac_objext conftest$ac_exeext
87087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87088 (eval $ac_link) 2>conftest.er1
87089 ac_status=$?
87090 grep -v '^ *+' conftest.er1 >conftest.err
87091 rm -f conftest.er1
87092 cat conftest.err >&5
87093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87094 (exit $ac_status); } &&
87095 { ac_try='test -z "$ac_c_werror_flag"
87096 || test ! -s conftest.err'
87097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87098 (eval $ac_try) 2>&5
87099 ac_status=$?
87100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87101 (exit $ac_status); }; } &&
87102 { ac_try='test -s conftest$ac_exeext'
87103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87104 (eval $ac_try) 2>&5
87105 ac_status=$?
87106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87107 (exit $ac_status); }; }; then
87108 eval "$as_ac_var=yes"
87109 else
87110 echo "$as_me: failed program was:" >&5
87111 sed 's/^/| /' conftest.$ac_ext >&5
87113 eval "$as_ac_var=no"
87115 rm -f conftest.err conftest.$ac_objext \
87116 conftest$ac_exeext conftest.$ac_ext
87118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87120 if test `eval echo '${'$as_ac_var'}'` = yes; then
87121 cat >>confdefs.h <<_ACEOF
87122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87123 _ACEOF
87126 done
87128 else
87130 echo "$as_me:$LINENO: checking for _modff declaration" >&5
87131 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
87132 if test x${glibcxx_cv_func__modff_use+set} != xset; then
87133 if test "${glibcxx_cv_func__modff_use+set}" = set; then
87134 echo $ECHO_N "(cached) $ECHO_C" >&6
87135 else
87139 ac_ext=cc
87140 ac_cpp='$CXXCPP $CPPFLAGS'
87141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87145 cat >conftest.$ac_ext <<_ACEOF
87146 /* confdefs.h. */
87147 _ACEOF
87148 cat confdefs.h >>conftest.$ac_ext
87149 cat >>conftest.$ac_ext <<_ACEOF
87150 /* end confdefs.h. */
87151 #include <math.h>
87153 main ()
87155 _modff(0, 0);
87157 return 0;
87159 _ACEOF
87160 rm -f conftest.$ac_objext
87161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87162 (eval $ac_compile) 2>conftest.er1
87163 ac_status=$?
87164 grep -v '^ *+' conftest.er1 >conftest.err
87165 rm -f conftest.er1
87166 cat conftest.err >&5
87167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168 (exit $ac_status); } &&
87169 { ac_try='test -z "$ac_cxx_werror_flag"
87170 || test ! -s conftest.err'
87171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87172 (eval $ac_try) 2>&5
87173 ac_status=$?
87174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87175 (exit $ac_status); }; } &&
87176 { ac_try='test -s conftest.$ac_objext'
87177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87178 (eval $ac_try) 2>&5
87179 ac_status=$?
87180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87181 (exit $ac_status); }; }; then
87182 glibcxx_cv_func__modff_use=yes
87183 else
87184 echo "$as_me: failed program was:" >&5
87185 sed 's/^/| /' conftest.$ac_ext >&5
87187 glibcxx_cv_func__modff_use=no
87189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87190 ac_ext=c
87191 ac_cpp='$CPP $CPPFLAGS'
87192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
87201 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
87203 if test x$glibcxx_cv_func__modff_use = x"yes"; then
87205 for ac_func in _modff
87207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87208 echo "$as_me:$LINENO: checking for $ac_func" >&5
87209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87210 if eval "test \"\${$as_ac_var+set}\" = set"; then
87211 echo $ECHO_N "(cached) $ECHO_C" >&6
87212 else
87213 if test x$gcc_no_link = xyes; then
87214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87216 { (exit 1); exit 1; }; }
87218 cat >conftest.$ac_ext <<_ACEOF
87219 /* confdefs.h. */
87220 _ACEOF
87221 cat confdefs.h >>conftest.$ac_ext
87222 cat >>conftest.$ac_ext <<_ACEOF
87223 /* end confdefs.h. */
87224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87226 #define $ac_func innocuous_$ac_func
87228 /* System header to define __stub macros and hopefully few prototypes,
87229 which can conflict with char $ac_func (); below.
87230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87231 <limits.h> exists even on freestanding compilers. */
87233 #ifdef __STDC__
87234 # include <limits.h>
87235 #else
87236 # include <assert.h>
87237 #endif
87239 #undef $ac_func
87241 /* Override any gcc2 internal prototype to avoid an error. */
87242 #ifdef __cplusplus
87243 extern "C"
87245 #endif
87246 /* We use char because int might match the return type of a gcc2
87247 builtin and then its argument prototype would still apply. */
87248 char $ac_func ();
87249 /* The GNU C library defines this for functions which it implements
87250 to always fail with ENOSYS. Some functions are actually named
87251 something starting with __ and the normal name is an alias. */
87252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87253 choke me
87254 #else
87255 char (*f) () = $ac_func;
87256 #endif
87257 #ifdef __cplusplus
87259 #endif
87262 main ()
87264 return f != $ac_func;
87266 return 0;
87268 _ACEOF
87269 rm -f conftest.$ac_objext conftest$ac_exeext
87270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87271 (eval $ac_link) 2>conftest.er1
87272 ac_status=$?
87273 grep -v '^ *+' conftest.er1 >conftest.err
87274 rm -f conftest.er1
87275 cat conftest.err >&5
87276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87277 (exit $ac_status); } &&
87278 { ac_try='test -z "$ac_c_werror_flag"
87279 || test ! -s conftest.err'
87280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87281 (eval $ac_try) 2>&5
87282 ac_status=$?
87283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87284 (exit $ac_status); }; } &&
87285 { ac_try='test -s conftest$ac_exeext'
87286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87287 (eval $ac_try) 2>&5
87288 ac_status=$?
87289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87290 (exit $ac_status); }; }; then
87291 eval "$as_ac_var=yes"
87292 else
87293 echo "$as_me: failed program was:" >&5
87294 sed 's/^/| /' conftest.$ac_ext >&5
87296 eval "$as_ac_var=no"
87298 rm -f conftest.err conftest.$ac_objext \
87299 conftest$ac_exeext conftest.$ac_ext
87301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87303 if test `eval echo '${'$as_ac_var'}'` = yes; then
87304 cat >>confdefs.h <<_ACEOF
87305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87306 _ACEOF
87309 done
87319 echo "$as_me:$LINENO: checking for modf declaration" >&5
87320 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
87321 if test x${glibcxx_cv_func_modf_use+set} != xset; then
87322 if test "${glibcxx_cv_func_modf_use+set}" = set; then
87323 echo $ECHO_N "(cached) $ECHO_C" >&6
87324 else
87328 ac_ext=cc
87329 ac_cpp='$CXXCPP $CPPFLAGS'
87330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87334 cat >conftest.$ac_ext <<_ACEOF
87335 /* confdefs.h. */
87336 _ACEOF
87337 cat confdefs.h >>conftest.$ac_ext
87338 cat >>conftest.$ac_ext <<_ACEOF
87339 /* end confdefs.h. */
87340 #include <math.h>
87342 main ()
87344 modf(0, 0);
87346 return 0;
87348 _ACEOF
87349 rm -f conftest.$ac_objext
87350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87351 (eval $ac_compile) 2>conftest.er1
87352 ac_status=$?
87353 grep -v '^ *+' conftest.er1 >conftest.err
87354 rm -f conftest.er1
87355 cat conftest.err >&5
87356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87357 (exit $ac_status); } &&
87358 { ac_try='test -z "$ac_cxx_werror_flag"
87359 || test ! -s conftest.err'
87360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87361 (eval $ac_try) 2>&5
87362 ac_status=$?
87363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87364 (exit $ac_status); }; } &&
87365 { ac_try='test -s conftest.$ac_objext'
87366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87367 (eval $ac_try) 2>&5
87368 ac_status=$?
87369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87370 (exit $ac_status); }; }; then
87371 glibcxx_cv_func_modf_use=yes
87372 else
87373 echo "$as_me: failed program was:" >&5
87374 sed 's/^/| /' conftest.$ac_ext >&5
87376 glibcxx_cv_func_modf_use=no
87378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87379 ac_ext=c
87380 ac_cpp='$CPP $CPPFLAGS'
87381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
87390 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
87392 if test x$glibcxx_cv_func_modf_use = x"yes"; then
87394 for ac_func in modf
87396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87397 echo "$as_me:$LINENO: checking for $ac_func" >&5
87398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87399 if eval "test \"\${$as_ac_var+set}\" = set"; then
87400 echo $ECHO_N "(cached) $ECHO_C" >&6
87401 else
87402 if test x$gcc_no_link = xyes; then
87403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87405 { (exit 1); exit 1; }; }
87407 cat >conftest.$ac_ext <<_ACEOF
87408 /* confdefs.h. */
87409 _ACEOF
87410 cat confdefs.h >>conftest.$ac_ext
87411 cat >>conftest.$ac_ext <<_ACEOF
87412 /* end confdefs.h. */
87413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87415 #define $ac_func innocuous_$ac_func
87417 /* System header to define __stub macros and hopefully few prototypes,
87418 which can conflict with char $ac_func (); below.
87419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87420 <limits.h> exists even on freestanding compilers. */
87422 #ifdef __STDC__
87423 # include <limits.h>
87424 #else
87425 # include <assert.h>
87426 #endif
87428 #undef $ac_func
87430 /* Override any gcc2 internal prototype to avoid an error. */
87431 #ifdef __cplusplus
87432 extern "C"
87434 #endif
87435 /* We use char because int might match the return type of a gcc2
87436 builtin and then its argument prototype would still apply. */
87437 char $ac_func ();
87438 /* The GNU C library defines this for functions which it implements
87439 to always fail with ENOSYS. Some functions are actually named
87440 something starting with __ and the normal name is an alias. */
87441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87442 choke me
87443 #else
87444 char (*f) () = $ac_func;
87445 #endif
87446 #ifdef __cplusplus
87448 #endif
87451 main ()
87453 return f != $ac_func;
87455 return 0;
87457 _ACEOF
87458 rm -f conftest.$ac_objext conftest$ac_exeext
87459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87460 (eval $ac_link) 2>conftest.er1
87461 ac_status=$?
87462 grep -v '^ *+' conftest.er1 >conftest.err
87463 rm -f conftest.er1
87464 cat conftest.err >&5
87465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87466 (exit $ac_status); } &&
87467 { ac_try='test -z "$ac_c_werror_flag"
87468 || test ! -s conftest.err'
87469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87470 (eval $ac_try) 2>&5
87471 ac_status=$?
87472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87473 (exit $ac_status); }; } &&
87474 { ac_try='test -s conftest$ac_exeext'
87475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87476 (eval $ac_try) 2>&5
87477 ac_status=$?
87478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87479 (exit $ac_status); }; }; then
87480 eval "$as_ac_var=yes"
87481 else
87482 echo "$as_me: failed program was:" >&5
87483 sed 's/^/| /' conftest.$ac_ext >&5
87485 eval "$as_ac_var=no"
87487 rm -f conftest.err conftest.$ac_objext \
87488 conftest$ac_exeext conftest.$ac_ext
87490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87492 if test `eval echo '${'$as_ac_var'}'` = yes; then
87493 cat >>confdefs.h <<_ACEOF
87494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87495 _ACEOF
87498 done
87500 else
87502 echo "$as_me:$LINENO: checking for _modf declaration" >&5
87503 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
87504 if test x${glibcxx_cv_func__modf_use+set} != xset; then
87505 if test "${glibcxx_cv_func__modf_use+set}" = set; then
87506 echo $ECHO_N "(cached) $ECHO_C" >&6
87507 else
87511 ac_ext=cc
87512 ac_cpp='$CXXCPP $CPPFLAGS'
87513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87517 cat >conftest.$ac_ext <<_ACEOF
87518 /* confdefs.h. */
87519 _ACEOF
87520 cat confdefs.h >>conftest.$ac_ext
87521 cat >>conftest.$ac_ext <<_ACEOF
87522 /* end confdefs.h. */
87523 #include <math.h>
87525 main ()
87527 _modf(0, 0);
87529 return 0;
87531 _ACEOF
87532 rm -f conftest.$ac_objext
87533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87534 (eval $ac_compile) 2>conftest.er1
87535 ac_status=$?
87536 grep -v '^ *+' conftest.er1 >conftest.err
87537 rm -f conftest.er1
87538 cat conftest.err >&5
87539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87540 (exit $ac_status); } &&
87541 { ac_try='test -z "$ac_cxx_werror_flag"
87542 || test ! -s conftest.err'
87543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87544 (eval $ac_try) 2>&5
87545 ac_status=$?
87546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547 (exit $ac_status); }; } &&
87548 { ac_try='test -s conftest.$ac_objext'
87549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87550 (eval $ac_try) 2>&5
87551 ac_status=$?
87552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87553 (exit $ac_status); }; }; then
87554 glibcxx_cv_func__modf_use=yes
87555 else
87556 echo "$as_me: failed program was:" >&5
87557 sed 's/^/| /' conftest.$ac_ext >&5
87559 glibcxx_cv_func__modf_use=no
87561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87562 ac_ext=c
87563 ac_cpp='$CPP $CPPFLAGS'
87564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87572 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
87573 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
87575 if test x$glibcxx_cv_func__modf_use = x"yes"; then
87577 for ac_func in _modf
87579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87580 echo "$as_me:$LINENO: checking for $ac_func" >&5
87581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87582 if eval "test \"\${$as_ac_var+set}\" = set"; then
87583 echo $ECHO_N "(cached) $ECHO_C" >&6
87584 else
87585 if test x$gcc_no_link = xyes; then
87586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87588 { (exit 1); exit 1; }; }
87590 cat >conftest.$ac_ext <<_ACEOF
87591 /* confdefs.h. */
87592 _ACEOF
87593 cat confdefs.h >>conftest.$ac_ext
87594 cat >>conftest.$ac_ext <<_ACEOF
87595 /* end confdefs.h. */
87596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87598 #define $ac_func innocuous_$ac_func
87600 /* System header to define __stub macros and hopefully few prototypes,
87601 which can conflict with char $ac_func (); below.
87602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87603 <limits.h> exists even on freestanding compilers. */
87605 #ifdef __STDC__
87606 # include <limits.h>
87607 #else
87608 # include <assert.h>
87609 #endif
87611 #undef $ac_func
87613 /* Override any gcc2 internal prototype to avoid an error. */
87614 #ifdef __cplusplus
87615 extern "C"
87617 #endif
87618 /* We use char because int might match the return type of a gcc2
87619 builtin and then its argument prototype would still apply. */
87620 char $ac_func ();
87621 /* The GNU C library defines this for functions which it implements
87622 to always fail with ENOSYS. Some functions are actually named
87623 something starting with __ and the normal name is an alias. */
87624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87625 choke me
87626 #else
87627 char (*f) () = $ac_func;
87628 #endif
87629 #ifdef __cplusplus
87631 #endif
87634 main ()
87636 return f != $ac_func;
87638 return 0;
87640 _ACEOF
87641 rm -f conftest.$ac_objext conftest$ac_exeext
87642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87643 (eval $ac_link) 2>conftest.er1
87644 ac_status=$?
87645 grep -v '^ *+' conftest.er1 >conftest.err
87646 rm -f conftest.er1
87647 cat conftest.err >&5
87648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87649 (exit $ac_status); } &&
87650 { ac_try='test -z "$ac_c_werror_flag"
87651 || test ! -s conftest.err'
87652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87653 (eval $ac_try) 2>&5
87654 ac_status=$?
87655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87656 (exit $ac_status); }; } &&
87657 { ac_try='test -s conftest$ac_exeext'
87658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87659 (eval $ac_try) 2>&5
87660 ac_status=$?
87661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87662 (exit $ac_status); }; }; then
87663 eval "$as_ac_var=yes"
87664 else
87665 echo "$as_me: failed program was:" >&5
87666 sed 's/^/| /' conftest.$ac_ext >&5
87668 eval "$as_ac_var=no"
87670 rm -f conftest.err conftest.$ac_objext \
87671 conftest$ac_exeext conftest.$ac_ext
87673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87675 if test `eval echo '${'$as_ac_var'}'` = yes; then
87676 cat >>confdefs.h <<_ACEOF
87677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87678 _ACEOF
87681 done
87691 echo "$as_me:$LINENO: checking for powf declaration" >&5
87692 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
87693 if test x${glibcxx_cv_func_powf_use+set} != xset; then
87694 if test "${glibcxx_cv_func_powf_use+set}" = set; then
87695 echo $ECHO_N "(cached) $ECHO_C" >&6
87696 else
87700 ac_ext=cc
87701 ac_cpp='$CXXCPP $CPPFLAGS'
87702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87706 cat >conftest.$ac_ext <<_ACEOF
87707 /* confdefs.h. */
87708 _ACEOF
87709 cat confdefs.h >>conftest.$ac_ext
87710 cat >>conftest.$ac_ext <<_ACEOF
87711 /* end confdefs.h. */
87712 #include <math.h>
87714 main ()
87716 powf(0, 0);
87718 return 0;
87720 _ACEOF
87721 rm -f conftest.$ac_objext
87722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87723 (eval $ac_compile) 2>conftest.er1
87724 ac_status=$?
87725 grep -v '^ *+' conftest.er1 >conftest.err
87726 rm -f conftest.er1
87727 cat conftest.err >&5
87728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87729 (exit $ac_status); } &&
87730 { ac_try='test -z "$ac_cxx_werror_flag"
87731 || test ! -s conftest.err'
87732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87733 (eval $ac_try) 2>&5
87734 ac_status=$?
87735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87736 (exit $ac_status); }; } &&
87737 { ac_try='test -s conftest.$ac_objext'
87738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87739 (eval $ac_try) 2>&5
87740 ac_status=$?
87741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87742 (exit $ac_status); }; }; then
87743 glibcxx_cv_func_powf_use=yes
87744 else
87745 echo "$as_me: failed program was:" >&5
87746 sed 's/^/| /' conftest.$ac_ext >&5
87748 glibcxx_cv_func_powf_use=no
87750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87751 ac_ext=c
87752 ac_cpp='$CPP $CPPFLAGS'
87753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
87762 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
87764 if test x$glibcxx_cv_func_powf_use = x"yes"; then
87766 for ac_func in powf
87768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87769 echo "$as_me:$LINENO: checking for $ac_func" >&5
87770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87771 if eval "test \"\${$as_ac_var+set}\" = set"; then
87772 echo $ECHO_N "(cached) $ECHO_C" >&6
87773 else
87774 if test x$gcc_no_link = xyes; then
87775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87777 { (exit 1); exit 1; }; }
87779 cat >conftest.$ac_ext <<_ACEOF
87780 /* confdefs.h. */
87781 _ACEOF
87782 cat confdefs.h >>conftest.$ac_ext
87783 cat >>conftest.$ac_ext <<_ACEOF
87784 /* end confdefs.h. */
87785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87787 #define $ac_func innocuous_$ac_func
87789 /* System header to define __stub macros and hopefully few prototypes,
87790 which can conflict with char $ac_func (); below.
87791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87792 <limits.h> exists even on freestanding compilers. */
87794 #ifdef __STDC__
87795 # include <limits.h>
87796 #else
87797 # include <assert.h>
87798 #endif
87800 #undef $ac_func
87802 /* Override any gcc2 internal prototype to avoid an error. */
87803 #ifdef __cplusplus
87804 extern "C"
87806 #endif
87807 /* We use char because int might match the return type of a gcc2
87808 builtin and then its argument prototype would still apply. */
87809 char $ac_func ();
87810 /* The GNU C library defines this for functions which it implements
87811 to always fail with ENOSYS. Some functions are actually named
87812 something starting with __ and the normal name is an alias. */
87813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87814 choke me
87815 #else
87816 char (*f) () = $ac_func;
87817 #endif
87818 #ifdef __cplusplus
87820 #endif
87823 main ()
87825 return f != $ac_func;
87827 return 0;
87829 _ACEOF
87830 rm -f conftest.$ac_objext conftest$ac_exeext
87831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87832 (eval $ac_link) 2>conftest.er1
87833 ac_status=$?
87834 grep -v '^ *+' conftest.er1 >conftest.err
87835 rm -f conftest.er1
87836 cat conftest.err >&5
87837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87838 (exit $ac_status); } &&
87839 { ac_try='test -z "$ac_c_werror_flag"
87840 || test ! -s conftest.err'
87841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87842 (eval $ac_try) 2>&5
87843 ac_status=$?
87844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87845 (exit $ac_status); }; } &&
87846 { ac_try='test -s conftest$ac_exeext'
87847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87848 (eval $ac_try) 2>&5
87849 ac_status=$?
87850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87851 (exit $ac_status); }; }; then
87852 eval "$as_ac_var=yes"
87853 else
87854 echo "$as_me: failed program was:" >&5
87855 sed 's/^/| /' conftest.$ac_ext >&5
87857 eval "$as_ac_var=no"
87859 rm -f conftest.err conftest.$ac_objext \
87860 conftest$ac_exeext conftest.$ac_ext
87862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87864 if test `eval echo '${'$as_ac_var'}'` = yes; then
87865 cat >>confdefs.h <<_ACEOF
87866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87867 _ACEOF
87870 done
87872 else
87874 echo "$as_me:$LINENO: checking for _powf declaration" >&5
87875 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
87876 if test x${glibcxx_cv_func__powf_use+set} != xset; then
87877 if test "${glibcxx_cv_func__powf_use+set}" = set; then
87878 echo $ECHO_N "(cached) $ECHO_C" >&6
87879 else
87883 ac_ext=cc
87884 ac_cpp='$CXXCPP $CPPFLAGS'
87885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87889 cat >conftest.$ac_ext <<_ACEOF
87890 /* confdefs.h. */
87891 _ACEOF
87892 cat confdefs.h >>conftest.$ac_ext
87893 cat >>conftest.$ac_ext <<_ACEOF
87894 /* end confdefs.h. */
87895 #include <math.h>
87897 main ()
87899 _powf(0, 0);
87901 return 0;
87903 _ACEOF
87904 rm -f conftest.$ac_objext
87905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87906 (eval $ac_compile) 2>conftest.er1
87907 ac_status=$?
87908 grep -v '^ *+' conftest.er1 >conftest.err
87909 rm -f conftest.er1
87910 cat conftest.err >&5
87911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87912 (exit $ac_status); } &&
87913 { ac_try='test -z "$ac_cxx_werror_flag"
87914 || test ! -s conftest.err'
87915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87916 (eval $ac_try) 2>&5
87917 ac_status=$?
87918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87919 (exit $ac_status); }; } &&
87920 { ac_try='test -s conftest.$ac_objext'
87921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87922 (eval $ac_try) 2>&5
87923 ac_status=$?
87924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87925 (exit $ac_status); }; }; then
87926 glibcxx_cv_func__powf_use=yes
87927 else
87928 echo "$as_me: failed program was:" >&5
87929 sed 's/^/| /' conftest.$ac_ext >&5
87931 glibcxx_cv_func__powf_use=no
87933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87934 ac_ext=c
87935 ac_cpp='$CPP $CPPFLAGS'
87936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87944 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
87945 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
87947 if test x$glibcxx_cv_func__powf_use = x"yes"; then
87949 for ac_func in _powf
87951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87952 echo "$as_me:$LINENO: checking for $ac_func" >&5
87953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87954 if eval "test \"\${$as_ac_var+set}\" = set"; then
87955 echo $ECHO_N "(cached) $ECHO_C" >&6
87956 else
87957 if test x$gcc_no_link = xyes; then
87958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87960 { (exit 1); exit 1; }; }
87962 cat >conftest.$ac_ext <<_ACEOF
87963 /* confdefs.h. */
87964 _ACEOF
87965 cat confdefs.h >>conftest.$ac_ext
87966 cat >>conftest.$ac_ext <<_ACEOF
87967 /* end confdefs.h. */
87968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87970 #define $ac_func innocuous_$ac_func
87972 /* System header to define __stub macros and hopefully few prototypes,
87973 which can conflict with char $ac_func (); below.
87974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87975 <limits.h> exists even on freestanding compilers. */
87977 #ifdef __STDC__
87978 # include <limits.h>
87979 #else
87980 # include <assert.h>
87981 #endif
87983 #undef $ac_func
87985 /* Override any gcc2 internal prototype to avoid an error. */
87986 #ifdef __cplusplus
87987 extern "C"
87989 #endif
87990 /* We use char because int might match the return type of a gcc2
87991 builtin and then its argument prototype would still apply. */
87992 char $ac_func ();
87993 /* The GNU C library defines this for functions which it implements
87994 to always fail with ENOSYS. Some functions are actually named
87995 something starting with __ and the normal name is an alias. */
87996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87997 choke me
87998 #else
87999 char (*f) () = $ac_func;
88000 #endif
88001 #ifdef __cplusplus
88003 #endif
88006 main ()
88008 return f != $ac_func;
88010 return 0;
88012 _ACEOF
88013 rm -f conftest.$ac_objext conftest$ac_exeext
88014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88015 (eval $ac_link) 2>conftest.er1
88016 ac_status=$?
88017 grep -v '^ *+' conftest.er1 >conftest.err
88018 rm -f conftest.er1
88019 cat conftest.err >&5
88020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88021 (exit $ac_status); } &&
88022 { ac_try='test -z "$ac_c_werror_flag"
88023 || test ! -s conftest.err'
88024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88025 (eval $ac_try) 2>&5
88026 ac_status=$?
88027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88028 (exit $ac_status); }; } &&
88029 { ac_try='test -s conftest$ac_exeext'
88030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88031 (eval $ac_try) 2>&5
88032 ac_status=$?
88033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88034 (exit $ac_status); }; }; then
88035 eval "$as_ac_var=yes"
88036 else
88037 echo "$as_me: failed program was:" >&5
88038 sed 's/^/| /' conftest.$ac_ext >&5
88040 eval "$as_ac_var=no"
88042 rm -f conftest.err conftest.$ac_objext \
88043 conftest$ac_exeext conftest.$ac_ext
88045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88047 if test `eval echo '${'$as_ac_var'}'` = yes; then
88048 cat >>confdefs.h <<_ACEOF
88049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88050 _ACEOF
88053 done
88063 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
88064 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
88065 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
88066 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
88067 echo $ECHO_N "(cached) $ECHO_C" >&6
88068 else
88072 ac_ext=cc
88073 ac_cpp='$CXXCPP $CPPFLAGS'
88074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88078 cat >conftest.$ac_ext <<_ACEOF
88079 /* confdefs.h. */
88080 _ACEOF
88081 cat confdefs.h >>conftest.$ac_ext
88082 cat >>conftest.$ac_ext <<_ACEOF
88083 /* end confdefs.h. */
88084 #include <math.h>
88085 #ifdef HAVE_IEEEFP_H
88086 #include <ieeefp.h>
88087 #endif
88090 main ()
88092 sqrtf(0);
88094 return 0;
88096 _ACEOF
88097 rm -f conftest.$ac_objext
88098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88099 (eval $ac_compile) 2>conftest.er1
88100 ac_status=$?
88101 grep -v '^ *+' conftest.er1 >conftest.err
88102 rm -f conftest.er1
88103 cat conftest.err >&5
88104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88105 (exit $ac_status); } &&
88106 { ac_try='test -z "$ac_cxx_werror_flag"
88107 || test ! -s conftest.err'
88108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88109 (eval $ac_try) 2>&5
88110 ac_status=$?
88111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88112 (exit $ac_status); }; } &&
88113 { ac_try='test -s conftest.$ac_objext'
88114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88115 (eval $ac_try) 2>&5
88116 ac_status=$?
88117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88118 (exit $ac_status); }; }; then
88119 glibcxx_cv_func_sqrtf_use=yes
88120 else
88121 echo "$as_me: failed program was:" >&5
88122 sed 's/^/| /' conftest.$ac_ext >&5
88124 glibcxx_cv_func_sqrtf_use=no
88126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88127 ac_ext=c
88128 ac_cpp='$CPP $CPPFLAGS'
88129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
88138 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
88140 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
88142 for ac_func in sqrtf
88144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88145 echo "$as_me:$LINENO: checking for $ac_func" >&5
88146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88147 if eval "test \"\${$as_ac_var+set}\" = set"; then
88148 echo $ECHO_N "(cached) $ECHO_C" >&6
88149 else
88150 if test x$gcc_no_link = xyes; then
88151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88153 { (exit 1); exit 1; }; }
88155 cat >conftest.$ac_ext <<_ACEOF
88156 /* confdefs.h. */
88157 _ACEOF
88158 cat confdefs.h >>conftest.$ac_ext
88159 cat >>conftest.$ac_ext <<_ACEOF
88160 /* end confdefs.h. */
88161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88163 #define $ac_func innocuous_$ac_func
88165 /* System header to define __stub macros and hopefully few prototypes,
88166 which can conflict with char $ac_func (); below.
88167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88168 <limits.h> exists even on freestanding compilers. */
88170 #ifdef __STDC__
88171 # include <limits.h>
88172 #else
88173 # include <assert.h>
88174 #endif
88176 #undef $ac_func
88178 /* Override any gcc2 internal prototype to avoid an error. */
88179 #ifdef __cplusplus
88180 extern "C"
88182 #endif
88183 /* We use char because int might match the return type of a gcc2
88184 builtin and then its argument prototype would still apply. */
88185 char $ac_func ();
88186 /* The GNU C library defines this for functions which it implements
88187 to always fail with ENOSYS. Some functions are actually named
88188 something starting with __ and the normal name is an alias. */
88189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88190 choke me
88191 #else
88192 char (*f) () = $ac_func;
88193 #endif
88194 #ifdef __cplusplus
88196 #endif
88199 main ()
88201 return f != $ac_func;
88203 return 0;
88205 _ACEOF
88206 rm -f conftest.$ac_objext conftest$ac_exeext
88207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88208 (eval $ac_link) 2>conftest.er1
88209 ac_status=$?
88210 grep -v '^ *+' conftest.er1 >conftest.err
88211 rm -f conftest.er1
88212 cat conftest.err >&5
88213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88214 (exit $ac_status); } &&
88215 { ac_try='test -z "$ac_c_werror_flag"
88216 || test ! -s conftest.err'
88217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88218 (eval $ac_try) 2>&5
88219 ac_status=$?
88220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88221 (exit $ac_status); }; } &&
88222 { ac_try='test -s conftest$ac_exeext'
88223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88224 (eval $ac_try) 2>&5
88225 ac_status=$?
88226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88227 (exit $ac_status); }; }; then
88228 eval "$as_ac_var=yes"
88229 else
88230 echo "$as_me: failed program was:" >&5
88231 sed 's/^/| /' conftest.$ac_ext >&5
88233 eval "$as_ac_var=no"
88235 rm -f conftest.err conftest.$ac_objext \
88236 conftest$ac_exeext conftest.$ac_ext
88238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88240 if test `eval echo '${'$as_ac_var'}'` = yes; then
88241 cat >>confdefs.h <<_ACEOF
88242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88243 _ACEOF
88246 done
88248 else
88250 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
88251 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
88252 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
88253 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
88254 echo $ECHO_N "(cached) $ECHO_C" >&6
88255 else
88259 ac_ext=cc
88260 ac_cpp='$CXXCPP $CPPFLAGS'
88261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88265 cat >conftest.$ac_ext <<_ACEOF
88266 /* confdefs.h. */
88267 _ACEOF
88268 cat confdefs.h >>conftest.$ac_ext
88269 cat >>conftest.$ac_ext <<_ACEOF
88270 /* end confdefs.h. */
88271 #include <math.h>
88272 #ifdef HAVE_IEEEFP_H
88273 #include <ieeefp.h>
88274 #endif
88277 main ()
88279 _sqrtf(0);
88281 return 0;
88283 _ACEOF
88284 rm -f conftest.$ac_objext
88285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88286 (eval $ac_compile) 2>conftest.er1
88287 ac_status=$?
88288 grep -v '^ *+' conftest.er1 >conftest.err
88289 rm -f conftest.er1
88290 cat conftest.err >&5
88291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292 (exit $ac_status); } &&
88293 { ac_try='test -z "$ac_cxx_werror_flag"
88294 || test ! -s conftest.err'
88295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88296 (eval $ac_try) 2>&5
88297 ac_status=$?
88298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88299 (exit $ac_status); }; } &&
88300 { ac_try='test -s conftest.$ac_objext'
88301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88302 (eval $ac_try) 2>&5
88303 ac_status=$?
88304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88305 (exit $ac_status); }; }; then
88306 glibcxx_cv_func__sqrtf_use=yes
88307 else
88308 echo "$as_me: failed program was:" >&5
88309 sed 's/^/| /' conftest.$ac_ext >&5
88311 glibcxx_cv_func__sqrtf_use=no
88313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88314 ac_ext=c
88315 ac_cpp='$CPP $CPPFLAGS'
88316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
88325 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
88327 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
88329 for ac_func in _sqrtf
88331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88332 echo "$as_me:$LINENO: checking for $ac_func" >&5
88333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88334 if eval "test \"\${$as_ac_var+set}\" = set"; then
88335 echo $ECHO_N "(cached) $ECHO_C" >&6
88336 else
88337 if test x$gcc_no_link = xyes; then
88338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88340 { (exit 1); exit 1; }; }
88342 cat >conftest.$ac_ext <<_ACEOF
88343 /* confdefs.h. */
88344 _ACEOF
88345 cat confdefs.h >>conftest.$ac_ext
88346 cat >>conftest.$ac_ext <<_ACEOF
88347 /* end confdefs.h. */
88348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88350 #define $ac_func innocuous_$ac_func
88352 /* System header to define __stub macros and hopefully few prototypes,
88353 which can conflict with char $ac_func (); below.
88354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88355 <limits.h> exists even on freestanding compilers. */
88357 #ifdef __STDC__
88358 # include <limits.h>
88359 #else
88360 # include <assert.h>
88361 #endif
88363 #undef $ac_func
88365 /* Override any gcc2 internal prototype to avoid an error. */
88366 #ifdef __cplusplus
88367 extern "C"
88369 #endif
88370 /* We use char because int might match the return type of a gcc2
88371 builtin and then its argument prototype would still apply. */
88372 char $ac_func ();
88373 /* The GNU C library defines this for functions which it implements
88374 to always fail with ENOSYS. Some functions are actually named
88375 something starting with __ and the normal name is an alias. */
88376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88377 choke me
88378 #else
88379 char (*f) () = $ac_func;
88380 #endif
88381 #ifdef __cplusplus
88383 #endif
88386 main ()
88388 return f != $ac_func;
88390 return 0;
88392 _ACEOF
88393 rm -f conftest.$ac_objext conftest$ac_exeext
88394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88395 (eval $ac_link) 2>conftest.er1
88396 ac_status=$?
88397 grep -v '^ *+' conftest.er1 >conftest.err
88398 rm -f conftest.er1
88399 cat conftest.err >&5
88400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88401 (exit $ac_status); } &&
88402 { ac_try='test -z "$ac_c_werror_flag"
88403 || test ! -s conftest.err'
88404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88405 (eval $ac_try) 2>&5
88406 ac_status=$?
88407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88408 (exit $ac_status); }; } &&
88409 { ac_try='test -s conftest$ac_exeext'
88410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88411 (eval $ac_try) 2>&5
88412 ac_status=$?
88413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88414 (exit $ac_status); }; }; then
88415 eval "$as_ac_var=yes"
88416 else
88417 echo "$as_me: failed program was:" >&5
88418 sed 's/^/| /' conftest.$ac_ext >&5
88420 eval "$as_ac_var=no"
88422 rm -f conftest.err conftest.$ac_objext \
88423 conftest$ac_exeext conftest.$ac_ext
88425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88427 if test `eval echo '${'$as_ac_var'}'` = yes; then
88428 cat >>confdefs.h <<_ACEOF
88429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88430 _ACEOF
88433 done
88443 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
88444 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
88445 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
88446 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
88447 echo $ECHO_N "(cached) $ECHO_C" >&6
88448 else
88452 ac_ext=cc
88453 ac_cpp='$CXXCPP $CPPFLAGS'
88454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88458 cat >conftest.$ac_ext <<_ACEOF
88459 /* confdefs.h. */
88460 _ACEOF
88461 cat confdefs.h >>conftest.$ac_ext
88462 cat >>conftest.$ac_ext <<_ACEOF
88463 /* end confdefs.h. */
88464 #include <math.h>
88466 main ()
88468 sincosf(0, 0, 0);
88470 return 0;
88472 _ACEOF
88473 rm -f conftest.$ac_objext
88474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88475 (eval $ac_compile) 2>conftest.er1
88476 ac_status=$?
88477 grep -v '^ *+' conftest.er1 >conftest.err
88478 rm -f conftest.er1
88479 cat conftest.err >&5
88480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88481 (exit $ac_status); } &&
88482 { ac_try='test -z "$ac_cxx_werror_flag"
88483 || test ! -s conftest.err'
88484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88485 (eval $ac_try) 2>&5
88486 ac_status=$?
88487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88488 (exit $ac_status); }; } &&
88489 { ac_try='test -s conftest.$ac_objext'
88490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88491 (eval $ac_try) 2>&5
88492 ac_status=$?
88493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88494 (exit $ac_status); }; }; then
88495 glibcxx_cv_func_sincosf_use=yes
88496 else
88497 echo "$as_me: failed program was:" >&5
88498 sed 's/^/| /' conftest.$ac_ext >&5
88500 glibcxx_cv_func_sincosf_use=no
88502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88503 ac_ext=c
88504 ac_cpp='$CPP $CPPFLAGS'
88505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
88514 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
88516 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
88518 for ac_func in sincosf
88520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88521 echo "$as_me:$LINENO: checking for $ac_func" >&5
88522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88523 if eval "test \"\${$as_ac_var+set}\" = set"; then
88524 echo $ECHO_N "(cached) $ECHO_C" >&6
88525 else
88526 if test x$gcc_no_link = xyes; then
88527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88529 { (exit 1); exit 1; }; }
88531 cat >conftest.$ac_ext <<_ACEOF
88532 /* confdefs.h. */
88533 _ACEOF
88534 cat confdefs.h >>conftest.$ac_ext
88535 cat >>conftest.$ac_ext <<_ACEOF
88536 /* end confdefs.h. */
88537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88539 #define $ac_func innocuous_$ac_func
88541 /* System header to define __stub macros and hopefully few prototypes,
88542 which can conflict with char $ac_func (); below.
88543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88544 <limits.h> exists even on freestanding compilers. */
88546 #ifdef __STDC__
88547 # include <limits.h>
88548 #else
88549 # include <assert.h>
88550 #endif
88552 #undef $ac_func
88554 /* Override any gcc2 internal prototype to avoid an error. */
88555 #ifdef __cplusplus
88556 extern "C"
88558 #endif
88559 /* We use char because int might match the return type of a gcc2
88560 builtin and then its argument prototype would still apply. */
88561 char $ac_func ();
88562 /* The GNU C library defines this for functions which it implements
88563 to always fail with ENOSYS. Some functions are actually named
88564 something starting with __ and the normal name is an alias. */
88565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88566 choke me
88567 #else
88568 char (*f) () = $ac_func;
88569 #endif
88570 #ifdef __cplusplus
88572 #endif
88575 main ()
88577 return f != $ac_func;
88579 return 0;
88581 _ACEOF
88582 rm -f conftest.$ac_objext conftest$ac_exeext
88583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88584 (eval $ac_link) 2>conftest.er1
88585 ac_status=$?
88586 grep -v '^ *+' conftest.er1 >conftest.err
88587 rm -f conftest.er1
88588 cat conftest.err >&5
88589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88590 (exit $ac_status); } &&
88591 { ac_try='test -z "$ac_c_werror_flag"
88592 || test ! -s conftest.err'
88593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88594 (eval $ac_try) 2>&5
88595 ac_status=$?
88596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88597 (exit $ac_status); }; } &&
88598 { ac_try='test -s conftest$ac_exeext'
88599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88600 (eval $ac_try) 2>&5
88601 ac_status=$?
88602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88603 (exit $ac_status); }; }; then
88604 eval "$as_ac_var=yes"
88605 else
88606 echo "$as_me: failed program was:" >&5
88607 sed 's/^/| /' conftest.$ac_ext >&5
88609 eval "$as_ac_var=no"
88611 rm -f conftest.err conftest.$ac_objext \
88612 conftest$ac_exeext conftest.$ac_ext
88614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88616 if test `eval echo '${'$as_ac_var'}'` = yes; then
88617 cat >>confdefs.h <<_ACEOF
88618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88619 _ACEOF
88622 done
88624 else
88626 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
88627 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
88628 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
88629 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
88630 echo $ECHO_N "(cached) $ECHO_C" >&6
88631 else
88635 ac_ext=cc
88636 ac_cpp='$CXXCPP $CPPFLAGS'
88637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88641 cat >conftest.$ac_ext <<_ACEOF
88642 /* confdefs.h. */
88643 _ACEOF
88644 cat confdefs.h >>conftest.$ac_ext
88645 cat >>conftest.$ac_ext <<_ACEOF
88646 /* end confdefs.h. */
88647 #include <math.h>
88649 main ()
88651 _sincosf(0, 0, 0);
88653 return 0;
88655 _ACEOF
88656 rm -f conftest.$ac_objext
88657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88658 (eval $ac_compile) 2>conftest.er1
88659 ac_status=$?
88660 grep -v '^ *+' conftest.er1 >conftest.err
88661 rm -f conftest.er1
88662 cat conftest.err >&5
88663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88664 (exit $ac_status); } &&
88665 { ac_try='test -z "$ac_cxx_werror_flag"
88666 || test ! -s conftest.err'
88667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88668 (eval $ac_try) 2>&5
88669 ac_status=$?
88670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88671 (exit $ac_status); }; } &&
88672 { ac_try='test -s conftest.$ac_objext'
88673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88674 (eval $ac_try) 2>&5
88675 ac_status=$?
88676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88677 (exit $ac_status); }; }; then
88678 glibcxx_cv_func__sincosf_use=yes
88679 else
88680 echo "$as_me: failed program was:" >&5
88681 sed 's/^/| /' conftest.$ac_ext >&5
88683 glibcxx_cv_func__sincosf_use=no
88685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88686 ac_ext=c
88687 ac_cpp='$CPP $CPPFLAGS'
88688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
88697 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
88699 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
88701 for ac_func in _sincosf
88703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88704 echo "$as_me:$LINENO: checking for $ac_func" >&5
88705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88706 if eval "test \"\${$as_ac_var+set}\" = set"; then
88707 echo $ECHO_N "(cached) $ECHO_C" >&6
88708 else
88709 if test x$gcc_no_link = xyes; then
88710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88712 { (exit 1); exit 1; }; }
88714 cat >conftest.$ac_ext <<_ACEOF
88715 /* confdefs.h. */
88716 _ACEOF
88717 cat confdefs.h >>conftest.$ac_ext
88718 cat >>conftest.$ac_ext <<_ACEOF
88719 /* end confdefs.h. */
88720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88722 #define $ac_func innocuous_$ac_func
88724 /* System header to define __stub macros and hopefully few prototypes,
88725 which can conflict with char $ac_func (); below.
88726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88727 <limits.h> exists even on freestanding compilers. */
88729 #ifdef __STDC__
88730 # include <limits.h>
88731 #else
88732 # include <assert.h>
88733 #endif
88735 #undef $ac_func
88737 /* Override any gcc2 internal prototype to avoid an error. */
88738 #ifdef __cplusplus
88739 extern "C"
88741 #endif
88742 /* We use char because int might match the return type of a gcc2
88743 builtin and then its argument prototype would still apply. */
88744 char $ac_func ();
88745 /* The GNU C library defines this for functions which it implements
88746 to always fail with ENOSYS. Some functions are actually named
88747 something starting with __ and the normal name is an alias. */
88748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88749 choke me
88750 #else
88751 char (*f) () = $ac_func;
88752 #endif
88753 #ifdef __cplusplus
88755 #endif
88758 main ()
88760 return f != $ac_func;
88762 return 0;
88764 _ACEOF
88765 rm -f conftest.$ac_objext conftest$ac_exeext
88766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88767 (eval $ac_link) 2>conftest.er1
88768 ac_status=$?
88769 grep -v '^ *+' conftest.er1 >conftest.err
88770 rm -f conftest.er1
88771 cat conftest.err >&5
88772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88773 (exit $ac_status); } &&
88774 { ac_try='test -z "$ac_c_werror_flag"
88775 || test ! -s conftest.err'
88776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88777 (eval $ac_try) 2>&5
88778 ac_status=$?
88779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88780 (exit $ac_status); }; } &&
88781 { ac_try='test -s conftest$ac_exeext'
88782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88783 (eval $ac_try) 2>&5
88784 ac_status=$?
88785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88786 (exit $ac_status); }; }; then
88787 eval "$as_ac_var=yes"
88788 else
88789 echo "$as_me: failed program was:" >&5
88790 sed 's/^/| /' conftest.$ac_ext >&5
88792 eval "$as_ac_var=no"
88794 rm -f conftest.err conftest.$ac_objext \
88795 conftest$ac_exeext conftest.$ac_ext
88797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88799 if test `eval echo '${'$as_ac_var'}'` = yes; then
88800 cat >>confdefs.h <<_ACEOF
88801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88802 _ACEOF
88805 done
88815 echo "$as_me:$LINENO: checking for finitef declaration" >&5
88816 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
88817 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
88818 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
88819 echo $ECHO_N "(cached) $ECHO_C" >&6
88820 else
88824 ac_ext=cc
88825 ac_cpp='$CXXCPP $CPPFLAGS'
88826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88830 cat >conftest.$ac_ext <<_ACEOF
88831 /* confdefs.h. */
88832 _ACEOF
88833 cat confdefs.h >>conftest.$ac_ext
88834 cat >>conftest.$ac_ext <<_ACEOF
88835 /* end confdefs.h. */
88836 #include <math.h>
88837 #ifdef HAVE_IEEEFP_H
88838 #include <ieeefp.h>
88839 #endif
88842 main ()
88844 finitef(0);
88846 return 0;
88848 _ACEOF
88849 rm -f conftest.$ac_objext
88850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88851 (eval $ac_compile) 2>conftest.er1
88852 ac_status=$?
88853 grep -v '^ *+' conftest.er1 >conftest.err
88854 rm -f conftest.er1
88855 cat conftest.err >&5
88856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88857 (exit $ac_status); } &&
88858 { ac_try='test -z "$ac_cxx_werror_flag"
88859 || test ! -s conftest.err'
88860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88861 (eval $ac_try) 2>&5
88862 ac_status=$?
88863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88864 (exit $ac_status); }; } &&
88865 { ac_try='test -s conftest.$ac_objext'
88866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88867 (eval $ac_try) 2>&5
88868 ac_status=$?
88869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88870 (exit $ac_status); }; }; then
88871 glibcxx_cv_func_finitef_use=yes
88872 else
88873 echo "$as_me: failed program was:" >&5
88874 sed 's/^/| /' conftest.$ac_ext >&5
88876 glibcxx_cv_func_finitef_use=no
88878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88879 ac_ext=c
88880 ac_cpp='$CPP $CPPFLAGS'
88881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
88890 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
88892 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
88894 for ac_func in finitef
88896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88897 echo "$as_me:$LINENO: checking for $ac_func" >&5
88898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88899 if eval "test \"\${$as_ac_var+set}\" = set"; then
88900 echo $ECHO_N "(cached) $ECHO_C" >&6
88901 else
88902 if test x$gcc_no_link = xyes; then
88903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88905 { (exit 1); exit 1; }; }
88907 cat >conftest.$ac_ext <<_ACEOF
88908 /* confdefs.h. */
88909 _ACEOF
88910 cat confdefs.h >>conftest.$ac_ext
88911 cat >>conftest.$ac_ext <<_ACEOF
88912 /* end confdefs.h. */
88913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88915 #define $ac_func innocuous_$ac_func
88917 /* System header to define __stub macros and hopefully few prototypes,
88918 which can conflict with char $ac_func (); below.
88919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88920 <limits.h> exists even on freestanding compilers. */
88922 #ifdef __STDC__
88923 # include <limits.h>
88924 #else
88925 # include <assert.h>
88926 #endif
88928 #undef $ac_func
88930 /* Override any gcc2 internal prototype to avoid an error. */
88931 #ifdef __cplusplus
88932 extern "C"
88934 #endif
88935 /* We use char because int might match the return type of a gcc2
88936 builtin and then its argument prototype would still apply. */
88937 char $ac_func ();
88938 /* The GNU C library defines this for functions which it implements
88939 to always fail with ENOSYS. Some functions are actually named
88940 something starting with __ and the normal name is an alias. */
88941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88942 choke me
88943 #else
88944 char (*f) () = $ac_func;
88945 #endif
88946 #ifdef __cplusplus
88948 #endif
88951 main ()
88953 return f != $ac_func;
88955 return 0;
88957 _ACEOF
88958 rm -f conftest.$ac_objext conftest$ac_exeext
88959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88960 (eval $ac_link) 2>conftest.er1
88961 ac_status=$?
88962 grep -v '^ *+' conftest.er1 >conftest.err
88963 rm -f conftest.er1
88964 cat conftest.err >&5
88965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88966 (exit $ac_status); } &&
88967 { ac_try='test -z "$ac_c_werror_flag"
88968 || test ! -s conftest.err'
88969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88970 (eval $ac_try) 2>&5
88971 ac_status=$?
88972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88973 (exit $ac_status); }; } &&
88974 { ac_try='test -s conftest$ac_exeext'
88975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88976 (eval $ac_try) 2>&5
88977 ac_status=$?
88978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88979 (exit $ac_status); }; }; then
88980 eval "$as_ac_var=yes"
88981 else
88982 echo "$as_me: failed program was:" >&5
88983 sed 's/^/| /' conftest.$ac_ext >&5
88985 eval "$as_ac_var=no"
88987 rm -f conftest.err conftest.$ac_objext \
88988 conftest$ac_exeext conftest.$ac_ext
88990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88992 if test `eval echo '${'$as_ac_var'}'` = yes; then
88993 cat >>confdefs.h <<_ACEOF
88994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88995 _ACEOF
88998 done
89000 else
89002 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
89003 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
89004 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
89005 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
89006 echo $ECHO_N "(cached) $ECHO_C" >&6
89007 else
89011 ac_ext=cc
89012 ac_cpp='$CXXCPP $CPPFLAGS'
89013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89017 cat >conftest.$ac_ext <<_ACEOF
89018 /* confdefs.h. */
89019 _ACEOF
89020 cat confdefs.h >>conftest.$ac_ext
89021 cat >>conftest.$ac_ext <<_ACEOF
89022 /* end confdefs.h. */
89023 #include <math.h>
89024 #ifdef HAVE_IEEEFP_H
89025 #include <ieeefp.h>
89026 #endif
89029 main ()
89031 _finitef(0);
89033 return 0;
89035 _ACEOF
89036 rm -f conftest.$ac_objext
89037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89038 (eval $ac_compile) 2>conftest.er1
89039 ac_status=$?
89040 grep -v '^ *+' conftest.er1 >conftest.err
89041 rm -f conftest.er1
89042 cat conftest.err >&5
89043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89044 (exit $ac_status); } &&
89045 { ac_try='test -z "$ac_cxx_werror_flag"
89046 || test ! -s conftest.err'
89047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89048 (eval $ac_try) 2>&5
89049 ac_status=$?
89050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89051 (exit $ac_status); }; } &&
89052 { ac_try='test -s conftest.$ac_objext'
89053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89054 (eval $ac_try) 2>&5
89055 ac_status=$?
89056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89057 (exit $ac_status); }; }; then
89058 glibcxx_cv_func__finitef_use=yes
89059 else
89060 echo "$as_me: failed program was:" >&5
89061 sed 's/^/| /' conftest.$ac_ext >&5
89063 glibcxx_cv_func__finitef_use=no
89065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89066 ac_ext=c
89067 ac_cpp='$CPP $CPPFLAGS'
89068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89076 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
89077 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
89079 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
89081 for ac_func in _finitef
89083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89084 echo "$as_me:$LINENO: checking for $ac_func" >&5
89085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89086 if eval "test \"\${$as_ac_var+set}\" = set"; then
89087 echo $ECHO_N "(cached) $ECHO_C" >&6
89088 else
89089 if test x$gcc_no_link = xyes; then
89090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89092 { (exit 1); exit 1; }; }
89094 cat >conftest.$ac_ext <<_ACEOF
89095 /* confdefs.h. */
89096 _ACEOF
89097 cat confdefs.h >>conftest.$ac_ext
89098 cat >>conftest.$ac_ext <<_ACEOF
89099 /* end confdefs.h. */
89100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89102 #define $ac_func innocuous_$ac_func
89104 /* System header to define __stub macros and hopefully few prototypes,
89105 which can conflict with char $ac_func (); below.
89106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89107 <limits.h> exists even on freestanding compilers. */
89109 #ifdef __STDC__
89110 # include <limits.h>
89111 #else
89112 # include <assert.h>
89113 #endif
89115 #undef $ac_func
89117 /* Override any gcc2 internal prototype to avoid an error. */
89118 #ifdef __cplusplus
89119 extern "C"
89121 #endif
89122 /* We use char because int might match the return type of a gcc2
89123 builtin and then its argument prototype would still apply. */
89124 char $ac_func ();
89125 /* The GNU C library defines this for functions which it implements
89126 to always fail with ENOSYS. Some functions are actually named
89127 something starting with __ and the normal name is an alias. */
89128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89129 choke me
89130 #else
89131 char (*f) () = $ac_func;
89132 #endif
89133 #ifdef __cplusplus
89135 #endif
89138 main ()
89140 return f != $ac_func;
89142 return 0;
89144 _ACEOF
89145 rm -f conftest.$ac_objext conftest$ac_exeext
89146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89147 (eval $ac_link) 2>conftest.er1
89148 ac_status=$?
89149 grep -v '^ *+' conftest.er1 >conftest.err
89150 rm -f conftest.er1
89151 cat conftest.err >&5
89152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89153 (exit $ac_status); } &&
89154 { ac_try='test -z "$ac_c_werror_flag"
89155 || test ! -s conftest.err'
89156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89157 (eval $ac_try) 2>&5
89158 ac_status=$?
89159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89160 (exit $ac_status); }; } &&
89161 { ac_try='test -s conftest$ac_exeext'
89162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89163 (eval $ac_try) 2>&5
89164 ac_status=$?
89165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89166 (exit $ac_status); }; }; then
89167 eval "$as_ac_var=yes"
89168 else
89169 echo "$as_me: failed program was:" >&5
89170 sed 's/^/| /' conftest.$ac_ext >&5
89172 eval "$as_ac_var=no"
89174 rm -f conftest.err conftest.$ac_objext \
89175 conftest$ac_exeext conftest.$ac_ext
89177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89179 if test `eval echo '${'$as_ac_var'}'` = yes; then
89180 cat >>confdefs.h <<_ACEOF
89181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89182 _ACEOF
89185 done
89195 echo "$as_me:$LINENO: checking for long double trig functions" >&5
89196 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
89197 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
89198 echo $ECHO_N "(cached) $ECHO_C" >&6
89199 else
89203 ac_ext=cc
89204 ac_cpp='$CXXCPP $CPPFLAGS'
89205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89209 cat >conftest.$ac_ext <<_ACEOF
89210 /* confdefs.h. */
89211 _ACEOF
89212 cat confdefs.h >>conftest.$ac_ext
89213 cat >>conftest.$ac_ext <<_ACEOF
89214 /* end confdefs.h. */
89215 #include <math.h>
89217 main ()
89219 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
89221 return 0;
89223 _ACEOF
89224 rm -f conftest.$ac_objext
89225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89226 (eval $ac_compile) 2>conftest.er1
89227 ac_status=$?
89228 grep -v '^ *+' conftest.er1 >conftest.err
89229 rm -f conftest.er1
89230 cat conftest.err >&5
89231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89232 (exit $ac_status); } &&
89233 { ac_try='test -z "$ac_cxx_werror_flag"
89234 || test ! -s conftest.err'
89235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89236 (eval $ac_try) 2>&5
89237 ac_status=$?
89238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89239 (exit $ac_status); }; } &&
89240 { ac_try='test -s conftest.$ac_objext'
89241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89242 (eval $ac_try) 2>&5
89243 ac_status=$?
89244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89245 (exit $ac_status); }; }; then
89246 glibcxx_cv_func_long_double_trig_use=yes
89247 else
89248 echo "$as_me: failed program was:" >&5
89249 sed 's/^/| /' conftest.$ac_ext >&5
89251 glibcxx_cv_func_long_double_trig_use=no
89253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89254 ac_ext=c
89255 ac_cpp='$CPP $CPPFLAGS'
89256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
89263 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
89264 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
89274 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
89276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89277 echo "$as_me:$LINENO: checking for $ac_func" >&5
89278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89279 if eval "test \"\${$as_ac_var+set}\" = set"; then
89280 echo $ECHO_N "(cached) $ECHO_C" >&6
89281 else
89282 if test x$gcc_no_link = xyes; then
89283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89285 { (exit 1); exit 1; }; }
89287 cat >conftest.$ac_ext <<_ACEOF
89288 /* confdefs.h. */
89289 _ACEOF
89290 cat confdefs.h >>conftest.$ac_ext
89291 cat >>conftest.$ac_ext <<_ACEOF
89292 /* end confdefs.h. */
89293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89295 #define $ac_func innocuous_$ac_func
89297 /* System header to define __stub macros and hopefully few prototypes,
89298 which can conflict with char $ac_func (); below.
89299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89300 <limits.h> exists even on freestanding compilers. */
89302 #ifdef __STDC__
89303 # include <limits.h>
89304 #else
89305 # include <assert.h>
89306 #endif
89308 #undef $ac_func
89310 /* Override any gcc2 internal prototype to avoid an error. */
89311 #ifdef __cplusplus
89312 extern "C"
89314 #endif
89315 /* We use char because int might match the return type of a gcc2
89316 builtin and then its argument prototype would still apply. */
89317 char $ac_func ();
89318 /* The GNU C library defines this for functions which it implements
89319 to always fail with ENOSYS. Some functions are actually named
89320 something starting with __ and the normal name is an alias. */
89321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89322 choke me
89323 #else
89324 char (*f) () = $ac_func;
89325 #endif
89326 #ifdef __cplusplus
89328 #endif
89331 main ()
89333 return f != $ac_func;
89335 return 0;
89337 _ACEOF
89338 rm -f conftest.$ac_objext conftest$ac_exeext
89339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89340 (eval $ac_link) 2>conftest.er1
89341 ac_status=$?
89342 grep -v '^ *+' conftest.er1 >conftest.err
89343 rm -f conftest.er1
89344 cat conftest.err >&5
89345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89346 (exit $ac_status); } &&
89347 { ac_try='test -z "$ac_c_werror_flag"
89348 || test ! -s conftest.err'
89349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89350 (eval $ac_try) 2>&5
89351 ac_status=$?
89352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89353 (exit $ac_status); }; } &&
89354 { ac_try='test -s conftest$ac_exeext'
89355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89356 (eval $ac_try) 2>&5
89357 ac_status=$?
89358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89359 (exit $ac_status); }; }; then
89360 eval "$as_ac_var=yes"
89361 else
89362 echo "$as_me: failed program was:" >&5
89363 sed 's/^/| /' conftest.$ac_ext >&5
89365 eval "$as_ac_var=no"
89367 rm -f conftest.err conftest.$ac_objext \
89368 conftest$ac_exeext conftest.$ac_ext
89370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89372 if test `eval echo '${'$as_ac_var'}'` = yes; then
89373 cat >>confdefs.h <<_ACEOF
89374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89375 _ACEOF
89378 done
89380 else
89381 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
89382 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
89383 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
89384 echo $ECHO_N "(cached) $ECHO_C" >&6
89385 else
89389 ac_ext=cc
89390 ac_cpp='$CXXCPP $CPPFLAGS'
89391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89395 cat >conftest.$ac_ext <<_ACEOF
89396 /* confdefs.h. */
89397 _ACEOF
89398 cat confdefs.h >>conftest.$ac_ext
89399 cat >>conftest.$ac_ext <<_ACEOF
89400 /* end confdefs.h. */
89401 #include <math.h>
89403 main ()
89405 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
89407 return 0;
89409 _ACEOF
89410 rm -f conftest.$ac_objext
89411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89412 (eval $ac_compile) 2>conftest.er1
89413 ac_status=$?
89414 grep -v '^ *+' conftest.er1 >conftest.err
89415 rm -f conftest.er1
89416 cat conftest.err >&5
89417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89418 (exit $ac_status); } &&
89419 { ac_try='test -z "$ac_cxx_werror_flag"
89420 || test ! -s conftest.err'
89421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89422 (eval $ac_try) 2>&5
89423 ac_status=$?
89424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89425 (exit $ac_status); }; } &&
89426 { ac_try='test -s conftest.$ac_objext'
89427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89428 (eval $ac_try) 2>&5
89429 ac_status=$?
89430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89431 (exit $ac_status); }; }; then
89432 glibcxx_cv_func__long_double_trig_use=yes
89433 else
89434 echo "$as_me: failed program was:" >&5
89435 sed 's/^/| /' conftest.$ac_ext >&5
89437 glibcxx_cv_func__long_double_trig_use=no
89439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89440 ac_ext=c
89441 ac_cpp='$CPP $CPPFLAGS'
89442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
89449 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
89450 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
89460 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
89462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89463 echo "$as_me:$LINENO: checking for $ac_func" >&5
89464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89465 if eval "test \"\${$as_ac_var+set}\" = set"; then
89466 echo $ECHO_N "(cached) $ECHO_C" >&6
89467 else
89468 if test x$gcc_no_link = xyes; then
89469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89471 { (exit 1); exit 1; }; }
89473 cat >conftest.$ac_ext <<_ACEOF
89474 /* confdefs.h. */
89475 _ACEOF
89476 cat confdefs.h >>conftest.$ac_ext
89477 cat >>conftest.$ac_ext <<_ACEOF
89478 /* end confdefs.h. */
89479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89481 #define $ac_func innocuous_$ac_func
89483 /* System header to define __stub macros and hopefully few prototypes,
89484 which can conflict with char $ac_func (); below.
89485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89486 <limits.h> exists even on freestanding compilers. */
89488 #ifdef __STDC__
89489 # include <limits.h>
89490 #else
89491 # include <assert.h>
89492 #endif
89494 #undef $ac_func
89496 /* Override any gcc2 internal prototype to avoid an error. */
89497 #ifdef __cplusplus
89498 extern "C"
89500 #endif
89501 /* We use char because int might match the return type of a gcc2
89502 builtin and then its argument prototype would still apply. */
89503 char $ac_func ();
89504 /* The GNU C library defines this for functions which it implements
89505 to always fail with ENOSYS. Some functions are actually named
89506 something starting with __ and the normal name is an alias. */
89507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89508 choke me
89509 #else
89510 char (*f) () = $ac_func;
89511 #endif
89512 #ifdef __cplusplus
89514 #endif
89517 main ()
89519 return f != $ac_func;
89521 return 0;
89523 _ACEOF
89524 rm -f conftest.$ac_objext conftest$ac_exeext
89525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89526 (eval $ac_link) 2>conftest.er1
89527 ac_status=$?
89528 grep -v '^ *+' conftest.er1 >conftest.err
89529 rm -f conftest.er1
89530 cat conftest.err >&5
89531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89532 (exit $ac_status); } &&
89533 { ac_try='test -z "$ac_c_werror_flag"
89534 || test ! -s conftest.err'
89535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89536 (eval $ac_try) 2>&5
89537 ac_status=$?
89538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89539 (exit $ac_status); }; } &&
89540 { ac_try='test -s conftest$ac_exeext'
89541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89542 (eval $ac_try) 2>&5
89543 ac_status=$?
89544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89545 (exit $ac_status); }; }; then
89546 eval "$as_ac_var=yes"
89547 else
89548 echo "$as_me: failed program was:" >&5
89549 sed 's/^/| /' conftest.$ac_ext >&5
89551 eval "$as_ac_var=no"
89553 rm -f conftest.err conftest.$ac_objext \
89554 conftest$ac_exeext conftest.$ac_ext
89556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89558 if test `eval echo '${'$as_ac_var'}'` = yes; then
89559 cat >>confdefs.h <<_ACEOF
89560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89561 _ACEOF
89564 done
89582 echo "$as_me:$LINENO: checking for long double round functions" >&5
89583 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
89584 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
89585 echo $ECHO_N "(cached) $ECHO_C" >&6
89586 else
89590 ac_ext=cc
89591 ac_cpp='$CXXCPP $CPPFLAGS'
89592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89596 cat >conftest.$ac_ext <<_ACEOF
89597 /* confdefs.h. */
89598 _ACEOF
89599 cat confdefs.h >>conftest.$ac_ext
89600 cat >>conftest.$ac_ext <<_ACEOF
89601 /* end confdefs.h. */
89602 #include <math.h>
89604 main ()
89606 ceill (0); floorl (0);
89608 return 0;
89610 _ACEOF
89611 rm -f conftest.$ac_objext
89612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89613 (eval $ac_compile) 2>conftest.er1
89614 ac_status=$?
89615 grep -v '^ *+' conftest.er1 >conftest.err
89616 rm -f conftest.er1
89617 cat conftest.err >&5
89618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89619 (exit $ac_status); } &&
89620 { ac_try='test -z "$ac_cxx_werror_flag"
89621 || test ! -s conftest.err'
89622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89623 (eval $ac_try) 2>&5
89624 ac_status=$?
89625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89626 (exit $ac_status); }; } &&
89627 { ac_try='test -s conftest.$ac_objext'
89628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89629 (eval $ac_try) 2>&5
89630 ac_status=$?
89631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89632 (exit $ac_status); }; }; then
89633 glibcxx_cv_func_long_double_round_use=yes
89634 else
89635 echo "$as_me: failed program was:" >&5
89636 sed 's/^/| /' conftest.$ac_ext >&5
89638 glibcxx_cv_func_long_double_round_use=no
89640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89641 ac_ext=c
89642 ac_cpp='$CPP $CPPFLAGS'
89643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
89650 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
89651 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
89654 for ac_func in ceill floorl
89656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89657 echo "$as_me:$LINENO: checking for $ac_func" >&5
89658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89659 if eval "test \"\${$as_ac_var+set}\" = set"; then
89660 echo $ECHO_N "(cached) $ECHO_C" >&6
89661 else
89662 if test x$gcc_no_link = xyes; then
89663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89665 { (exit 1); exit 1; }; }
89667 cat >conftest.$ac_ext <<_ACEOF
89668 /* confdefs.h. */
89669 _ACEOF
89670 cat confdefs.h >>conftest.$ac_ext
89671 cat >>conftest.$ac_ext <<_ACEOF
89672 /* end confdefs.h. */
89673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89675 #define $ac_func innocuous_$ac_func
89677 /* System header to define __stub macros and hopefully few prototypes,
89678 which can conflict with char $ac_func (); below.
89679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89680 <limits.h> exists even on freestanding compilers. */
89682 #ifdef __STDC__
89683 # include <limits.h>
89684 #else
89685 # include <assert.h>
89686 #endif
89688 #undef $ac_func
89690 /* Override any gcc2 internal prototype to avoid an error. */
89691 #ifdef __cplusplus
89692 extern "C"
89694 #endif
89695 /* We use char because int might match the return type of a gcc2
89696 builtin and then its argument prototype would still apply. */
89697 char $ac_func ();
89698 /* The GNU C library defines this for functions which it implements
89699 to always fail with ENOSYS. Some functions are actually named
89700 something starting with __ and the normal name is an alias. */
89701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89702 choke me
89703 #else
89704 char (*f) () = $ac_func;
89705 #endif
89706 #ifdef __cplusplus
89708 #endif
89711 main ()
89713 return f != $ac_func;
89715 return 0;
89717 _ACEOF
89718 rm -f conftest.$ac_objext conftest$ac_exeext
89719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89720 (eval $ac_link) 2>conftest.er1
89721 ac_status=$?
89722 grep -v '^ *+' conftest.er1 >conftest.err
89723 rm -f conftest.er1
89724 cat conftest.err >&5
89725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89726 (exit $ac_status); } &&
89727 { ac_try='test -z "$ac_c_werror_flag"
89728 || test ! -s conftest.err'
89729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89730 (eval $ac_try) 2>&5
89731 ac_status=$?
89732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89733 (exit $ac_status); }; } &&
89734 { ac_try='test -s conftest$ac_exeext'
89735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89736 (eval $ac_try) 2>&5
89737 ac_status=$?
89738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89739 (exit $ac_status); }; }; then
89740 eval "$as_ac_var=yes"
89741 else
89742 echo "$as_me: failed program was:" >&5
89743 sed 's/^/| /' conftest.$ac_ext >&5
89745 eval "$as_ac_var=no"
89747 rm -f conftest.err conftest.$ac_objext \
89748 conftest$ac_exeext conftest.$ac_ext
89750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89752 if test `eval echo '${'$as_ac_var'}'` = yes; then
89753 cat >>confdefs.h <<_ACEOF
89754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89755 _ACEOF
89758 done
89760 else
89761 echo "$as_me:$LINENO: checking for _long double round functions" >&5
89762 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
89763 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
89764 echo $ECHO_N "(cached) $ECHO_C" >&6
89765 else
89769 ac_ext=cc
89770 ac_cpp='$CXXCPP $CPPFLAGS'
89771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89775 cat >conftest.$ac_ext <<_ACEOF
89776 /* confdefs.h. */
89777 _ACEOF
89778 cat confdefs.h >>conftest.$ac_ext
89779 cat >>conftest.$ac_ext <<_ACEOF
89780 /* end confdefs.h. */
89781 #include <math.h>
89783 main ()
89785 _ceill (0); _floorl (0);
89787 return 0;
89789 _ACEOF
89790 rm -f conftest.$ac_objext
89791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89792 (eval $ac_compile) 2>conftest.er1
89793 ac_status=$?
89794 grep -v '^ *+' conftest.er1 >conftest.err
89795 rm -f conftest.er1
89796 cat conftest.err >&5
89797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798 (exit $ac_status); } &&
89799 { ac_try='test -z "$ac_cxx_werror_flag"
89800 || test ! -s conftest.err'
89801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89802 (eval $ac_try) 2>&5
89803 ac_status=$?
89804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89805 (exit $ac_status); }; } &&
89806 { ac_try='test -s conftest.$ac_objext'
89807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89808 (eval $ac_try) 2>&5
89809 ac_status=$?
89810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89811 (exit $ac_status); }; }; then
89812 glibcxx_cv_func__long_double_round_use=yes
89813 else
89814 echo "$as_me: failed program was:" >&5
89815 sed 's/^/| /' conftest.$ac_ext >&5
89817 glibcxx_cv_func__long_double_round_use=no
89819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89820 ac_ext=c
89821 ac_cpp='$CPP $CPPFLAGS'
89822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
89829 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
89830 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
89833 for ac_func in _ceill _floorl
89835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89836 echo "$as_me:$LINENO: checking for $ac_func" >&5
89837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89838 if eval "test \"\${$as_ac_var+set}\" = set"; then
89839 echo $ECHO_N "(cached) $ECHO_C" >&6
89840 else
89841 if test x$gcc_no_link = xyes; then
89842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89844 { (exit 1); exit 1; }; }
89846 cat >conftest.$ac_ext <<_ACEOF
89847 /* confdefs.h. */
89848 _ACEOF
89849 cat confdefs.h >>conftest.$ac_ext
89850 cat >>conftest.$ac_ext <<_ACEOF
89851 /* end confdefs.h. */
89852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89854 #define $ac_func innocuous_$ac_func
89856 /* System header to define __stub macros and hopefully few prototypes,
89857 which can conflict with char $ac_func (); below.
89858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89859 <limits.h> exists even on freestanding compilers. */
89861 #ifdef __STDC__
89862 # include <limits.h>
89863 #else
89864 # include <assert.h>
89865 #endif
89867 #undef $ac_func
89869 /* Override any gcc2 internal prototype to avoid an error. */
89870 #ifdef __cplusplus
89871 extern "C"
89873 #endif
89874 /* We use char because int might match the return type of a gcc2
89875 builtin and then its argument prototype would still apply. */
89876 char $ac_func ();
89877 /* The GNU C library defines this for functions which it implements
89878 to always fail with ENOSYS. Some functions are actually named
89879 something starting with __ and the normal name is an alias. */
89880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89881 choke me
89882 #else
89883 char (*f) () = $ac_func;
89884 #endif
89885 #ifdef __cplusplus
89887 #endif
89890 main ()
89892 return f != $ac_func;
89894 return 0;
89896 _ACEOF
89897 rm -f conftest.$ac_objext conftest$ac_exeext
89898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89899 (eval $ac_link) 2>conftest.er1
89900 ac_status=$?
89901 grep -v '^ *+' conftest.er1 >conftest.err
89902 rm -f conftest.er1
89903 cat conftest.err >&5
89904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89905 (exit $ac_status); } &&
89906 { ac_try='test -z "$ac_c_werror_flag"
89907 || test ! -s conftest.err'
89908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89909 (eval $ac_try) 2>&5
89910 ac_status=$?
89911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89912 (exit $ac_status); }; } &&
89913 { ac_try='test -s conftest$ac_exeext'
89914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89915 (eval $ac_try) 2>&5
89916 ac_status=$?
89917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89918 (exit $ac_status); }; }; then
89919 eval "$as_ac_var=yes"
89920 else
89921 echo "$as_me: failed program was:" >&5
89922 sed 's/^/| /' conftest.$ac_ext >&5
89924 eval "$as_ac_var=no"
89926 rm -f conftest.err conftest.$ac_objext \
89927 conftest$ac_exeext conftest.$ac_ext
89929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89931 if test `eval echo '${'$as_ac_var'}'` = yes; then
89932 cat >>confdefs.h <<_ACEOF
89933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89934 _ACEOF
89937 done
89949 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
89950 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
89951 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
89952 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
89953 echo $ECHO_N "(cached) $ECHO_C" >&6
89954 else
89958 ac_ext=cc
89959 ac_cpp='$CXXCPP $CPPFLAGS'
89960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89964 cat >conftest.$ac_ext <<_ACEOF
89965 /* confdefs.h. */
89966 _ACEOF
89967 cat confdefs.h >>conftest.$ac_ext
89968 cat >>conftest.$ac_ext <<_ACEOF
89969 /* end confdefs.h. */
89970 #include <math.h>
89971 #ifdef HAVE_IEEEFP_H
89972 #include <ieeefp.h>
89973 #endif
89976 main ()
89978 isnanl(0);
89980 return 0;
89982 _ACEOF
89983 rm -f conftest.$ac_objext
89984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89985 (eval $ac_compile) 2>conftest.er1
89986 ac_status=$?
89987 grep -v '^ *+' conftest.er1 >conftest.err
89988 rm -f conftest.er1
89989 cat conftest.err >&5
89990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89991 (exit $ac_status); } &&
89992 { ac_try='test -z "$ac_cxx_werror_flag"
89993 || test ! -s conftest.err'
89994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89995 (eval $ac_try) 2>&5
89996 ac_status=$?
89997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89998 (exit $ac_status); }; } &&
89999 { ac_try='test -s conftest.$ac_objext'
90000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90001 (eval $ac_try) 2>&5
90002 ac_status=$?
90003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90004 (exit $ac_status); }; }; then
90005 glibcxx_cv_func_isnanl_use=yes
90006 else
90007 echo "$as_me: failed program was:" >&5
90008 sed 's/^/| /' conftest.$ac_ext >&5
90010 glibcxx_cv_func_isnanl_use=no
90012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90013 ac_ext=c
90014 ac_cpp='$CPP $CPPFLAGS'
90015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
90024 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
90026 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
90028 for ac_func in isnanl
90030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90031 echo "$as_me:$LINENO: checking for $ac_func" >&5
90032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90033 if eval "test \"\${$as_ac_var+set}\" = set"; then
90034 echo $ECHO_N "(cached) $ECHO_C" >&6
90035 else
90036 if test x$gcc_no_link = xyes; then
90037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90039 { (exit 1); exit 1; }; }
90041 cat >conftest.$ac_ext <<_ACEOF
90042 /* confdefs.h. */
90043 _ACEOF
90044 cat confdefs.h >>conftest.$ac_ext
90045 cat >>conftest.$ac_ext <<_ACEOF
90046 /* end confdefs.h. */
90047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90049 #define $ac_func innocuous_$ac_func
90051 /* System header to define __stub macros and hopefully few prototypes,
90052 which can conflict with char $ac_func (); below.
90053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90054 <limits.h> exists even on freestanding compilers. */
90056 #ifdef __STDC__
90057 # include <limits.h>
90058 #else
90059 # include <assert.h>
90060 #endif
90062 #undef $ac_func
90064 /* Override any gcc2 internal prototype to avoid an error. */
90065 #ifdef __cplusplus
90066 extern "C"
90068 #endif
90069 /* We use char because int might match the return type of a gcc2
90070 builtin and then its argument prototype would still apply. */
90071 char $ac_func ();
90072 /* The GNU C library defines this for functions which it implements
90073 to always fail with ENOSYS. Some functions are actually named
90074 something starting with __ and the normal name is an alias. */
90075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90076 choke me
90077 #else
90078 char (*f) () = $ac_func;
90079 #endif
90080 #ifdef __cplusplus
90082 #endif
90085 main ()
90087 return f != $ac_func;
90089 return 0;
90091 _ACEOF
90092 rm -f conftest.$ac_objext conftest$ac_exeext
90093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90094 (eval $ac_link) 2>conftest.er1
90095 ac_status=$?
90096 grep -v '^ *+' conftest.er1 >conftest.err
90097 rm -f conftest.er1
90098 cat conftest.err >&5
90099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90100 (exit $ac_status); } &&
90101 { ac_try='test -z "$ac_c_werror_flag"
90102 || test ! -s conftest.err'
90103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90104 (eval $ac_try) 2>&5
90105 ac_status=$?
90106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90107 (exit $ac_status); }; } &&
90108 { ac_try='test -s conftest$ac_exeext'
90109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90110 (eval $ac_try) 2>&5
90111 ac_status=$?
90112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90113 (exit $ac_status); }; }; then
90114 eval "$as_ac_var=yes"
90115 else
90116 echo "$as_me: failed program was:" >&5
90117 sed 's/^/| /' conftest.$ac_ext >&5
90119 eval "$as_ac_var=no"
90121 rm -f conftest.err conftest.$ac_objext \
90122 conftest$ac_exeext conftest.$ac_ext
90124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90126 if test `eval echo '${'$as_ac_var'}'` = yes; then
90127 cat >>confdefs.h <<_ACEOF
90128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90129 _ACEOF
90132 done
90134 else
90136 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
90137 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
90138 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
90139 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
90140 echo $ECHO_N "(cached) $ECHO_C" >&6
90141 else
90145 ac_ext=cc
90146 ac_cpp='$CXXCPP $CPPFLAGS'
90147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90151 cat >conftest.$ac_ext <<_ACEOF
90152 /* confdefs.h. */
90153 _ACEOF
90154 cat confdefs.h >>conftest.$ac_ext
90155 cat >>conftest.$ac_ext <<_ACEOF
90156 /* end confdefs.h. */
90157 #include <math.h>
90158 #ifdef HAVE_IEEEFP_H
90159 #include <ieeefp.h>
90160 #endif
90163 main ()
90165 _isnanl(0);
90167 return 0;
90169 _ACEOF
90170 rm -f conftest.$ac_objext
90171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90172 (eval $ac_compile) 2>conftest.er1
90173 ac_status=$?
90174 grep -v '^ *+' conftest.er1 >conftest.err
90175 rm -f conftest.er1
90176 cat conftest.err >&5
90177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90178 (exit $ac_status); } &&
90179 { ac_try='test -z "$ac_cxx_werror_flag"
90180 || test ! -s conftest.err'
90181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90182 (eval $ac_try) 2>&5
90183 ac_status=$?
90184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90185 (exit $ac_status); }; } &&
90186 { ac_try='test -s conftest.$ac_objext'
90187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90188 (eval $ac_try) 2>&5
90189 ac_status=$?
90190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90191 (exit $ac_status); }; }; then
90192 glibcxx_cv_func__isnanl_use=yes
90193 else
90194 echo "$as_me: failed program was:" >&5
90195 sed 's/^/| /' conftest.$ac_ext >&5
90197 glibcxx_cv_func__isnanl_use=no
90199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90200 ac_ext=c
90201 ac_cpp='$CPP $CPPFLAGS'
90202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
90211 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
90213 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
90215 for ac_func in _isnanl
90217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90218 echo "$as_me:$LINENO: checking for $ac_func" >&5
90219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90220 if eval "test \"\${$as_ac_var+set}\" = set"; then
90221 echo $ECHO_N "(cached) $ECHO_C" >&6
90222 else
90223 if test x$gcc_no_link = xyes; then
90224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90226 { (exit 1); exit 1; }; }
90228 cat >conftest.$ac_ext <<_ACEOF
90229 /* confdefs.h. */
90230 _ACEOF
90231 cat confdefs.h >>conftest.$ac_ext
90232 cat >>conftest.$ac_ext <<_ACEOF
90233 /* end confdefs.h. */
90234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90236 #define $ac_func innocuous_$ac_func
90238 /* System header to define __stub macros and hopefully few prototypes,
90239 which can conflict with char $ac_func (); below.
90240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90241 <limits.h> exists even on freestanding compilers. */
90243 #ifdef __STDC__
90244 # include <limits.h>
90245 #else
90246 # include <assert.h>
90247 #endif
90249 #undef $ac_func
90251 /* Override any gcc2 internal prototype to avoid an error. */
90252 #ifdef __cplusplus
90253 extern "C"
90255 #endif
90256 /* We use char because int might match the return type of a gcc2
90257 builtin and then its argument prototype would still apply. */
90258 char $ac_func ();
90259 /* The GNU C library defines this for functions which it implements
90260 to always fail with ENOSYS. Some functions are actually named
90261 something starting with __ and the normal name is an alias. */
90262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90263 choke me
90264 #else
90265 char (*f) () = $ac_func;
90266 #endif
90267 #ifdef __cplusplus
90269 #endif
90272 main ()
90274 return f != $ac_func;
90276 return 0;
90278 _ACEOF
90279 rm -f conftest.$ac_objext conftest$ac_exeext
90280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90281 (eval $ac_link) 2>conftest.er1
90282 ac_status=$?
90283 grep -v '^ *+' conftest.er1 >conftest.err
90284 rm -f conftest.er1
90285 cat conftest.err >&5
90286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90287 (exit $ac_status); } &&
90288 { ac_try='test -z "$ac_c_werror_flag"
90289 || test ! -s conftest.err'
90290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90291 (eval $ac_try) 2>&5
90292 ac_status=$?
90293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90294 (exit $ac_status); }; } &&
90295 { ac_try='test -s conftest$ac_exeext'
90296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90297 (eval $ac_try) 2>&5
90298 ac_status=$?
90299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90300 (exit $ac_status); }; }; then
90301 eval "$as_ac_var=yes"
90302 else
90303 echo "$as_me: failed program was:" >&5
90304 sed 's/^/| /' conftest.$ac_ext >&5
90306 eval "$as_ac_var=no"
90308 rm -f conftest.err conftest.$ac_objext \
90309 conftest$ac_exeext conftest.$ac_ext
90311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90313 if test `eval echo '${'$as_ac_var'}'` = yes; then
90314 cat >>confdefs.h <<_ACEOF
90315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90316 _ACEOF
90319 done
90329 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
90330 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
90331 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
90332 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
90333 echo $ECHO_N "(cached) $ECHO_C" >&6
90334 else
90338 ac_ext=cc
90339 ac_cpp='$CXXCPP $CPPFLAGS'
90340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90344 cat >conftest.$ac_ext <<_ACEOF
90345 /* confdefs.h. */
90346 _ACEOF
90347 cat confdefs.h >>conftest.$ac_ext
90348 cat >>conftest.$ac_ext <<_ACEOF
90349 /* end confdefs.h. */
90350 #include <math.h>
90351 #ifdef HAVE_IEEEFP_H
90352 #include <ieeefp.h>
90353 #endif
90356 main ()
90358 isinfl(0);
90360 return 0;
90362 _ACEOF
90363 rm -f conftest.$ac_objext
90364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90365 (eval $ac_compile) 2>conftest.er1
90366 ac_status=$?
90367 grep -v '^ *+' conftest.er1 >conftest.err
90368 rm -f conftest.er1
90369 cat conftest.err >&5
90370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90371 (exit $ac_status); } &&
90372 { ac_try='test -z "$ac_cxx_werror_flag"
90373 || test ! -s conftest.err'
90374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90375 (eval $ac_try) 2>&5
90376 ac_status=$?
90377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378 (exit $ac_status); }; } &&
90379 { ac_try='test -s conftest.$ac_objext'
90380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90381 (eval $ac_try) 2>&5
90382 ac_status=$?
90383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384 (exit $ac_status); }; }; then
90385 glibcxx_cv_func_isinfl_use=yes
90386 else
90387 echo "$as_me: failed program was:" >&5
90388 sed 's/^/| /' conftest.$ac_ext >&5
90390 glibcxx_cv_func_isinfl_use=no
90392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90393 ac_ext=c
90394 ac_cpp='$CPP $CPPFLAGS'
90395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
90404 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
90406 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
90408 for ac_func in isinfl
90410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90411 echo "$as_me:$LINENO: checking for $ac_func" >&5
90412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90413 if eval "test \"\${$as_ac_var+set}\" = set"; then
90414 echo $ECHO_N "(cached) $ECHO_C" >&6
90415 else
90416 if test x$gcc_no_link = xyes; then
90417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90419 { (exit 1); exit 1; }; }
90421 cat >conftest.$ac_ext <<_ACEOF
90422 /* confdefs.h. */
90423 _ACEOF
90424 cat confdefs.h >>conftest.$ac_ext
90425 cat >>conftest.$ac_ext <<_ACEOF
90426 /* end confdefs.h. */
90427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90429 #define $ac_func innocuous_$ac_func
90431 /* System header to define __stub macros and hopefully few prototypes,
90432 which can conflict with char $ac_func (); below.
90433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90434 <limits.h> exists even on freestanding compilers. */
90436 #ifdef __STDC__
90437 # include <limits.h>
90438 #else
90439 # include <assert.h>
90440 #endif
90442 #undef $ac_func
90444 /* Override any gcc2 internal prototype to avoid an error. */
90445 #ifdef __cplusplus
90446 extern "C"
90448 #endif
90449 /* We use char because int might match the return type of a gcc2
90450 builtin and then its argument prototype would still apply. */
90451 char $ac_func ();
90452 /* The GNU C library defines this for functions which it implements
90453 to always fail with ENOSYS. Some functions are actually named
90454 something starting with __ and the normal name is an alias. */
90455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90456 choke me
90457 #else
90458 char (*f) () = $ac_func;
90459 #endif
90460 #ifdef __cplusplus
90462 #endif
90465 main ()
90467 return f != $ac_func;
90469 return 0;
90471 _ACEOF
90472 rm -f conftest.$ac_objext conftest$ac_exeext
90473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90474 (eval $ac_link) 2>conftest.er1
90475 ac_status=$?
90476 grep -v '^ *+' conftest.er1 >conftest.err
90477 rm -f conftest.er1
90478 cat conftest.err >&5
90479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90480 (exit $ac_status); } &&
90481 { ac_try='test -z "$ac_c_werror_flag"
90482 || test ! -s conftest.err'
90483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90484 (eval $ac_try) 2>&5
90485 ac_status=$?
90486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90487 (exit $ac_status); }; } &&
90488 { ac_try='test -s conftest$ac_exeext'
90489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90490 (eval $ac_try) 2>&5
90491 ac_status=$?
90492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90493 (exit $ac_status); }; }; then
90494 eval "$as_ac_var=yes"
90495 else
90496 echo "$as_me: failed program was:" >&5
90497 sed 's/^/| /' conftest.$ac_ext >&5
90499 eval "$as_ac_var=no"
90501 rm -f conftest.err conftest.$ac_objext \
90502 conftest$ac_exeext conftest.$ac_ext
90504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90506 if test `eval echo '${'$as_ac_var'}'` = yes; then
90507 cat >>confdefs.h <<_ACEOF
90508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90509 _ACEOF
90512 done
90514 else
90516 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
90517 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
90518 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
90519 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
90520 echo $ECHO_N "(cached) $ECHO_C" >&6
90521 else
90525 ac_ext=cc
90526 ac_cpp='$CXXCPP $CPPFLAGS'
90527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90531 cat >conftest.$ac_ext <<_ACEOF
90532 /* confdefs.h. */
90533 _ACEOF
90534 cat confdefs.h >>conftest.$ac_ext
90535 cat >>conftest.$ac_ext <<_ACEOF
90536 /* end confdefs.h. */
90537 #include <math.h>
90538 #ifdef HAVE_IEEEFP_H
90539 #include <ieeefp.h>
90540 #endif
90543 main ()
90545 _isinfl(0);
90547 return 0;
90549 _ACEOF
90550 rm -f conftest.$ac_objext
90551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90552 (eval $ac_compile) 2>conftest.er1
90553 ac_status=$?
90554 grep -v '^ *+' conftest.er1 >conftest.err
90555 rm -f conftest.er1
90556 cat conftest.err >&5
90557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558 (exit $ac_status); } &&
90559 { ac_try='test -z "$ac_cxx_werror_flag"
90560 || test ! -s conftest.err'
90561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90562 (eval $ac_try) 2>&5
90563 ac_status=$?
90564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90565 (exit $ac_status); }; } &&
90566 { ac_try='test -s conftest.$ac_objext'
90567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568 (eval $ac_try) 2>&5
90569 ac_status=$?
90570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571 (exit $ac_status); }; }; then
90572 glibcxx_cv_func__isinfl_use=yes
90573 else
90574 echo "$as_me: failed program was:" >&5
90575 sed 's/^/| /' conftest.$ac_ext >&5
90577 glibcxx_cv_func__isinfl_use=no
90579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90580 ac_ext=c
90581 ac_cpp='$CPP $CPPFLAGS'
90582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
90591 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
90593 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
90595 for ac_func in _isinfl
90597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90598 echo "$as_me:$LINENO: checking for $ac_func" >&5
90599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90600 if eval "test \"\${$as_ac_var+set}\" = set"; then
90601 echo $ECHO_N "(cached) $ECHO_C" >&6
90602 else
90603 if test x$gcc_no_link = xyes; then
90604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90606 { (exit 1); exit 1; }; }
90608 cat >conftest.$ac_ext <<_ACEOF
90609 /* confdefs.h. */
90610 _ACEOF
90611 cat confdefs.h >>conftest.$ac_ext
90612 cat >>conftest.$ac_ext <<_ACEOF
90613 /* end confdefs.h. */
90614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90616 #define $ac_func innocuous_$ac_func
90618 /* System header to define __stub macros and hopefully few prototypes,
90619 which can conflict with char $ac_func (); below.
90620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90621 <limits.h> exists even on freestanding compilers. */
90623 #ifdef __STDC__
90624 # include <limits.h>
90625 #else
90626 # include <assert.h>
90627 #endif
90629 #undef $ac_func
90631 /* Override any gcc2 internal prototype to avoid an error. */
90632 #ifdef __cplusplus
90633 extern "C"
90635 #endif
90636 /* We use char because int might match the return type of a gcc2
90637 builtin and then its argument prototype would still apply. */
90638 char $ac_func ();
90639 /* The GNU C library defines this for functions which it implements
90640 to always fail with ENOSYS. Some functions are actually named
90641 something starting with __ and the normal name is an alias. */
90642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90643 choke me
90644 #else
90645 char (*f) () = $ac_func;
90646 #endif
90647 #ifdef __cplusplus
90649 #endif
90652 main ()
90654 return f != $ac_func;
90656 return 0;
90658 _ACEOF
90659 rm -f conftest.$ac_objext conftest$ac_exeext
90660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90661 (eval $ac_link) 2>conftest.er1
90662 ac_status=$?
90663 grep -v '^ *+' conftest.er1 >conftest.err
90664 rm -f conftest.er1
90665 cat conftest.err >&5
90666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90667 (exit $ac_status); } &&
90668 { ac_try='test -z "$ac_c_werror_flag"
90669 || test ! -s conftest.err'
90670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90671 (eval $ac_try) 2>&5
90672 ac_status=$?
90673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90674 (exit $ac_status); }; } &&
90675 { ac_try='test -s conftest$ac_exeext'
90676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90677 (eval $ac_try) 2>&5
90678 ac_status=$?
90679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90680 (exit $ac_status); }; }; then
90681 eval "$as_ac_var=yes"
90682 else
90683 echo "$as_me: failed program was:" >&5
90684 sed 's/^/| /' conftest.$ac_ext >&5
90686 eval "$as_ac_var=no"
90688 rm -f conftest.err conftest.$ac_objext \
90689 conftest$ac_exeext conftest.$ac_ext
90691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90693 if test `eval echo '${'$as_ac_var'}'` = yes; then
90694 cat >>confdefs.h <<_ACEOF
90695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90696 _ACEOF
90699 done
90709 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
90710 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
90711 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
90712 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
90713 echo $ECHO_N "(cached) $ECHO_C" >&6
90714 else
90718 ac_ext=cc
90719 ac_cpp='$CXXCPP $CPPFLAGS'
90720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90724 cat >conftest.$ac_ext <<_ACEOF
90725 /* confdefs.h. */
90726 _ACEOF
90727 cat confdefs.h >>conftest.$ac_ext
90728 cat >>conftest.$ac_ext <<_ACEOF
90729 /* end confdefs.h. */
90730 #include <math.h>
90732 main ()
90734 copysignl(0, 0);
90736 return 0;
90738 _ACEOF
90739 rm -f conftest.$ac_objext
90740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90741 (eval $ac_compile) 2>conftest.er1
90742 ac_status=$?
90743 grep -v '^ *+' conftest.er1 >conftest.err
90744 rm -f conftest.er1
90745 cat conftest.err >&5
90746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90747 (exit $ac_status); } &&
90748 { ac_try='test -z "$ac_cxx_werror_flag"
90749 || test ! -s conftest.err'
90750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90751 (eval $ac_try) 2>&5
90752 ac_status=$?
90753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90754 (exit $ac_status); }; } &&
90755 { ac_try='test -s conftest.$ac_objext'
90756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90757 (eval $ac_try) 2>&5
90758 ac_status=$?
90759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90760 (exit $ac_status); }; }; then
90761 glibcxx_cv_func_copysignl_use=yes
90762 else
90763 echo "$as_me: failed program was:" >&5
90764 sed 's/^/| /' conftest.$ac_ext >&5
90766 glibcxx_cv_func_copysignl_use=no
90768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90769 ac_ext=c
90770 ac_cpp='$CPP $CPPFLAGS'
90771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90779 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
90780 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
90782 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
90784 for ac_func in copysignl
90786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90787 echo "$as_me:$LINENO: checking for $ac_func" >&5
90788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90789 if eval "test \"\${$as_ac_var+set}\" = set"; then
90790 echo $ECHO_N "(cached) $ECHO_C" >&6
90791 else
90792 if test x$gcc_no_link = xyes; then
90793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90795 { (exit 1); exit 1; }; }
90797 cat >conftest.$ac_ext <<_ACEOF
90798 /* confdefs.h. */
90799 _ACEOF
90800 cat confdefs.h >>conftest.$ac_ext
90801 cat >>conftest.$ac_ext <<_ACEOF
90802 /* end confdefs.h. */
90803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90805 #define $ac_func innocuous_$ac_func
90807 /* System header to define __stub macros and hopefully few prototypes,
90808 which can conflict with char $ac_func (); below.
90809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90810 <limits.h> exists even on freestanding compilers. */
90812 #ifdef __STDC__
90813 # include <limits.h>
90814 #else
90815 # include <assert.h>
90816 #endif
90818 #undef $ac_func
90820 /* Override any gcc2 internal prototype to avoid an error. */
90821 #ifdef __cplusplus
90822 extern "C"
90824 #endif
90825 /* We use char because int might match the return type of a gcc2
90826 builtin and then its argument prototype would still apply. */
90827 char $ac_func ();
90828 /* The GNU C library defines this for functions which it implements
90829 to always fail with ENOSYS. Some functions are actually named
90830 something starting with __ and the normal name is an alias. */
90831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90832 choke me
90833 #else
90834 char (*f) () = $ac_func;
90835 #endif
90836 #ifdef __cplusplus
90838 #endif
90841 main ()
90843 return f != $ac_func;
90845 return 0;
90847 _ACEOF
90848 rm -f conftest.$ac_objext conftest$ac_exeext
90849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90850 (eval $ac_link) 2>conftest.er1
90851 ac_status=$?
90852 grep -v '^ *+' conftest.er1 >conftest.err
90853 rm -f conftest.er1
90854 cat conftest.err >&5
90855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90856 (exit $ac_status); } &&
90857 { ac_try='test -z "$ac_c_werror_flag"
90858 || test ! -s conftest.err'
90859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90860 (eval $ac_try) 2>&5
90861 ac_status=$?
90862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90863 (exit $ac_status); }; } &&
90864 { ac_try='test -s conftest$ac_exeext'
90865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90866 (eval $ac_try) 2>&5
90867 ac_status=$?
90868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90869 (exit $ac_status); }; }; then
90870 eval "$as_ac_var=yes"
90871 else
90872 echo "$as_me: failed program was:" >&5
90873 sed 's/^/| /' conftest.$ac_ext >&5
90875 eval "$as_ac_var=no"
90877 rm -f conftest.err conftest.$ac_objext \
90878 conftest$ac_exeext conftest.$ac_ext
90880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90882 if test `eval echo '${'$as_ac_var'}'` = yes; then
90883 cat >>confdefs.h <<_ACEOF
90884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90885 _ACEOF
90888 done
90890 else
90892 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
90893 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
90894 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
90895 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
90896 echo $ECHO_N "(cached) $ECHO_C" >&6
90897 else
90901 ac_ext=cc
90902 ac_cpp='$CXXCPP $CPPFLAGS'
90903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90907 cat >conftest.$ac_ext <<_ACEOF
90908 /* confdefs.h. */
90909 _ACEOF
90910 cat confdefs.h >>conftest.$ac_ext
90911 cat >>conftest.$ac_ext <<_ACEOF
90912 /* end confdefs.h. */
90913 #include <math.h>
90915 main ()
90917 _copysignl(0, 0);
90919 return 0;
90921 _ACEOF
90922 rm -f conftest.$ac_objext
90923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90924 (eval $ac_compile) 2>conftest.er1
90925 ac_status=$?
90926 grep -v '^ *+' conftest.er1 >conftest.err
90927 rm -f conftest.er1
90928 cat conftest.err >&5
90929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930 (exit $ac_status); } &&
90931 { ac_try='test -z "$ac_cxx_werror_flag"
90932 || test ! -s conftest.err'
90933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90934 (eval $ac_try) 2>&5
90935 ac_status=$?
90936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90937 (exit $ac_status); }; } &&
90938 { ac_try='test -s conftest.$ac_objext'
90939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90940 (eval $ac_try) 2>&5
90941 ac_status=$?
90942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943 (exit $ac_status); }; }; then
90944 glibcxx_cv_func__copysignl_use=yes
90945 else
90946 echo "$as_me: failed program was:" >&5
90947 sed 's/^/| /' conftest.$ac_ext >&5
90949 glibcxx_cv_func__copysignl_use=no
90951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90952 ac_ext=c
90953 ac_cpp='$CPP $CPPFLAGS'
90954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
90963 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
90965 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
90967 for ac_func in _copysignl
90969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90970 echo "$as_me:$LINENO: checking for $ac_func" >&5
90971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90972 if eval "test \"\${$as_ac_var+set}\" = set"; then
90973 echo $ECHO_N "(cached) $ECHO_C" >&6
90974 else
90975 if test x$gcc_no_link = xyes; then
90976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90978 { (exit 1); exit 1; }; }
90980 cat >conftest.$ac_ext <<_ACEOF
90981 /* confdefs.h. */
90982 _ACEOF
90983 cat confdefs.h >>conftest.$ac_ext
90984 cat >>conftest.$ac_ext <<_ACEOF
90985 /* end confdefs.h. */
90986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90988 #define $ac_func innocuous_$ac_func
90990 /* System header to define __stub macros and hopefully few prototypes,
90991 which can conflict with char $ac_func (); below.
90992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90993 <limits.h> exists even on freestanding compilers. */
90995 #ifdef __STDC__
90996 # include <limits.h>
90997 #else
90998 # include <assert.h>
90999 #endif
91001 #undef $ac_func
91003 /* Override any gcc2 internal prototype to avoid an error. */
91004 #ifdef __cplusplus
91005 extern "C"
91007 #endif
91008 /* We use char because int might match the return type of a gcc2
91009 builtin and then its argument prototype would still apply. */
91010 char $ac_func ();
91011 /* The GNU C library defines this for functions which it implements
91012 to always fail with ENOSYS. Some functions are actually named
91013 something starting with __ and the normal name is an alias. */
91014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91015 choke me
91016 #else
91017 char (*f) () = $ac_func;
91018 #endif
91019 #ifdef __cplusplus
91021 #endif
91024 main ()
91026 return f != $ac_func;
91028 return 0;
91030 _ACEOF
91031 rm -f conftest.$ac_objext conftest$ac_exeext
91032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91033 (eval $ac_link) 2>conftest.er1
91034 ac_status=$?
91035 grep -v '^ *+' conftest.er1 >conftest.err
91036 rm -f conftest.er1
91037 cat conftest.err >&5
91038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91039 (exit $ac_status); } &&
91040 { ac_try='test -z "$ac_c_werror_flag"
91041 || test ! -s conftest.err'
91042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91043 (eval $ac_try) 2>&5
91044 ac_status=$?
91045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91046 (exit $ac_status); }; } &&
91047 { ac_try='test -s conftest$ac_exeext'
91048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91049 (eval $ac_try) 2>&5
91050 ac_status=$?
91051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91052 (exit $ac_status); }; }; then
91053 eval "$as_ac_var=yes"
91054 else
91055 echo "$as_me: failed program was:" >&5
91056 sed 's/^/| /' conftest.$ac_ext >&5
91058 eval "$as_ac_var=no"
91060 rm -f conftest.err conftest.$ac_objext \
91061 conftest$ac_exeext conftest.$ac_ext
91063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91065 if test `eval echo '${'$as_ac_var'}'` = yes; then
91066 cat >>confdefs.h <<_ACEOF
91067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91068 _ACEOF
91071 done
91081 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
91082 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
91083 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
91084 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
91085 echo $ECHO_N "(cached) $ECHO_C" >&6
91086 else
91090 ac_ext=cc
91091 ac_cpp='$CXXCPP $CPPFLAGS'
91092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91096 cat >conftest.$ac_ext <<_ACEOF
91097 /* confdefs.h. */
91098 _ACEOF
91099 cat confdefs.h >>conftest.$ac_ext
91100 cat >>conftest.$ac_ext <<_ACEOF
91101 /* end confdefs.h. */
91102 #include <math.h>
91104 main ()
91106 atan2l(0, 0);
91108 return 0;
91110 _ACEOF
91111 rm -f conftest.$ac_objext
91112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91113 (eval $ac_compile) 2>conftest.er1
91114 ac_status=$?
91115 grep -v '^ *+' conftest.er1 >conftest.err
91116 rm -f conftest.er1
91117 cat conftest.err >&5
91118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91119 (exit $ac_status); } &&
91120 { ac_try='test -z "$ac_cxx_werror_flag"
91121 || test ! -s conftest.err'
91122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91123 (eval $ac_try) 2>&5
91124 ac_status=$?
91125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91126 (exit $ac_status); }; } &&
91127 { ac_try='test -s conftest.$ac_objext'
91128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91129 (eval $ac_try) 2>&5
91130 ac_status=$?
91131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91132 (exit $ac_status); }; }; then
91133 glibcxx_cv_func_atan2l_use=yes
91134 else
91135 echo "$as_me: failed program was:" >&5
91136 sed 's/^/| /' conftest.$ac_ext >&5
91138 glibcxx_cv_func_atan2l_use=no
91140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91141 ac_ext=c
91142 ac_cpp='$CPP $CPPFLAGS'
91143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91151 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
91152 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
91154 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
91156 for ac_func in atan2l
91158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91159 echo "$as_me:$LINENO: checking for $ac_func" >&5
91160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91161 if eval "test \"\${$as_ac_var+set}\" = set"; then
91162 echo $ECHO_N "(cached) $ECHO_C" >&6
91163 else
91164 if test x$gcc_no_link = xyes; then
91165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91167 { (exit 1); exit 1; }; }
91169 cat >conftest.$ac_ext <<_ACEOF
91170 /* confdefs.h. */
91171 _ACEOF
91172 cat confdefs.h >>conftest.$ac_ext
91173 cat >>conftest.$ac_ext <<_ACEOF
91174 /* end confdefs.h. */
91175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91177 #define $ac_func innocuous_$ac_func
91179 /* System header to define __stub macros and hopefully few prototypes,
91180 which can conflict with char $ac_func (); below.
91181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91182 <limits.h> exists even on freestanding compilers. */
91184 #ifdef __STDC__
91185 # include <limits.h>
91186 #else
91187 # include <assert.h>
91188 #endif
91190 #undef $ac_func
91192 /* Override any gcc2 internal prototype to avoid an error. */
91193 #ifdef __cplusplus
91194 extern "C"
91196 #endif
91197 /* We use char because int might match the return type of a gcc2
91198 builtin and then its argument prototype would still apply. */
91199 char $ac_func ();
91200 /* The GNU C library defines this for functions which it implements
91201 to always fail with ENOSYS. Some functions are actually named
91202 something starting with __ and the normal name is an alias. */
91203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91204 choke me
91205 #else
91206 char (*f) () = $ac_func;
91207 #endif
91208 #ifdef __cplusplus
91210 #endif
91213 main ()
91215 return f != $ac_func;
91217 return 0;
91219 _ACEOF
91220 rm -f conftest.$ac_objext conftest$ac_exeext
91221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91222 (eval $ac_link) 2>conftest.er1
91223 ac_status=$?
91224 grep -v '^ *+' conftest.er1 >conftest.err
91225 rm -f conftest.er1
91226 cat conftest.err >&5
91227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91228 (exit $ac_status); } &&
91229 { ac_try='test -z "$ac_c_werror_flag"
91230 || test ! -s conftest.err'
91231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91232 (eval $ac_try) 2>&5
91233 ac_status=$?
91234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91235 (exit $ac_status); }; } &&
91236 { ac_try='test -s conftest$ac_exeext'
91237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91238 (eval $ac_try) 2>&5
91239 ac_status=$?
91240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91241 (exit $ac_status); }; }; then
91242 eval "$as_ac_var=yes"
91243 else
91244 echo "$as_me: failed program was:" >&5
91245 sed 's/^/| /' conftest.$ac_ext >&5
91247 eval "$as_ac_var=no"
91249 rm -f conftest.err conftest.$ac_objext \
91250 conftest$ac_exeext conftest.$ac_ext
91252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91254 if test `eval echo '${'$as_ac_var'}'` = yes; then
91255 cat >>confdefs.h <<_ACEOF
91256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91257 _ACEOF
91260 done
91262 else
91264 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
91265 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
91266 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
91267 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
91268 echo $ECHO_N "(cached) $ECHO_C" >&6
91269 else
91273 ac_ext=cc
91274 ac_cpp='$CXXCPP $CPPFLAGS'
91275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91279 cat >conftest.$ac_ext <<_ACEOF
91280 /* confdefs.h. */
91281 _ACEOF
91282 cat confdefs.h >>conftest.$ac_ext
91283 cat >>conftest.$ac_ext <<_ACEOF
91284 /* end confdefs.h. */
91285 #include <math.h>
91287 main ()
91289 _atan2l(0, 0);
91291 return 0;
91293 _ACEOF
91294 rm -f conftest.$ac_objext
91295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91296 (eval $ac_compile) 2>conftest.er1
91297 ac_status=$?
91298 grep -v '^ *+' conftest.er1 >conftest.err
91299 rm -f conftest.er1
91300 cat conftest.err >&5
91301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91302 (exit $ac_status); } &&
91303 { ac_try='test -z "$ac_cxx_werror_flag"
91304 || test ! -s conftest.err'
91305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91306 (eval $ac_try) 2>&5
91307 ac_status=$?
91308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91309 (exit $ac_status); }; } &&
91310 { ac_try='test -s conftest.$ac_objext'
91311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91312 (eval $ac_try) 2>&5
91313 ac_status=$?
91314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91315 (exit $ac_status); }; }; then
91316 glibcxx_cv_func__atan2l_use=yes
91317 else
91318 echo "$as_me: failed program was:" >&5
91319 sed 's/^/| /' conftest.$ac_ext >&5
91321 glibcxx_cv_func__atan2l_use=no
91323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91324 ac_ext=c
91325 ac_cpp='$CPP $CPPFLAGS'
91326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
91335 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
91337 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
91339 for ac_func in _atan2l
91341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91342 echo "$as_me:$LINENO: checking for $ac_func" >&5
91343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91344 if eval "test \"\${$as_ac_var+set}\" = set"; then
91345 echo $ECHO_N "(cached) $ECHO_C" >&6
91346 else
91347 if test x$gcc_no_link = xyes; then
91348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91350 { (exit 1); exit 1; }; }
91352 cat >conftest.$ac_ext <<_ACEOF
91353 /* confdefs.h. */
91354 _ACEOF
91355 cat confdefs.h >>conftest.$ac_ext
91356 cat >>conftest.$ac_ext <<_ACEOF
91357 /* end confdefs.h. */
91358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91360 #define $ac_func innocuous_$ac_func
91362 /* System header to define __stub macros and hopefully few prototypes,
91363 which can conflict with char $ac_func (); below.
91364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91365 <limits.h> exists even on freestanding compilers. */
91367 #ifdef __STDC__
91368 # include <limits.h>
91369 #else
91370 # include <assert.h>
91371 #endif
91373 #undef $ac_func
91375 /* Override any gcc2 internal prototype to avoid an error. */
91376 #ifdef __cplusplus
91377 extern "C"
91379 #endif
91380 /* We use char because int might match the return type of a gcc2
91381 builtin and then its argument prototype would still apply. */
91382 char $ac_func ();
91383 /* The GNU C library defines this for functions which it implements
91384 to always fail with ENOSYS. Some functions are actually named
91385 something starting with __ and the normal name is an alias. */
91386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91387 choke me
91388 #else
91389 char (*f) () = $ac_func;
91390 #endif
91391 #ifdef __cplusplus
91393 #endif
91396 main ()
91398 return f != $ac_func;
91400 return 0;
91402 _ACEOF
91403 rm -f conftest.$ac_objext conftest$ac_exeext
91404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91405 (eval $ac_link) 2>conftest.er1
91406 ac_status=$?
91407 grep -v '^ *+' conftest.er1 >conftest.err
91408 rm -f conftest.er1
91409 cat conftest.err >&5
91410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91411 (exit $ac_status); } &&
91412 { ac_try='test -z "$ac_c_werror_flag"
91413 || test ! -s conftest.err'
91414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91415 (eval $ac_try) 2>&5
91416 ac_status=$?
91417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91418 (exit $ac_status); }; } &&
91419 { ac_try='test -s conftest$ac_exeext'
91420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91421 (eval $ac_try) 2>&5
91422 ac_status=$?
91423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91424 (exit $ac_status); }; }; then
91425 eval "$as_ac_var=yes"
91426 else
91427 echo "$as_me: failed program was:" >&5
91428 sed 's/^/| /' conftest.$ac_ext >&5
91430 eval "$as_ac_var=no"
91432 rm -f conftest.err conftest.$ac_objext \
91433 conftest$ac_exeext conftest.$ac_ext
91435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91437 if test `eval echo '${'$as_ac_var'}'` = yes; then
91438 cat >>confdefs.h <<_ACEOF
91439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91440 _ACEOF
91443 done
91453 echo "$as_me:$LINENO: checking for expl declaration" >&5
91454 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
91455 if test x${glibcxx_cv_func_expl_use+set} != xset; then
91456 if test "${glibcxx_cv_func_expl_use+set}" = set; then
91457 echo $ECHO_N "(cached) $ECHO_C" >&6
91458 else
91462 ac_ext=cc
91463 ac_cpp='$CXXCPP $CPPFLAGS'
91464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91468 cat >conftest.$ac_ext <<_ACEOF
91469 /* confdefs.h. */
91470 _ACEOF
91471 cat confdefs.h >>conftest.$ac_ext
91472 cat >>conftest.$ac_ext <<_ACEOF
91473 /* end confdefs.h. */
91474 #include <math.h>
91475 #ifdef HAVE_IEEEFP_H
91476 #include <ieeefp.h>
91477 #endif
91480 main ()
91482 expl(0);
91484 return 0;
91486 _ACEOF
91487 rm -f conftest.$ac_objext
91488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91489 (eval $ac_compile) 2>conftest.er1
91490 ac_status=$?
91491 grep -v '^ *+' conftest.er1 >conftest.err
91492 rm -f conftest.er1
91493 cat conftest.err >&5
91494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495 (exit $ac_status); } &&
91496 { ac_try='test -z "$ac_cxx_werror_flag"
91497 || test ! -s conftest.err'
91498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91499 (eval $ac_try) 2>&5
91500 ac_status=$?
91501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91502 (exit $ac_status); }; } &&
91503 { ac_try='test -s conftest.$ac_objext'
91504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91505 (eval $ac_try) 2>&5
91506 ac_status=$?
91507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91508 (exit $ac_status); }; }; then
91509 glibcxx_cv_func_expl_use=yes
91510 else
91511 echo "$as_me: failed program was:" >&5
91512 sed 's/^/| /' conftest.$ac_ext >&5
91514 glibcxx_cv_func_expl_use=no
91516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91517 ac_ext=c
91518 ac_cpp='$CPP $CPPFLAGS'
91519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
91528 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
91530 if test x$glibcxx_cv_func_expl_use = x"yes"; then
91532 for ac_func in expl
91534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91535 echo "$as_me:$LINENO: checking for $ac_func" >&5
91536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91537 if eval "test \"\${$as_ac_var+set}\" = set"; then
91538 echo $ECHO_N "(cached) $ECHO_C" >&6
91539 else
91540 if test x$gcc_no_link = xyes; then
91541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91543 { (exit 1); exit 1; }; }
91545 cat >conftest.$ac_ext <<_ACEOF
91546 /* confdefs.h. */
91547 _ACEOF
91548 cat confdefs.h >>conftest.$ac_ext
91549 cat >>conftest.$ac_ext <<_ACEOF
91550 /* end confdefs.h. */
91551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91553 #define $ac_func innocuous_$ac_func
91555 /* System header to define __stub macros and hopefully few prototypes,
91556 which can conflict with char $ac_func (); below.
91557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91558 <limits.h> exists even on freestanding compilers. */
91560 #ifdef __STDC__
91561 # include <limits.h>
91562 #else
91563 # include <assert.h>
91564 #endif
91566 #undef $ac_func
91568 /* Override any gcc2 internal prototype to avoid an error. */
91569 #ifdef __cplusplus
91570 extern "C"
91572 #endif
91573 /* We use char because int might match the return type of a gcc2
91574 builtin and then its argument prototype would still apply. */
91575 char $ac_func ();
91576 /* The GNU C library defines this for functions which it implements
91577 to always fail with ENOSYS. Some functions are actually named
91578 something starting with __ and the normal name is an alias. */
91579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91580 choke me
91581 #else
91582 char (*f) () = $ac_func;
91583 #endif
91584 #ifdef __cplusplus
91586 #endif
91589 main ()
91591 return f != $ac_func;
91593 return 0;
91595 _ACEOF
91596 rm -f conftest.$ac_objext conftest$ac_exeext
91597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91598 (eval $ac_link) 2>conftest.er1
91599 ac_status=$?
91600 grep -v '^ *+' conftest.er1 >conftest.err
91601 rm -f conftest.er1
91602 cat conftest.err >&5
91603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91604 (exit $ac_status); } &&
91605 { ac_try='test -z "$ac_c_werror_flag"
91606 || test ! -s conftest.err'
91607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91608 (eval $ac_try) 2>&5
91609 ac_status=$?
91610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91611 (exit $ac_status); }; } &&
91612 { ac_try='test -s conftest$ac_exeext'
91613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91614 (eval $ac_try) 2>&5
91615 ac_status=$?
91616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91617 (exit $ac_status); }; }; then
91618 eval "$as_ac_var=yes"
91619 else
91620 echo "$as_me: failed program was:" >&5
91621 sed 's/^/| /' conftest.$ac_ext >&5
91623 eval "$as_ac_var=no"
91625 rm -f conftest.err conftest.$ac_objext \
91626 conftest$ac_exeext conftest.$ac_ext
91628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91630 if test `eval echo '${'$as_ac_var'}'` = yes; then
91631 cat >>confdefs.h <<_ACEOF
91632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91633 _ACEOF
91636 done
91638 else
91640 echo "$as_me:$LINENO: checking for _expl declaration" >&5
91641 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
91642 if test x${glibcxx_cv_func__expl_use+set} != xset; then
91643 if test "${glibcxx_cv_func__expl_use+set}" = set; then
91644 echo $ECHO_N "(cached) $ECHO_C" >&6
91645 else
91649 ac_ext=cc
91650 ac_cpp='$CXXCPP $CPPFLAGS'
91651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91655 cat >conftest.$ac_ext <<_ACEOF
91656 /* confdefs.h. */
91657 _ACEOF
91658 cat confdefs.h >>conftest.$ac_ext
91659 cat >>conftest.$ac_ext <<_ACEOF
91660 /* end confdefs.h. */
91661 #include <math.h>
91662 #ifdef HAVE_IEEEFP_H
91663 #include <ieeefp.h>
91664 #endif
91667 main ()
91669 _expl(0);
91671 return 0;
91673 _ACEOF
91674 rm -f conftest.$ac_objext
91675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91676 (eval $ac_compile) 2>conftest.er1
91677 ac_status=$?
91678 grep -v '^ *+' conftest.er1 >conftest.err
91679 rm -f conftest.er1
91680 cat conftest.err >&5
91681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91682 (exit $ac_status); } &&
91683 { ac_try='test -z "$ac_cxx_werror_flag"
91684 || test ! -s conftest.err'
91685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91686 (eval $ac_try) 2>&5
91687 ac_status=$?
91688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91689 (exit $ac_status); }; } &&
91690 { ac_try='test -s conftest.$ac_objext'
91691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91692 (eval $ac_try) 2>&5
91693 ac_status=$?
91694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91695 (exit $ac_status); }; }; then
91696 glibcxx_cv_func__expl_use=yes
91697 else
91698 echo "$as_me: failed program was:" >&5
91699 sed 's/^/| /' conftest.$ac_ext >&5
91701 glibcxx_cv_func__expl_use=no
91703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91704 ac_ext=c
91705 ac_cpp='$CPP $CPPFLAGS'
91706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91714 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
91715 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
91717 if test x$glibcxx_cv_func__expl_use = x"yes"; then
91719 for ac_func in _expl
91721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91722 echo "$as_me:$LINENO: checking for $ac_func" >&5
91723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91724 if eval "test \"\${$as_ac_var+set}\" = set"; then
91725 echo $ECHO_N "(cached) $ECHO_C" >&6
91726 else
91727 if test x$gcc_no_link = xyes; then
91728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91730 { (exit 1); exit 1; }; }
91732 cat >conftest.$ac_ext <<_ACEOF
91733 /* confdefs.h. */
91734 _ACEOF
91735 cat confdefs.h >>conftest.$ac_ext
91736 cat >>conftest.$ac_ext <<_ACEOF
91737 /* end confdefs.h. */
91738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91740 #define $ac_func innocuous_$ac_func
91742 /* System header to define __stub macros and hopefully few prototypes,
91743 which can conflict with char $ac_func (); below.
91744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91745 <limits.h> exists even on freestanding compilers. */
91747 #ifdef __STDC__
91748 # include <limits.h>
91749 #else
91750 # include <assert.h>
91751 #endif
91753 #undef $ac_func
91755 /* Override any gcc2 internal prototype to avoid an error. */
91756 #ifdef __cplusplus
91757 extern "C"
91759 #endif
91760 /* We use char because int might match the return type of a gcc2
91761 builtin and then its argument prototype would still apply. */
91762 char $ac_func ();
91763 /* The GNU C library defines this for functions which it implements
91764 to always fail with ENOSYS. Some functions are actually named
91765 something starting with __ and the normal name is an alias. */
91766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91767 choke me
91768 #else
91769 char (*f) () = $ac_func;
91770 #endif
91771 #ifdef __cplusplus
91773 #endif
91776 main ()
91778 return f != $ac_func;
91780 return 0;
91782 _ACEOF
91783 rm -f conftest.$ac_objext conftest$ac_exeext
91784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91785 (eval $ac_link) 2>conftest.er1
91786 ac_status=$?
91787 grep -v '^ *+' conftest.er1 >conftest.err
91788 rm -f conftest.er1
91789 cat conftest.err >&5
91790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91791 (exit $ac_status); } &&
91792 { ac_try='test -z "$ac_c_werror_flag"
91793 || test ! -s conftest.err'
91794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91795 (eval $ac_try) 2>&5
91796 ac_status=$?
91797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91798 (exit $ac_status); }; } &&
91799 { ac_try='test -s conftest$ac_exeext'
91800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91801 (eval $ac_try) 2>&5
91802 ac_status=$?
91803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91804 (exit $ac_status); }; }; then
91805 eval "$as_ac_var=yes"
91806 else
91807 echo "$as_me: failed program was:" >&5
91808 sed 's/^/| /' conftest.$ac_ext >&5
91810 eval "$as_ac_var=no"
91812 rm -f conftest.err conftest.$ac_objext \
91813 conftest$ac_exeext conftest.$ac_ext
91815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91817 if test `eval echo '${'$as_ac_var'}'` = yes; then
91818 cat >>confdefs.h <<_ACEOF
91819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91820 _ACEOF
91823 done
91833 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
91834 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
91835 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
91836 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
91837 echo $ECHO_N "(cached) $ECHO_C" >&6
91838 else
91842 ac_ext=cc
91843 ac_cpp='$CXXCPP $CPPFLAGS'
91844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91848 cat >conftest.$ac_ext <<_ACEOF
91849 /* confdefs.h. */
91850 _ACEOF
91851 cat confdefs.h >>conftest.$ac_ext
91852 cat >>conftest.$ac_ext <<_ACEOF
91853 /* end confdefs.h. */
91854 #include <math.h>
91855 #ifdef HAVE_IEEEFP_H
91856 #include <ieeefp.h>
91857 #endif
91860 main ()
91862 fabsl(0);
91864 return 0;
91866 _ACEOF
91867 rm -f conftest.$ac_objext
91868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91869 (eval $ac_compile) 2>conftest.er1
91870 ac_status=$?
91871 grep -v '^ *+' conftest.er1 >conftest.err
91872 rm -f conftest.er1
91873 cat conftest.err >&5
91874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91875 (exit $ac_status); } &&
91876 { ac_try='test -z "$ac_cxx_werror_flag"
91877 || test ! -s conftest.err'
91878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91879 (eval $ac_try) 2>&5
91880 ac_status=$?
91881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882 (exit $ac_status); }; } &&
91883 { ac_try='test -s conftest.$ac_objext'
91884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91885 (eval $ac_try) 2>&5
91886 ac_status=$?
91887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91888 (exit $ac_status); }; }; then
91889 glibcxx_cv_func_fabsl_use=yes
91890 else
91891 echo "$as_me: failed program was:" >&5
91892 sed 's/^/| /' conftest.$ac_ext >&5
91894 glibcxx_cv_func_fabsl_use=no
91896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91897 ac_ext=c
91898 ac_cpp='$CPP $CPPFLAGS'
91899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
91908 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
91910 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
91912 for ac_func in fabsl
91914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91915 echo "$as_me:$LINENO: checking for $ac_func" >&5
91916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91917 if eval "test \"\${$as_ac_var+set}\" = set"; then
91918 echo $ECHO_N "(cached) $ECHO_C" >&6
91919 else
91920 if test x$gcc_no_link = xyes; then
91921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91923 { (exit 1); exit 1; }; }
91925 cat >conftest.$ac_ext <<_ACEOF
91926 /* confdefs.h. */
91927 _ACEOF
91928 cat confdefs.h >>conftest.$ac_ext
91929 cat >>conftest.$ac_ext <<_ACEOF
91930 /* end confdefs.h. */
91931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91933 #define $ac_func innocuous_$ac_func
91935 /* System header to define __stub macros and hopefully few prototypes,
91936 which can conflict with char $ac_func (); below.
91937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91938 <limits.h> exists even on freestanding compilers. */
91940 #ifdef __STDC__
91941 # include <limits.h>
91942 #else
91943 # include <assert.h>
91944 #endif
91946 #undef $ac_func
91948 /* Override any gcc2 internal prototype to avoid an error. */
91949 #ifdef __cplusplus
91950 extern "C"
91952 #endif
91953 /* We use char because int might match the return type of a gcc2
91954 builtin and then its argument prototype would still apply. */
91955 char $ac_func ();
91956 /* The GNU C library defines this for functions which it implements
91957 to always fail with ENOSYS. Some functions are actually named
91958 something starting with __ and the normal name is an alias. */
91959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91960 choke me
91961 #else
91962 char (*f) () = $ac_func;
91963 #endif
91964 #ifdef __cplusplus
91966 #endif
91969 main ()
91971 return f != $ac_func;
91973 return 0;
91975 _ACEOF
91976 rm -f conftest.$ac_objext conftest$ac_exeext
91977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91978 (eval $ac_link) 2>conftest.er1
91979 ac_status=$?
91980 grep -v '^ *+' conftest.er1 >conftest.err
91981 rm -f conftest.er1
91982 cat conftest.err >&5
91983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91984 (exit $ac_status); } &&
91985 { ac_try='test -z "$ac_c_werror_flag"
91986 || test ! -s conftest.err'
91987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91988 (eval $ac_try) 2>&5
91989 ac_status=$?
91990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91991 (exit $ac_status); }; } &&
91992 { ac_try='test -s conftest$ac_exeext'
91993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91994 (eval $ac_try) 2>&5
91995 ac_status=$?
91996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91997 (exit $ac_status); }; }; then
91998 eval "$as_ac_var=yes"
91999 else
92000 echo "$as_me: failed program was:" >&5
92001 sed 's/^/| /' conftest.$ac_ext >&5
92003 eval "$as_ac_var=no"
92005 rm -f conftest.err conftest.$ac_objext \
92006 conftest$ac_exeext conftest.$ac_ext
92008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92010 if test `eval echo '${'$as_ac_var'}'` = yes; then
92011 cat >>confdefs.h <<_ACEOF
92012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92013 _ACEOF
92016 done
92018 else
92020 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
92021 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
92022 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
92023 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
92024 echo $ECHO_N "(cached) $ECHO_C" >&6
92025 else
92029 ac_ext=cc
92030 ac_cpp='$CXXCPP $CPPFLAGS'
92031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92035 cat >conftest.$ac_ext <<_ACEOF
92036 /* confdefs.h. */
92037 _ACEOF
92038 cat confdefs.h >>conftest.$ac_ext
92039 cat >>conftest.$ac_ext <<_ACEOF
92040 /* end confdefs.h. */
92041 #include <math.h>
92042 #ifdef HAVE_IEEEFP_H
92043 #include <ieeefp.h>
92044 #endif
92047 main ()
92049 _fabsl(0);
92051 return 0;
92053 _ACEOF
92054 rm -f conftest.$ac_objext
92055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92056 (eval $ac_compile) 2>conftest.er1
92057 ac_status=$?
92058 grep -v '^ *+' conftest.er1 >conftest.err
92059 rm -f conftest.er1
92060 cat conftest.err >&5
92061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062 (exit $ac_status); } &&
92063 { ac_try='test -z "$ac_cxx_werror_flag"
92064 || test ! -s conftest.err'
92065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92066 (eval $ac_try) 2>&5
92067 ac_status=$?
92068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92069 (exit $ac_status); }; } &&
92070 { ac_try='test -s conftest.$ac_objext'
92071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92072 (eval $ac_try) 2>&5
92073 ac_status=$?
92074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92075 (exit $ac_status); }; }; then
92076 glibcxx_cv_func__fabsl_use=yes
92077 else
92078 echo "$as_me: failed program was:" >&5
92079 sed 's/^/| /' conftest.$ac_ext >&5
92081 glibcxx_cv_func__fabsl_use=no
92083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92084 ac_ext=c
92085 ac_cpp='$CPP $CPPFLAGS'
92086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
92095 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
92097 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
92099 for ac_func in _fabsl
92101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92102 echo "$as_me:$LINENO: checking for $ac_func" >&5
92103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92104 if eval "test \"\${$as_ac_var+set}\" = set"; then
92105 echo $ECHO_N "(cached) $ECHO_C" >&6
92106 else
92107 if test x$gcc_no_link = xyes; then
92108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92110 { (exit 1); exit 1; }; }
92112 cat >conftest.$ac_ext <<_ACEOF
92113 /* confdefs.h. */
92114 _ACEOF
92115 cat confdefs.h >>conftest.$ac_ext
92116 cat >>conftest.$ac_ext <<_ACEOF
92117 /* end confdefs.h. */
92118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92120 #define $ac_func innocuous_$ac_func
92122 /* System header to define __stub macros and hopefully few prototypes,
92123 which can conflict with char $ac_func (); below.
92124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92125 <limits.h> exists even on freestanding compilers. */
92127 #ifdef __STDC__
92128 # include <limits.h>
92129 #else
92130 # include <assert.h>
92131 #endif
92133 #undef $ac_func
92135 /* Override any gcc2 internal prototype to avoid an error. */
92136 #ifdef __cplusplus
92137 extern "C"
92139 #endif
92140 /* We use char because int might match the return type of a gcc2
92141 builtin and then its argument prototype would still apply. */
92142 char $ac_func ();
92143 /* The GNU C library defines this for functions which it implements
92144 to always fail with ENOSYS. Some functions are actually named
92145 something starting with __ and the normal name is an alias. */
92146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92147 choke me
92148 #else
92149 char (*f) () = $ac_func;
92150 #endif
92151 #ifdef __cplusplus
92153 #endif
92156 main ()
92158 return f != $ac_func;
92160 return 0;
92162 _ACEOF
92163 rm -f conftest.$ac_objext conftest$ac_exeext
92164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92165 (eval $ac_link) 2>conftest.er1
92166 ac_status=$?
92167 grep -v '^ *+' conftest.er1 >conftest.err
92168 rm -f conftest.er1
92169 cat conftest.err >&5
92170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92171 (exit $ac_status); } &&
92172 { ac_try='test -z "$ac_c_werror_flag"
92173 || test ! -s conftest.err'
92174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92175 (eval $ac_try) 2>&5
92176 ac_status=$?
92177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92178 (exit $ac_status); }; } &&
92179 { ac_try='test -s conftest$ac_exeext'
92180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92181 (eval $ac_try) 2>&5
92182 ac_status=$?
92183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92184 (exit $ac_status); }; }; then
92185 eval "$as_ac_var=yes"
92186 else
92187 echo "$as_me: failed program was:" >&5
92188 sed 's/^/| /' conftest.$ac_ext >&5
92190 eval "$as_ac_var=no"
92192 rm -f conftest.err conftest.$ac_objext \
92193 conftest$ac_exeext conftest.$ac_ext
92195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92197 if test `eval echo '${'$as_ac_var'}'` = yes; then
92198 cat >>confdefs.h <<_ACEOF
92199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92200 _ACEOF
92203 done
92213 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
92214 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
92215 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
92216 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
92217 echo $ECHO_N "(cached) $ECHO_C" >&6
92218 else
92222 ac_ext=cc
92223 ac_cpp='$CXXCPP $CPPFLAGS'
92224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92228 cat >conftest.$ac_ext <<_ACEOF
92229 /* confdefs.h. */
92230 _ACEOF
92231 cat confdefs.h >>conftest.$ac_ext
92232 cat >>conftest.$ac_ext <<_ACEOF
92233 /* end confdefs.h. */
92234 #include <math.h>
92236 main ()
92238 fmodl(0, 0);
92240 return 0;
92242 _ACEOF
92243 rm -f conftest.$ac_objext
92244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92245 (eval $ac_compile) 2>conftest.er1
92246 ac_status=$?
92247 grep -v '^ *+' conftest.er1 >conftest.err
92248 rm -f conftest.er1
92249 cat conftest.err >&5
92250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251 (exit $ac_status); } &&
92252 { ac_try='test -z "$ac_cxx_werror_flag"
92253 || test ! -s conftest.err'
92254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92255 (eval $ac_try) 2>&5
92256 ac_status=$?
92257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92258 (exit $ac_status); }; } &&
92259 { ac_try='test -s conftest.$ac_objext'
92260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92261 (eval $ac_try) 2>&5
92262 ac_status=$?
92263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92264 (exit $ac_status); }; }; then
92265 glibcxx_cv_func_fmodl_use=yes
92266 else
92267 echo "$as_me: failed program was:" >&5
92268 sed 's/^/| /' conftest.$ac_ext >&5
92270 glibcxx_cv_func_fmodl_use=no
92272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92273 ac_ext=c
92274 ac_cpp='$CPP $CPPFLAGS'
92275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
92284 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
92286 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
92288 for ac_func in fmodl
92290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92291 echo "$as_me:$LINENO: checking for $ac_func" >&5
92292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92293 if eval "test \"\${$as_ac_var+set}\" = set"; then
92294 echo $ECHO_N "(cached) $ECHO_C" >&6
92295 else
92296 if test x$gcc_no_link = xyes; then
92297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92299 { (exit 1); exit 1; }; }
92301 cat >conftest.$ac_ext <<_ACEOF
92302 /* confdefs.h. */
92303 _ACEOF
92304 cat confdefs.h >>conftest.$ac_ext
92305 cat >>conftest.$ac_ext <<_ACEOF
92306 /* end confdefs.h. */
92307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92309 #define $ac_func innocuous_$ac_func
92311 /* System header to define __stub macros and hopefully few prototypes,
92312 which can conflict with char $ac_func (); below.
92313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92314 <limits.h> exists even on freestanding compilers. */
92316 #ifdef __STDC__
92317 # include <limits.h>
92318 #else
92319 # include <assert.h>
92320 #endif
92322 #undef $ac_func
92324 /* Override any gcc2 internal prototype to avoid an error. */
92325 #ifdef __cplusplus
92326 extern "C"
92328 #endif
92329 /* We use char because int might match the return type of a gcc2
92330 builtin and then its argument prototype would still apply. */
92331 char $ac_func ();
92332 /* The GNU C library defines this for functions which it implements
92333 to always fail with ENOSYS. Some functions are actually named
92334 something starting with __ and the normal name is an alias. */
92335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92336 choke me
92337 #else
92338 char (*f) () = $ac_func;
92339 #endif
92340 #ifdef __cplusplus
92342 #endif
92345 main ()
92347 return f != $ac_func;
92349 return 0;
92351 _ACEOF
92352 rm -f conftest.$ac_objext conftest$ac_exeext
92353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92354 (eval $ac_link) 2>conftest.er1
92355 ac_status=$?
92356 grep -v '^ *+' conftest.er1 >conftest.err
92357 rm -f conftest.er1
92358 cat conftest.err >&5
92359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92360 (exit $ac_status); } &&
92361 { ac_try='test -z "$ac_c_werror_flag"
92362 || test ! -s conftest.err'
92363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92364 (eval $ac_try) 2>&5
92365 ac_status=$?
92366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92367 (exit $ac_status); }; } &&
92368 { ac_try='test -s conftest$ac_exeext'
92369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92370 (eval $ac_try) 2>&5
92371 ac_status=$?
92372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92373 (exit $ac_status); }; }; then
92374 eval "$as_ac_var=yes"
92375 else
92376 echo "$as_me: failed program was:" >&5
92377 sed 's/^/| /' conftest.$ac_ext >&5
92379 eval "$as_ac_var=no"
92381 rm -f conftest.err conftest.$ac_objext \
92382 conftest$ac_exeext conftest.$ac_ext
92384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92386 if test `eval echo '${'$as_ac_var'}'` = yes; then
92387 cat >>confdefs.h <<_ACEOF
92388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92389 _ACEOF
92392 done
92394 else
92396 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
92397 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
92398 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
92399 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
92400 echo $ECHO_N "(cached) $ECHO_C" >&6
92401 else
92405 ac_ext=cc
92406 ac_cpp='$CXXCPP $CPPFLAGS'
92407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92411 cat >conftest.$ac_ext <<_ACEOF
92412 /* confdefs.h. */
92413 _ACEOF
92414 cat confdefs.h >>conftest.$ac_ext
92415 cat >>conftest.$ac_ext <<_ACEOF
92416 /* end confdefs.h. */
92417 #include <math.h>
92419 main ()
92421 _fmodl(0, 0);
92423 return 0;
92425 _ACEOF
92426 rm -f conftest.$ac_objext
92427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92428 (eval $ac_compile) 2>conftest.er1
92429 ac_status=$?
92430 grep -v '^ *+' conftest.er1 >conftest.err
92431 rm -f conftest.er1
92432 cat conftest.err >&5
92433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92434 (exit $ac_status); } &&
92435 { ac_try='test -z "$ac_cxx_werror_flag"
92436 || test ! -s conftest.err'
92437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92438 (eval $ac_try) 2>&5
92439 ac_status=$?
92440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92441 (exit $ac_status); }; } &&
92442 { ac_try='test -s conftest.$ac_objext'
92443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92444 (eval $ac_try) 2>&5
92445 ac_status=$?
92446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92447 (exit $ac_status); }; }; then
92448 glibcxx_cv_func__fmodl_use=yes
92449 else
92450 echo "$as_me: failed program was:" >&5
92451 sed 's/^/| /' conftest.$ac_ext >&5
92453 glibcxx_cv_func__fmodl_use=no
92455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92456 ac_ext=c
92457 ac_cpp='$CPP $CPPFLAGS'
92458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
92467 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
92469 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
92471 for ac_func in _fmodl
92473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92474 echo "$as_me:$LINENO: checking for $ac_func" >&5
92475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92476 if eval "test \"\${$as_ac_var+set}\" = set"; then
92477 echo $ECHO_N "(cached) $ECHO_C" >&6
92478 else
92479 if test x$gcc_no_link = xyes; then
92480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92482 { (exit 1); exit 1; }; }
92484 cat >conftest.$ac_ext <<_ACEOF
92485 /* confdefs.h. */
92486 _ACEOF
92487 cat confdefs.h >>conftest.$ac_ext
92488 cat >>conftest.$ac_ext <<_ACEOF
92489 /* end confdefs.h. */
92490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92492 #define $ac_func innocuous_$ac_func
92494 /* System header to define __stub macros and hopefully few prototypes,
92495 which can conflict with char $ac_func (); below.
92496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92497 <limits.h> exists even on freestanding compilers. */
92499 #ifdef __STDC__
92500 # include <limits.h>
92501 #else
92502 # include <assert.h>
92503 #endif
92505 #undef $ac_func
92507 /* Override any gcc2 internal prototype to avoid an error. */
92508 #ifdef __cplusplus
92509 extern "C"
92511 #endif
92512 /* We use char because int might match the return type of a gcc2
92513 builtin and then its argument prototype would still apply. */
92514 char $ac_func ();
92515 /* The GNU C library defines this for functions which it implements
92516 to always fail with ENOSYS. Some functions are actually named
92517 something starting with __ and the normal name is an alias. */
92518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92519 choke me
92520 #else
92521 char (*f) () = $ac_func;
92522 #endif
92523 #ifdef __cplusplus
92525 #endif
92528 main ()
92530 return f != $ac_func;
92532 return 0;
92534 _ACEOF
92535 rm -f conftest.$ac_objext conftest$ac_exeext
92536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92537 (eval $ac_link) 2>conftest.er1
92538 ac_status=$?
92539 grep -v '^ *+' conftest.er1 >conftest.err
92540 rm -f conftest.er1
92541 cat conftest.err >&5
92542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543 (exit $ac_status); } &&
92544 { ac_try='test -z "$ac_c_werror_flag"
92545 || test ! -s conftest.err'
92546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92547 (eval $ac_try) 2>&5
92548 ac_status=$?
92549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92550 (exit $ac_status); }; } &&
92551 { ac_try='test -s conftest$ac_exeext'
92552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92553 (eval $ac_try) 2>&5
92554 ac_status=$?
92555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92556 (exit $ac_status); }; }; then
92557 eval "$as_ac_var=yes"
92558 else
92559 echo "$as_me: failed program was:" >&5
92560 sed 's/^/| /' conftest.$ac_ext >&5
92562 eval "$as_ac_var=no"
92564 rm -f conftest.err conftest.$ac_objext \
92565 conftest$ac_exeext conftest.$ac_ext
92567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92569 if test `eval echo '${'$as_ac_var'}'` = yes; then
92570 cat >>confdefs.h <<_ACEOF
92571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92572 _ACEOF
92575 done
92585 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
92586 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
92587 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
92588 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
92589 echo $ECHO_N "(cached) $ECHO_C" >&6
92590 else
92594 ac_ext=cc
92595 ac_cpp='$CXXCPP $CPPFLAGS'
92596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92600 cat >conftest.$ac_ext <<_ACEOF
92601 /* confdefs.h. */
92602 _ACEOF
92603 cat confdefs.h >>conftest.$ac_ext
92604 cat >>conftest.$ac_ext <<_ACEOF
92605 /* end confdefs.h. */
92606 #include <math.h>
92608 main ()
92610 frexpl(0, 0);
92612 return 0;
92614 _ACEOF
92615 rm -f conftest.$ac_objext
92616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92617 (eval $ac_compile) 2>conftest.er1
92618 ac_status=$?
92619 grep -v '^ *+' conftest.er1 >conftest.err
92620 rm -f conftest.er1
92621 cat conftest.err >&5
92622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92623 (exit $ac_status); } &&
92624 { ac_try='test -z "$ac_cxx_werror_flag"
92625 || test ! -s conftest.err'
92626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92627 (eval $ac_try) 2>&5
92628 ac_status=$?
92629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92630 (exit $ac_status); }; } &&
92631 { ac_try='test -s conftest.$ac_objext'
92632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92633 (eval $ac_try) 2>&5
92634 ac_status=$?
92635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92636 (exit $ac_status); }; }; then
92637 glibcxx_cv_func_frexpl_use=yes
92638 else
92639 echo "$as_me: failed program was:" >&5
92640 sed 's/^/| /' conftest.$ac_ext >&5
92642 glibcxx_cv_func_frexpl_use=no
92644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92645 ac_ext=c
92646 ac_cpp='$CPP $CPPFLAGS'
92647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
92656 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
92658 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
92660 for ac_func in frexpl
92662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92663 echo "$as_me:$LINENO: checking for $ac_func" >&5
92664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92665 if eval "test \"\${$as_ac_var+set}\" = set"; then
92666 echo $ECHO_N "(cached) $ECHO_C" >&6
92667 else
92668 if test x$gcc_no_link = xyes; then
92669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92671 { (exit 1); exit 1; }; }
92673 cat >conftest.$ac_ext <<_ACEOF
92674 /* confdefs.h. */
92675 _ACEOF
92676 cat confdefs.h >>conftest.$ac_ext
92677 cat >>conftest.$ac_ext <<_ACEOF
92678 /* end confdefs.h. */
92679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92681 #define $ac_func innocuous_$ac_func
92683 /* System header to define __stub macros and hopefully few prototypes,
92684 which can conflict with char $ac_func (); below.
92685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92686 <limits.h> exists even on freestanding compilers. */
92688 #ifdef __STDC__
92689 # include <limits.h>
92690 #else
92691 # include <assert.h>
92692 #endif
92694 #undef $ac_func
92696 /* Override any gcc2 internal prototype to avoid an error. */
92697 #ifdef __cplusplus
92698 extern "C"
92700 #endif
92701 /* We use char because int might match the return type of a gcc2
92702 builtin and then its argument prototype would still apply. */
92703 char $ac_func ();
92704 /* The GNU C library defines this for functions which it implements
92705 to always fail with ENOSYS. Some functions are actually named
92706 something starting with __ and the normal name is an alias. */
92707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92708 choke me
92709 #else
92710 char (*f) () = $ac_func;
92711 #endif
92712 #ifdef __cplusplus
92714 #endif
92717 main ()
92719 return f != $ac_func;
92721 return 0;
92723 _ACEOF
92724 rm -f conftest.$ac_objext conftest$ac_exeext
92725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92726 (eval $ac_link) 2>conftest.er1
92727 ac_status=$?
92728 grep -v '^ *+' conftest.er1 >conftest.err
92729 rm -f conftest.er1
92730 cat conftest.err >&5
92731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92732 (exit $ac_status); } &&
92733 { ac_try='test -z "$ac_c_werror_flag"
92734 || test ! -s conftest.err'
92735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92736 (eval $ac_try) 2>&5
92737 ac_status=$?
92738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92739 (exit $ac_status); }; } &&
92740 { ac_try='test -s conftest$ac_exeext'
92741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92742 (eval $ac_try) 2>&5
92743 ac_status=$?
92744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92745 (exit $ac_status); }; }; then
92746 eval "$as_ac_var=yes"
92747 else
92748 echo "$as_me: failed program was:" >&5
92749 sed 's/^/| /' conftest.$ac_ext >&5
92751 eval "$as_ac_var=no"
92753 rm -f conftest.err conftest.$ac_objext \
92754 conftest$ac_exeext conftest.$ac_ext
92756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92758 if test `eval echo '${'$as_ac_var'}'` = yes; then
92759 cat >>confdefs.h <<_ACEOF
92760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92761 _ACEOF
92764 done
92766 else
92768 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
92769 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
92770 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
92771 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
92772 echo $ECHO_N "(cached) $ECHO_C" >&6
92773 else
92777 ac_ext=cc
92778 ac_cpp='$CXXCPP $CPPFLAGS'
92779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92783 cat >conftest.$ac_ext <<_ACEOF
92784 /* confdefs.h. */
92785 _ACEOF
92786 cat confdefs.h >>conftest.$ac_ext
92787 cat >>conftest.$ac_ext <<_ACEOF
92788 /* end confdefs.h. */
92789 #include <math.h>
92791 main ()
92793 _frexpl(0, 0);
92795 return 0;
92797 _ACEOF
92798 rm -f conftest.$ac_objext
92799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92800 (eval $ac_compile) 2>conftest.er1
92801 ac_status=$?
92802 grep -v '^ *+' conftest.er1 >conftest.err
92803 rm -f conftest.er1
92804 cat conftest.err >&5
92805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92806 (exit $ac_status); } &&
92807 { ac_try='test -z "$ac_cxx_werror_flag"
92808 || test ! -s conftest.err'
92809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92810 (eval $ac_try) 2>&5
92811 ac_status=$?
92812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92813 (exit $ac_status); }; } &&
92814 { ac_try='test -s conftest.$ac_objext'
92815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92816 (eval $ac_try) 2>&5
92817 ac_status=$?
92818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92819 (exit $ac_status); }; }; then
92820 glibcxx_cv_func__frexpl_use=yes
92821 else
92822 echo "$as_me: failed program was:" >&5
92823 sed 's/^/| /' conftest.$ac_ext >&5
92825 glibcxx_cv_func__frexpl_use=no
92827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92828 ac_ext=c
92829 ac_cpp='$CPP $CPPFLAGS'
92830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
92839 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
92841 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
92843 for ac_func in _frexpl
92845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92846 echo "$as_me:$LINENO: checking for $ac_func" >&5
92847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92848 if eval "test \"\${$as_ac_var+set}\" = set"; then
92849 echo $ECHO_N "(cached) $ECHO_C" >&6
92850 else
92851 if test x$gcc_no_link = xyes; then
92852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92854 { (exit 1); exit 1; }; }
92856 cat >conftest.$ac_ext <<_ACEOF
92857 /* confdefs.h. */
92858 _ACEOF
92859 cat confdefs.h >>conftest.$ac_ext
92860 cat >>conftest.$ac_ext <<_ACEOF
92861 /* end confdefs.h. */
92862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92864 #define $ac_func innocuous_$ac_func
92866 /* System header to define __stub macros and hopefully few prototypes,
92867 which can conflict with char $ac_func (); below.
92868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92869 <limits.h> exists even on freestanding compilers. */
92871 #ifdef __STDC__
92872 # include <limits.h>
92873 #else
92874 # include <assert.h>
92875 #endif
92877 #undef $ac_func
92879 /* Override any gcc2 internal prototype to avoid an error. */
92880 #ifdef __cplusplus
92881 extern "C"
92883 #endif
92884 /* We use char because int might match the return type of a gcc2
92885 builtin and then its argument prototype would still apply. */
92886 char $ac_func ();
92887 /* The GNU C library defines this for functions which it implements
92888 to always fail with ENOSYS. Some functions are actually named
92889 something starting with __ and the normal name is an alias. */
92890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92891 choke me
92892 #else
92893 char (*f) () = $ac_func;
92894 #endif
92895 #ifdef __cplusplus
92897 #endif
92900 main ()
92902 return f != $ac_func;
92904 return 0;
92906 _ACEOF
92907 rm -f conftest.$ac_objext conftest$ac_exeext
92908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92909 (eval $ac_link) 2>conftest.er1
92910 ac_status=$?
92911 grep -v '^ *+' conftest.er1 >conftest.err
92912 rm -f conftest.er1
92913 cat conftest.err >&5
92914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92915 (exit $ac_status); } &&
92916 { ac_try='test -z "$ac_c_werror_flag"
92917 || test ! -s conftest.err'
92918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92919 (eval $ac_try) 2>&5
92920 ac_status=$?
92921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92922 (exit $ac_status); }; } &&
92923 { ac_try='test -s conftest$ac_exeext'
92924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92925 (eval $ac_try) 2>&5
92926 ac_status=$?
92927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92928 (exit $ac_status); }; }; then
92929 eval "$as_ac_var=yes"
92930 else
92931 echo "$as_me: failed program was:" >&5
92932 sed 's/^/| /' conftest.$ac_ext >&5
92934 eval "$as_ac_var=no"
92936 rm -f conftest.err conftest.$ac_objext \
92937 conftest$ac_exeext conftest.$ac_ext
92939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92941 if test `eval echo '${'$as_ac_var'}'` = yes; then
92942 cat >>confdefs.h <<_ACEOF
92943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92944 _ACEOF
92947 done
92957 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
92958 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
92959 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
92960 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
92961 echo $ECHO_N "(cached) $ECHO_C" >&6
92962 else
92966 ac_ext=cc
92967 ac_cpp='$CXXCPP $CPPFLAGS'
92968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92972 cat >conftest.$ac_ext <<_ACEOF
92973 /* confdefs.h. */
92974 _ACEOF
92975 cat confdefs.h >>conftest.$ac_ext
92976 cat >>conftest.$ac_ext <<_ACEOF
92977 /* end confdefs.h. */
92978 #include <math.h>
92980 main ()
92982 hypotl(0, 0);
92984 return 0;
92986 _ACEOF
92987 rm -f conftest.$ac_objext
92988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92989 (eval $ac_compile) 2>conftest.er1
92990 ac_status=$?
92991 grep -v '^ *+' conftest.er1 >conftest.err
92992 rm -f conftest.er1
92993 cat conftest.err >&5
92994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92995 (exit $ac_status); } &&
92996 { ac_try='test -z "$ac_cxx_werror_flag"
92997 || test ! -s conftest.err'
92998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92999 (eval $ac_try) 2>&5
93000 ac_status=$?
93001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93002 (exit $ac_status); }; } &&
93003 { ac_try='test -s conftest.$ac_objext'
93004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93005 (eval $ac_try) 2>&5
93006 ac_status=$?
93007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93008 (exit $ac_status); }; }; then
93009 glibcxx_cv_func_hypotl_use=yes
93010 else
93011 echo "$as_me: failed program was:" >&5
93012 sed 's/^/| /' conftest.$ac_ext >&5
93014 glibcxx_cv_func_hypotl_use=no
93016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93017 ac_ext=c
93018 ac_cpp='$CPP $CPPFLAGS'
93019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
93028 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
93030 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
93032 for ac_func in hypotl
93034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93035 echo "$as_me:$LINENO: checking for $ac_func" >&5
93036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93037 if eval "test \"\${$as_ac_var+set}\" = set"; then
93038 echo $ECHO_N "(cached) $ECHO_C" >&6
93039 else
93040 if test x$gcc_no_link = xyes; then
93041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93043 { (exit 1); exit 1; }; }
93045 cat >conftest.$ac_ext <<_ACEOF
93046 /* confdefs.h. */
93047 _ACEOF
93048 cat confdefs.h >>conftest.$ac_ext
93049 cat >>conftest.$ac_ext <<_ACEOF
93050 /* end confdefs.h. */
93051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93053 #define $ac_func innocuous_$ac_func
93055 /* System header to define __stub macros and hopefully few prototypes,
93056 which can conflict with char $ac_func (); below.
93057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93058 <limits.h> exists even on freestanding compilers. */
93060 #ifdef __STDC__
93061 # include <limits.h>
93062 #else
93063 # include <assert.h>
93064 #endif
93066 #undef $ac_func
93068 /* Override any gcc2 internal prototype to avoid an error. */
93069 #ifdef __cplusplus
93070 extern "C"
93072 #endif
93073 /* We use char because int might match the return type of a gcc2
93074 builtin and then its argument prototype would still apply. */
93075 char $ac_func ();
93076 /* The GNU C library defines this for functions which it implements
93077 to always fail with ENOSYS. Some functions are actually named
93078 something starting with __ and the normal name is an alias. */
93079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93080 choke me
93081 #else
93082 char (*f) () = $ac_func;
93083 #endif
93084 #ifdef __cplusplus
93086 #endif
93089 main ()
93091 return f != $ac_func;
93093 return 0;
93095 _ACEOF
93096 rm -f conftest.$ac_objext conftest$ac_exeext
93097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93098 (eval $ac_link) 2>conftest.er1
93099 ac_status=$?
93100 grep -v '^ *+' conftest.er1 >conftest.err
93101 rm -f conftest.er1
93102 cat conftest.err >&5
93103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93104 (exit $ac_status); } &&
93105 { ac_try='test -z "$ac_c_werror_flag"
93106 || test ! -s conftest.err'
93107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93108 (eval $ac_try) 2>&5
93109 ac_status=$?
93110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93111 (exit $ac_status); }; } &&
93112 { ac_try='test -s conftest$ac_exeext'
93113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93114 (eval $ac_try) 2>&5
93115 ac_status=$?
93116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93117 (exit $ac_status); }; }; then
93118 eval "$as_ac_var=yes"
93119 else
93120 echo "$as_me: failed program was:" >&5
93121 sed 's/^/| /' conftest.$ac_ext >&5
93123 eval "$as_ac_var=no"
93125 rm -f conftest.err conftest.$ac_objext \
93126 conftest$ac_exeext conftest.$ac_ext
93128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93130 if test `eval echo '${'$as_ac_var'}'` = yes; then
93131 cat >>confdefs.h <<_ACEOF
93132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93133 _ACEOF
93136 done
93138 else
93140 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
93141 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
93142 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
93143 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
93144 echo $ECHO_N "(cached) $ECHO_C" >&6
93145 else
93149 ac_ext=cc
93150 ac_cpp='$CXXCPP $CPPFLAGS'
93151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93155 cat >conftest.$ac_ext <<_ACEOF
93156 /* confdefs.h. */
93157 _ACEOF
93158 cat confdefs.h >>conftest.$ac_ext
93159 cat >>conftest.$ac_ext <<_ACEOF
93160 /* end confdefs.h. */
93161 #include <math.h>
93163 main ()
93165 _hypotl(0, 0);
93167 return 0;
93169 _ACEOF
93170 rm -f conftest.$ac_objext
93171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93172 (eval $ac_compile) 2>conftest.er1
93173 ac_status=$?
93174 grep -v '^ *+' conftest.er1 >conftest.err
93175 rm -f conftest.er1
93176 cat conftest.err >&5
93177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93178 (exit $ac_status); } &&
93179 { ac_try='test -z "$ac_cxx_werror_flag"
93180 || test ! -s conftest.err'
93181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93182 (eval $ac_try) 2>&5
93183 ac_status=$?
93184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93185 (exit $ac_status); }; } &&
93186 { ac_try='test -s conftest.$ac_objext'
93187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93188 (eval $ac_try) 2>&5
93189 ac_status=$?
93190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93191 (exit $ac_status); }; }; then
93192 glibcxx_cv_func__hypotl_use=yes
93193 else
93194 echo "$as_me: failed program was:" >&5
93195 sed 's/^/| /' conftest.$ac_ext >&5
93197 glibcxx_cv_func__hypotl_use=no
93199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93200 ac_ext=c
93201 ac_cpp='$CPP $CPPFLAGS'
93202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
93211 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
93213 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
93215 for ac_func in _hypotl
93217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93218 echo "$as_me:$LINENO: checking for $ac_func" >&5
93219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93220 if eval "test \"\${$as_ac_var+set}\" = set"; then
93221 echo $ECHO_N "(cached) $ECHO_C" >&6
93222 else
93223 if test x$gcc_no_link = xyes; then
93224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93226 { (exit 1); exit 1; }; }
93228 cat >conftest.$ac_ext <<_ACEOF
93229 /* confdefs.h. */
93230 _ACEOF
93231 cat confdefs.h >>conftest.$ac_ext
93232 cat >>conftest.$ac_ext <<_ACEOF
93233 /* end confdefs.h. */
93234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93236 #define $ac_func innocuous_$ac_func
93238 /* System header to define __stub macros and hopefully few prototypes,
93239 which can conflict with char $ac_func (); below.
93240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93241 <limits.h> exists even on freestanding compilers. */
93243 #ifdef __STDC__
93244 # include <limits.h>
93245 #else
93246 # include <assert.h>
93247 #endif
93249 #undef $ac_func
93251 /* Override any gcc2 internal prototype to avoid an error. */
93252 #ifdef __cplusplus
93253 extern "C"
93255 #endif
93256 /* We use char because int might match the return type of a gcc2
93257 builtin and then its argument prototype would still apply. */
93258 char $ac_func ();
93259 /* The GNU C library defines this for functions which it implements
93260 to always fail with ENOSYS. Some functions are actually named
93261 something starting with __ and the normal name is an alias. */
93262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93263 choke me
93264 #else
93265 char (*f) () = $ac_func;
93266 #endif
93267 #ifdef __cplusplus
93269 #endif
93272 main ()
93274 return f != $ac_func;
93276 return 0;
93278 _ACEOF
93279 rm -f conftest.$ac_objext conftest$ac_exeext
93280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93281 (eval $ac_link) 2>conftest.er1
93282 ac_status=$?
93283 grep -v '^ *+' conftest.er1 >conftest.err
93284 rm -f conftest.er1
93285 cat conftest.err >&5
93286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93287 (exit $ac_status); } &&
93288 { ac_try='test -z "$ac_c_werror_flag"
93289 || test ! -s conftest.err'
93290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93291 (eval $ac_try) 2>&5
93292 ac_status=$?
93293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93294 (exit $ac_status); }; } &&
93295 { ac_try='test -s conftest$ac_exeext'
93296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93297 (eval $ac_try) 2>&5
93298 ac_status=$?
93299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93300 (exit $ac_status); }; }; then
93301 eval "$as_ac_var=yes"
93302 else
93303 echo "$as_me: failed program was:" >&5
93304 sed 's/^/| /' conftest.$ac_ext >&5
93306 eval "$as_ac_var=no"
93308 rm -f conftest.err conftest.$ac_objext \
93309 conftest$ac_exeext conftest.$ac_ext
93311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93313 if test `eval echo '${'$as_ac_var'}'` = yes; then
93314 cat >>confdefs.h <<_ACEOF
93315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93316 _ACEOF
93319 done
93329 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
93330 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
93331 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
93332 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
93333 echo $ECHO_N "(cached) $ECHO_C" >&6
93334 else
93338 ac_ext=cc
93339 ac_cpp='$CXXCPP $CPPFLAGS'
93340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93344 cat >conftest.$ac_ext <<_ACEOF
93345 /* confdefs.h. */
93346 _ACEOF
93347 cat confdefs.h >>conftest.$ac_ext
93348 cat >>conftest.$ac_ext <<_ACEOF
93349 /* end confdefs.h. */
93350 #include <math.h>
93352 main ()
93354 ldexpl(0, 0);
93356 return 0;
93358 _ACEOF
93359 rm -f conftest.$ac_objext
93360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93361 (eval $ac_compile) 2>conftest.er1
93362 ac_status=$?
93363 grep -v '^ *+' conftest.er1 >conftest.err
93364 rm -f conftest.er1
93365 cat conftest.err >&5
93366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93367 (exit $ac_status); } &&
93368 { ac_try='test -z "$ac_cxx_werror_flag"
93369 || test ! -s conftest.err'
93370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93371 (eval $ac_try) 2>&5
93372 ac_status=$?
93373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93374 (exit $ac_status); }; } &&
93375 { ac_try='test -s conftest.$ac_objext'
93376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93377 (eval $ac_try) 2>&5
93378 ac_status=$?
93379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93380 (exit $ac_status); }; }; then
93381 glibcxx_cv_func_ldexpl_use=yes
93382 else
93383 echo "$as_me: failed program was:" >&5
93384 sed 's/^/| /' conftest.$ac_ext >&5
93386 glibcxx_cv_func_ldexpl_use=no
93388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93389 ac_ext=c
93390 ac_cpp='$CPP $CPPFLAGS'
93391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
93400 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
93402 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
93404 for ac_func in ldexpl
93406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93407 echo "$as_me:$LINENO: checking for $ac_func" >&5
93408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93409 if eval "test \"\${$as_ac_var+set}\" = set"; then
93410 echo $ECHO_N "(cached) $ECHO_C" >&6
93411 else
93412 if test x$gcc_no_link = xyes; then
93413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93415 { (exit 1); exit 1; }; }
93417 cat >conftest.$ac_ext <<_ACEOF
93418 /* confdefs.h. */
93419 _ACEOF
93420 cat confdefs.h >>conftest.$ac_ext
93421 cat >>conftest.$ac_ext <<_ACEOF
93422 /* end confdefs.h. */
93423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93425 #define $ac_func innocuous_$ac_func
93427 /* System header to define __stub macros and hopefully few prototypes,
93428 which can conflict with char $ac_func (); below.
93429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93430 <limits.h> exists even on freestanding compilers. */
93432 #ifdef __STDC__
93433 # include <limits.h>
93434 #else
93435 # include <assert.h>
93436 #endif
93438 #undef $ac_func
93440 /* Override any gcc2 internal prototype to avoid an error. */
93441 #ifdef __cplusplus
93442 extern "C"
93444 #endif
93445 /* We use char because int might match the return type of a gcc2
93446 builtin and then its argument prototype would still apply. */
93447 char $ac_func ();
93448 /* The GNU C library defines this for functions which it implements
93449 to always fail with ENOSYS. Some functions are actually named
93450 something starting with __ and the normal name is an alias. */
93451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93452 choke me
93453 #else
93454 char (*f) () = $ac_func;
93455 #endif
93456 #ifdef __cplusplus
93458 #endif
93461 main ()
93463 return f != $ac_func;
93465 return 0;
93467 _ACEOF
93468 rm -f conftest.$ac_objext conftest$ac_exeext
93469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93470 (eval $ac_link) 2>conftest.er1
93471 ac_status=$?
93472 grep -v '^ *+' conftest.er1 >conftest.err
93473 rm -f conftest.er1
93474 cat conftest.err >&5
93475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93476 (exit $ac_status); } &&
93477 { ac_try='test -z "$ac_c_werror_flag"
93478 || test ! -s conftest.err'
93479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93480 (eval $ac_try) 2>&5
93481 ac_status=$?
93482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93483 (exit $ac_status); }; } &&
93484 { ac_try='test -s conftest$ac_exeext'
93485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93486 (eval $ac_try) 2>&5
93487 ac_status=$?
93488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93489 (exit $ac_status); }; }; then
93490 eval "$as_ac_var=yes"
93491 else
93492 echo "$as_me: failed program was:" >&5
93493 sed 's/^/| /' conftest.$ac_ext >&5
93495 eval "$as_ac_var=no"
93497 rm -f conftest.err conftest.$ac_objext \
93498 conftest$ac_exeext conftest.$ac_ext
93500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93502 if test `eval echo '${'$as_ac_var'}'` = yes; then
93503 cat >>confdefs.h <<_ACEOF
93504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93505 _ACEOF
93508 done
93510 else
93512 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
93513 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
93514 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
93515 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
93516 echo $ECHO_N "(cached) $ECHO_C" >&6
93517 else
93521 ac_ext=cc
93522 ac_cpp='$CXXCPP $CPPFLAGS'
93523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93527 cat >conftest.$ac_ext <<_ACEOF
93528 /* confdefs.h. */
93529 _ACEOF
93530 cat confdefs.h >>conftest.$ac_ext
93531 cat >>conftest.$ac_ext <<_ACEOF
93532 /* end confdefs.h. */
93533 #include <math.h>
93535 main ()
93537 _ldexpl(0, 0);
93539 return 0;
93541 _ACEOF
93542 rm -f conftest.$ac_objext
93543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93544 (eval $ac_compile) 2>conftest.er1
93545 ac_status=$?
93546 grep -v '^ *+' conftest.er1 >conftest.err
93547 rm -f conftest.er1
93548 cat conftest.err >&5
93549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93550 (exit $ac_status); } &&
93551 { ac_try='test -z "$ac_cxx_werror_flag"
93552 || test ! -s conftest.err'
93553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93554 (eval $ac_try) 2>&5
93555 ac_status=$?
93556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93557 (exit $ac_status); }; } &&
93558 { ac_try='test -s conftest.$ac_objext'
93559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93560 (eval $ac_try) 2>&5
93561 ac_status=$?
93562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93563 (exit $ac_status); }; }; then
93564 glibcxx_cv_func__ldexpl_use=yes
93565 else
93566 echo "$as_me: failed program was:" >&5
93567 sed 's/^/| /' conftest.$ac_ext >&5
93569 glibcxx_cv_func__ldexpl_use=no
93571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93572 ac_ext=c
93573 ac_cpp='$CPP $CPPFLAGS'
93574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
93583 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
93585 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
93587 for ac_func in _ldexpl
93589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93590 echo "$as_me:$LINENO: checking for $ac_func" >&5
93591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93592 if eval "test \"\${$as_ac_var+set}\" = set"; then
93593 echo $ECHO_N "(cached) $ECHO_C" >&6
93594 else
93595 if test x$gcc_no_link = xyes; then
93596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93598 { (exit 1); exit 1; }; }
93600 cat >conftest.$ac_ext <<_ACEOF
93601 /* confdefs.h. */
93602 _ACEOF
93603 cat confdefs.h >>conftest.$ac_ext
93604 cat >>conftest.$ac_ext <<_ACEOF
93605 /* end confdefs.h. */
93606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93608 #define $ac_func innocuous_$ac_func
93610 /* System header to define __stub macros and hopefully few prototypes,
93611 which can conflict with char $ac_func (); below.
93612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93613 <limits.h> exists even on freestanding compilers. */
93615 #ifdef __STDC__
93616 # include <limits.h>
93617 #else
93618 # include <assert.h>
93619 #endif
93621 #undef $ac_func
93623 /* Override any gcc2 internal prototype to avoid an error. */
93624 #ifdef __cplusplus
93625 extern "C"
93627 #endif
93628 /* We use char because int might match the return type of a gcc2
93629 builtin and then its argument prototype would still apply. */
93630 char $ac_func ();
93631 /* The GNU C library defines this for functions which it implements
93632 to always fail with ENOSYS. Some functions are actually named
93633 something starting with __ and the normal name is an alias. */
93634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93635 choke me
93636 #else
93637 char (*f) () = $ac_func;
93638 #endif
93639 #ifdef __cplusplus
93641 #endif
93644 main ()
93646 return f != $ac_func;
93648 return 0;
93650 _ACEOF
93651 rm -f conftest.$ac_objext conftest$ac_exeext
93652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93653 (eval $ac_link) 2>conftest.er1
93654 ac_status=$?
93655 grep -v '^ *+' conftest.er1 >conftest.err
93656 rm -f conftest.er1
93657 cat conftest.err >&5
93658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659 (exit $ac_status); } &&
93660 { ac_try='test -z "$ac_c_werror_flag"
93661 || test ! -s conftest.err'
93662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93663 (eval $ac_try) 2>&5
93664 ac_status=$?
93665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666 (exit $ac_status); }; } &&
93667 { ac_try='test -s conftest$ac_exeext'
93668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669 (eval $ac_try) 2>&5
93670 ac_status=$?
93671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672 (exit $ac_status); }; }; then
93673 eval "$as_ac_var=yes"
93674 else
93675 echo "$as_me: failed program was:" >&5
93676 sed 's/^/| /' conftest.$ac_ext >&5
93678 eval "$as_ac_var=no"
93680 rm -f conftest.err conftest.$ac_objext \
93681 conftest$ac_exeext conftest.$ac_ext
93683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93685 if test `eval echo '${'$as_ac_var'}'` = yes; then
93686 cat >>confdefs.h <<_ACEOF
93687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93688 _ACEOF
93691 done
93701 echo "$as_me:$LINENO: checking for logl declaration" >&5
93702 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
93703 if test x${glibcxx_cv_func_logl_use+set} != xset; then
93704 if test "${glibcxx_cv_func_logl_use+set}" = set; then
93705 echo $ECHO_N "(cached) $ECHO_C" >&6
93706 else
93710 ac_ext=cc
93711 ac_cpp='$CXXCPP $CPPFLAGS'
93712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93716 cat >conftest.$ac_ext <<_ACEOF
93717 /* confdefs.h. */
93718 _ACEOF
93719 cat confdefs.h >>conftest.$ac_ext
93720 cat >>conftest.$ac_ext <<_ACEOF
93721 /* end confdefs.h. */
93722 #include <math.h>
93723 #ifdef HAVE_IEEEFP_H
93724 #include <ieeefp.h>
93725 #endif
93728 main ()
93730 logl(0);
93732 return 0;
93734 _ACEOF
93735 rm -f conftest.$ac_objext
93736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93737 (eval $ac_compile) 2>conftest.er1
93738 ac_status=$?
93739 grep -v '^ *+' conftest.er1 >conftest.err
93740 rm -f conftest.er1
93741 cat conftest.err >&5
93742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93743 (exit $ac_status); } &&
93744 { ac_try='test -z "$ac_cxx_werror_flag"
93745 || test ! -s conftest.err'
93746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93747 (eval $ac_try) 2>&5
93748 ac_status=$?
93749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93750 (exit $ac_status); }; } &&
93751 { ac_try='test -s conftest.$ac_objext'
93752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93753 (eval $ac_try) 2>&5
93754 ac_status=$?
93755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93756 (exit $ac_status); }; }; then
93757 glibcxx_cv_func_logl_use=yes
93758 else
93759 echo "$as_me: failed program was:" >&5
93760 sed 's/^/| /' conftest.$ac_ext >&5
93762 glibcxx_cv_func_logl_use=no
93764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93765 ac_ext=c
93766 ac_cpp='$CPP $CPPFLAGS'
93767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
93776 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
93778 if test x$glibcxx_cv_func_logl_use = x"yes"; then
93780 for ac_func in logl
93782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93783 echo "$as_me:$LINENO: checking for $ac_func" >&5
93784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93785 if eval "test \"\${$as_ac_var+set}\" = set"; then
93786 echo $ECHO_N "(cached) $ECHO_C" >&6
93787 else
93788 if test x$gcc_no_link = xyes; then
93789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93791 { (exit 1); exit 1; }; }
93793 cat >conftest.$ac_ext <<_ACEOF
93794 /* confdefs.h. */
93795 _ACEOF
93796 cat confdefs.h >>conftest.$ac_ext
93797 cat >>conftest.$ac_ext <<_ACEOF
93798 /* end confdefs.h. */
93799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93801 #define $ac_func innocuous_$ac_func
93803 /* System header to define __stub macros and hopefully few prototypes,
93804 which can conflict with char $ac_func (); below.
93805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93806 <limits.h> exists even on freestanding compilers. */
93808 #ifdef __STDC__
93809 # include <limits.h>
93810 #else
93811 # include <assert.h>
93812 #endif
93814 #undef $ac_func
93816 /* Override any gcc2 internal prototype to avoid an error. */
93817 #ifdef __cplusplus
93818 extern "C"
93820 #endif
93821 /* We use char because int might match the return type of a gcc2
93822 builtin and then its argument prototype would still apply. */
93823 char $ac_func ();
93824 /* The GNU C library defines this for functions which it implements
93825 to always fail with ENOSYS. Some functions are actually named
93826 something starting with __ and the normal name is an alias. */
93827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93828 choke me
93829 #else
93830 char (*f) () = $ac_func;
93831 #endif
93832 #ifdef __cplusplus
93834 #endif
93837 main ()
93839 return f != $ac_func;
93841 return 0;
93843 _ACEOF
93844 rm -f conftest.$ac_objext conftest$ac_exeext
93845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93846 (eval $ac_link) 2>conftest.er1
93847 ac_status=$?
93848 grep -v '^ *+' conftest.er1 >conftest.err
93849 rm -f conftest.er1
93850 cat conftest.err >&5
93851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93852 (exit $ac_status); } &&
93853 { ac_try='test -z "$ac_c_werror_flag"
93854 || test ! -s conftest.err'
93855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93856 (eval $ac_try) 2>&5
93857 ac_status=$?
93858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93859 (exit $ac_status); }; } &&
93860 { ac_try='test -s conftest$ac_exeext'
93861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93862 (eval $ac_try) 2>&5
93863 ac_status=$?
93864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93865 (exit $ac_status); }; }; then
93866 eval "$as_ac_var=yes"
93867 else
93868 echo "$as_me: failed program was:" >&5
93869 sed 's/^/| /' conftest.$ac_ext >&5
93871 eval "$as_ac_var=no"
93873 rm -f conftest.err conftest.$ac_objext \
93874 conftest$ac_exeext conftest.$ac_ext
93876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93878 if test `eval echo '${'$as_ac_var'}'` = yes; then
93879 cat >>confdefs.h <<_ACEOF
93880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93881 _ACEOF
93884 done
93886 else
93888 echo "$as_me:$LINENO: checking for _logl declaration" >&5
93889 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
93890 if test x${glibcxx_cv_func__logl_use+set} != xset; then
93891 if test "${glibcxx_cv_func__logl_use+set}" = set; then
93892 echo $ECHO_N "(cached) $ECHO_C" >&6
93893 else
93897 ac_ext=cc
93898 ac_cpp='$CXXCPP $CPPFLAGS'
93899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93903 cat >conftest.$ac_ext <<_ACEOF
93904 /* confdefs.h. */
93905 _ACEOF
93906 cat confdefs.h >>conftest.$ac_ext
93907 cat >>conftest.$ac_ext <<_ACEOF
93908 /* end confdefs.h. */
93909 #include <math.h>
93910 #ifdef HAVE_IEEEFP_H
93911 #include <ieeefp.h>
93912 #endif
93915 main ()
93917 _logl(0);
93919 return 0;
93921 _ACEOF
93922 rm -f conftest.$ac_objext
93923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93924 (eval $ac_compile) 2>conftest.er1
93925 ac_status=$?
93926 grep -v '^ *+' conftest.er1 >conftest.err
93927 rm -f conftest.er1
93928 cat conftest.err >&5
93929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93930 (exit $ac_status); } &&
93931 { ac_try='test -z "$ac_cxx_werror_flag"
93932 || test ! -s conftest.err'
93933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93934 (eval $ac_try) 2>&5
93935 ac_status=$?
93936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93937 (exit $ac_status); }; } &&
93938 { ac_try='test -s conftest.$ac_objext'
93939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93940 (eval $ac_try) 2>&5
93941 ac_status=$?
93942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93943 (exit $ac_status); }; }; then
93944 glibcxx_cv_func__logl_use=yes
93945 else
93946 echo "$as_me: failed program was:" >&5
93947 sed 's/^/| /' conftest.$ac_ext >&5
93949 glibcxx_cv_func__logl_use=no
93951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93952 ac_ext=c
93953 ac_cpp='$CPP $CPPFLAGS'
93954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
93963 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
93965 if test x$glibcxx_cv_func__logl_use = x"yes"; then
93967 for ac_func in _logl
93969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93970 echo "$as_me:$LINENO: checking for $ac_func" >&5
93971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93972 if eval "test \"\${$as_ac_var+set}\" = set"; then
93973 echo $ECHO_N "(cached) $ECHO_C" >&6
93974 else
93975 if test x$gcc_no_link = xyes; then
93976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93978 { (exit 1); exit 1; }; }
93980 cat >conftest.$ac_ext <<_ACEOF
93981 /* confdefs.h. */
93982 _ACEOF
93983 cat confdefs.h >>conftest.$ac_ext
93984 cat >>conftest.$ac_ext <<_ACEOF
93985 /* end confdefs.h. */
93986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93988 #define $ac_func innocuous_$ac_func
93990 /* System header to define __stub macros and hopefully few prototypes,
93991 which can conflict with char $ac_func (); below.
93992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93993 <limits.h> exists even on freestanding compilers. */
93995 #ifdef __STDC__
93996 # include <limits.h>
93997 #else
93998 # include <assert.h>
93999 #endif
94001 #undef $ac_func
94003 /* Override any gcc2 internal prototype to avoid an error. */
94004 #ifdef __cplusplus
94005 extern "C"
94007 #endif
94008 /* We use char because int might match the return type of a gcc2
94009 builtin and then its argument prototype would still apply. */
94010 char $ac_func ();
94011 /* The GNU C library defines this for functions which it implements
94012 to always fail with ENOSYS. Some functions are actually named
94013 something starting with __ and the normal name is an alias. */
94014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94015 choke me
94016 #else
94017 char (*f) () = $ac_func;
94018 #endif
94019 #ifdef __cplusplus
94021 #endif
94024 main ()
94026 return f != $ac_func;
94028 return 0;
94030 _ACEOF
94031 rm -f conftest.$ac_objext conftest$ac_exeext
94032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94033 (eval $ac_link) 2>conftest.er1
94034 ac_status=$?
94035 grep -v '^ *+' conftest.er1 >conftest.err
94036 rm -f conftest.er1
94037 cat conftest.err >&5
94038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94039 (exit $ac_status); } &&
94040 { ac_try='test -z "$ac_c_werror_flag"
94041 || test ! -s conftest.err'
94042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94043 (eval $ac_try) 2>&5
94044 ac_status=$?
94045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94046 (exit $ac_status); }; } &&
94047 { ac_try='test -s conftest$ac_exeext'
94048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94049 (eval $ac_try) 2>&5
94050 ac_status=$?
94051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94052 (exit $ac_status); }; }; then
94053 eval "$as_ac_var=yes"
94054 else
94055 echo "$as_me: failed program was:" >&5
94056 sed 's/^/| /' conftest.$ac_ext >&5
94058 eval "$as_ac_var=no"
94060 rm -f conftest.err conftest.$ac_objext \
94061 conftest$ac_exeext conftest.$ac_ext
94063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94065 if test `eval echo '${'$as_ac_var'}'` = yes; then
94066 cat >>confdefs.h <<_ACEOF
94067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94068 _ACEOF
94071 done
94081 echo "$as_me:$LINENO: checking for log10l declaration" >&5
94082 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
94083 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
94084 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
94085 echo $ECHO_N "(cached) $ECHO_C" >&6
94086 else
94090 ac_ext=cc
94091 ac_cpp='$CXXCPP $CPPFLAGS'
94092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94096 cat >conftest.$ac_ext <<_ACEOF
94097 /* confdefs.h. */
94098 _ACEOF
94099 cat confdefs.h >>conftest.$ac_ext
94100 cat >>conftest.$ac_ext <<_ACEOF
94101 /* end confdefs.h. */
94102 #include <math.h>
94103 #ifdef HAVE_IEEEFP_H
94104 #include <ieeefp.h>
94105 #endif
94108 main ()
94110 log10l(0);
94112 return 0;
94114 _ACEOF
94115 rm -f conftest.$ac_objext
94116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94117 (eval $ac_compile) 2>conftest.er1
94118 ac_status=$?
94119 grep -v '^ *+' conftest.er1 >conftest.err
94120 rm -f conftest.er1
94121 cat conftest.err >&5
94122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94123 (exit $ac_status); } &&
94124 { ac_try='test -z "$ac_cxx_werror_flag"
94125 || test ! -s conftest.err'
94126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94127 (eval $ac_try) 2>&5
94128 ac_status=$?
94129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94130 (exit $ac_status); }; } &&
94131 { ac_try='test -s conftest.$ac_objext'
94132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94133 (eval $ac_try) 2>&5
94134 ac_status=$?
94135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94136 (exit $ac_status); }; }; then
94137 glibcxx_cv_func_log10l_use=yes
94138 else
94139 echo "$as_me: failed program was:" >&5
94140 sed 's/^/| /' conftest.$ac_ext >&5
94142 glibcxx_cv_func_log10l_use=no
94144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94145 ac_ext=c
94146 ac_cpp='$CPP $CPPFLAGS'
94147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
94156 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
94158 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
94160 for ac_func in log10l
94162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94163 echo "$as_me:$LINENO: checking for $ac_func" >&5
94164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94165 if eval "test \"\${$as_ac_var+set}\" = set"; then
94166 echo $ECHO_N "(cached) $ECHO_C" >&6
94167 else
94168 if test x$gcc_no_link = xyes; then
94169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94171 { (exit 1); exit 1; }; }
94173 cat >conftest.$ac_ext <<_ACEOF
94174 /* confdefs.h. */
94175 _ACEOF
94176 cat confdefs.h >>conftest.$ac_ext
94177 cat >>conftest.$ac_ext <<_ACEOF
94178 /* end confdefs.h. */
94179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94181 #define $ac_func innocuous_$ac_func
94183 /* System header to define __stub macros and hopefully few prototypes,
94184 which can conflict with char $ac_func (); below.
94185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94186 <limits.h> exists even on freestanding compilers. */
94188 #ifdef __STDC__
94189 # include <limits.h>
94190 #else
94191 # include <assert.h>
94192 #endif
94194 #undef $ac_func
94196 /* Override any gcc2 internal prototype to avoid an error. */
94197 #ifdef __cplusplus
94198 extern "C"
94200 #endif
94201 /* We use char because int might match the return type of a gcc2
94202 builtin and then its argument prototype would still apply. */
94203 char $ac_func ();
94204 /* The GNU C library defines this for functions which it implements
94205 to always fail with ENOSYS. Some functions are actually named
94206 something starting with __ and the normal name is an alias. */
94207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94208 choke me
94209 #else
94210 char (*f) () = $ac_func;
94211 #endif
94212 #ifdef __cplusplus
94214 #endif
94217 main ()
94219 return f != $ac_func;
94221 return 0;
94223 _ACEOF
94224 rm -f conftest.$ac_objext conftest$ac_exeext
94225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94226 (eval $ac_link) 2>conftest.er1
94227 ac_status=$?
94228 grep -v '^ *+' conftest.er1 >conftest.err
94229 rm -f conftest.er1
94230 cat conftest.err >&5
94231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94232 (exit $ac_status); } &&
94233 { ac_try='test -z "$ac_c_werror_flag"
94234 || test ! -s conftest.err'
94235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94236 (eval $ac_try) 2>&5
94237 ac_status=$?
94238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94239 (exit $ac_status); }; } &&
94240 { ac_try='test -s conftest$ac_exeext'
94241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94242 (eval $ac_try) 2>&5
94243 ac_status=$?
94244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94245 (exit $ac_status); }; }; then
94246 eval "$as_ac_var=yes"
94247 else
94248 echo "$as_me: failed program was:" >&5
94249 sed 's/^/| /' conftest.$ac_ext >&5
94251 eval "$as_ac_var=no"
94253 rm -f conftest.err conftest.$ac_objext \
94254 conftest$ac_exeext conftest.$ac_ext
94256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94258 if test `eval echo '${'$as_ac_var'}'` = yes; then
94259 cat >>confdefs.h <<_ACEOF
94260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94261 _ACEOF
94264 done
94266 else
94268 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
94269 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
94270 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
94271 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
94272 echo $ECHO_N "(cached) $ECHO_C" >&6
94273 else
94277 ac_ext=cc
94278 ac_cpp='$CXXCPP $CPPFLAGS'
94279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94283 cat >conftest.$ac_ext <<_ACEOF
94284 /* confdefs.h. */
94285 _ACEOF
94286 cat confdefs.h >>conftest.$ac_ext
94287 cat >>conftest.$ac_ext <<_ACEOF
94288 /* end confdefs.h. */
94289 #include <math.h>
94290 #ifdef HAVE_IEEEFP_H
94291 #include <ieeefp.h>
94292 #endif
94295 main ()
94297 _log10l(0);
94299 return 0;
94301 _ACEOF
94302 rm -f conftest.$ac_objext
94303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94304 (eval $ac_compile) 2>conftest.er1
94305 ac_status=$?
94306 grep -v '^ *+' conftest.er1 >conftest.err
94307 rm -f conftest.er1
94308 cat conftest.err >&5
94309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310 (exit $ac_status); } &&
94311 { ac_try='test -z "$ac_cxx_werror_flag"
94312 || test ! -s conftest.err'
94313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314 (eval $ac_try) 2>&5
94315 ac_status=$?
94316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317 (exit $ac_status); }; } &&
94318 { ac_try='test -s conftest.$ac_objext'
94319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94320 (eval $ac_try) 2>&5
94321 ac_status=$?
94322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323 (exit $ac_status); }; }; then
94324 glibcxx_cv_func__log10l_use=yes
94325 else
94326 echo "$as_me: failed program was:" >&5
94327 sed 's/^/| /' conftest.$ac_ext >&5
94329 glibcxx_cv_func__log10l_use=no
94331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94332 ac_ext=c
94333 ac_cpp='$CPP $CPPFLAGS'
94334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94342 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
94343 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
94345 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
94347 for ac_func in _log10l
94349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94350 echo "$as_me:$LINENO: checking for $ac_func" >&5
94351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94352 if eval "test \"\${$as_ac_var+set}\" = set"; then
94353 echo $ECHO_N "(cached) $ECHO_C" >&6
94354 else
94355 if test x$gcc_no_link = xyes; then
94356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94358 { (exit 1); exit 1; }; }
94360 cat >conftest.$ac_ext <<_ACEOF
94361 /* confdefs.h. */
94362 _ACEOF
94363 cat confdefs.h >>conftest.$ac_ext
94364 cat >>conftest.$ac_ext <<_ACEOF
94365 /* end confdefs.h. */
94366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94368 #define $ac_func innocuous_$ac_func
94370 /* System header to define __stub macros and hopefully few prototypes,
94371 which can conflict with char $ac_func (); below.
94372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94373 <limits.h> exists even on freestanding compilers. */
94375 #ifdef __STDC__
94376 # include <limits.h>
94377 #else
94378 # include <assert.h>
94379 #endif
94381 #undef $ac_func
94383 /* Override any gcc2 internal prototype to avoid an error. */
94384 #ifdef __cplusplus
94385 extern "C"
94387 #endif
94388 /* We use char because int might match the return type of a gcc2
94389 builtin and then its argument prototype would still apply. */
94390 char $ac_func ();
94391 /* The GNU C library defines this for functions which it implements
94392 to always fail with ENOSYS. Some functions are actually named
94393 something starting with __ and the normal name is an alias. */
94394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94395 choke me
94396 #else
94397 char (*f) () = $ac_func;
94398 #endif
94399 #ifdef __cplusplus
94401 #endif
94404 main ()
94406 return f != $ac_func;
94408 return 0;
94410 _ACEOF
94411 rm -f conftest.$ac_objext conftest$ac_exeext
94412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94413 (eval $ac_link) 2>conftest.er1
94414 ac_status=$?
94415 grep -v '^ *+' conftest.er1 >conftest.err
94416 rm -f conftest.er1
94417 cat conftest.err >&5
94418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419 (exit $ac_status); } &&
94420 { ac_try='test -z "$ac_c_werror_flag"
94421 || test ! -s conftest.err'
94422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94423 (eval $ac_try) 2>&5
94424 ac_status=$?
94425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94426 (exit $ac_status); }; } &&
94427 { ac_try='test -s conftest$ac_exeext'
94428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94429 (eval $ac_try) 2>&5
94430 ac_status=$?
94431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94432 (exit $ac_status); }; }; then
94433 eval "$as_ac_var=yes"
94434 else
94435 echo "$as_me: failed program was:" >&5
94436 sed 's/^/| /' conftest.$ac_ext >&5
94438 eval "$as_ac_var=no"
94440 rm -f conftest.err conftest.$ac_objext \
94441 conftest$ac_exeext conftest.$ac_ext
94443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94445 if test `eval echo '${'$as_ac_var'}'` = yes; then
94446 cat >>confdefs.h <<_ACEOF
94447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94448 _ACEOF
94451 done
94461 echo "$as_me:$LINENO: checking for modfl declaration" >&5
94462 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
94463 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
94464 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
94465 echo $ECHO_N "(cached) $ECHO_C" >&6
94466 else
94470 ac_ext=cc
94471 ac_cpp='$CXXCPP $CPPFLAGS'
94472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94476 cat >conftest.$ac_ext <<_ACEOF
94477 /* confdefs.h. */
94478 _ACEOF
94479 cat confdefs.h >>conftest.$ac_ext
94480 cat >>conftest.$ac_ext <<_ACEOF
94481 /* end confdefs.h. */
94482 #include <math.h>
94484 main ()
94486 modfl(0, 0);
94488 return 0;
94490 _ACEOF
94491 rm -f conftest.$ac_objext
94492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94493 (eval $ac_compile) 2>conftest.er1
94494 ac_status=$?
94495 grep -v '^ *+' conftest.er1 >conftest.err
94496 rm -f conftest.er1
94497 cat conftest.err >&5
94498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94499 (exit $ac_status); } &&
94500 { ac_try='test -z "$ac_cxx_werror_flag"
94501 || test ! -s conftest.err'
94502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94503 (eval $ac_try) 2>&5
94504 ac_status=$?
94505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94506 (exit $ac_status); }; } &&
94507 { ac_try='test -s conftest.$ac_objext'
94508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94509 (eval $ac_try) 2>&5
94510 ac_status=$?
94511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94512 (exit $ac_status); }; }; then
94513 glibcxx_cv_func_modfl_use=yes
94514 else
94515 echo "$as_me: failed program was:" >&5
94516 sed 's/^/| /' conftest.$ac_ext >&5
94518 glibcxx_cv_func_modfl_use=no
94520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94521 ac_ext=c
94522 ac_cpp='$CPP $CPPFLAGS'
94523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
94532 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
94534 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
94536 for ac_func in modfl
94538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94539 echo "$as_me:$LINENO: checking for $ac_func" >&5
94540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94541 if eval "test \"\${$as_ac_var+set}\" = set"; then
94542 echo $ECHO_N "(cached) $ECHO_C" >&6
94543 else
94544 if test x$gcc_no_link = xyes; then
94545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94547 { (exit 1); exit 1; }; }
94549 cat >conftest.$ac_ext <<_ACEOF
94550 /* confdefs.h. */
94551 _ACEOF
94552 cat confdefs.h >>conftest.$ac_ext
94553 cat >>conftest.$ac_ext <<_ACEOF
94554 /* end confdefs.h. */
94555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94557 #define $ac_func innocuous_$ac_func
94559 /* System header to define __stub macros and hopefully few prototypes,
94560 which can conflict with char $ac_func (); below.
94561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94562 <limits.h> exists even on freestanding compilers. */
94564 #ifdef __STDC__
94565 # include <limits.h>
94566 #else
94567 # include <assert.h>
94568 #endif
94570 #undef $ac_func
94572 /* Override any gcc2 internal prototype to avoid an error. */
94573 #ifdef __cplusplus
94574 extern "C"
94576 #endif
94577 /* We use char because int might match the return type of a gcc2
94578 builtin and then its argument prototype would still apply. */
94579 char $ac_func ();
94580 /* The GNU C library defines this for functions which it implements
94581 to always fail with ENOSYS. Some functions are actually named
94582 something starting with __ and the normal name is an alias. */
94583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94584 choke me
94585 #else
94586 char (*f) () = $ac_func;
94587 #endif
94588 #ifdef __cplusplus
94590 #endif
94593 main ()
94595 return f != $ac_func;
94597 return 0;
94599 _ACEOF
94600 rm -f conftest.$ac_objext conftest$ac_exeext
94601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94602 (eval $ac_link) 2>conftest.er1
94603 ac_status=$?
94604 grep -v '^ *+' conftest.er1 >conftest.err
94605 rm -f conftest.er1
94606 cat conftest.err >&5
94607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608 (exit $ac_status); } &&
94609 { ac_try='test -z "$ac_c_werror_flag"
94610 || test ! -s conftest.err'
94611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94612 (eval $ac_try) 2>&5
94613 ac_status=$?
94614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94615 (exit $ac_status); }; } &&
94616 { ac_try='test -s conftest$ac_exeext'
94617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94618 (eval $ac_try) 2>&5
94619 ac_status=$?
94620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94621 (exit $ac_status); }; }; then
94622 eval "$as_ac_var=yes"
94623 else
94624 echo "$as_me: failed program was:" >&5
94625 sed 's/^/| /' conftest.$ac_ext >&5
94627 eval "$as_ac_var=no"
94629 rm -f conftest.err conftest.$ac_objext \
94630 conftest$ac_exeext conftest.$ac_ext
94632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94634 if test `eval echo '${'$as_ac_var'}'` = yes; then
94635 cat >>confdefs.h <<_ACEOF
94636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94637 _ACEOF
94640 done
94642 else
94644 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
94645 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
94646 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
94647 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
94648 echo $ECHO_N "(cached) $ECHO_C" >&6
94649 else
94653 ac_ext=cc
94654 ac_cpp='$CXXCPP $CPPFLAGS'
94655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94659 cat >conftest.$ac_ext <<_ACEOF
94660 /* confdefs.h. */
94661 _ACEOF
94662 cat confdefs.h >>conftest.$ac_ext
94663 cat >>conftest.$ac_ext <<_ACEOF
94664 /* end confdefs.h. */
94665 #include <math.h>
94667 main ()
94669 _modfl(0, 0);
94671 return 0;
94673 _ACEOF
94674 rm -f conftest.$ac_objext
94675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94676 (eval $ac_compile) 2>conftest.er1
94677 ac_status=$?
94678 grep -v '^ *+' conftest.er1 >conftest.err
94679 rm -f conftest.er1
94680 cat conftest.err >&5
94681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94682 (exit $ac_status); } &&
94683 { ac_try='test -z "$ac_cxx_werror_flag"
94684 || test ! -s conftest.err'
94685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94686 (eval $ac_try) 2>&5
94687 ac_status=$?
94688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94689 (exit $ac_status); }; } &&
94690 { ac_try='test -s conftest.$ac_objext'
94691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94692 (eval $ac_try) 2>&5
94693 ac_status=$?
94694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94695 (exit $ac_status); }; }; then
94696 glibcxx_cv_func__modfl_use=yes
94697 else
94698 echo "$as_me: failed program was:" >&5
94699 sed 's/^/| /' conftest.$ac_ext >&5
94701 glibcxx_cv_func__modfl_use=no
94703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94704 ac_ext=c
94705 ac_cpp='$CPP $CPPFLAGS'
94706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94714 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
94715 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
94717 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
94719 for ac_func in _modfl
94721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94722 echo "$as_me:$LINENO: checking for $ac_func" >&5
94723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94724 if eval "test \"\${$as_ac_var+set}\" = set"; then
94725 echo $ECHO_N "(cached) $ECHO_C" >&6
94726 else
94727 if test x$gcc_no_link = xyes; then
94728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94730 { (exit 1); exit 1; }; }
94732 cat >conftest.$ac_ext <<_ACEOF
94733 /* confdefs.h. */
94734 _ACEOF
94735 cat confdefs.h >>conftest.$ac_ext
94736 cat >>conftest.$ac_ext <<_ACEOF
94737 /* end confdefs.h. */
94738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94740 #define $ac_func innocuous_$ac_func
94742 /* System header to define __stub macros and hopefully few prototypes,
94743 which can conflict with char $ac_func (); below.
94744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94745 <limits.h> exists even on freestanding compilers. */
94747 #ifdef __STDC__
94748 # include <limits.h>
94749 #else
94750 # include <assert.h>
94751 #endif
94753 #undef $ac_func
94755 /* Override any gcc2 internal prototype to avoid an error. */
94756 #ifdef __cplusplus
94757 extern "C"
94759 #endif
94760 /* We use char because int might match the return type of a gcc2
94761 builtin and then its argument prototype would still apply. */
94762 char $ac_func ();
94763 /* The GNU C library defines this for functions which it implements
94764 to always fail with ENOSYS. Some functions are actually named
94765 something starting with __ and the normal name is an alias. */
94766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94767 choke me
94768 #else
94769 char (*f) () = $ac_func;
94770 #endif
94771 #ifdef __cplusplus
94773 #endif
94776 main ()
94778 return f != $ac_func;
94780 return 0;
94782 _ACEOF
94783 rm -f conftest.$ac_objext conftest$ac_exeext
94784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94785 (eval $ac_link) 2>conftest.er1
94786 ac_status=$?
94787 grep -v '^ *+' conftest.er1 >conftest.err
94788 rm -f conftest.er1
94789 cat conftest.err >&5
94790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791 (exit $ac_status); } &&
94792 { ac_try='test -z "$ac_c_werror_flag"
94793 || test ! -s conftest.err'
94794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94795 (eval $ac_try) 2>&5
94796 ac_status=$?
94797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94798 (exit $ac_status); }; } &&
94799 { ac_try='test -s conftest$ac_exeext'
94800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94801 (eval $ac_try) 2>&5
94802 ac_status=$?
94803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94804 (exit $ac_status); }; }; then
94805 eval "$as_ac_var=yes"
94806 else
94807 echo "$as_me: failed program was:" >&5
94808 sed 's/^/| /' conftest.$ac_ext >&5
94810 eval "$as_ac_var=no"
94812 rm -f conftest.err conftest.$ac_objext \
94813 conftest$ac_exeext conftest.$ac_ext
94815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94817 if test `eval echo '${'$as_ac_var'}'` = yes; then
94818 cat >>confdefs.h <<_ACEOF
94819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94820 _ACEOF
94823 done
94833 echo "$as_me:$LINENO: checking for powl declaration" >&5
94834 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
94835 if test x${glibcxx_cv_func_powl_use+set} != xset; then
94836 if test "${glibcxx_cv_func_powl_use+set}" = set; then
94837 echo $ECHO_N "(cached) $ECHO_C" >&6
94838 else
94842 ac_ext=cc
94843 ac_cpp='$CXXCPP $CPPFLAGS'
94844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94848 cat >conftest.$ac_ext <<_ACEOF
94849 /* confdefs.h. */
94850 _ACEOF
94851 cat confdefs.h >>conftest.$ac_ext
94852 cat >>conftest.$ac_ext <<_ACEOF
94853 /* end confdefs.h. */
94854 #include <math.h>
94856 main ()
94858 powl(0, 0);
94860 return 0;
94862 _ACEOF
94863 rm -f conftest.$ac_objext
94864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94865 (eval $ac_compile) 2>conftest.er1
94866 ac_status=$?
94867 grep -v '^ *+' conftest.er1 >conftest.err
94868 rm -f conftest.er1
94869 cat conftest.err >&5
94870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94871 (exit $ac_status); } &&
94872 { ac_try='test -z "$ac_cxx_werror_flag"
94873 || test ! -s conftest.err'
94874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94875 (eval $ac_try) 2>&5
94876 ac_status=$?
94877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94878 (exit $ac_status); }; } &&
94879 { ac_try='test -s conftest.$ac_objext'
94880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94881 (eval $ac_try) 2>&5
94882 ac_status=$?
94883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94884 (exit $ac_status); }; }; then
94885 glibcxx_cv_func_powl_use=yes
94886 else
94887 echo "$as_me: failed program was:" >&5
94888 sed 's/^/| /' conftest.$ac_ext >&5
94890 glibcxx_cv_func_powl_use=no
94892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94893 ac_ext=c
94894 ac_cpp='$CPP $CPPFLAGS'
94895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
94904 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
94906 if test x$glibcxx_cv_func_powl_use = x"yes"; then
94908 for ac_func in powl
94910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94911 echo "$as_me:$LINENO: checking for $ac_func" >&5
94912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94913 if eval "test \"\${$as_ac_var+set}\" = set"; then
94914 echo $ECHO_N "(cached) $ECHO_C" >&6
94915 else
94916 if test x$gcc_no_link = xyes; then
94917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94919 { (exit 1); exit 1; }; }
94921 cat >conftest.$ac_ext <<_ACEOF
94922 /* confdefs.h. */
94923 _ACEOF
94924 cat confdefs.h >>conftest.$ac_ext
94925 cat >>conftest.$ac_ext <<_ACEOF
94926 /* end confdefs.h. */
94927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94929 #define $ac_func innocuous_$ac_func
94931 /* System header to define __stub macros and hopefully few prototypes,
94932 which can conflict with char $ac_func (); below.
94933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94934 <limits.h> exists even on freestanding compilers. */
94936 #ifdef __STDC__
94937 # include <limits.h>
94938 #else
94939 # include <assert.h>
94940 #endif
94942 #undef $ac_func
94944 /* Override any gcc2 internal prototype to avoid an error. */
94945 #ifdef __cplusplus
94946 extern "C"
94948 #endif
94949 /* We use char because int might match the return type of a gcc2
94950 builtin and then its argument prototype would still apply. */
94951 char $ac_func ();
94952 /* The GNU C library defines this for functions which it implements
94953 to always fail with ENOSYS. Some functions are actually named
94954 something starting with __ and the normal name is an alias. */
94955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94956 choke me
94957 #else
94958 char (*f) () = $ac_func;
94959 #endif
94960 #ifdef __cplusplus
94962 #endif
94965 main ()
94967 return f != $ac_func;
94969 return 0;
94971 _ACEOF
94972 rm -f conftest.$ac_objext conftest$ac_exeext
94973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94974 (eval $ac_link) 2>conftest.er1
94975 ac_status=$?
94976 grep -v '^ *+' conftest.er1 >conftest.err
94977 rm -f conftest.er1
94978 cat conftest.err >&5
94979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980 (exit $ac_status); } &&
94981 { ac_try='test -z "$ac_c_werror_flag"
94982 || test ! -s conftest.err'
94983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94984 (eval $ac_try) 2>&5
94985 ac_status=$?
94986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94987 (exit $ac_status); }; } &&
94988 { ac_try='test -s conftest$ac_exeext'
94989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94990 (eval $ac_try) 2>&5
94991 ac_status=$?
94992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94993 (exit $ac_status); }; }; then
94994 eval "$as_ac_var=yes"
94995 else
94996 echo "$as_me: failed program was:" >&5
94997 sed 's/^/| /' conftest.$ac_ext >&5
94999 eval "$as_ac_var=no"
95001 rm -f conftest.err conftest.$ac_objext \
95002 conftest$ac_exeext conftest.$ac_ext
95004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95006 if test `eval echo '${'$as_ac_var'}'` = yes; then
95007 cat >>confdefs.h <<_ACEOF
95008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95009 _ACEOF
95012 done
95014 else
95016 echo "$as_me:$LINENO: checking for _powl declaration" >&5
95017 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
95018 if test x${glibcxx_cv_func__powl_use+set} != xset; then
95019 if test "${glibcxx_cv_func__powl_use+set}" = set; then
95020 echo $ECHO_N "(cached) $ECHO_C" >&6
95021 else
95025 ac_ext=cc
95026 ac_cpp='$CXXCPP $CPPFLAGS'
95027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95031 cat >conftest.$ac_ext <<_ACEOF
95032 /* confdefs.h. */
95033 _ACEOF
95034 cat confdefs.h >>conftest.$ac_ext
95035 cat >>conftest.$ac_ext <<_ACEOF
95036 /* end confdefs.h. */
95037 #include <math.h>
95039 main ()
95041 _powl(0, 0);
95043 return 0;
95045 _ACEOF
95046 rm -f conftest.$ac_objext
95047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95048 (eval $ac_compile) 2>conftest.er1
95049 ac_status=$?
95050 grep -v '^ *+' conftest.er1 >conftest.err
95051 rm -f conftest.er1
95052 cat conftest.err >&5
95053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95054 (exit $ac_status); } &&
95055 { ac_try='test -z "$ac_cxx_werror_flag"
95056 || test ! -s conftest.err'
95057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95058 (eval $ac_try) 2>&5
95059 ac_status=$?
95060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95061 (exit $ac_status); }; } &&
95062 { ac_try='test -s conftest.$ac_objext'
95063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95064 (eval $ac_try) 2>&5
95065 ac_status=$?
95066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95067 (exit $ac_status); }; }; then
95068 glibcxx_cv_func__powl_use=yes
95069 else
95070 echo "$as_me: failed program was:" >&5
95071 sed 's/^/| /' conftest.$ac_ext >&5
95073 glibcxx_cv_func__powl_use=no
95075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95076 ac_ext=c
95077 ac_cpp='$CPP $CPPFLAGS'
95078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95086 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
95087 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
95089 if test x$glibcxx_cv_func__powl_use = x"yes"; then
95091 for ac_func in _powl
95093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95094 echo "$as_me:$LINENO: checking for $ac_func" >&5
95095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95096 if eval "test \"\${$as_ac_var+set}\" = set"; then
95097 echo $ECHO_N "(cached) $ECHO_C" >&6
95098 else
95099 if test x$gcc_no_link = xyes; then
95100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95102 { (exit 1); exit 1; }; }
95104 cat >conftest.$ac_ext <<_ACEOF
95105 /* confdefs.h. */
95106 _ACEOF
95107 cat confdefs.h >>conftest.$ac_ext
95108 cat >>conftest.$ac_ext <<_ACEOF
95109 /* end confdefs.h. */
95110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95112 #define $ac_func innocuous_$ac_func
95114 /* System header to define __stub macros and hopefully few prototypes,
95115 which can conflict with char $ac_func (); below.
95116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95117 <limits.h> exists even on freestanding compilers. */
95119 #ifdef __STDC__
95120 # include <limits.h>
95121 #else
95122 # include <assert.h>
95123 #endif
95125 #undef $ac_func
95127 /* Override any gcc2 internal prototype to avoid an error. */
95128 #ifdef __cplusplus
95129 extern "C"
95131 #endif
95132 /* We use char because int might match the return type of a gcc2
95133 builtin and then its argument prototype would still apply. */
95134 char $ac_func ();
95135 /* The GNU C library defines this for functions which it implements
95136 to always fail with ENOSYS. Some functions are actually named
95137 something starting with __ and the normal name is an alias. */
95138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95139 choke me
95140 #else
95141 char (*f) () = $ac_func;
95142 #endif
95143 #ifdef __cplusplus
95145 #endif
95148 main ()
95150 return f != $ac_func;
95152 return 0;
95154 _ACEOF
95155 rm -f conftest.$ac_objext conftest$ac_exeext
95156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95157 (eval $ac_link) 2>conftest.er1
95158 ac_status=$?
95159 grep -v '^ *+' conftest.er1 >conftest.err
95160 rm -f conftest.er1
95161 cat conftest.err >&5
95162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95163 (exit $ac_status); } &&
95164 { ac_try='test -z "$ac_c_werror_flag"
95165 || test ! -s conftest.err'
95166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95167 (eval $ac_try) 2>&5
95168 ac_status=$?
95169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95170 (exit $ac_status); }; } &&
95171 { ac_try='test -s conftest$ac_exeext'
95172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95173 (eval $ac_try) 2>&5
95174 ac_status=$?
95175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95176 (exit $ac_status); }; }; then
95177 eval "$as_ac_var=yes"
95178 else
95179 echo "$as_me: failed program was:" >&5
95180 sed 's/^/| /' conftest.$ac_ext >&5
95182 eval "$as_ac_var=no"
95184 rm -f conftest.err conftest.$ac_objext \
95185 conftest$ac_exeext conftest.$ac_ext
95187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95189 if test `eval echo '${'$as_ac_var'}'` = yes; then
95190 cat >>confdefs.h <<_ACEOF
95191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95192 _ACEOF
95195 done
95205 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
95206 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
95207 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
95208 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
95209 echo $ECHO_N "(cached) $ECHO_C" >&6
95210 else
95214 ac_ext=cc
95215 ac_cpp='$CXXCPP $CPPFLAGS'
95216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95220 cat >conftest.$ac_ext <<_ACEOF
95221 /* confdefs.h. */
95222 _ACEOF
95223 cat confdefs.h >>conftest.$ac_ext
95224 cat >>conftest.$ac_ext <<_ACEOF
95225 /* end confdefs.h. */
95226 #include <math.h>
95227 #ifdef HAVE_IEEEFP_H
95228 #include <ieeefp.h>
95229 #endif
95232 main ()
95234 sqrtl(0);
95236 return 0;
95238 _ACEOF
95239 rm -f conftest.$ac_objext
95240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95241 (eval $ac_compile) 2>conftest.er1
95242 ac_status=$?
95243 grep -v '^ *+' conftest.er1 >conftest.err
95244 rm -f conftest.er1
95245 cat conftest.err >&5
95246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95247 (exit $ac_status); } &&
95248 { ac_try='test -z "$ac_cxx_werror_flag"
95249 || test ! -s conftest.err'
95250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95251 (eval $ac_try) 2>&5
95252 ac_status=$?
95253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95254 (exit $ac_status); }; } &&
95255 { ac_try='test -s conftest.$ac_objext'
95256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95257 (eval $ac_try) 2>&5
95258 ac_status=$?
95259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95260 (exit $ac_status); }; }; then
95261 glibcxx_cv_func_sqrtl_use=yes
95262 else
95263 echo "$as_me: failed program was:" >&5
95264 sed 's/^/| /' conftest.$ac_ext >&5
95266 glibcxx_cv_func_sqrtl_use=no
95268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95269 ac_ext=c
95270 ac_cpp='$CPP $CPPFLAGS'
95271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
95280 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
95282 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
95284 for ac_func in sqrtl
95286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95287 echo "$as_me:$LINENO: checking for $ac_func" >&5
95288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95289 if eval "test \"\${$as_ac_var+set}\" = set"; then
95290 echo $ECHO_N "(cached) $ECHO_C" >&6
95291 else
95292 if test x$gcc_no_link = xyes; then
95293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95295 { (exit 1); exit 1; }; }
95297 cat >conftest.$ac_ext <<_ACEOF
95298 /* confdefs.h. */
95299 _ACEOF
95300 cat confdefs.h >>conftest.$ac_ext
95301 cat >>conftest.$ac_ext <<_ACEOF
95302 /* end confdefs.h. */
95303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95305 #define $ac_func innocuous_$ac_func
95307 /* System header to define __stub macros and hopefully few prototypes,
95308 which can conflict with char $ac_func (); below.
95309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95310 <limits.h> exists even on freestanding compilers. */
95312 #ifdef __STDC__
95313 # include <limits.h>
95314 #else
95315 # include <assert.h>
95316 #endif
95318 #undef $ac_func
95320 /* Override any gcc2 internal prototype to avoid an error. */
95321 #ifdef __cplusplus
95322 extern "C"
95324 #endif
95325 /* We use char because int might match the return type of a gcc2
95326 builtin and then its argument prototype would still apply. */
95327 char $ac_func ();
95328 /* The GNU C library defines this for functions which it implements
95329 to always fail with ENOSYS. Some functions are actually named
95330 something starting with __ and the normal name is an alias. */
95331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95332 choke me
95333 #else
95334 char (*f) () = $ac_func;
95335 #endif
95336 #ifdef __cplusplus
95338 #endif
95341 main ()
95343 return f != $ac_func;
95345 return 0;
95347 _ACEOF
95348 rm -f conftest.$ac_objext conftest$ac_exeext
95349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95350 (eval $ac_link) 2>conftest.er1
95351 ac_status=$?
95352 grep -v '^ *+' conftest.er1 >conftest.err
95353 rm -f conftest.er1
95354 cat conftest.err >&5
95355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95356 (exit $ac_status); } &&
95357 { ac_try='test -z "$ac_c_werror_flag"
95358 || test ! -s conftest.err'
95359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95360 (eval $ac_try) 2>&5
95361 ac_status=$?
95362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95363 (exit $ac_status); }; } &&
95364 { ac_try='test -s conftest$ac_exeext'
95365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95366 (eval $ac_try) 2>&5
95367 ac_status=$?
95368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95369 (exit $ac_status); }; }; then
95370 eval "$as_ac_var=yes"
95371 else
95372 echo "$as_me: failed program was:" >&5
95373 sed 's/^/| /' conftest.$ac_ext >&5
95375 eval "$as_ac_var=no"
95377 rm -f conftest.err conftest.$ac_objext \
95378 conftest$ac_exeext conftest.$ac_ext
95380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95382 if test `eval echo '${'$as_ac_var'}'` = yes; then
95383 cat >>confdefs.h <<_ACEOF
95384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95385 _ACEOF
95388 done
95390 else
95392 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
95393 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
95394 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
95395 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
95396 echo $ECHO_N "(cached) $ECHO_C" >&6
95397 else
95401 ac_ext=cc
95402 ac_cpp='$CXXCPP $CPPFLAGS'
95403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95407 cat >conftest.$ac_ext <<_ACEOF
95408 /* confdefs.h. */
95409 _ACEOF
95410 cat confdefs.h >>conftest.$ac_ext
95411 cat >>conftest.$ac_ext <<_ACEOF
95412 /* end confdefs.h. */
95413 #include <math.h>
95414 #ifdef HAVE_IEEEFP_H
95415 #include <ieeefp.h>
95416 #endif
95419 main ()
95421 _sqrtl(0);
95423 return 0;
95425 _ACEOF
95426 rm -f conftest.$ac_objext
95427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95428 (eval $ac_compile) 2>conftest.er1
95429 ac_status=$?
95430 grep -v '^ *+' conftest.er1 >conftest.err
95431 rm -f conftest.er1
95432 cat conftest.err >&5
95433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434 (exit $ac_status); } &&
95435 { ac_try='test -z "$ac_cxx_werror_flag"
95436 || test ! -s conftest.err'
95437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95438 (eval $ac_try) 2>&5
95439 ac_status=$?
95440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95441 (exit $ac_status); }; } &&
95442 { ac_try='test -s conftest.$ac_objext'
95443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95444 (eval $ac_try) 2>&5
95445 ac_status=$?
95446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95447 (exit $ac_status); }; }; then
95448 glibcxx_cv_func__sqrtl_use=yes
95449 else
95450 echo "$as_me: failed program was:" >&5
95451 sed 's/^/| /' conftest.$ac_ext >&5
95453 glibcxx_cv_func__sqrtl_use=no
95455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95456 ac_ext=c
95457 ac_cpp='$CPP $CPPFLAGS'
95458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
95467 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
95469 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
95471 for ac_func in _sqrtl
95473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95474 echo "$as_me:$LINENO: checking for $ac_func" >&5
95475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95476 if eval "test \"\${$as_ac_var+set}\" = set"; then
95477 echo $ECHO_N "(cached) $ECHO_C" >&6
95478 else
95479 if test x$gcc_no_link = xyes; then
95480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95482 { (exit 1); exit 1; }; }
95484 cat >conftest.$ac_ext <<_ACEOF
95485 /* confdefs.h. */
95486 _ACEOF
95487 cat confdefs.h >>conftest.$ac_ext
95488 cat >>conftest.$ac_ext <<_ACEOF
95489 /* end confdefs.h. */
95490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95492 #define $ac_func innocuous_$ac_func
95494 /* System header to define __stub macros and hopefully few prototypes,
95495 which can conflict with char $ac_func (); below.
95496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95497 <limits.h> exists even on freestanding compilers. */
95499 #ifdef __STDC__
95500 # include <limits.h>
95501 #else
95502 # include <assert.h>
95503 #endif
95505 #undef $ac_func
95507 /* Override any gcc2 internal prototype to avoid an error. */
95508 #ifdef __cplusplus
95509 extern "C"
95511 #endif
95512 /* We use char because int might match the return type of a gcc2
95513 builtin and then its argument prototype would still apply. */
95514 char $ac_func ();
95515 /* The GNU C library defines this for functions which it implements
95516 to always fail with ENOSYS. Some functions are actually named
95517 something starting with __ and the normal name is an alias. */
95518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95519 choke me
95520 #else
95521 char (*f) () = $ac_func;
95522 #endif
95523 #ifdef __cplusplus
95525 #endif
95528 main ()
95530 return f != $ac_func;
95532 return 0;
95534 _ACEOF
95535 rm -f conftest.$ac_objext conftest$ac_exeext
95536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95537 (eval $ac_link) 2>conftest.er1
95538 ac_status=$?
95539 grep -v '^ *+' conftest.er1 >conftest.err
95540 rm -f conftest.er1
95541 cat conftest.err >&5
95542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543 (exit $ac_status); } &&
95544 { ac_try='test -z "$ac_c_werror_flag"
95545 || test ! -s conftest.err'
95546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95547 (eval $ac_try) 2>&5
95548 ac_status=$?
95549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95550 (exit $ac_status); }; } &&
95551 { ac_try='test -s conftest$ac_exeext'
95552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95553 (eval $ac_try) 2>&5
95554 ac_status=$?
95555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95556 (exit $ac_status); }; }; then
95557 eval "$as_ac_var=yes"
95558 else
95559 echo "$as_me: failed program was:" >&5
95560 sed 's/^/| /' conftest.$ac_ext >&5
95562 eval "$as_ac_var=no"
95564 rm -f conftest.err conftest.$ac_objext \
95565 conftest$ac_exeext conftest.$ac_ext
95567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95569 if test `eval echo '${'$as_ac_var'}'` = yes; then
95570 cat >>confdefs.h <<_ACEOF
95571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95572 _ACEOF
95575 done
95585 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
95586 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
95587 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
95588 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
95589 echo $ECHO_N "(cached) $ECHO_C" >&6
95590 else
95594 ac_ext=cc
95595 ac_cpp='$CXXCPP $CPPFLAGS'
95596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95600 cat >conftest.$ac_ext <<_ACEOF
95601 /* confdefs.h. */
95602 _ACEOF
95603 cat confdefs.h >>conftest.$ac_ext
95604 cat >>conftest.$ac_ext <<_ACEOF
95605 /* end confdefs.h. */
95606 #include <math.h>
95608 main ()
95610 sincosl(0, 0, 0);
95612 return 0;
95614 _ACEOF
95615 rm -f conftest.$ac_objext
95616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95617 (eval $ac_compile) 2>conftest.er1
95618 ac_status=$?
95619 grep -v '^ *+' conftest.er1 >conftest.err
95620 rm -f conftest.er1
95621 cat conftest.err >&5
95622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95623 (exit $ac_status); } &&
95624 { ac_try='test -z "$ac_cxx_werror_flag"
95625 || test ! -s conftest.err'
95626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95627 (eval $ac_try) 2>&5
95628 ac_status=$?
95629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95630 (exit $ac_status); }; } &&
95631 { ac_try='test -s conftest.$ac_objext'
95632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95633 (eval $ac_try) 2>&5
95634 ac_status=$?
95635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95636 (exit $ac_status); }; }; then
95637 glibcxx_cv_func_sincosl_use=yes
95638 else
95639 echo "$as_me: failed program was:" >&5
95640 sed 's/^/| /' conftest.$ac_ext >&5
95642 glibcxx_cv_func_sincosl_use=no
95644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95645 ac_ext=c
95646 ac_cpp='$CPP $CPPFLAGS'
95647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
95656 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
95658 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
95660 for ac_func in sincosl
95662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95663 echo "$as_me:$LINENO: checking for $ac_func" >&5
95664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95665 if eval "test \"\${$as_ac_var+set}\" = set"; then
95666 echo $ECHO_N "(cached) $ECHO_C" >&6
95667 else
95668 if test x$gcc_no_link = xyes; then
95669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95671 { (exit 1); exit 1; }; }
95673 cat >conftest.$ac_ext <<_ACEOF
95674 /* confdefs.h. */
95675 _ACEOF
95676 cat confdefs.h >>conftest.$ac_ext
95677 cat >>conftest.$ac_ext <<_ACEOF
95678 /* end confdefs.h. */
95679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95681 #define $ac_func innocuous_$ac_func
95683 /* System header to define __stub macros and hopefully few prototypes,
95684 which can conflict with char $ac_func (); below.
95685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95686 <limits.h> exists even on freestanding compilers. */
95688 #ifdef __STDC__
95689 # include <limits.h>
95690 #else
95691 # include <assert.h>
95692 #endif
95694 #undef $ac_func
95696 /* Override any gcc2 internal prototype to avoid an error. */
95697 #ifdef __cplusplus
95698 extern "C"
95700 #endif
95701 /* We use char because int might match the return type of a gcc2
95702 builtin and then its argument prototype would still apply. */
95703 char $ac_func ();
95704 /* The GNU C library defines this for functions which it implements
95705 to always fail with ENOSYS. Some functions are actually named
95706 something starting with __ and the normal name is an alias. */
95707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95708 choke me
95709 #else
95710 char (*f) () = $ac_func;
95711 #endif
95712 #ifdef __cplusplus
95714 #endif
95717 main ()
95719 return f != $ac_func;
95721 return 0;
95723 _ACEOF
95724 rm -f conftest.$ac_objext conftest$ac_exeext
95725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95726 (eval $ac_link) 2>conftest.er1
95727 ac_status=$?
95728 grep -v '^ *+' conftest.er1 >conftest.err
95729 rm -f conftest.er1
95730 cat conftest.err >&5
95731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95732 (exit $ac_status); } &&
95733 { ac_try='test -z "$ac_c_werror_flag"
95734 || test ! -s conftest.err'
95735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95736 (eval $ac_try) 2>&5
95737 ac_status=$?
95738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95739 (exit $ac_status); }; } &&
95740 { ac_try='test -s conftest$ac_exeext'
95741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95742 (eval $ac_try) 2>&5
95743 ac_status=$?
95744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95745 (exit $ac_status); }; }; then
95746 eval "$as_ac_var=yes"
95747 else
95748 echo "$as_me: failed program was:" >&5
95749 sed 's/^/| /' conftest.$ac_ext >&5
95751 eval "$as_ac_var=no"
95753 rm -f conftest.err conftest.$ac_objext \
95754 conftest$ac_exeext conftest.$ac_ext
95756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95758 if test `eval echo '${'$as_ac_var'}'` = yes; then
95759 cat >>confdefs.h <<_ACEOF
95760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95761 _ACEOF
95764 done
95766 else
95768 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
95769 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
95770 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
95771 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
95772 echo $ECHO_N "(cached) $ECHO_C" >&6
95773 else
95777 ac_ext=cc
95778 ac_cpp='$CXXCPP $CPPFLAGS'
95779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95783 cat >conftest.$ac_ext <<_ACEOF
95784 /* confdefs.h. */
95785 _ACEOF
95786 cat confdefs.h >>conftest.$ac_ext
95787 cat >>conftest.$ac_ext <<_ACEOF
95788 /* end confdefs.h. */
95789 #include <math.h>
95791 main ()
95793 _sincosl(0, 0, 0);
95795 return 0;
95797 _ACEOF
95798 rm -f conftest.$ac_objext
95799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95800 (eval $ac_compile) 2>conftest.er1
95801 ac_status=$?
95802 grep -v '^ *+' conftest.er1 >conftest.err
95803 rm -f conftest.er1
95804 cat conftest.err >&5
95805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95806 (exit $ac_status); } &&
95807 { ac_try='test -z "$ac_cxx_werror_flag"
95808 || test ! -s conftest.err'
95809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95810 (eval $ac_try) 2>&5
95811 ac_status=$?
95812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95813 (exit $ac_status); }; } &&
95814 { ac_try='test -s conftest.$ac_objext'
95815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95816 (eval $ac_try) 2>&5
95817 ac_status=$?
95818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95819 (exit $ac_status); }; }; then
95820 glibcxx_cv_func__sincosl_use=yes
95821 else
95822 echo "$as_me: failed program was:" >&5
95823 sed 's/^/| /' conftest.$ac_ext >&5
95825 glibcxx_cv_func__sincosl_use=no
95827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95828 ac_ext=c
95829 ac_cpp='$CPP $CPPFLAGS'
95830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
95839 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
95841 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
95843 for ac_func in _sincosl
95845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95846 echo "$as_me:$LINENO: checking for $ac_func" >&5
95847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95848 if eval "test \"\${$as_ac_var+set}\" = set"; then
95849 echo $ECHO_N "(cached) $ECHO_C" >&6
95850 else
95851 if test x$gcc_no_link = xyes; then
95852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95854 { (exit 1); exit 1; }; }
95856 cat >conftest.$ac_ext <<_ACEOF
95857 /* confdefs.h. */
95858 _ACEOF
95859 cat confdefs.h >>conftest.$ac_ext
95860 cat >>conftest.$ac_ext <<_ACEOF
95861 /* end confdefs.h. */
95862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95864 #define $ac_func innocuous_$ac_func
95866 /* System header to define __stub macros and hopefully few prototypes,
95867 which can conflict with char $ac_func (); below.
95868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95869 <limits.h> exists even on freestanding compilers. */
95871 #ifdef __STDC__
95872 # include <limits.h>
95873 #else
95874 # include <assert.h>
95875 #endif
95877 #undef $ac_func
95879 /* Override any gcc2 internal prototype to avoid an error. */
95880 #ifdef __cplusplus
95881 extern "C"
95883 #endif
95884 /* We use char because int might match the return type of a gcc2
95885 builtin and then its argument prototype would still apply. */
95886 char $ac_func ();
95887 /* The GNU C library defines this for functions which it implements
95888 to always fail with ENOSYS. Some functions are actually named
95889 something starting with __ and the normal name is an alias. */
95890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95891 choke me
95892 #else
95893 char (*f) () = $ac_func;
95894 #endif
95895 #ifdef __cplusplus
95897 #endif
95900 main ()
95902 return f != $ac_func;
95904 return 0;
95906 _ACEOF
95907 rm -f conftest.$ac_objext conftest$ac_exeext
95908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95909 (eval $ac_link) 2>conftest.er1
95910 ac_status=$?
95911 grep -v '^ *+' conftest.er1 >conftest.err
95912 rm -f conftest.er1
95913 cat conftest.err >&5
95914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915 (exit $ac_status); } &&
95916 { ac_try='test -z "$ac_c_werror_flag"
95917 || test ! -s conftest.err'
95918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95919 (eval $ac_try) 2>&5
95920 ac_status=$?
95921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95922 (exit $ac_status); }; } &&
95923 { ac_try='test -s conftest$ac_exeext'
95924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95925 (eval $ac_try) 2>&5
95926 ac_status=$?
95927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95928 (exit $ac_status); }; }; then
95929 eval "$as_ac_var=yes"
95930 else
95931 echo "$as_me: failed program was:" >&5
95932 sed 's/^/| /' conftest.$ac_ext >&5
95934 eval "$as_ac_var=no"
95936 rm -f conftest.err conftest.$ac_objext \
95937 conftest$ac_exeext conftest.$ac_ext
95939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95941 if test `eval echo '${'$as_ac_var'}'` = yes; then
95942 cat >>confdefs.h <<_ACEOF
95943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95944 _ACEOF
95947 done
95957 echo "$as_me:$LINENO: checking for finitel declaration" >&5
95958 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
95959 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
95960 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
95961 echo $ECHO_N "(cached) $ECHO_C" >&6
95962 else
95966 ac_ext=cc
95967 ac_cpp='$CXXCPP $CPPFLAGS'
95968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95972 cat >conftest.$ac_ext <<_ACEOF
95973 /* confdefs.h. */
95974 _ACEOF
95975 cat confdefs.h >>conftest.$ac_ext
95976 cat >>conftest.$ac_ext <<_ACEOF
95977 /* end confdefs.h. */
95978 #include <math.h>
95979 #ifdef HAVE_IEEEFP_H
95980 #include <ieeefp.h>
95981 #endif
95984 main ()
95986 finitel(0);
95988 return 0;
95990 _ACEOF
95991 rm -f conftest.$ac_objext
95992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95993 (eval $ac_compile) 2>conftest.er1
95994 ac_status=$?
95995 grep -v '^ *+' conftest.er1 >conftest.err
95996 rm -f conftest.er1
95997 cat conftest.err >&5
95998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95999 (exit $ac_status); } &&
96000 { ac_try='test -z "$ac_cxx_werror_flag"
96001 || test ! -s conftest.err'
96002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96003 (eval $ac_try) 2>&5
96004 ac_status=$?
96005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96006 (exit $ac_status); }; } &&
96007 { ac_try='test -s conftest.$ac_objext'
96008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96009 (eval $ac_try) 2>&5
96010 ac_status=$?
96011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96012 (exit $ac_status); }; }; then
96013 glibcxx_cv_func_finitel_use=yes
96014 else
96015 echo "$as_me: failed program was:" >&5
96016 sed 's/^/| /' conftest.$ac_ext >&5
96018 glibcxx_cv_func_finitel_use=no
96020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96021 ac_ext=c
96022 ac_cpp='$CPP $CPPFLAGS'
96023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
96032 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
96034 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
96036 for ac_func in finitel
96038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96039 echo "$as_me:$LINENO: checking for $ac_func" >&5
96040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96041 if eval "test \"\${$as_ac_var+set}\" = set"; then
96042 echo $ECHO_N "(cached) $ECHO_C" >&6
96043 else
96044 if test x$gcc_no_link = xyes; then
96045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96047 { (exit 1); exit 1; }; }
96049 cat >conftest.$ac_ext <<_ACEOF
96050 /* confdefs.h. */
96051 _ACEOF
96052 cat confdefs.h >>conftest.$ac_ext
96053 cat >>conftest.$ac_ext <<_ACEOF
96054 /* end confdefs.h. */
96055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96057 #define $ac_func innocuous_$ac_func
96059 /* System header to define __stub macros and hopefully few prototypes,
96060 which can conflict with char $ac_func (); below.
96061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96062 <limits.h> exists even on freestanding compilers. */
96064 #ifdef __STDC__
96065 # include <limits.h>
96066 #else
96067 # include <assert.h>
96068 #endif
96070 #undef $ac_func
96072 /* Override any gcc2 internal prototype to avoid an error. */
96073 #ifdef __cplusplus
96074 extern "C"
96076 #endif
96077 /* We use char because int might match the return type of a gcc2
96078 builtin and then its argument prototype would still apply. */
96079 char $ac_func ();
96080 /* The GNU C library defines this for functions which it implements
96081 to always fail with ENOSYS. Some functions are actually named
96082 something starting with __ and the normal name is an alias. */
96083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96084 choke me
96085 #else
96086 char (*f) () = $ac_func;
96087 #endif
96088 #ifdef __cplusplus
96090 #endif
96093 main ()
96095 return f != $ac_func;
96097 return 0;
96099 _ACEOF
96100 rm -f conftest.$ac_objext conftest$ac_exeext
96101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96102 (eval $ac_link) 2>conftest.er1
96103 ac_status=$?
96104 grep -v '^ *+' conftest.er1 >conftest.err
96105 rm -f conftest.er1
96106 cat conftest.err >&5
96107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96108 (exit $ac_status); } &&
96109 { ac_try='test -z "$ac_c_werror_flag"
96110 || test ! -s conftest.err'
96111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96112 (eval $ac_try) 2>&5
96113 ac_status=$?
96114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96115 (exit $ac_status); }; } &&
96116 { ac_try='test -s conftest$ac_exeext'
96117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96118 (eval $ac_try) 2>&5
96119 ac_status=$?
96120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96121 (exit $ac_status); }; }; then
96122 eval "$as_ac_var=yes"
96123 else
96124 echo "$as_me: failed program was:" >&5
96125 sed 's/^/| /' conftest.$ac_ext >&5
96127 eval "$as_ac_var=no"
96129 rm -f conftest.err conftest.$ac_objext \
96130 conftest$ac_exeext conftest.$ac_ext
96132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96134 if test `eval echo '${'$as_ac_var'}'` = yes; then
96135 cat >>confdefs.h <<_ACEOF
96136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96137 _ACEOF
96140 done
96142 else
96144 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
96145 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
96146 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
96147 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
96148 echo $ECHO_N "(cached) $ECHO_C" >&6
96149 else
96153 ac_ext=cc
96154 ac_cpp='$CXXCPP $CPPFLAGS'
96155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96159 cat >conftest.$ac_ext <<_ACEOF
96160 /* confdefs.h. */
96161 _ACEOF
96162 cat confdefs.h >>conftest.$ac_ext
96163 cat >>conftest.$ac_ext <<_ACEOF
96164 /* end confdefs.h. */
96165 #include <math.h>
96166 #ifdef HAVE_IEEEFP_H
96167 #include <ieeefp.h>
96168 #endif
96171 main ()
96173 _finitel(0);
96175 return 0;
96177 _ACEOF
96178 rm -f conftest.$ac_objext
96179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96180 (eval $ac_compile) 2>conftest.er1
96181 ac_status=$?
96182 grep -v '^ *+' conftest.er1 >conftest.err
96183 rm -f conftest.er1
96184 cat conftest.err >&5
96185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96186 (exit $ac_status); } &&
96187 { ac_try='test -z "$ac_cxx_werror_flag"
96188 || test ! -s conftest.err'
96189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96190 (eval $ac_try) 2>&5
96191 ac_status=$?
96192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96193 (exit $ac_status); }; } &&
96194 { ac_try='test -s conftest.$ac_objext'
96195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96196 (eval $ac_try) 2>&5
96197 ac_status=$?
96198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199 (exit $ac_status); }; }; then
96200 glibcxx_cv_func__finitel_use=yes
96201 else
96202 echo "$as_me: failed program was:" >&5
96203 sed 's/^/| /' conftest.$ac_ext >&5
96205 glibcxx_cv_func__finitel_use=no
96207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96208 ac_ext=c
96209 ac_cpp='$CPP $CPPFLAGS'
96210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
96219 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
96221 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
96223 for ac_func in _finitel
96225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96226 echo "$as_me:$LINENO: checking for $ac_func" >&5
96227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96228 if eval "test \"\${$as_ac_var+set}\" = set"; then
96229 echo $ECHO_N "(cached) $ECHO_C" >&6
96230 else
96231 if test x$gcc_no_link = xyes; then
96232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96234 { (exit 1); exit 1; }; }
96236 cat >conftest.$ac_ext <<_ACEOF
96237 /* confdefs.h. */
96238 _ACEOF
96239 cat confdefs.h >>conftest.$ac_ext
96240 cat >>conftest.$ac_ext <<_ACEOF
96241 /* end confdefs.h. */
96242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96244 #define $ac_func innocuous_$ac_func
96246 /* System header to define __stub macros and hopefully few prototypes,
96247 which can conflict with char $ac_func (); below.
96248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96249 <limits.h> exists even on freestanding compilers. */
96251 #ifdef __STDC__
96252 # include <limits.h>
96253 #else
96254 # include <assert.h>
96255 #endif
96257 #undef $ac_func
96259 /* Override any gcc2 internal prototype to avoid an error. */
96260 #ifdef __cplusplus
96261 extern "C"
96263 #endif
96264 /* We use char because int might match the return type of a gcc2
96265 builtin and then its argument prototype would still apply. */
96266 char $ac_func ();
96267 /* The GNU C library defines this for functions which it implements
96268 to always fail with ENOSYS. Some functions are actually named
96269 something starting with __ and the normal name is an alias. */
96270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96271 choke me
96272 #else
96273 char (*f) () = $ac_func;
96274 #endif
96275 #ifdef __cplusplus
96277 #endif
96280 main ()
96282 return f != $ac_func;
96284 return 0;
96286 _ACEOF
96287 rm -f conftest.$ac_objext conftest$ac_exeext
96288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96289 (eval $ac_link) 2>conftest.er1
96290 ac_status=$?
96291 grep -v '^ *+' conftest.er1 >conftest.err
96292 rm -f conftest.er1
96293 cat conftest.err >&5
96294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295 (exit $ac_status); } &&
96296 { ac_try='test -z "$ac_c_werror_flag"
96297 || test ! -s conftest.err'
96298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96299 (eval $ac_try) 2>&5
96300 ac_status=$?
96301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96302 (exit $ac_status); }; } &&
96303 { ac_try='test -s conftest$ac_exeext'
96304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96305 (eval $ac_try) 2>&5
96306 ac_status=$?
96307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96308 (exit $ac_status); }; }; then
96309 eval "$as_ac_var=yes"
96310 else
96311 echo "$as_me: failed program was:" >&5
96312 sed 's/^/| /' conftest.$ac_ext >&5
96314 eval "$as_ac_var=no"
96316 rm -f conftest.err conftest.$ac_objext \
96317 conftest$ac_exeext conftest.$ac_ext
96319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96321 if test `eval echo '${'$as_ac_var'}'` = yes; then
96322 cat >>confdefs.h <<_ACEOF
96323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96324 _ACEOF
96327 done
96336 LIBS="$ac_save_LIBS"
96337 CXXFLAGS="$ac_save_CXXFLAGS"
96341 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
96342 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
96343 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
96344 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
96345 echo $ECHO_N "(cached) $ECHO_C" >&6
96346 else
96350 ac_ext=cc
96351 ac_cpp='$CXXCPP $CPPFLAGS'
96352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96356 cat >conftest.$ac_ext <<_ACEOF
96357 /* confdefs.h. */
96358 _ACEOF
96359 cat confdefs.h >>conftest.$ac_ext
96360 cat >>conftest.$ac_ext <<_ACEOF
96361 /* end confdefs.h. */
96362 #include <math.h>
96364 main ()
96366 __builtin_abs(0);
96368 return 0;
96370 _ACEOF
96371 rm -f conftest.$ac_objext
96372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96373 (eval $ac_compile) 2>conftest.er1
96374 ac_status=$?
96375 grep -v '^ *+' conftest.er1 >conftest.err
96376 rm -f conftest.er1
96377 cat conftest.err >&5
96378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96379 (exit $ac_status); } &&
96380 { ac_try='test -z "$ac_cxx_werror_flag"
96381 || test ! -s conftest.err'
96382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96383 (eval $ac_try) 2>&5
96384 ac_status=$?
96385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96386 (exit $ac_status); }; } &&
96387 { ac_try='test -s conftest.$ac_objext'
96388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96389 (eval $ac_try) 2>&5
96390 ac_status=$?
96391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96392 (exit $ac_status); }; }; then
96393 glibcxx_cv_func___builtin_abs_use=yes
96394 else
96395 echo "$as_me: failed program was:" >&5
96396 sed 's/^/| /' conftest.$ac_ext >&5
96398 glibcxx_cv_func___builtin_abs_use=no
96400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96401 ac_ext=c
96402 ac_cpp='$CPP $CPPFLAGS'
96403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
96412 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
96413 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
96414 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
96415 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
96416 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
96417 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
96418 echo $ECHO_N "(cached) $ECHO_C" >&6
96419 else
96421 if test x$gcc_no_link = xyes; then
96422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96424 { (exit 1); exit 1; }; }
96426 cat >conftest.$ac_ext <<_ACEOF
96427 /* confdefs.h. */
96428 _ACEOF
96429 cat confdefs.h >>conftest.$ac_ext
96430 cat >>conftest.$ac_ext <<_ACEOF
96431 /* end confdefs.h. */
96432 #include <math.h>
96434 main ()
96436 __builtin_abs(0);
96438 return 0;
96440 _ACEOF
96441 rm -f conftest.$ac_objext conftest$ac_exeext
96442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96443 (eval $ac_link) 2>conftest.er1
96444 ac_status=$?
96445 grep -v '^ *+' conftest.er1 >conftest.err
96446 rm -f conftest.er1
96447 cat conftest.err >&5
96448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96449 (exit $ac_status); } &&
96450 { ac_try='test -z "$ac_c_werror_flag"
96451 || test ! -s conftest.err'
96452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96453 (eval $ac_try) 2>&5
96454 ac_status=$?
96455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96456 (exit $ac_status); }; } &&
96457 { ac_try='test -s conftest$ac_exeext'
96458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96459 (eval $ac_try) 2>&5
96460 ac_status=$?
96461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462 (exit $ac_status); }; }; then
96463 glibcxx_cv_func___builtin_abs_link=yes
96464 else
96465 echo "$as_me: failed program was:" >&5
96466 sed 's/^/| /' conftest.$ac_ext >&5
96468 glibcxx_cv_func___builtin_abs_link=no
96470 rm -f conftest.err conftest.$ac_objext \
96471 conftest$ac_exeext conftest.$ac_ext
96476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
96477 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
96479 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
96481 cat >>confdefs.h <<\_ACEOF
96482 #define HAVE___BUILTIN_ABS 1
96483 _ACEOF
96490 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
96491 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
96492 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
96493 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
96494 echo $ECHO_N "(cached) $ECHO_C" >&6
96495 else
96499 ac_ext=cc
96500 ac_cpp='$CXXCPP $CPPFLAGS'
96501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96505 cat >conftest.$ac_ext <<_ACEOF
96506 /* confdefs.h. */
96507 _ACEOF
96508 cat confdefs.h >>conftest.$ac_ext
96509 cat >>conftest.$ac_ext <<_ACEOF
96510 /* end confdefs.h. */
96511 #include <math.h>
96513 main ()
96515 __builtin_fabsf(0);
96517 return 0;
96519 _ACEOF
96520 rm -f conftest.$ac_objext
96521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96522 (eval $ac_compile) 2>conftest.er1
96523 ac_status=$?
96524 grep -v '^ *+' conftest.er1 >conftest.err
96525 rm -f conftest.er1
96526 cat conftest.err >&5
96527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96528 (exit $ac_status); } &&
96529 { ac_try='test -z "$ac_cxx_werror_flag"
96530 || test ! -s conftest.err'
96531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96532 (eval $ac_try) 2>&5
96533 ac_status=$?
96534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96535 (exit $ac_status); }; } &&
96536 { ac_try='test -s conftest.$ac_objext'
96537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96538 (eval $ac_try) 2>&5
96539 ac_status=$?
96540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96541 (exit $ac_status); }; }; then
96542 glibcxx_cv_func___builtin_fabsf_use=yes
96543 else
96544 echo "$as_me: failed program was:" >&5
96545 sed 's/^/| /' conftest.$ac_ext >&5
96547 glibcxx_cv_func___builtin_fabsf_use=no
96549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96550 ac_ext=c
96551 ac_cpp='$CPP $CPPFLAGS'
96552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
96561 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
96562 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
96563 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
96564 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
96565 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
96566 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
96567 echo $ECHO_N "(cached) $ECHO_C" >&6
96568 else
96570 if test x$gcc_no_link = xyes; then
96571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96573 { (exit 1); exit 1; }; }
96575 cat >conftest.$ac_ext <<_ACEOF
96576 /* confdefs.h. */
96577 _ACEOF
96578 cat confdefs.h >>conftest.$ac_ext
96579 cat >>conftest.$ac_ext <<_ACEOF
96580 /* end confdefs.h. */
96581 #include <math.h>
96583 main ()
96585 __builtin_fabsf(0);
96587 return 0;
96589 _ACEOF
96590 rm -f conftest.$ac_objext conftest$ac_exeext
96591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96592 (eval $ac_link) 2>conftest.er1
96593 ac_status=$?
96594 grep -v '^ *+' conftest.er1 >conftest.err
96595 rm -f conftest.er1
96596 cat conftest.err >&5
96597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96598 (exit $ac_status); } &&
96599 { ac_try='test -z "$ac_c_werror_flag"
96600 || test ! -s conftest.err'
96601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96602 (eval $ac_try) 2>&5
96603 ac_status=$?
96604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96605 (exit $ac_status); }; } &&
96606 { ac_try='test -s conftest$ac_exeext'
96607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96608 (eval $ac_try) 2>&5
96609 ac_status=$?
96610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96611 (exit $ac_status); }; }; then
96612 glibcxx_cv_func___builtin_fabsf_link=yes
96613 else
96614 echo "$as_me: failed program was:" >&5
96615 sed 's/^/| /' conftest.$ac_ext >&5
96617 glibcxx_cv_func___builtin_fabsf_link=no
96619 rm -f conftest.err conftest.$ac_objext \
96620 conftest$ac_exeext conftest.$ac_ext
96625 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
96626 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
96628 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
96630 cat >>confdefs.h <<\_ACEOF
96631 #define HAVE___BUILTIN_FABSF 1
96632 _ACEOF
96639 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
96640 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
96641 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
96642 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
96643 echo $ECHO_N "(cached) $ECHO_C" >&6
96644 else
96648 ac_ext=cc
96649 ac_cpp='$CXXCPP $CPPFLAGS'
96650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96654 cat >conftest.$ac_ext <<_ACEOF
96655 /* confdefs.h. */
96656 _ACEOF
96657 cat confdefs.h >>conftest.$ac_ext
96658 cat >>conftest.$ac_ext <<_ACEOF
96659 /* end confdefs.h. */
96660 #include <math.h>
96662 main ()
96664 __builtin_fabs(0);
96666 return 0;
96668 _ACEOF
96669 rm -f conftest.$ac_objext
96670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96671 (eval $ac_compile) 2>conftest.er1
96672 ac_status=$?
96673 grep -v '^ *+' conftest.er1 >conftest.err
96674 rm -f conftest.er1
96675 cat conftest.err >&5
96676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96677 (exit $ac_status); } &&
96678 { ac_try='test -z "$ac_cxx_werror_flag"
96679 || test ! -s conftest.err'
96680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96681 (eval $ac_try) 2>&5
96682 ac_status=$?
96683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96684 (exit $ac_status); }; } &&
96685 { ac_try='test -s conftest.$ac_objext'
96686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96687 (eval $ac_try) 2>&5
96688 ac_status=$?
96689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96690 (exit $ac_status); }; }; then
96691 glibcxx_cv_func___builtin_fabs_use=yes
96692 else
96693 echo "$as_me: failed program was:" >&5
96694 sed 's/^/| /' conftest.$ac_ext >&5
96696 glibcxx_cv_func___builtin_fabs_use=no
96698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96699 ac_ext=c
96700 ac_cpp='$CPP $CPPFLAGS'
96701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96709 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
96710 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
96711 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
96712 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
96713 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
96714 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
96715 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
96716 echo $ECHO_N "(cached) $ECHO_C" >&6
96717 else
96719 if test x$gcc_no_link = xyes; then
96720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96722 { (exit 1); exit 1; }; }
96724 cat >conftest.$ac_ext <<_ACEOF
96725 /* confdefs.h. */
96726 _ACEOF
96727 cat confdefs.h >>conftest.$ac_ext
96728 cat >>conftest.$ac_ext <<_ACEOF
96729 /* end confdefs.h. */
96730 #include <math.h>
96732 main ()
96734 __builtin_fabs(0);
96736 return 0;
96738 _ACEOF
96739 rm -f conftest.$ac_objext conftest$ac_exeext
96740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96741 (eval $ac_link) 2>conftest.er1
96742 ac_status=$?
96743 grep -v '^ *+' conftest.er1 >conftest.err
96744 rm -f conftest.er1
96745 cat conftest.err >&5
96746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96747 (exit $ac_status); } &&
96748 { ac_try='test -z "$ac_c_werror_flag"
96749 || test ! -s conftest.err'
96750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96751 (eval $ac_try) 2>&5
96752 ac_status=$?
96753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96754 (exit $ac_status); }; } &&
96755 { ac_try='test -s conftest$ac_exeext'
96756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96757 (eval $ac_try) 2>&5
96758 ac_status=$?
96759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96760 (exit $ac_status); }; }; then
96761 glibcxx_cv_func___builtin_fabs_link=yes
96762 else
96763 echo "$as_me: failed program was:" >&5
96764 sed 's/^/| /' conftest.$ac_ext >&5
96766 glibcxx_cv_func___builtin_fabs_link=no
96768 rm -f conftest.err conftest.$ac_objext \
96769 conftest$ac_exeext conftest.$ac_ext
96774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
96775 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
96777 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
96779 cat >>confdefs.h <<\_ACEOF
96780 #define HAVE___BUILTIN_FABS 1
96781 _ACEOF
96788 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
96789 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
96790 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
96791 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
96792 echo $ECHO_N "(cached) $ECHO_C" >&6
96793 else
96797 ac_ext=cc
96798 ac_cpp='$CXXCPP $CPPFLAGS'
96799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96803 cat >conftest.$ac_ext <<_ACEOF
96804 /* confdefs.h. */
96805 _ACEOF
96806 cat confdefs.h >>conftest.$ac_ext
96807 cat >>conftest.$ac_ext <<_ACEOF
96808 /* end confdefs.h. */
96809 #include <math.h>
96811 main ()
96813 __builtin_fabsl(0);
96815 return 0;
96817 _ACEOF
96818 rm -f conftest.$ac_objext
96819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96820 (eval $ac_compile) 2>conftest.er1
96821 ac_status=$?
96822 grep -v '^ *+' conftest.er1 >conftest.err
96823 rm -f conftest.er1
96824 cat conftest.err >&5
96825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96826 (exit $ac_status); } &&
96827 { ac_try='test -z "$ac_cxx_werror_flag"
96828 || test ! -s conftest.err'
96829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96830 (eval $ac_try) 2>&5
96831 ac_status=$?
96832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96833 (exit $ac_status); }; } &&
96834 { ac_try='test -s conftest.$ac_objext'
96835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96836 (eval $ac_try) 2>&5
96837 ac_status=$?
96838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96839 (exit $ac_status); }; }; then
96840 glibcxx_cv_func___builtin_fabsl_use=yes
96841 else
96842 echo "$as_me: failed program was:" >&5
96843 sed 's/^/| /' conftest.$ac_ext >&5
96845 glibcxx_cv_func___builtin_fabsl_use=no
96847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96848 ac_ext=c
96849 ac_cpp='$CPP $CPPFLAGS'
96850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96858 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
96859 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
96860 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
96861 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
96862 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
96863 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
96864 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
96865 echo $ECHO_N "(cached) $ECHO_C" >&6
96866 else
96868 if test x$gcc_no_link = xyes; then
96869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96871 { (exit 1); exit 1; }; }
96873 cat >conftest.$ac_ext <<_ACEOF
96874 /* confdefs.h. */
96875 _ACEOF
96876 cat confdefs.h >>conftest.$ac_ext
96877 cat >>conftest.$ac_ext <<_ACEOF
96878 /* end confdefs.h. */
96879 #include <math.h>
96881 main ()
96883 __builtin_fabsl(0);
96885 return 0;
96887 _ACEOF
96888 rm -f conftest.$ac_objext conftest$ac_exeext
96889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96890 (eval $ac_link) 2>conftest.er1
96891 ac_status=$?
96892 grep -v '^ *+' conftest.er1 >conftest.err
96893 rm -f conftest.er1
96894 cat conftest.err >&5
96895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96896 (exit $ac_status); } &&
96897 { ac_try='test -z "$ac_c_werror_flag"
96898 || test ! -s conftest.err'
96899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96900 (eval $ac_try) 2>&5
96901 ac_status=$?
96902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96903 (exit $ac_status); }; } &&
96904 { ac_try='test -s conftest$ac_exeext'
96905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96906 (eval $ac_try) 2>&5
96907 ac_status=$?
96908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96909 (exit $ac_status); }; }; then
96910 glibcxx_cv_func___builtin_fabsl_link=yes
96911 else
96912 echo "$as_me: failed program was:" >&5
96913 sed 's/^/| /' conftest.$ac_ext >&5
96915 glibcxx_cv_func___builtin_fabsl_link=no
96917 rm -f conftest.err conftest.$ac_objext \
96918 conftest$ac_exeext conftest.$ac_ext
96923 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
96924 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
96926 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
96928 cat >>confdefs.h <<\_ACEOF
96929 #define HAVE___BUILTIN_FABSL 1
96930 _ACEOF
96937 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
96938 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
96939 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
96940 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
96941 echo $ECHO_N "(cached) $ECHO_C" >&6
96942 else
96946 ac_ext=cc
96947 ac_cpp='$CXXCPP $CPPFLAGS'
96948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96952 cat >conftest.$ac_ext <<_ACEOF
96953 /* confdefs.h. */
96954 _ACEOF
96955 cat confdefs.h >>conftest.$ac_ext
96956 cat >>conftest.$ac_ext <<_ACEOF
96957 /* end confdefs.h. */
96958 #include <math.h>
96960 main ()
96962 __builtin_labs(0);
96964 return 0;
96966 _ACEOF
96967 rm -f conftest.$ac_objext
96968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96969 (eval $ac_compile) 2>conftest.er1
96970 ac_status=$?
96971 grep -v '^ *+' conftest.er1 >conftest.err
96972 rm -f conftest.er1
96973 cat conftest.err >&5
96974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96975 (exit $ac_status); } &&
96976 { ac_try='test -z "$ac_cxx_werror_flag"
96977 || test ! -s conftest.err'
96978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96979 (eval $ac_try) 2>&5
96980 ac_status=$?
96981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96982 (exit $ac_status); }; } &&
96983 { ac_try='test -s conftest.$ac_objext'
96984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96985 (eval $ac_try) 2>&5
96986 ac_status=$?
96987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96988 (exit $ac_status); }; }; then
96989 glibcxx_cv_func___builtin_labs_use=yes
96990 else
96991 echo "$as_me: failed program was:" >&5
96992 sed 's/^/| /' conftest.$ac_ext >&5
96994 glibcxx_cv_func___builtin_labs_use=no
96996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96997 ac_ext=c
96998 ac_cpp='$CPP $CPPFLAGS'
96999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97007 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
97008 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
97009 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
97010 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
97011 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
97012 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
97013 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
97014 echo $ECHO_N "(cached) $ECHO_C" >&6
97015 else
97017 if test x$gcc_no_link = xyes; then
97018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97020 { (exit 1); exit 1; }; }
97022 cat >conftest.$ac_ext <<_ACEOF
97023 /* confdefs.h. */
97024 _ACEOF
97025 cat confdefs.h >>conftest.$ac_ext
97026 cat >>conftest.$ac_ext <<_ACEOF
97027 /* end confdefs.h. */
97028 #include <math.h>
97030 main ()
97032 __builtin_labs(0);
97034 return 0;
97036 _ACEOF
97037 rm -f conftest.$ac_objext conftest$ac_exeext
97038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97039 (eval $ac_link) 2>conftest.er1
97040 ac_status=$?
97041 grep -v '^ *+' conftest.er1 >conftest.err
97042 rm -f conftest.er1
97043 cat conftest.err >&5
97044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97045 (exit $ac_status); } &&
97046 { ac_try='test -z "$ac_c_werror_flag"
97047 || test ! -s conftest.err'
97048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97049 (eval $ac_try) 2>&5
97050 ac_status=$?
97051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97052 (exit $ac_status); }; } &&
97053 { ac_try='test -s conftest$ac_exeext'
97054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97055 (eval $ac_try) 2>&5
97056 ac_status=$?
97057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97058 (exit $ac_status); }; }; then
97059 glibcxx_cv_func___builtin_labs_link=yes
97060 else
97061 echo "$as_me: failed program was:" >&5
97062 sed 's/^/| /' conftest.$ac_ext >&5
97064 glibcxx_cv_func___builtin_labs_link=no
97066 rm -f conftest.err conftest.$ac_objext \
97067 conftest$ac_exeext conftest.$ac_ext
97072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
97073 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
97075 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
97077 cat >>confdefs.h <<\_ACEOF
97078 #define HAVE___BUILTIN_LABS 1
97079 _ACEOF
97087 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
97088 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
97089 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
97090 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
97091 echo $ECHO_N "(cached) $ECHO_C" >&6
97092 else
97096 ac_ext=cc
97097 ac_cpp='$CXXCPP $CPPFLAGS'
97098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97102 cat >conftest.$ac_ext <<_ACEOF
97103 /* confdefs.h. */
97104 _ACEOF
97105 cat confdefs.h >>conftest.$ac_ext
97106 cat >>conftest.$ac_ext <<_ACEOF
97107 /* end confdefs.h. */
97108 #include <math.h>
97110 main ()
97112 __builtin_sqrtf(0);
97114 return 0;
97116 _ACEOF
97117 rm -f conftest.$ac_objext
97118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97119 (eval $ac_compile) 2>conftest.er1
97120 ac_status=$?
97121 grep -v '^ *+' conftest.er1 >conftest.err
97122 rm -f conftest.er1
97123 cat conftest.err >&5
97124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97125 (exit $ac_status); } &&
97126 { ac_try='test -z "$ac_cxx_werror_flag"
97127 || test ! -s conftest.err'
97128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97129 (eval $ac_try) 2>&5
97130 ac_status=$?
97131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97132 (exit $ac_status); }; } &&
97133 { ac_try='test -s conftest.$ac_objext'
97134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97135 (eval $ac_try) 2>&5
97136 ac_status=$?
97137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97138 (exit $ac_status); }; }; then
97139 glibcxx_cv_func___builtin_sqrtf_use=yes
97140 else
97141 echo "$as_me: failed program was:" >&5
97142 sed 's/^/| /' conftest.$ac_ext >&5
97144 glibcxx_cv_func___builtin_sqrtf_use=no
97146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97147 ac_ext=c
97148 ac_cpp='$CPP $CPPFLAGS'
97149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
97158 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
97159 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
97160 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
97161 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
97162 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
97163 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
97164 echo $ECHO_N "(cached) $ECHO_C" >&6
97165 else
97167 if test x$gcc_no_link = xyes; then
97168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97170 { (exit 1); exit 1; }; }
97172 cat >conftest.$ac_ext <<_ACEOF
97173 /* confdefs.h. */
97174 _ACEOF
97175 cat confdefs.h >>conftest.$ac_ext
97176 cat >>conftest.$ac_ext <<_ACEOF
97177 /* end confdefs.h. */
97178 #include <math.h>
97180 main ()
97182 __builtin_sqrtf(0);
97184 return 0;
97186 _ACEOF
97187 rm -f conftest.$ac_objext conftest$ac_exeext
97188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97189 (eval $ac_link) 2>conftest.er1
97190 ac_status=$?
97191 grep -v '^ *+' conftest.er1 >conftest.err
97192 rm -f conftest.er1
97193 cat conftest.err >&5
97194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97195 (exit $ac_status); } &&
97196 { ac_try='test -z "$ac_c_werror_flag"
97197 || test ! -s conftest.err'
97198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97199 (eval $ac_try) 2>&5
97200 ac_status=$?
97201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97202 (exit $ac_status); }; } &&
97203 { ac_try='test -s conftest$ac_exeext'
97204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97205 (eval $ac_try) 2>&5
97206 ac_status=$?
97207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97208 (exit $ac_status); }; }; then
97209 glibcxx_cv_func___builtin_sqrtf_link=yes
97210 else
97211 echo "$as_me: failed program was:" >&5
97212 sed 's/^/| /' conftest.$ac_ext >&5
97214 glibcxx_cv_func___builtin_sqrtf_link=no
97216 rm -f conftest.err conftest.$ac_objext \
97217 conftest$ac_exeext conftest.$ac_ext
97222 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
97223 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
97225 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
97227 cat >>confdefs.h <<\_ACEOF
97228 #define HAVE___BUILTIN_SQRTF 1
97229 _ACEOF
97236 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
97237 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
97238 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
97239 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
97240 echo $ECHO_N "(cached) $ECHO_C" >&6
97241 else
97245 ac_ext=cc
97246 ac_cpp='$CXXCPP $CPPFLAGS'
97247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97251 cat >conftest.$ac_ext <<_ACEOF
97252 /* confdefs.h. */
97253 _ACEOF
97254 cat confdefs.h >>conftest.$ac_ext
97255 cat >>conftest.$ac_ext <<_ACEOF
97256 /* end confdefs.h. */
97257 #include <math.h>
97259 main ()
97261 __builtin_sqrt(0);
97263 return 0;
97265 _ACEOF
97266 rm -f conftest.$ac_objext
97267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97268 (eval $ac_compile) 2>conftest.er1
97269 ac_status=$?
97270 grep -v '^ *+' conftest.er1 >conftest.err
97271 rm -f conftest.er1
97272 cat conftest.err >&5
97273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97274 (exit $ac_status); } &&
97275 { ac_try='test -z "$ac_cxx_werror_flag"
97276 || test ! -s conftest.err'
97277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97278 (eval $ac_try) 2>&5
97279 ac_status=$?
97280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97281 (exit $ac_status); }; } &&
97282 { ac_try='test -s conftest.$ac_objext'
97283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97284 (eval $ac_try) 2>&5
97285 ac_status=$?
97286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97287 (exit $ac_status); }; }; then
97288 glibcxx_cv_func___builtin_sqrt_use=yes
97289 else
97290 echo "$as_me: failed program was:" >&5
97291 sed 's/^/| /' conftest.$ac_ext >&5
97293 glibcxx_cv_func___builtin_sqrt_use=no
97295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97296 ac_ext=c
97297 ac_cpp='$CPP $CPPFLAGS'
97298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
97307 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
97308 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
97309 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
97310 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
97311 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
97312 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
97313 echo $ECHO_N "(cached) $ECHO_C" >&6
97314 else
97316 if test x$gcc_no_link = xyes; then
97317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97319 { (exit 1); exit 1; }; }
97321 cat >conftest.$ac_ext <<_ACEOF
97322 /* confdefs.h. */
97323 _ACEOF
97324 cat confdefs.h >>conftest.$ac_ext
97325 cat >>conftest.$ac_ext <<_ACEOF
97326 /* end confdefs.h. */
97327 #include <math.h>
97329 main ()
97331 __builtin_sqrt(0);
97333 return 0;
97335 _ACEOF
97336 rm -f conftest.$ac_objext conftest$ac_exeext
97337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97338 (eval $ac_link) 2>conftest.er1
97339 ac_status=$?
97340 grep -v '^ *+' conftest.er1 >conftest.err
97341 rm -f conftest.er1
97342 cat conftest.err >&5
97343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97344 (exit $ac_status); } &&
97345 { ac_try='test -z "$ac_c_werror_flag"
97346 || test ! -s conftest.err'
97347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97348 (eval $ac_try) 2>&5
97349 ac_status=$?
97350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97351 (exit $ac_status); }; } &&
97352 { ac_try='test -s conftest$ac_exeext'
97353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97354 (eval $ac_try) 2>&5
97355 ac_status=$?
97356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97357 (exit $ac_status); }; }; then
97358 glibcxx_cv_func___builtin_sqrt_link=yes
97359 else
97360 echo "$as_me: failed program was:" >&5
97361 sed 's/^/| /' conftest.$ac_ext >&5
97363 glibcxx_cv_func___builtin_sqrt_link=no
97365 rm -f conftest.err conftest.$ac_objext \
97366 conftest$ac_exeext conftest.$ac_ext
97371 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
97372 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
97374 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
97376 cat >>confdefs.h <<\_ACEOF
97377 #define HAVE___BUILTIN_SQRT 1
97378 _ACEOF
97385 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
97386 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
97387 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
97388 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
97389 echo $ECHO_N "(cached) $ECHO_C" >&6
97390 else
97394 ac_ext=cc
97395 ac_cpp='$CXXCPP $CPPFLAGS'
97396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97400 cat >conftest.$ac_ext <<_ACEOF
97401 /* confdefs.h. */
97402 _ACEOF
97403 cat confdefs.h >>conftest.$ac_ext
97404 cat >>conftest.$ac_ext <<_ACEOF
97405 /* end confdefs.h. */
97406 #include <math.h>
97408 main ()
97410 __builtin_sqrtl(0);
97412 return 0;
97414 _ACEOF
97415 rm -f conftest.$ac_objext
97416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97417 (eval $ac_compile) 2>conftest.er1
97418 ac_status=$?
97419 grep -v '^ *+' conftest.er1 >conftest.err
97420 rm -f conftest.er1
97421 cat conftest.err >&5
97422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97423 (exit $ac_status); } &&
97424 { ac_try='test -z "$ac_cxx_werror_flag"
97425 || test ! -s conftest.err'
97426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97427 (eval $ac_try) 2>&5
97428 ac_status=$?
97429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97430 (exit $ac_status); }; } &&
97431 { ac_try='test -s conftest.$ac_objext'
97432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97433 (eval $ac_try) 2>&5
97434 ac_status=$?
97435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97436 (exit $ac_status); }; }; then
97437 glibcxx_cv_func___builtin_sqrtl_use=yes
97438 else
97439 echo "$as_me: failed program was:" >&5
97440 sed 's/^/| /' conftest.$ac_ext >&5
97442 glibcxx_cv_func___builtin_sqrtl_use=no
97444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97445 ac_ext=c
97446 ac_cpp='$CPP $CPPFLAGS'
97447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97455 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
97456 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
97457 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
97458 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
97459 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
97460 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
97461 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
97462 echo $ECHO_N "(cached) $ECHO_C" >&6
97463 else
97465 if test x$gcc_no_link = xyes; then
97466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97468 { (exit 1); exit 1; }; }
97470 cat >conftest.$ac_ext <<_ACEOF
97471 /* confdefs.h. */
97472 _ACEOF
97473 cat confdefs.h >>conftest.$ac_ext
97474 cat >>conftest.$ac_ext <<_ACEOF
97475 /* end confdefs.h. */
97476 #include <math.h>
97478 main ()
97480 __builtin_sqrtl(0);
97482 return 0;
97484 _ACEOF
97485 rm -f conftest.$ac_objext conftest$ac_exeext
97486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97487 (eval $ac_link) 2>conftest.er1
97488 ac_status=$?
97489 grep -v '^ *+' conftest.er1 >conftest.err
97490 rm -f conftest.er1
97491 cat conftest.err >&5
97492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97493 (exit $ac_status); } &&
97494 { ac_try='test -z "$ac_c_werror_flag"
97495 || test ! -s conftest.err'
97496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97497 (eval $ac_try) 2>&5
97498 ac_status=$?
97499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97500 (exit $ac_status); }; } &&
97501 { ac_try='test -s conftest$ac_exeext'
97502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97503 (eval $ac_try) 2>&5
97504 ac_status=$?
97505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97506 (exit $ac_status); }; }; then
97507 glibcxx_cv_func___builtin_sqrtl_link=yes
97508 else
97509 echo "$as_me: failed program was:" >&5
97510 sed 's/^/| /' conftest.$ac_ext >&5
97512 glibcxx_cv_func___builtin_sqrtl_link=no
97514 rm -f conftest.err conftest.$ac_objext \
97515 conftest$ac_exeext conftest.$ac_ext
97520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
97521 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
97523 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
97525 cat >>confdefs.h <<\_ACEOF
97526 #define HAVE___BUILTIN_SQRTL 1
97527 _ACEOF
97535 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
97536 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
97537 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
97538 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
97539 echo $ECHO_N "(cached) $ECHO_C" >&6
97540 else
97544 ac_ext=cc
97545 ac_cpp='$CXXCPP $CPPFLAGS'
97546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97550 cat >conftest.$ac_ext <<_ACEOF
97551 /* confdefs.h. */
97552 _ACEOF
97553 cat confdefs.h >>conftest.$ac_ext
97554 cat >>conftest.$ac_ext <<_ACEOF
97555 /* end confdefs.h. */
97556 #include <math.h>
97558 main ()
97560 __builtin_sinf(0);
97562 return 0;
97564 _ACEOF
97565 rm -f conftest.$ac_objext
97566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97567 (eval $ac_compile) 2>conftest.er1
97568 ac_status=$?
97569 grep -v '^ *+' conftest.er1 >conftest.err
97570 rm -f conftest.er1
97571 cat conftest.err >&5
97572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97573 (exit $ac_status); } &&
97574 { ac_try='test -z "$ac_cxx_werror_flag"
97575 || test ! -s conftest.err'
97576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97577 (eval $ac_try) 2>&5
97578 ac_status=$?
97579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97580 (exit $ac_status); }; } &&
97581 { ac_try='test -s conftest.$ac_objext'
97582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97583 (eval $ac_try) 2>&5
97584 ac_status=$?
97585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97586 (exit $ac_status); }; }; then
97587 glibcxx_cv_func___builtin_sinf_use=yes
97588 else
97589 echo "$as_me: failed program was:" >&5
97590 sed 's/^/| /' conftest.$ac_ext >&5
97592 glibcxx_cv_func___builtin_sinf_use=no
97594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97595 ac_ext=c
97596 ac_cpp='$CPP $CPPFLAGS'
97597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
97606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
97607 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
97608 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
97609 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
97610 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
97611 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
97612 echo $ECHO_N "(cached) $ECHO_C" >&6
97613 else
97615 if test x$gcc_no_link = xyes; then
97616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97618 { (exit 1); exit 1; }; }
97620 cat >conftest.$ac_ext <<_ACEOF
97621 /* confdefs.h. */
97622 _ACEOF
97623 cat confdefs.h >>conftest.$ac_ext
97624 cat >>conftest.$ac_ext <<_ACEOF
97625 /* end confdefs.h. */
97626 #include <math.h>
97628 main ()
97630 __builtin_sinf(0);
97632 return 0;
97634 _ACEOF
97635 rm -f conftest.$ac_objext conftest$ac_exeext
97636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97637 (eval $ac_link) 2>conftest.er1
97638 ac_status=$?
97639 grep -v '^ *+' conftest.er1 >conftest.err
97640 rm -f conftest.er1
97641 cat conftest.err >&5
97642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97643 (exit $ac_status); } &&
97644 { ac_try='test -z "$ac_c_werror_flag"
97645 || test ! -s conftest.err'
97646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97647 (eval $ac_try) 2>&5
97648 ac_status=$?
97649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97650 (exit $ac_status); }; } &&
97651 { ac_try='test -s conftest$ac_exeext'
97652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97653 (eval $ac_try) 2>&5
97654 ac_status=$?
97655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97656 (exit $ac_status); }; }; then
97657 glibcxx_cv_func___builtin_sinf_link=yes
97658 else
97659 echo "$as_me: failed program was:" >&5
97660 sed 's/^/| /' conftest.$ac_ext >&5
97662 glibcxx_cv_func___builtin_sinf_link=no
97664 rm -f conftest.err conftest.$ac_objext \
97665 conftest$ac_exeext conftest.$ac_ext
97670 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
97671 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
97673 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
97675 cat >>confdefs.h <<\_ACEOF
97676 #define HAVE___BUILTIN_SINF 1
97677 _ACEOF
97684 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
97685 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
97686 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
97687 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
97688 echo $ECHO_N "(cached) $ECHO_C" >&6
97689 else
97693 ac_ext=cc
97694 ac_cpp='$CXXCPP $CPPFLAGS'
97695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97699 cat >conftest.$ac_ext <<_ACEOF
97700 /* confdefs.h. */
97701 _ACEOF
97702 cat confdefs.h >>conftest.$ac_ext
97703 cat >>conftest.$ac_ext <<_ACEOF
97704 /* end confdefs.h. */
97705 #include <math.h>
97707 main ()
97709 __builtin_sin(0);
97711 return 0;
97713 _ACEOF
97714 rm -f conftest.$ac_objext
97715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97716 (eval $ac_compile) 2>conftest.er1
97717 ac_status=$?
97718 grep -v '^ *+' conftest.er1 >conftest.err
97719 rm -f conftest.er1
97720 cat conftest.err >&5
97721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97722 (exit $ac_status); } &&
97723 { ac_try='test -z "$ac_cxx_werror_flag"
97724 || test ! -s conftest.err'
97725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97726 (eval $ac_try) 2>&5
97727 ac_status=$?
97728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97729 (exit $ac_status); }; } &&
97730 { ac_try='test -s conftest.$ac_objext'
97731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97732 (eval $ac_try) 2>&5
97733 ac_status=$?
97734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97735 (exit $ac_status); }; }; then
97736 glibcxx_cv_func___builtin_sin_use=yes
97737 else
97738 echo "$as_me: failed program was:" >&5
97739 sed 's/^/| /' conftest.$ac_ext >&5
97741 glibcxx_cv_func___builtin_sin_use=no
97743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97744 ac_ext=c
97745 ac_cpp='$CPP $CPPFLAGS'
97746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
97755 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
97756 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
97757 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
97758 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
97759 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
97760 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
97761 echo $ECHO_N "(cached) $ECHO_C" >&6
97762 else
97764 if test x$gcc_no_link = xyes; then
97765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97767 { (exit 1); exit 1; }; }
97769 cat >conftest.$ac_ext <<_ACEOF
97770 /* confdefs.h. */
97771 _ACEOF
97772 cat confdefs.h >>conftest.$ac_ext
97773 cat >>conftest.$ac_ext <<_ACEOF
97774 /* end confdefs.h. */
97775 #include <math.h>
97777 main ()
97779 __builtin_sin(0);
97781 return 0;
97783 _ACEOF
97784 rm -f conftest.$ac_objext conftest$ac_exeext
97785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97786 (eval $ac_link) 2>conftest.er1
97787 ac_status=$?
97788 grep -v '^ *+' conftest.er1 >conftest.err
97789 rm -f conftest.er1
97790 cat conftest.err >&5
97791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97792 (exit $ac_status); } &&
97793 { ac_try='test -z "$ac_c_werror_flag"
97794 || test ! -s conftest.err'
97795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97796 (eval $ac_try) 2>&5
97797 ac_status=$?
97798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97799 (exit $ac_status); }; } &&
97800 { ac_try='test -s conftest$ac_exeext'
97801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97802 (eval $ac_try) 2>&5
97803 ac_status=$?
97804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97805 (exit $ac_status); }; }; then
97806 glibcxx_cv_func___builtin_sin_link=yes
97807 else
97808 echo "$as_me: failed program was:" >&5
97809 sed 's/^/| /' conftest.$ac_ext >&5
97811 glibcxx_cv_func___builtin_sin_link=no
97813 rm -f conftest.err conftest.$ac_objext \
97814 conftest$ac_exeext conftest.$ac_ext
97819 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
97820 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
97822 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
97824 cat >>confdefs.h <<\_ACEOF
97825 #define HAVE___BUILTIN_SIN 1
97826 _ACEOF
97833 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
97834 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
97835 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
97836 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
97837 echo $ECHO_N "(cached) $ECHO_C" >&6
97838 else
97842 ac_ext=cc
97843 ac_cpp='$CXXCPP $CPPFLAGS'
97844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97848 cat >conftest.$ac_ext <<_ACEOF
97849 /* confdefs.h. */
97850 _ACEOF
97851 cat confdefs.h >>conftest.$ac_ext
97852 cat >>conftest.$ac_ext <<_ACEOF
97853 /* end confdefs.h. */
97854 #include <math.h>
97856 main ()
97858 __builtin_sinl(0);
97860 return 0;
97862 _ACEOF
97863 rm -f conftest.$ac_objext
97864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97865 (eval $ac_compile) 2>conftest.er1
97866 ac_status=$?
97867 grep -v '^ *+' conftest.er1 >conftest.err
97868 rm -f conftest.er1
97869 cat conftest.err >&5
97870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97871 (exit $ac_status); } &&
97872 { ac_try='test -z "$ac_cxx_werror_flag"
97873 || test ! -s conftest.err'
97874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97875 (eval $ac_try) 2>&5
97876 ac_status=$?
97877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97878 (exit $ac_status); }; } &&
97879 { ac_try='test -s conftest.$ac_objext'
97880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97881 (eval $ac_try) 2>&5
97882 ac_status=$?
97883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97884 (exit $ac_status); }; }; then
97885 glibcxx_cv_func___builtin_sinl_use=yes
97886 else
97887 echo "$as_me: failed program was:" >&5
97888 sed 's/^/| /' conftest.$ac_ext >&5
97890 glibcxx_cv_func___builtin_sinl_use=no
97892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97893 ac_ext=c
97894 ac_cpp='$CPP $CPPFLAGS'
97895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
97904 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
97905 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
97906 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
97907 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
97908 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
97909 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
97910 echo $ECHO_N "(cached) $ECHO_C" >&6
97911 else
97913 if test x$gcc_no_link = xyes; then
97914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97916 { (exit 1); exit 1; }; }
97918 cat >conftest.$ac_ext <<_ACEOF
97919 /* confdefs.h. */
97920 _ACEOF
97921 cat confdefs.h >>conftest.$ac_ext
97922 cat >>conftest.$ac_ext <<_ACEOF
97923 /* end confdefs.h. */
97924 #include <math.h>
97926 main ()
97928 __builtin_sinl(0);
97930 return 0;
97932 _ACEOF
97933 rm -f conftest.$ac_objext conftest$ac_exeext
97934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97935 (eval $ac_link) 2>conftest.er1
97936 ac_status=$?
97937 grep -v '^ *+' conftest.er1 >conftest.err
97938 rm -f conftest.er1
97939 cat conftest.err >&5
97940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97941 (exit $ac_status); } &&
97942 { ac_try='test -z "$ac_c_werror_flag"
97943 || test ! -s conftest.err'
97944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97945 (eval $ac_try) 2>&5
97946 ac_status=$?
97947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97948 (exit $ac_status); }; } &&
97949 { ac_try='test -s conftest$ac_exeext'
97950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97951 (eval $ac_try) 2>&5
97952 ac_status=$?
97953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97954 (exit $ac_status); }; }; then
97955 glibcxx_cv_func___builtin_sinl_link=yes
97956 else
97957 echo "$as_me: failed program was:" >&5
97958 sed 's/^/| /' conftest.$ac_ext >&5
97960 glibcxx_cv_func___builtin_sinl_link=no
97962 rm -f conftest.err conftest.$ac_objext \
97963 conftest$ac_exeext conftest.$ac_ext
97968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
97969 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
97971 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
97973 cat >>confdefs.h <<\_ACEOF
97974 #define HAVE___BUILTIN_SINL 1
97975 _ACEOF
97983 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
97984 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
97985 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
97986 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
97987 echo $ECHO_N "(cached) $ECHO_C" >&6
97988 else
97992 ac_ext=cc
97993 ac_cpp='$CXXCPP $CPPFLAGS'
97994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97998 cat >conftest.$ac_ext <<_ACEOF
97999 /* confdefs.h. */
98000 _ACEOF
98001 cat confdefs.h >>conftest.$ac_ext
98002 cat >>conftest.$ac_ext <<_ACEOF
98003 /* end confdefs.h. */
98004 #include <math.h>
98006 main ()
98008 __builtin_cosf(0);
98010 return 0;
98012 _ACEOF
98013 rm -f conftest.$ac_objext
98014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98015 (eval $ac_compile) 2>conftest.er1
98016 ac_status=$?
98017 grep -v '^ *+' conftest.er1 >conftest.err
98018 rm -f conftest.er1
98019 cat conftest.err >&5
98020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98021 (exit $ac_status); } &&
98022 { ac_try='test -z "$ac_cxx_werror_flag"
98023 || test ! -s conftest.err'
98024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98025 (eval $ac_try) 2>&5
98026 ac_status=$?
98027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98028 (exit $ac_status); }; } &&
98029 { ac_try='test -s conftest.$ac_objext'
98030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98031 (eval $ac_try) 2>&5
98032 ac_status=$?
98033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98034 (exit $ac_status); }; }; then
98035 glibcxx_cv_func___builtin_cosf_use=yes
98036 else
98037 echo "$as_me: failed program was:" >&5
98038 sed 's/^/| /' conftest.$ac_ext >&5
98040 glibcxx_cv_func___builtin_cosf_use=no
98042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98043 ac_ext=c
98044 ac_cpp='$CPP $CPPFLAGS'
98045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98053 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
98054 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
98055 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
98056 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
98057 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
98058 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
98059 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
98060 echo $ECHO_N "(cached) $ECHO_C" >&6
98061 else
98063 if test x$gcc_no_link = xyes; then
98064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98066 { (exit 1); exit 1; }; }
98068 cat >conftest.$ac_ext <<_ACEOF
98069 /* confdefs.h. */
98070 _ACEOF
98071 cat confdefs.h >>conftest.$ac_ext
98072 cat >>conftest.$ac_ext <<_ACEOF
98073 /* end confdefs.h. */
98074 #include <math.h>
98076 main ()
98078 __builtin_cosf(0);
98080 return 0;
98082 _ACEOF
98083 rm -f conftest.$ac_objext conftest$ac_exeext
98084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98085 (eval $ac_link) 2>conftest.er1
98086 ac_status=$?
98087 grep -v '^ *+' conftest.er1 >conftest.err
98088 rm -f conftest.er1
98089 cat conftest.err >&5
98090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98091 (exit $ac_status); } &&
98092 { ac_try='test -z "$ac_c_werror_flag"
98093 || test ! -s conftest.err'
98094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98095 (eval $ac_try) 2>&5
98096 ac_status=$?
98097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98098 (exit $ac_status); }; } &&
98099 { ac_try='test -s conftest$ac_exeext'
98100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98101 (eval $ac_try) 2>&5
98102 ac_status=$?
98103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98104 (exit $ac_status); }; }; then
98105 glibcxx_cv_func___builtin_cosf_link=yes
98106 else
98107 echo "$as_me: failed program was:" >&5
98108 sed 's/^/| /' conftest.$ac_ext >&5
98110 glibcxx_cv_func___builtin_cosf_link=no
98112 rm -f conftest.err conftest.$ac_objext \
98113 conftest$ac_exeext conftest.$ac_ext
98118 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
98119 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
98121 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
98123 cat >>confdefs.h <<\_ACEOF
98124 #define HAVE___BUILTIN_COSF 1
98125 _ACEOF
98132 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
98133 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
98134 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
98135 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
98136 echo $ECHO_N "(cached) $ECHO_C" >&6
98137 else
98141 ac_ext=cc
98142 ac_cpp='$CXXCPP $CPPFLAGS'
98143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98147 cat >conftest.$ac_ext <<_ACEOF
98148 /* confdefs.h. */
98149 _ACEOF
98150 cat confdefs.h >>conftest.$ac_ext
98151 cat >>conftest.$ac_ext <<_ACEOF
98152 /* end confdefs.h. */
98153 #include <math.h>
98155 main ()
98157 __builtin_cos(0);
98159 return 0;
98161 _ACEOF
98162 rm -f conftest.$ac_objext
98163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98164 (eval $ac_compile) 2>conftest.er1
98165 ac_status=$?
98166 grep -v '^ *+' conftest.er1 >conftest.err
98167 rm -f conftest.er1
98168 cat conftest.err >&5
98169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98170 (exit $ac_status); } &&
98171 { ac_try='test -z "$ac_cxx_werror_flag"
98172 || test ! -s conftest.err'
98173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98174 (eval $ac_try) 2>&5
98175 ac_status=$?
98176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98177 (exit $ac_status); }; } &&
98178 { ac_try='test -s conftest.$ac_objext'
98179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98180 (eval $ac_try) 2>&5
98181 ac_status=$?
98182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98183 (exit $ac_status); }; }; then
98184 glibcxx_cv_func___builtin_cos_use=yes
98185 else
98186 echo "$as_me: failed program was:" >&5
98187 sed 's/^/| /' conftest.$ac_ext >&5
98189 glibcxx_cv_func___builtin_cos_use=no
98191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98192 ac_ext=c
98193 ac_cpp='$CPP $CPPFLAGS'
98194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
98203 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
98204 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
98205 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
98206 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
98207 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
98208 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
98209 echo $ECHO_N "(cached) $ECHO_C" >&6
98210 else
98212 if test x$gcc_no_link = xyes; then
98213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98215 { (exit 1); exit 1; }; }
98217 cat >conftest.$ac_ext <<_ACEOF
98218 /* confdefs.h. */
98219 _ACEOF
98220 cat confdefs.h >>conftest.$ac_ext
98221 cat >>conftest.$ac_ext <<_ACEOF
98222 /* end confdefs.h. */
98223 #include <math.h>
98225 main ()
98227 __builtin_cos(0);
98229 return 0;
98231 _ACEOF
98232 rm -f conftest.$ac_objext conftest$ac_exeext
98233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98234 (eval $ac_link) 2>conftest.er1
98235 ac_status=$?
98236 grep -v '^ *+' conftest.er1 >conftest.err
98237 rm -f conftest.er1
98238 cat conftest.err >&5
98239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98240 (exit $ac_status); } &&
98241 { ac_try='test -z "$ac_c_werror_flag"
98242 || test ! -s conftest.err'
98243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98244 (eval $ac_try) 2>&5
98245 ac_status=$?
98246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98247 (exit $ac_status); }; } &&
98248 { ac_try='test -s conftest$ac_exeext'
98249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98250 (eval $ac_try) 2>&5
98251 ac_status=$?
98252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98253 (exit $ac_status); }; }; then
98254 glibcxx_cv_func___builtin_cos_link=yes
98255 else
98256 echo "$as_me: failed program was:" >&5
98257 sed 's/^/| /' conftest.$ac_ext >&5
98259 glibcxx_cv_func___builtin_cos_link=no
98261 rm -f conftest.err conftest.$ac_objext \
98262 conftest$ac_exeext conftest.$ac_ext
98267 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
98268 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
98270 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
98272 cat >>confdefs.h <<\_ACEOF
98273 #define HAVE___BUILTIN_COS 1
98274 _ACEOF
98281 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
98282 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
98283 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
98284 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
98285 echo $ECHO_N "(cached) $ECHO_C" >&6
98286 else
98290 ac_ext=cc
98291 ac_cpp='$CXXCPP $CPPFLAGS'
98292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98296 cat >conftest.$ac_ext <<_ACEOF
98297 /* confdefs.h. */
98298 _ACEOF
98299 cat confdefs.h >>conftest.$ac_ext
98300 cat >>conftest.$ac_ext <<_ACEOF
98301 /* end confdefs.h. */
98302 #include <math.h>
98304 main ()
98306 __builtin_cosl(0);
98308 return 0;
98310 _ACEOF
98311 rm -f conftest.$ac_objext
98312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98313 (eval $ac_compile) 2>conftest.er1
98314 ac_status=$?
98315 grep -v '^ *+' conftest.er1 >conftest.err
98316 rm -f conftest.er1
98317 cat conftest.err >&5
98318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98319 (exit $ac_status); } &&
98320 { ac_try='test -z "$ac_cxx_werror_flag"
98321 || test ! -s conftest.err'
98322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98323 (eval $ac_try) 2>&5
98324 ac_status=$?
98325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98326 (exit $ac_status); }; } &&
98327 { ac_try='test -s conftest.$ac_objext'
98328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98329 (eval $ac_try) 2>&5
98330 ac_status=$?
98331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98332 (exit $ac_status); }; }; then
98333 glibcxx_cv_func___builtin_cosl_use=yes
98334 else
98335 echo "$as_me: failed program was:" >&5
98336 sed 's/^/| /' conftest.$ac_ext >&5
98338 glibcxx_cv_func___builtin_cosl_use=no
98340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98341 ac_ext=c
98342 ac_cpp='$CPP $CPPFLAGS'
98343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98351 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
98352 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
98353 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
98354 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
98355 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
98356 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
98357 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
98358 echo $ECHO_N "(cached) $ECHO_C" >&6
98359 else
98361 if test x$gcc_no_link = xyes; then
98362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98364 { (exit 1); exit 1; }; }
98366 cat >conftest.$ac_ext <<_ACEOF
98367 /* confdefs.h. */
98368 _ACEOF
98369 cat confdefs.h >>conftest.$ac_ext
98370 cat >>conftest.$ac_ext <<_ACEOF
98371 /* end confdefs.h. */
98372 #include <math.h>
98374 main ()
98376 __builtin_cosl(0);
98378 return 0;
98380 _ACEOF
98381 rm -f conftest.$ac_objext conftest$ac_exeext
98382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98383 (eval $ac_link) 2>conftest.er1
98384 ac_status=$?
98385 grep -v '^ *+' conftest.er1 >conftest.err
98386 rm -f conftest.er1
98387 cat conftest.err >&5
98388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98389 (exit $ac_status); } &&
98390 { ac_try='test -z "$ac_c_werror_flag"
98391 || test ! -s conftest.err'
98392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98393 (eval $ac_try) 2>&5
98394 ac_status=$?
98395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98396 (exit $ac_status); }; } &&
98397 { ac_try='test -s conftest$ac_exeext'
98398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98399 (eval $ac_try) 2>&5
98400 ac_status=$?
98401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98402 (exit $ac_status); }; }; then
98403 glibcxx_cv_func___builtin_cosl_link=yes
98404 else
98405 echo "$as_me: failed program was:" >&5
98406 sed 's/^/| /' conftest.$ac_ext >&5
98408 glibcxx_cv_func___builtin_cosl_link=no
98410 rm -f conftest.err conftest.$ac_objext \
98411 conftest$ac_exeext conftest.$ac_ext
98416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
98417 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
98419 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
98421 cat >>confdefs.h <<\_ACEOF
98422 #define HAVE___BUILTIN_COSL 1
98423 _ACEOF
98432 echo "$as_me:$LINENO: checking for main in -lm" >&5
98433 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98434 if test "${ac_cv_lib_m_main+set}" = set; then
98435 echo $ECHO_N "(cached) $ECHO_C" >&6
98436 else
98437 ac_check_lib_save_LIBS=$LIBS
98438 LIBS="-lm $LIBS"
98439 if test x$gcc_no_link = xyes; then
98440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98442 { (exit 1); exit 1; }; }
98444 cat >conftest.$ac_ext <<_ACEOF
98445 /* confdefs.h. */
98446 _ACEOF
98447 cat confdefs.h >>conftest.$ac_ext
98448 cat >>conftest.$ac_ext <<_ACEOF
98449 /* end confdefs.h. */
98453 main ()
98455 main ();
98457 return 0;
98459 _ACEOF
98460 rm -f conftest.$ac_objext conftest$ac_exeext
98461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98462 (eval $ac_link) 2>conftest.er1
98463 ac_status=$?
98464 grep -v '^ *+' conftest.er1 >conftest.err
98465 rm -f conftest.er1
98466 cat conftest.err >&5
98467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98468 (exit $ac_status); } &&
98469 { ac_try='test -z "$ac_c_werror_flag"
98470 || test ! -s conftest.err'
98471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98472 (eval $ac_try) 2>&5
98473 ac_status=$?
98474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98475 (exit $ac_status); }; } &&
98476 { ac_try='test -s conftest$ac_exeext'
98477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98478 (eval $ac_try) 2>&5
98479 ac_status=$?
98480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98481 (exit $ac_status); }; }; then
98482 ac_cv_lib_m_main=yes
98483 else
98484 echo "$as_me: failed program was:" >&5
98485 sed 's/^/| /' conftest.$ac_ext >&5
98487 ac_cv_lib_m_main=no
98489 rm -f conftest.err conftest.$ac_objext \
98490 conftest$ac_exeext conftest.$ac_ext
98491 LIBS=$ac_check_lib_save_LIBS
98493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98494 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98495 if test $ac_cv_lib_m_main = yes; then
98496 cat >>confdefs.h <<_ACEOF
98497 #define HAVE_LIBM 1
98498 _ACEOF
98500 LIBS="-lm $LIBS"
98505 for ac_func in copysignf
98507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98508 echo "$as_me:$LINENO: checking for $ac_func" >&5
98509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98510 if eval "test \"\${$as_ac_var+set}\" = set"; then
98511 echo $ECHO_N "(cached) $ECHO_C" >&6
98512 else
98513 if test x$gcc_no_link = xyes; then
98514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98516 { (exit 1); exit 1; }; }
98518 cat >conftest.$ac_ext <<_ACEOF
98519 /* confdefs.h. */
98520 _ACEOF
98521 cat confdefs.h >>conftest.$ac_ext
98522 cat >>conftest.$ac_ext <<_ACEOF
98523 /* end confdefs.h. */
98524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98526 #define $ac_func innocuous_$ac_func
98528 /* System header to define __stub macros and hopefully few prototypes,
98529 which can conflict with char $ac_func (); below.
98530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98531 <limits.h> exists even on freestanding compilers. */
98533 #ifdef __STDC__
98534 # include <limits.h>
98535 #else
98536 # include <assert.h>
98537 #endif
98539 #undef $ac_func
98541 /* Override any gcc2 internal prototype to avoid an error. */
98542 #ifdef __cplusplus
98543 extern "C"
98545 #endif
98546 /* We use char because int might match the return type of a gcc2
98547 builtin and then its argument prototype would still apply. */
98548 char $ac_func ();
98549 /* The GNU C library defines this for functions which it implements
98550 to always fail with ENOSYS. Some functions are actually named
98551 something starting with __ and the normal name is an alias. */
98552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98553 choke me
98554 #else
98555 char (*f) () = $ac_func;
98556 #endif
98557 #ifdef __cplusplus
98559 #endif
98562 main ()
98564 return f != $ac_func;
98566 return 0;
98568 _ACEOF
98569 rm -f conftest.$ac_objext conftest$ac_exeext
98570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98571 (eval $ac_link) 2>conftest.er1
98572 ac_status=$?
98573 grep -v '^ *+' conftest.er1 >conftest.err
98574 rm -f conftest.er1
98575 cat conftest.err >&5
98576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98577 (exit $ac_status); } &&
98578 { ac_try='test -z "$ac_c_werror_flag"
98579 || test ! -s conftest.err'
98580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98581 (eval $ac_try) 2>&5
98582 ac_status=$?
98583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98584 (exit $ac_status); }; } &&
98585 { ac_try='test -s conftest$ac_exeext'
98586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98587 (eval $ac_try) 2>&5
98588 ac_status=$?
98589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98590 (exit $ac_status); }; }; then
98591 eval "$as_ac_var=yes"
98592 else
98593 echo "$as_me: failed program was:" >&5
98594 sed 's/^/| /' conftest.$ac_ext >&5
98596 eval "$as_ac_var=no"
98598 rm -f conftest.err conftest.$ac_objext \
98599 conftest$ac_exeext conftest.$ac_ext
98601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98603 if test `eval echo '${'$as_ac_var'}'` = yes; then
98604 cat >>confdefs.h <<_ACEOF
98605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98606 _ACEOF
98608 else
98609 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98611 done
98615 for ac_func in __signbit
98617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98618 echo "$as_me:$LINENO: checking for $ac_func" >&5
98619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98620 if eval "test \"\${$as_ac_var+set}\" = set"; then
98621 echo $ECHO_N "(cached) $ECHO_C" >&6
98622 else
98623 if test x$gcc_no_link = xyes; then
98624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98626 { (exit 1); exit 1; }; }
98628 cat >conftest.$ac_ext <<_ACEOF
98629 /* confdefs.h. */
98630 _ACEOF
98631 cat confdefs.h >>conftest.$ac_ext
98632 cat >>conftest.$ac_ext <<_ACEOF
98633 /* end confdefs.h. */
98634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98636 #define $ac_func innocuous_$ac_func
98638 /* System header to define __stub macros and hopefully few prototypes,
98639 which can conflict with char $ac_func (); below.
98640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98641 <limits.h> exists even on freestanding compilers. */
98643 #ifdef __STDC__
98644 # include <limits.h>
98645 #else
98646 # include <assert.h>
98647 #endif
98649 #undef $ac_func
98651 /* Override any gcc2 internal prototype to avoid an error. */
98652 #ifdef __cplusplus
98653 extern "C"
98655 #endif
98656 /* We use char because int might match the return type of a gcc2
98657 builtin and then its argument prototype would still apply. */
98658 char $ac_func ();
98659 /* The GNU C library defines this for functions which it implements
98660 to always fail with ENOSYS. Some functions are actually named
98661 something starting with __ and the normal name is an alias. */
98662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98663 choke me
98664 #else
98665 char (*f) () = $ac_func;
98666 #endif
98667 #ifdef __cplusplus
98669 #endif
98672 main ()
98674 return f != $ac_func;
98676 return 0;
98678 _ACEOF
98679 rm -f conftest.$ac_objext conftest$ac_exeext
98680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98681 (eval $ac_link) 2>conftest.er1
98682 ac_status=$?
98683 grep -v '^ *+' conftest.er1 >conftest.err
98684 rm -f conftest.er1
98685 cat conftest.err >&5
98686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98687 (exit $ac_status); } &&
98688 { ac_try='test -z "$ac_c_werror_flag"
98689 || test ! -s conftest.err'
98690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98691 (eval $ac_try) 2>&5
98692 ac_status=$?
98693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98694 (exit $ac_status); }; } &&
98695 { ac_try='test -s conftest$ac_exeext'
98696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98697 (eval $ac_try) 2>&5
98698 ac_status=$?
98699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98700 (exit $ac_status); }; }; then
98701 eval "$as_ac_var=yes"
98702 else
98703 echo "$as_me: failed program was:" >&5
98704 sed 's/^/| /' conftest.$ac_ext >&5
98706 eval "$as_ac_var=no"
98708 rm -f conftest.err conftest.$ac_objext \
98709 conftest$ac_exeext conftest.$ac_ext
98711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98713 if test `eval echo '${'$as_ac_var'}'` = yes; then
98714 cat >>confdefs.h <<_ACEOF
98715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98716 _ACEOF
98718 else
98719 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98721 done
98725 for ac_func in __signbitf
98727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98728 echo "$as_me:$LINENO: checking for $ac_func" >&5
98729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98730 if eval "test \"\${$as_ac_var+set}\" = set"; then
98731 echo $ECHO_N "(cached) $ECHO_C" >&6
98732 else
98733 if test x$gcc_no_link = xyes; then
98734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98736 { (exit 1); exit 1; }; }
98738 cat >conftest.$ac_ext <<_ACEOF
98739 /* confdefs.h. */
98740 _ACEOF
98741 cat confdefs.h >>conftest.$ac_ext
98742 cat >>conftest.$ac_ext <<_ACEOF
98743 /* end confdefs.h. */
98744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98746 #define $ac_func innocuous_$ac_func
98748 /* System header to define __stub macros and hopefully few prototypes,
98749 which can conflict with char $ac_func (); below.
98750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98751 <limits.h> exists even on freestanding compilers. */
98753 #ifdef __STDC__
98754 # include <limits.h>
98755 #else
98756 # include <assert.h>
98757 #endif
98759 #undef $ac_func
98761 /* Override any gcc2 internal prototype to avoid an error. */
98762 #ifdef __cplusplus
98763 extern "C"
98765 #endif
98766 /* We use char because int might match the return type of a gcc2
98767 builtin and then its argument prototype would still apply. */
98768 char $ac_func ();
98769 /* The GNU C library defines this for functions which it implements
98770 to always fail with ENOSYS. Some functions are actually named
98771 something starting with __ and the normal name is an alias. */
98772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98773 choke me
98774 #else
98775 char (*f) () = $ac_func;
98776 #endif
98777 #ifdef __cplusplus
98779 #endif
98782 main ()
98784 return f != $ac_func;
98786 return 0;
98788 _ACEOF
98789 rm -f conftest.$ac_objext conftest$ac_exeext
98790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98791 (eval $ac_link) 2>conftest.er1
98792 ac_status=$?
98793 grep -v '^ *+' conftest.er1 >conftest.err
98794 rm -f conftest.er1
98795 cat conftest.err >&5
98796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98797 (exit $ac_status); } &&
98798 { ac_try='test -z "$ac_c_werror_flag"
98799 || test ! -s conftest.err'
98800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98801 (eval $ac_try) 2>&5
98802 ac_status=$?
98803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98804 (exit $ac_status); }; } &&
98805 { ac_try='test -s conftest$ac_exeext'
98806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98807 (eval $ac_try) 2>&5
98808 ac_status=$?
98809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98810 (exit $ac_status); }; }; then
98811 eval "$as_ac_var=yes"
98812 else
98813 echo "$as_me: failed program was:" >&5
98814 sed 's/^/| /' conftest.$ac_ext >&5
98816 eval "$as_ac_var=no"
98818 rm -f conftest.err conftest.$ac_objext \
98819 conftest$ac_exeext conftest.$ac_ext
98821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98823 if test `eval echo '${'$as_ac_var'}'` = yes; then
98824 cat >>confdefs.h <<_ACEOF
98825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98826 _ACEOF
98828 else
98829 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98831 done
98834 if test x$ac_cv_func_copysignl = x"yes"; then
98836 for ac_func in __signbitl
98838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98839 echo "$as_me:$LINENO: checking for $ac_func" >&5
98840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98841 if eval "test \"\${$as_ac_var+set}\" = set"; then
98842 echo $ECHO_N "(cached) $ECHO_C" >&6
98843 else
98844 if test x$gcc_no_link = xyes; then
98845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98847 { (exit 1); exit 1; }; }
98849 cat >conftest.$ac_ext <<_ACEOF
98850 /* confdefs.h. */
98851 _ACEOF
98852 cat confdefs.h >>conftest.$ac_ext
98853 cat >>conftest.$ac_ext <<_ACEOF
98854 /* end confdefs.h. */
98855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98857 #define $ac_func innocuous_$ac_func
98859 /* System header to define __stub macros and hopefully few prototypes,
98860 which can conflict with char $ac_func (); below.
98861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98862 <limits.h> exists even on freestanding compilers. */
98864 #ifdef __STDC__
98865 # include <limits.h>
98866 #else
98867 # include <assert.h>
98868 #endif
98870 #undef $ac_func
98872 /* Override any gcc2 internal prototype to avoid an error. */
98873 #ifdef __cplusplus
98874 extern "C"
98876 #endif
98877 /* We use char because int might match the return type of a gcc2
98878 builtin and then its argument prototype would still apply. */
98879 char $ac_func ();
98880 /* The GNU C library defines this for functions which it implements
98881 to always fail with ENOSYS. Some functions are actually named
98882 something starting with __ and the normal name is an alias. */
98883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98884 choke me
98885 #else
98886 char (*f) () = $ac_func;
98887 #endif
98888 #ifdef __cplusplus
98890 #endif
98893 main ()
98895 return f != $ac_func;
98897 return 0;
98899 _ACEOF
98900 rm -f conftest.$ac_objext conftest$ac_exeext
98901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98902 (eval $ac_link) 2>conftest.er1
98903 ac_status=$?
98904 grep -v '^ *+' conftest.er1 >conftest.err
98905 rm -f conftest.er1
98906 cat conftest.err >&5
98907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98908 (exit $ac_status); } &&
98909 { ac_try='test -z "$ac_c_werror_flag"
98910 || test ! -s conftest.err'
98911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98912 (eval $ac_try) 2>&5
98913 ac_status=$?
98914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98915 (exit $ac_status); }; } &&
98916 { ac_try='test -s conftest$ac_exeext'
98917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98918 (eval $ac_try) 2>&5
98919 ac_status=$?
98920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98921 (exit $ac_status); }; }; then
98922 eval "$as_ac_var=yes"
98923 else
98924 echo "$as_me: failed program was:" >&5
98925 sed 's/^/| /' conftest.$ac_ext >&5
98927 eval "$as_ac_var=no"
98929 rm -f conftest.err conftest.$ac_objext \
98930 conftest$ac_exeext conftest.$ac_ext
98932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98934 if test `eval echo '${'$as_ac_var'}'` = yes; then
98935 cat >>confdefs.h <<_ACEOF
98936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98937 _ACEOF
98939 else
98940 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98942 done
98946 # Used in libmath/Makefile.am.
98947 if test -n "$LIBMATHOBJS"; then
98948 need_libmath=yes
98954 enable_iconv=no
98955 # Only continue checking if the ISO C99 headers exist and support is on.
98956 if test x"$enable_wchar_t" = xyes; then
98958 # Use iconv for wchar_t to char conversions. As such, check for
98959 # X/Open Portability Guide, version 2 features (XPG2).
98960 if test "${ac_cv_header_iconv_h+set}" = set; then
98961 echo "$as_me:$LINENO: checking for iconv.h" >&5
98962 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
98963 if test "${ac_cv_header_iconv_h+set}" = set; then
98964 echo $ECHO_N "(cached) $ECHO_C" >&6
98966 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
98967 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
98968 else
98969 # Is the header compilable?
98970 echo "$as_me:$LINENO: checking iconv.h usability" >&5
98971 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
98972 cat >conftest.$ac_ext <<_ACEOF
98973 /* confdefs.h. */
98974 _ACEOF
98975 cat confdefs.h >>conftest.$ac_ext
98976 cat >>conftest.$ac_ext <<_ACEOF
98977 /* end confdefs.h. */
98978 $ac_includes_default
98979 #include <iconv.h>
98980 _ACEOF
98981 rm -f conftest.$ac_objext
98982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98983 (eval $ac_compile) 2>conftest.er1
98984 ac_status=$?
98985 grep -v '^ *+' conftest.er1 >conftest.err
98986 rm -f conftest.er1
98987 cat conftest.err >&5
98988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98989 (exit $ac_status); } &&
98990 { ac_try='test -z "$ac_c_werror_flag"
98991 || test ! -s conftest.err'
98992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98993 (eval $ac_try) 2>&5
98994 ac_status=$?
98995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98996 (exit $ac_status); }; } &&
98997 { ac_try='test -s conftest.$ac_objext'
98998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98999 (eval $ac_try) 2>&5
99000 ac_status=$?
99001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99002 (exit $ac_status); }; }; then
99003 ac_header_compiler=yes
99004 else
99005 echo "$as_me: failed program was:" >&5
99006 sed 's/^/| /' conftest.$ac_ext >&5
99008 ac_header_compiler=no
99010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99012 echo "${ECHO_T}$ac_header_compiler" >&6
99014 # Is the header present?
99015 echo "$as_me:$LINENO: checking iconv.h presence" >&5
99016 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
99017 cat >conftest.$ac_ext <<_ACEOF
99018 /* confdefs.h. */
99019 _ACEOF
99020 cat confdefs.h >>conftest.$ac_ext
99021 cat >>conftest.$ac_ext <<_ACEOF
99022 /* end confdefs.h. */
99023 #include <iconv.h>
99024 _ACEOF
99025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99027 ac_status=$?
99028 grep -v '^ *+' conftest.er1 >conftest.err
99029 rm -f conftest.er1
99030 cat conftest.err >&5
99031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99032 (exit $ac_status); } >/dev/null; then
99033 if test -s conftest.err; then
99034 ac_cpp_err=$ac_c_preproc_warn_flag
99035 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99036 else
99037 ac_cpp_err=
99039 else
99040 ac_cpp_err=yes
99042 if test -z "$ac_cpp_err"; then
99043 ac_header_preproc=yes
99044 else
99045 echo "$as_me: failed program was:" >&5
99046 sed 's/^/| /' conftest.$ac_ext >&5
99048 ac_header_preproc=no
99050 rm -f conftest.err conftest.$ac_ext
99051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99052 echo "${ECHO_T}$ac_header_preproc" >&6
99054 # So? What about this header?
99055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99056 yes:no: )
99057 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
99058 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99059 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
99060 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
99061 ac_header_preproc=yes
99063 no:yes:* )
99064 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
99065 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
99066 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
99067 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
99068 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
99069 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
99070 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
99071 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
99072 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
99073 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
99074 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
99075 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
99077 cat <<\_ASBOX
99078 ## ----------------------------------------- ##
99079 ## Report this to the package-unused lists. ##
99080 ## ----------------------------------------- ##
99081 _ASBOX
99083 sed "s/^/$as_me: WARNING: /" >&2
99085 esac
99086 echo "$as_me:$LINENO: checking for iconv.h" >&5
99087 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
99088 if test "${ac_cv_header_iconv_h+set}" = set; then
99089 echo $ECHO_N "(cached) $ECHO_C" >&6
99090 else
99091 ac_cv_header_iconv_h=$ac_header_preproc
99093 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
99094 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
99097 if test $ac_cv_header_iconv_h = yes; then
99098 ac_has_iconv_h=yes
99099 else
99100 ac_has_iconv_h=no
99104 if test "${ac_cv_header_langinfo_h+set}" = set; then
99105 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99106 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99107 if test "${ac_cv_header_langinfo_h+set}" = set; then
99108 echo $ECHO_N "(cached) $ECHO_C" >&6
99110 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99111 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99112 else
99113 # Is the header compilable?
99114 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
99115 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
99116 cat >conftest.$ac_ext <<_ACEOF
99117 /* confdefs.h. */
99118 _ACEOF
99119 cat confdefs.h >>conftest.$ac_ext
99120 cat >>conftest.$ac_ext <<_ACEOF
99121 /* end confdefs.h. */
99122 $ac_includes_default
99123 #include <langinfo.h>
99124 _ACEOF
99125 rm -f conftest.$ac_objext
99126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99127 (eval $ac_compile) 2>conftest.er1
99128 ac_status=$?
99129 grep -v '^ *+' conftest.er1 >conftest.err
99130 rm -f conftest.er1
99131 cat conftest.err >&5
99132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99133 (exit $ac_status); } &&
99134 { ac_try='test -z "$ac_c_werror_flag"
99135 || test ! -s conftest.err'
99136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99137 (eval $ac_try) 2>&5
99138 ac_status=$?
99139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99140 (exit $ac_status); }; } &&
99141 { ac_try='test -s conftest.$ac_objext'
99142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99143 (eval $ac_try) 2>&5
99144 ac_status=$?
99145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99146 (exit $ac_status); }; }; then
99147 ac_header_compiler=yes
99148 else
99149 echo "$as_me: failed program was:" >&5
99150 sed 's/^/| /' conftest.$ac_ext >&5
99152 ac_header_compiler=no
99154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
99156 echo "${ECHO_T}$ac_header_compiler" >&6
99158 # Is the header present?
99159 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
99160 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
99161 cat >conftest.$ac_ext <<_ACEOF
99162 /* confdefs.h. */
99163 _ACEOF
99164 cat confdefs.h >>conftest.$ac_ext
99165 cat >>conftest.$ac_ext <<_ACEOF
99166 /* end confdefs.h. */
99167 #include <langinfo.h>
99168 _ACEOF
99169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
99170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
99171 ac_status=$?
99172 grep -v '^ *+' conftest.er1 >conftest.err
99173 rm -f conftest.er1
99174 cat conftest.err >&5
99175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99176 (exit $ac_status); } >/dev/null; then
99177 if test -s conftest.err; then
99178 ac_cpp_err=$ac_c_preproc_warn_flag
99179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
99180 else
99181 ac_cpp_err=
99183 else
99184 ac_cpp_err=yes
99186 if test -z "$ac_cpp_err"; then
99187 ac_header_preproc=yes
99188 else
99189 echo "$as_me: failed program was:" >&5
99190 sed 's/^/| /' conftest.$ac_ext >&5
99192 ac_header_preproc=no
99194 rm -f conftest.err conftest.$ac_ext
99195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
99196 echo "${ECHO_T}$ac_header_preproc" >&6
99198 # So? What about this header?
99199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
99200 yes:no: )
99201 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
99202 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
99203 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
99204 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
99205 ac_header_preproc=yes
99207 no:yes:* )
99208 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
99209 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
99210 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
99211 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
99212 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
99213 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
99214 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
99215 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
99216 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
99217 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
99218 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
99219 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
99221 cat <<\_ASBOX
99222 ## ----------------------------------------- ##
99223 ## Report this to the package-unused lists. ##
99224 ## ----------------------------------------- ##
99225 _ASBOX
99227 sed "s/^/$as_me: WARNING: /" >&2
99229 esac
99230 echo "$as_me:$LINENO: checking for langinfo.h" >&5
99231 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
99232 if test "${ac_cv_header_langinfo_h+set}" = set; then
99233 echo $ECHO_N "(cached) $ECHO_C" >&6
99234 else
99235 ac_cv_header_langinfo_h=$ac_header_preproc
99237 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
99238 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
99241 if test $ac_cv_header_langinfo_h = yes; then
99242 ac_has_langinfo_h=yes
99243 else
99244 ac_has_langinfo_h=no
99249 # Check for existence of libiconv.a providing XPG2 wchar_t support.
99250 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
99251 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
99252 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
99253 echo $ECHO_N "(cached) $ECHO_C" >&6
99254 else
99255 ac_check_lib_save_LIBS=$LIBS
99256 LIBS="-liconv $LIBS"
99257 if test x$gcc_no_link = xyes; then
99258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99260 { (exit 1); exit 1; }; }
99262 cat >conftest.$ac_ext <<_ACEOF
99263 /* confdefs.h. */
99264 _ACEOF
99265 cat confdefs.h >>conftest.$ac_ext
99266 cat >>conftest.$ac_ext <<_ACEOF
99267 /* end confdefs.h. */
99269 /* Override any gcc2 internal prototype to avoid an error. */
99270 #ifdef __cplusplus
99271 extern "C"
99272 #endif
99273 /* We use char because int might match the return type of a gcc2
99274 builtin and then its argument prototype would still apply. */
99275 char iconv ();
99277 main ()
99279 iconv ();
99281 return 0;
99283 _ACEOF
99284 rm -f conftest.$ac_objext conftest$ac_exeext
99285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99286 (eval $ac_link) 2>conftest.er1
99287 ac_status=$?
99288 grep -v '^ *+' conftest.er1 >conftest.err
99289 rm -f conftest.er1
99290 cat conftest.err >&5
99291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99292 (exit $ac_status); } &&
99293 { ac_try='test -z "$ac_c_werror_flag"
99294 || test ! -s conftest.err'
99295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99296 (eval $ac_try) 2>&5
99297 ac_status=$?
99298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99299 (exit $ac_status); }; } &&
99300 { ac_try='test -s conftest$ac_exeext'
99301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99302 (eval $ac_try) 2>&5
99303 ac_status=$?
99304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99305 (exit $ac_status); }; }; then
99306 ac_cv_lib_iconv_iconv=yes
99307 else
99308 echo "$as_me: failed program was:" >&5
99309 sed 's/^/| /' conftest.$ac_ext >&5
99311 ac_cv_lib_iconv_iconv=no
99313 rm -f conftest.err conftest.$ac_objext \
99314 conftest$ac_exeext conftest.$ac_ext
99315 LIBS=$ac_check_lib_save_LIBS
99317 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
99318 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
99319 if test $ac_cv_lib_iconv_iconv = yes; then
99320 LIBICONV="-liconv"
99323 ac_save_LIBS="$LIBS"
99324 LIBS="$LIBS $LIBICONV"
99331 for ac_func in iconv_open iconv_close iconv nl_langinfo
99333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99334 echo "$as_me:$LINENO: checking for $ac_func" >&5
99335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99336 if eval "test \"\${$as_ac_var+set}\" = set"; then
99337 echo $ECHO_N "(cached) $ECHO_C" >&6
99338 else
99339 if test x$gcc_no_link = xyes; then
99340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99342 { (exit 1); exit 1; }; }
99344 cat >conftest.$ac_ext <<_ACEOF
99345 /* confdefs.h. */
99346 _ACEOF
99347 cat confdefs.h >>conftest.$ac_ext
99348 cat >>conftest.$ac_ext <<_ACEOF
99349 /* end confdefs.h. */
99350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99352 #define $ac_func innocuous_$ac_func
99354 /* System header to define __stub macros and hopefully few prototypes,
99355 which can conflict with char $ac_func (); below.
99356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99357 <limits.h> exists even on freestanding compilers. */
99359 #ifdef __STDC__
99360 # include <limits.h>
99361 #else
99362 # include <assert.h>
99363 #endif
99365 #undef $ac_func
99367 /* Override any gcc2 internal prototype to avoid an error. */
99368 #ifdef __cplusplus
99369 extern "C"
99371 #endif
99372 /* We use char because int might match the return type of a gcc2
99373 builtin and then its argument prototype would still apply. */
99374 char $ac_func ();
99375 /* The GNU C library defines this for functions which it implements
99376 to always fail with ENOSYS. Some functions are actually named
99377 something starting with __ and the normal name is an alias. */
99378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99379 choke me
99380 #else
99381 char (*f) () = $ac_func;
99382 #endif
99383 #ifdef __cplusplus
99385 #endif
99388 main ()
99390 return f != $ac_func;
99392 return 0;
99394 _ACEOF
99395 rm -f conftest.$ac_objext conftest$ac_exeext
99396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99397 (eval $ac_link) 2>conftest.er1
99398 ac_status=$?
99399 grep -v '^ *+' conftest.er1 >conftest.err
99400 rm -f conftest.er1
99401 cat conftest.err >&5
99402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99403 (exit $ac_status); } &&
99404 { ac_try='test -z "$ac_c_werror_flag"
99405 || test ! -s conftest.err'
99406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99407 (eval $ac_try) 2>&5
99408 ac_status=$?
99409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99410 (exit $ac_status); }; } &&
99411 { ac_try='test -s conftest$ac_exeext'
99412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99413 (eval $ac_try) 2>&5
99414 ac_status=$?
99415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416 (exit $ac_status); }; }; then
99417 eval "$as_ac_var=yes"
99418 else
99419 echo "$as_me: failed program was:" >&5
99420 sed 's/^/| /' conftest.$ac_ext >&5
99422 eval "$as_ac_var=no"
99424 rm -f conftest.err conftest.$ac_objext \
99425 conftest$ac_exeext conftest.$ac_ext
99427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99429 if test `eval echo '${'$as_ac_var'}'` = yes; then
99430 cat >>confdefs.h <<_ACEOF
99431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99432 _ACEOF
99433 ac_XPG2funcs=yes
99434 else
99435 ac_XPG2funcs=no
99437 done
99440 LIBS="$ac_save_LIBS"
99442 if test x"$ac_has_iconv_h" = xyes &&
99443 test x"$ac_has_langinfo_h" = xyes &&
99444 test x"$ac_XPG2funcs" = xyes;
99445 then
99447 cat >>confdefs.h <<\_ACEOF
99448 #define _GLIBCXX_USE_ICONV 1
99449 _ACEOF
99451 enable_iconv=yes
99454 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
99455 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
99456 echo "$as_me:$LINENO: result: $enable_iconv" >&5
99457 echo "${ECHO_T}$enable_iconv" >&6
99460 ac_test_CXXFLAGS="${CXXFLAGS+set}"
99461 ac_save_CXXFLAGS="$CXXFLAGS"
99462 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
99465 echo "$as_me:$LINENO: checking for strtold declaration" >&5
99466 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
99467 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
99468 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
99469 echo $ECHO_N "(cached) $ECHO_C" >&6
99470 else
99474 ac_ext=cc
99475 ac_cpp='$CXXCPP $CPPFLAGS'
99476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99480 cat >conftest.$ac_ext <<_ACEOF
99481 /* confdefs.h. */
99482 _ACEOF
99483 cat confdefs.h >>conftest.$ac_ext
99484 cat >>conftest.$ac_ext <<_ACEOF
99485 /* end confdefs.h. */
99486 #include <stdlib.h>
99488 main ()
99490 strtold(0, 0);
99492 return 0;
99494 _ACEOF
99495 rm -f conftest.$ac_objext
99496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99497 (eval $ac_compile) 2>conftest.er1
99498 ac_status=$?
99499 grep -v '^ *+' conftest.er1 >conftest.err
99500 rm -f conftest.er1
99501 cat conftest.err >&5
99502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99503 (exit $ac_status); } &&
99504 { ac_try='test -z "$ac_cxx_werror_flag"
99505 || test ! -s conftest.err'
99506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99507 (eval $ac_try) 2>&5
99508 ac_status=$?
99509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99510 (exit $ac_status); }; } &&
99511 { ac_try='test -s conftest.$ac_objext'
99512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99513 (eval $ac_try) 2>&5
99514 ac_status=$?
99515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99516 (exit $ac_status); }; }; then
99517 glibcxx_cv_func_strtold_use=yes
99518 else
99519 echo "$as_me: failed program was:" >&5
99520 sed 's/^/| /' conftest.$ac_ext >&5
99522 glibcxx_cv_func_strtold_use=no
99524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99525 ac_ext=c
99526 ac_cpp='$CPP $CPPFLAGS'
99527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
99536 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
99537 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
99539 for ac_func in strtold
99541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99542 echo "$as_me:$LINENO: checking for $ac_func" >&5
99543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99544 if eval "test \"\${$as_ac_var+set}\" = set"; then
99545 echo $ECHO_N "(cached) $ECHO_C" >&6
99546 else
99547 if test x$gcc_no_link = xyes; then
99548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99550 { (exit 1); exit 1; }; }
99552 cat >conftest.$ac_ext <<_ACEOF
99553 /* confdefs.h. */
99554 _ACEOF
99555 cat confdefs.h >>conftest.$ac_ext
99556 cat >>conftest.$ac_ext <<_ACEOF
99557 /* end confdefs.h. */
99558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99560 #define $ac_func innocuous_$ac_func
99562 /* System header to define __stub macros and hopefully few prototypes,
99563 which can conflict with char $ac_func (); below.
99564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99565 <limits.h> exists even on freestanding compilers. */
99567 #ifdef __STDC__
99568 # include <limits.h>
99569 #else
99570 # include <assert.h>
99571 #endif
99573 #undef $ac_func
99575 /* Override any gcc2 internal prototype to avoid an error. */
99576 #ifdef __cplusplus
99577 extern "C"
99579 #endif
99580 /* We use char because int might match the return type of a gcc2
99581 builtin and then its argument prototype would still apply. */
99582 char $ac_func ();
99583 /* The GNU C library defines this for functions which it implements
99584 to always fail with ENOSYS. Some functions are actually named
99585 something starting with __ and the normal name is an alias. */
99586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99587 choke me
99588 #else
99589 char (*f) () = $ac_func;
99590 #endif
99591 #ifdef __cplusplus
99593 #endif
99596 main ()
99598 return f != $ac_func;
99600 return 0;
99602 _ACEOF
99603 rm -f conftest.$ac_objext conftest$ac_exeext
99604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99605 (eval $ac_link) 2>conftest.er1
99606 ac_status=$?
99607 grep -v '^ *+' conftest.er1 >conftest.err
99608 rm -f conftest.er1
99609 cat conftest.err >&5
99610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99611 (exit $ac_status); } &&
99612 { ac_try='test -z "$ac_c_werror_flag"
99613 || test ! -s conftest.err'
99614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99615 (eval $ac_try) 2>&5
99616 ac_status=$?
99617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99618 (exit $ac_status); }; } &&
99619 { ac_try='test -s conftest$ac_exeext'
99620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99621 (eval $ac_try) 2>&5
99622 ac_status=$?
99623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99624 (exit $ac_status); }; }; then
99625 eval "$as_ac_var=yes"
99626 else
99627 echo "$as_me: failed program was:" >&5
99628 sed 's/^/| /' conftest.$ac_ext >&5
99630 eval "$as_ac_var=no"
99632 rm -f conftest.err conftest.$ac_objext \
99633 conftest$ac_exeext conftest.$ac_ext
99635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99637 if test `eval echo '${'$as_ac_var'}'` = yes; then
99638 cat >>confdefs.h <<_ACEOF
99639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99640 _ACEOF
99643 done
99651 echo "$as_me:$LINENO: checking for strtof declaration" >&5
99652 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
99653 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
99654 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
99655 echo $ECHO_N "(cached) $ECHO_C" >&6
99656 else
99660 ac_ext=cc
99661 ac_cpp='$CXXCPP $CPPFLAGS'
99662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99666 cat >conftest.$ac_ext <<_ACEOF
99667 /* confdefs.h. */
99668 _ACEOF
99669 cat confdefs.h >>conftest.$ac_ext
99670 cat >>conftest.$ac_ext <<_ACEOF
99671 /* end confdefs.h. */
99672 #include <stdlib.h>
99674 main ()
99676 strtof(0, 0);
99678 return 0;
99680 _ACEOF
99681 rm -f conftest.$ac_objext
99682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99683 (eval $ac_compile) 2>conftest.er1
99684 ac_status=$?
99685 grep -v '^ *+' conftest.er1 >conftest.err
99686 rm -f conftest.er1
99687 cat conftest.err >&5
99688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99689 (exit $ac_status); } &&
99690 { ac_try='test -z "$ac_cxx_werror_flag"
99691 || test ! -s conftest.err'
99692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99693 (eval $ac_try) 2>&5
99694 ac_status=$?
99695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99696 (exit $ac_status); }; } &&
99697 { ac_try='test -s conftest.$ac_objext'
99698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99699 (eval $ac_try) 2>&5
99700 ac_status=$?
99701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99702 (exit $ac_status); }; }; then
99703 glibcxx_cv_func_strtof_use=yes
99704 else
99705 echo "$as_me: failed program was:" >&5
99706 sed 's/^/| /' conftest.$ac_ext >&5
99708 glibcxx_cv_func_strtof_use=no
99710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99711 ac_ext=c
99712 ac_cpp='$CPP $CPPFLAGS'
99713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
99722 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
99723 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
99725 for ac_func in strtof
99727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99728 echo "$as_me:$LINENO: checking for $ac_func" >&5
99729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99730 if eval "test \"\${$as_ac_var+set}\" = set"; then
99731 echo $ECHO_N "(cached) $ECHO_C" >&6
99732 else
99733 if test x$gcc_no_link = xyes; then
99734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99736 { (exit 1); exit 1; }; }
99738 cat >conftest.$ac_ext <<_ACEOF
99739 /* confdefs.h. */
99740 _ACEOF
99741 cat confdefs.h >>conftest.$ac_ext
99742 cat >>conftest.$ac_ext <<_ACEOF
99743 /* end confdefs.h. */
99744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99746 #define $ac_func innocuous_$ac_func
99748 /* System header to define __stub macros and hopefully few prototypes,
99749 which can conflict with char $ac_func (); below.
99750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99751 <limits.h> exists even on freestanding compilers. */
99753 #ifdef __STDC__
99754 # include <limits.h>
99755 #else
99756 # include <assert.h>
99757 #endif
99759 #undef $ac_func
99761 /* Override any gcc2 internal prototype to avoid an error. */
99762 #ifdef __cplusplus
99763 extern "C"
99765 #endif
99766 /* We use char because int might match the return type of a gcc2
99767 builtin and then its argument prototype would still apply. */
99768 char $ac_func ();
99769 /* The GNU C library defines this for functions which it implements
99770 to always fail with ENOSYS. Some functions are actually named
99771 something starting with __ and the normal name is an alias. */
99772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99773 choke me
99774 #else
99775 char (*f) () = $ac_func;
99776 #endif
99777 #ifdef __cplusplus
99779 #endif
99782 main ()
99784 return f != $ac_func;
99786 return 0;
99788 _ACEOF
99789 rm -f conftest.$ac_objext conftest$ac_exeext
99790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99791 (eval $ac_link) 2>conftest.er1
99792 ac_status=$?
99793 grep -v '^ *+' conftest.er1 >conftest.err
99794 rm -f conftest.er1
99795 cat conftest.err >&5
99796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99797 (exit $ac_status); } &&
99798 { ac_try='test -z "$ac_c_werror_flag"
99799 || test ! -s conftest.err'
99800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99801 (eval $ac_try) 2>&5
99802 ac_status=$?
99803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99804 (exit $ac_status); }; } &&
99805 { ac_try='test -s conftest$ac_exeext'
99806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99807 (eval $ac_try) 2>&5
99808 ac_status=$?
99809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99810 (exit $ac_status); }; }; then
99811 eval "$as_ac_var=yes"
99812 else
99813 echo "$as_me: failed program was:" >&5
99814 sed 's/^/| /' conftest.$ac_ext >&5
99816 eval "$as_ac_var=no"
99818 rm -f conftest.err conftest.$ac_objext \
99819 conftest$ac_exeext conftest.$ac_ext
99821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99823 if test `eval echo '${'$as_ac_var'}'` = yes; then
99824 cat >>confdefs.h <<_ACEOF
99825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99826 _ACEOF
99829 done
99837 CXXFLAGS="$ac_save_CXXFLAGS"
99840 # For LFS.
99841 cat >>confdefs.h <<\_ACEOF
99842 #define HAVE_INT64_T 1
99843 _ACEOF
99848 ac_ext=cc
99849 ac_cpp='$CXXCPP $CPPFLAGS'
99850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99854 ac_save_CXXFLAGS="$CXXFLAGS"
99855 CXXFLAGS="$CXXFLAGS -fno-exceptions"
99856 echo "$as_me:$LINENO: checking for LFS support" >&5
99857 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
99858 if test "${glibcxx_cv_LFS+set}" = set; then
99859 echo $ECHO_N "(cached) $ECHO_C" >&6
99860 else
99862 if test x$gcc_no_link = xyes; then
99863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99865 { (exit 1); exit 1; }; }
99867 cat >conftest.$ac_ext <<_ACEOF
99868 /* confdefs.h. */
99869 _ACEOF
99870 cat confdefs.h >>conftest.$ac_ext
99871 cat >>conftest.$ac_ext <<_ACEOF
99872 /* end confdefs.h. */
99873 #include <unistd.h>
99874 #include <stdio.h>
99875 #include <sys/stat.h>
99878 main ()
99880 FILE* fp;
99881 fopen64("t", "w");
99882 fseeko64(fp, 0, SEEK_CUR);
99883 ftello64(fp);
99884 lseek64(1, 0, SEEK_CUR);
99885 struct stat64 buf;
99886 fstat64(1, &buf);
99888 return 0;
99890 _ACEOF
99891 rm -f conftest.$ac_objext conftest$ac_exeext
99892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99893 (eval $ac_link) 2>conftest.er1
99894 ac_status=$?
99895 grep -v '^ *+' conftest.er1 >conftest.err
99896 rm -f conftest.er1
99897 cat conftest.err >&5
99898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99899 (exit $ac_status); } &&
99900 { ac_try='test -z "$ac_cxx_werror_flag"
99901 || test ! -s conftest.err'
99902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99903 (eval $ac_try) 2>&5
99904 ac_status=$?
99905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99906 (exit $ac_status); }; } &&
99907 { ac_try='test -s conftest$ac_exeext'
99908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99909 (eval $ac_try) 2>&5
99910 ac_status=$?
99911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99912 (exit $ac_status); }; }; then
99913 glibcxx_cv_LFS=yes
99914 else
99915 echo "$as_me: failed program was:" >&5
99916 sed 's/^/| /' conftest.$ac_ext >&5
99918 glibcxx_cv_LFS=no
99920 rm -f conftest.err conftest.$ac_objext \
99921 conftest$ac_exeext conftest.$ac_ext
99925 if test $glibcxx_cv_LFS = yes; then
99927 cat >>confdefs.h <<\_ACEOF
99928 #define _GLIBCXX_USE_LFS 1
99929 _ACEOF
99932 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
99933 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
99934 CXXFLAGS="$ac_save_CXXFLAGS"
99935 ac_ext=c
99936 ac_cpp='$CPP $CPPFLAGS'
99937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99943 # For showmanyc_helper().
99946 for ac_header in sys/ioctl.h sys/filio.h
99948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
99949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99950 echo "$as_me:$LINENO: checking for $ac_header" >&5
99951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
99952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
99953 echo $ECHO_N "(cached) $ECHO_C" >&6
99955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
99956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
99957 else
99958 # Is the header compilable?
99959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
99960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
99961 cat >conftest.$ac_ext <<_ACEOF
99962 /* confdefs.h. */
99963 _ACEOF
99964 cat confdefs.h >>conftest.$ac_ext
99965 cat >>conftest.$ac_ext <<_ACEOF
99966 /* end confdefs.h. */
99967 $ac_includes_default
99968 #include <$ac_header>
99969 _ACEOF
99970 rm -f conftest.$ac_objext
99971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99972 (eval $ac_compile) 2>conftest.er1
99973 ac_status=$?
99974 grep -v '^ *+' conftest.er1 >conftest.err
99975 rm -f conftest.er1
99976 cat conftest.err >&5
99977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99978 (exit $ac_status); } &&
99979 { ac_try='test -z "$ac_c_werror_flag"
99980 || test ! -s conftest.err'
99981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99982 (eval $ac_try) 2>&5
99983 ac_status=$?
99984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99985 (exit $ac_status); }; } &&
99986 { ac_try='test -s conftest.$ac_objext'
99987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99988 (eval $ac_try) 2>&5
99989 ac_status=$?
99990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99991 (exit $ac_status); }; }; then
99992 ac_header_compiler=yes
99993 else
99994 echo "$as_me: failed program was:" >&5
99995 sed 's/^/| /' conftest.$ac_ext >&5
99997 ac_header_compiler=no
99999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100001 echo "${ECHO_T}$ac_header_compiler" >&6
100003 # Is the header present?
100004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100006 cat >conftest.$ac_ext <<_ACEOF
100007 /* confdefs.h. */
100008 _ACEOF
100009 cat confdefs.h >>conftest.$ac_ext
100010 cat >>conftest.$ac_ext <<_ACEOF
100011 /* end confdefs.h. */
100012 #include <$ac_header>
100013 _ACEOF
100014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100016 ac_status=$?
100017 grep -v '^ *+' conftest.er1 >conftest.err
100018 rm -f conftest.er1
100019 cat conftest.err >&5
100020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100021 (exit $ac_status); } >/dev/null; then
100022 if test -s conftest.err; then
100023 ac_cpp_err=$ac_c_preproc_warn_flag
100024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100026 ac_cpp_err=
100029 ac_cpp_err=yes
100031 if test -z "$ac_cpp_err"; then
100032 ac_header_preproc=yes
100034 echo "$as_me: failed program was:" >&5
100035 sed 's/^/| /' conftest.$ac_ext >&5
100037 ac_header_preproc=no
100039 rm -f conftest.err conftest.$ac_ext
100040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100041 echo "${ECHO_T}$ac_header_preproc" >&6
100043 # So? What about this header?
100044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100045 yes:no: )
100046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100050 ac_header_preproc=yes
100052 no:yes:* )
100053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100066 cat <<\_ASBOX
100067 ## ----------------------------------------- ##
100068 ## Report this to the package-unused lists. ##
100069 ## ----------------------------------------- ##
100070 _ASBOX
100072 sed "s/^/$as_me: WARNING: /" >&2
100075 echo "$as_me:$LINENO: checking for $ac_header" >&5
100076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100078 echo $ECHO_N "(cached) $ECHO_C" >&6
100080 eval "$as_ac_Header=\$ac_header_preproc"
100082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100087 cat >>confdefs.h <<_ACEOF
100088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100089 _ACEOF
100096 echo "$as_me:$LINENO: checking for poll" >&5
100097 echo $ECHO_N "checking for poll... $ECHO_C" >&6
100098 if test "${glibcxx_cv_POLL+set}" = set; then
100099 echo $ECHO_N "(cached) $ECHO_C" >&6
100102 if test x$gcc_no_link = xyes; then
100103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100105 { (exit 1); exit 1; }; }
100107 cat >conftest.$ac_ext <<_ACEOF
100108 /* confdefs.h. */
100109 _ACEOF
100110 cat confdefs.h >>conftest.$ac_ext
100111 cat >>conftest.$ac_ext <<_ACEOF
100112 /* end confdefs.h. */
100113 #include <poll.h>
100115 main ()
100117 struct pollfd pfd[1];
100118 pfd[0].events = POLLIN;
100119 poll(pfd, 1, 0);
100121 return 0;
100123 _ACEOF
100124 rm -f conftest.$ac_objext conftest$ac_exeext
100125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100126 (eval $ac_link) 2>conftest.er1
100127 ac_status=$?
100128 grep -v '^ *+' conftest.er1 >conftest.err
100129 rm -f conftest.er1
100130 cat conftest.err >&5
100131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100132 (exit $ac_status); } &&
100133 { ac_try='test -z "$ac_c_werror_flag"
100134 || test ! -s conftest.err'
100135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100136 (eval $ac_try) 2>&5
100137 ac_status=$?
100138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100139 (exit $ac_status); }; } &&
100140 { ac_try='test -s conftest$ac_exeext'
100141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100142 (eval $ac_try) 2>&5
100143 ac_status=$?
100144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100145 (exit $ac_status); }; }; then
100146 glibcxx_cv_POLL=yes
100148 echo "$as_me: failed program was:" >&5
100149 sed 's/^/| /' conftest.$ac_ext >&5
100151 glibcxx_cv_POLL=no
100153 rm -f conftest.err conftest.$ac_objext \
100154 conftest$ac_exeext conftest.$ac_ext
100158 if test $glibcxx_cv_POLL = yes; then
100160 cat >>confdefs.h <<\_ACEOF
100161 #define HAVE_POLL 1
100162 _ACEOF
100165 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
100166 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
100169 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
100170 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
100171 if test "${glibcxx_cv_S_ISREG+set}" = set; then
100172 echo $ECHO_N "(cached) $ECHO_C" >&6
100175 if test x$gcc_no_link = xyes; then
100176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100178 { (exit 1); exit 1; }; }
100180 cat >conftest.$ac_ext <<_ACEOF
100181 /* confdefs.h. */
100182 _ACEOF
100183 cat confdefs.h >>conftest.$ac_ext
100184 cat >>conftest.$ac_ext <<_ACEOF
100185 /* end confdefs.h. */
100186 #include <sys/stat.h>
100188 main ()
100190 struct stat buffer;
100191 fstat(0, &buffer);
100192 S_ISREG(buffer.st_mode);
100194 return 0;
100196 _ACEOF
100197 rm -f conftest.$ac_objext conftest$ac_exeext
100198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100199 (eval $ac_link) 2>conftest.er1
100200 ac_status=$?
100201 grep -v '^ *+' conftest.er1 >conftest.err
100202 rm -f conftest.er1
100203 cat conftest.err >&5
100204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100205 (exit $ac_status); } &&
100206 { ac_try='test -z "$ac_c_werror_flag"
100207 || test ! -s conftest.err'
100208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100209 (eval $ac_try) 2>&5
100210 ac_status=$?
100211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100212 (exit $ac_status); }; } &&
100213 { ac_try='test -s conftest$ac_exeext'
100214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100215 (eval $ac_try) 2>&5
100216 ac_status=$?
100217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100218 (exit $ac_status); }; }; then
100219 glibcxx_cv_S_ISREG=yes
100221 echo "$as_me: failed program was:" >&5
100222 sed 's/^/| /' conftest.$ac_ext >&5
100224 glibcxx_cv_S_ISREG=no
100226 rm -f conftest.err conftest.$ac_objext \
100227 conftest$ac_exeext conftest.$ac_ext
100231 if test "${glibcxx_cv_S_IFREG+set}" = set; then
100232 echo $ECHO_N "(cached) $ECHO_C" >&6
100235 if test x$gcc_no_link = xyes; then
100236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100238 { (exit 1); exit 1; }; }
100240 cat >conftest.$ac_ext <<_ACEOF
100241 /* confdefs.h. */
100242 _ACEOF
100243 cat confdefs.h >>conftest.$ac_ext
100244 cat >>conftest.$ac_ext <<_ACEOF
100245 /* end confdefs.h. */
100246 #include <sys/stat.h>
100248 main ()
100250 struct stat buffer;
100251 fstat(0, &buffer);
100252 S_IFREG & buffer.st_mode;
100254 return 0;
100256 _ACEOF
100257 rm -f conftest.$ac_objext conftest$ac_exeext
100258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100259 (eval $ac_link) 2>conftest.er1
100260 ac_status=$?
100261 grep -v '^ *+' conftest.er1 >conftest.err
100262 rm -f conftest.er1
100263 cat conftest.err >&5
100264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100265 (exit $ac_status); } &&
100266 { ac_try='test -z "$ac_c_werror_flag"
100267 || test ! -s conftest.err'
100268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100269 (eval $ac_try) 2>&5
100270 ac_status=$?
100271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100272 (exit $ac_status); }; } &&
100273 { ac_try='test -s conftest$ac_exeext'
100274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100275 (eval $ac_try) 2>&5
100276 ac_status=$?
100277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100278 (exit $ac_status); }; }; then
100279 glibcxx_cv_S_IFREG=yes
100281 echo "$as_me: failed program was:" >&5
100282 sed 's/^/| /' conftest.$ac_ext >&5
100284 glibcxx_cv_S_IFREG=no
100286 rm -f conftest.err conftest.$ac_objext \
100287 conftest$ac_exeext conftest.$ac_ext
100291 res=no
100292 if test $glibcxx_cv_S_ISREG = yes; then
100294 cat >>confdefs.h <<\_ACEOF
100295 #define HAVE_S_ISREG 1
100296 _ACEOF
100298 res=S_ISREG
100299 elif test $glibcxx_cv_S_IFREG = yes; then
100301 cat >>confdefs.h <<\_ACEOF
100302 #define HAVE_S_IFREG 1
100303 _ACEOF
100305 res=S_IFREG
100307 echo "$as_me:$LINENO: result: $res" >&5
100308 echo "${ECHO_T}$res" >&6
100311 # For xsputn_2().
100313 for ac_header in sys/uio.h
100315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100317 echo "$as_me:$LINENO: checking for $ac_header" >&5
100318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100320 echo $ECHO_N "(cached) $ECHO_C" >&6
100322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100325 # Is the header compilable?
100326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100328 cat >conftest.$ac_ext <<_ACEOF
100329 /* confdefs.h. */
100330 _ACEOF
100331 cat confdefs.h >>conftest.$ac_ext
100332 cat >>conftest.$ac_ext <<_ACEOF
100333 /* end confdefs.h. */
100334 $ac_includes_default
100335 #include <$ac_header>
100336 _ACEOF
100337 rm -f conftest.$ac_objext
100338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100339 (eval $ac_compile) 2>conftest.er1
100340 ac_status=$?
100341 grep -v '^ *+' conftest.er1 >conftest.err
100342 rm -f conftest.er1
100343 cat conftest.err >&5
100344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100345 (exit $ac_status); } &&
100346 { ac_try='test -z "$ac_c_werror_flag"
100347 || test ! -s conftest.err'
100348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100349 (eval $ac_try) 2>&5
100350 ac_status=$?
100351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100352 (exit $ac_status); }; } &&
100353 { ac_try='test -s conftest.$ac_objext'
100354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100355 (eval $ac_try) 2>&5
100356 ac_status=$?
100357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100358 (exit $ac_status); }; }; then
100359 ac_header_compiler=yes
100361 echo "$as_me: failed program was:" >&5
100362 sed 's/^/| /' conftest.$ac_ext >&5
100364 ac_header_compiler=no
100366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100368 echo "${ECHO_T}$ac_header_compiler" >&6
100370 # Is the header present?
100371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100373 cat >conftest.$ac_ext <<_ACEOF
100374 /* confdefs.h. */
100375 _ACEOF
100376 cat confdefs.h >>conftest.$ac_ext
100377 cat >>conftest.$ac_ext <<_ACEOF
100378 /* end confdefs.h. */
100379 #include <$ac_header>
100380 _ACEOF
100381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100383 ac_status=$?
100384 grep -v '^ *+' conftest.er1 >conftest.err
100385 rm -f conftest.er1
100386 cat conftest.err >&5
100387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100388 (exit $ac_status); } >/dev/null; then
100389 if test -s conftest.err; then
100390 ac_cpp_err=$ac_c_preproc_warn_flag
100391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100393 ac_cpp_err=
100396 ac_cpp_err=yes
100398 if test -z "$ac_cpp_err"; then
100399 ac_header_preproc=yes
100401 echo "$as_me: failed program was:" >&5
100402 sed 's/^/| /' conftest.$ac_ext >&5
100404 ac_header_preproc=no
100406 rm -f conftest.err conftest.$ac_ext
100407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100408 echo "${ECHO_T}$ac_header_preproc" >&6
100410 # So? What about this header?
100411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100412 yes:no: )
100413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100417 ac_header_preproc=yes
100419 no:yes:* )
100420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100433 cat <<\_ASBOX
100434 ## ----------------------------------------- ##
100435 ## Report this to the package-unused lists. ##
100436 ## ----------------------------------------- ##
100437 _ASBOX
100439 sed "s/^/$as_me: WARNING: /" >&2
100442 echo "$as_me:$LINENO: checking for $ac_header" >&5
100443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100445 echo $ECHO_N "(cached) $ECHO_C" >&6
100447 eval "$as_ac_Header=\$ac_header_preproc"
100449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100454 cat >>confdefs.h <<_ACEOF
100455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100456 _ACEOF
100463 echo "$as_me:$LINENO: checking for writev" >&5
100464 echo $ECHO_N "checking for writev... $ECHO_C" >&6
100465 if test "${glibcxx_cv_WRITEV+set}" = set; then
100466 echo $ECHO_N "(cached) $ECHO_C" >&6
100469 if test x$gcc_no_link = xyes; then
100470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100472 { (exit 1); exit 1; }; }
100474 cat >conftest.$ac_ext <<_ACEOF
100475 /* confdefs.h. */
100476 _ACEOF
100477 cat confdefs.h >>conftest.$ac_ext
100478 cat >>conftest.$ac_ext <<_ACEOF
100479 /* end confdefs.h. */
100480 #include <sys/uio.h>
100482 main ()
100484 struct iovec iov[2];
100485 writev(0, iov, 0);
100487 return 0;
100489 _ACEOF
100490 rm -f conftest.$ac_objext conftest$ac_exeext
100491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100492 (eval $ac_link) 2>conftest.er1
100493 ac_status=$?
100494 grep -v '^ *+' conftest.er1 >conftest.err
100495 rm -f conftest.er1
100496 cat conftest.err >&5
100497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100498 (exit $ac_status); } &&
100499 { ac_try='test -z "$ac_c_werror_flag"
100500 || test ! -s conftest.err'
100501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100502 (eval $ac_try) 2>&5
100503 ac_status=$?
100504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100505 (exit $ac_status); }; } &&
100506 { ac_try='test -s conftest$ac_exeext'
100507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100508 (eval $ac_try) 2>&5
100509 ac_status=$?
100510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100511 (exit $ac_status); }; }; then
100512 glibcxx_cv_WRITEV=yes
100514 echo "$as_me: failed program was:" >&5
100515 sed 's/^/| /' conftest.$ac_ext >&5
100517 glibcxx_cv_WRITEV=no
100519 rm -f conftest.err conftest.$ac_objext \
100520 conftest$ac_exeext conftest.$ac_ext
100524 if test $glibcxx_cv_WRITEV = yes; then
100526 cat >>confdefs.h <<\_ACEOF
100527 #define HAVE_WRITEV 1
100528 _ACEOF
100531 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
100532 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
100535 *-mingw32*)
100539 for ac_header in sys/types.h locale.h float.h
100541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
100542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100543 echo "$as_me:$LINENO: checking for $ac_header" >&5
100544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100546 echo $ECHO_N "(cached) $ECHO_C" >&6
100548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100551 # Is the header compilable?
100552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
100553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
100554 cat >conftest.$ac_ext <<_ACEOF
100555 /* confdefs.h. */
100556 _ACEOF
100557 cat confdefs.h >>conftest.$ac_ext
100558 cat >>conftest.$ac_ext <<_ACEOF
100559 /* end confdefs.h. */
100560 $ac_includes_default
100561 #include <$ac_header>
100562 _ACEOF
100563 rm -f conftest.$ac_objext
100564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100565 (eval $ac_compile) 2>conftest.er1
100566 ac_status=$?
100567 grep -v '^ *+' conftest.er1 >conftest.err
100568 rm -f conftest.er1
100569 cat conftest.err >&5
100570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100571 (exit $ac_status); } &&
100572 { ac_try='test -z "$ac_c_werror_flag"
100573 || test ! -s conftest.err'
100574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100575 (eval $ac_try) 2>&5
100576 ac_status=$?
100577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100578 (exit $ac_status); }; } &&
100579 { ac_try='test -s conftest.$ac_objext'
100580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100581 (eval $ac_try) 2>&5
100582 ac_status=$?
100583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100584 (exit $ac_status); }; }; then
100585 ac_header_compiler=yes
100587 echo "$as_me: failed program was:" >&5
100588 sed 's/^/| /' conftest.$ac_ext >&5
100590 ac_header_compiler=no
100592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
100594 echo "${ECHO_T}$ac_header_compiler" >&6
100596 # Is the header present?
100597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
100598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
100599 cat >conftest.$ac_ext <<_ACEOF
100600 /* confdefs.h. */
100601 _ACEOF
100602 cat confdefs.h >>conftest.$ac_ext
100603 cat >>conftest.$ac_ext <<_ACEOF
100604 /* end confdefs.h. */
100605 #include <$ac_header>
100606 _ACEOF
100607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
100608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
100609 ac_status=$?
100610 grep -v '^ *+' conftest.er1 >conftest.err
100611 rm -f conftest.er1
100612 cat conftest.err >&5
100613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100614 (exit $ac_status); } >/dev/null; then
100615 if test -s conftest.err; then
100616 ac_cpp_err=$ac_c_preproc_warn_flag
100617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
100619 ac_cpp_err=
100622 ac_cpp_err=yes
100624 if test -z "$ac_cpp_err"; then
100625 ac_header_preproc=yes
100627 echo "$as_me: failed program was:" >&5
100628 sed 's/^/| /' conftest.$ac_ext >&5
100630 ac_header_preproc=no
100632 rm -f conftest.err conftest.$ac_ext
100633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
100634 echo "${ECHO_T}$ac_header_preproc" >&6
100636 # So? What about this header?
100637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
100638 yes:no: )
100639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
100640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
100641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
100642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
100643 ac_header_preproc=yes
100645 no:yes:* )
100646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
100647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
100648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
100649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
100650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
100651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
100652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
100653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
100654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
100655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
100656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
100657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
100659 cat <<\_ASBOX
100660 ## ----------------------------------------- ##
100661 ## Report this to the package-unused lists. ##
100662 ## ----------------------------------------- ##
100663 _ASBOX
100665 sed "s/^/$as_me: WARNING: /" >&2
100668 echo "$as_me:$LINENO: checking for $ac_header" >&5
100669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
100670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
100671 echo $ECHO_N "(cached) $ECHO_C" >&6
100673 eval "$as_ac_Header=\$ac_header_preproc"
100675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
100676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
100679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
100680 cat >>confdefs.h <<_ACEOF
100681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
100682 _ACEOF
100689 # If we're not using GNU ld, then there's no point in even trying these
100690 # tests. Check for that first. We should have already tested for gld
100691 # by now (in libtool), but require it now just to be safe...
100692 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100693 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100697 # The name set by libtool depends on the version of libtool. Shame on us
100698 # for depending on an impl detail, but c'est la vie. Older versions used
100699 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100700 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100701 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
100702 # set (hence we're using an older libtool), then set it.
100703 if test x${with_gnu_ld+set} != xset; then
100704 if test x${ac_cv_prog_gnu_ld+set} != xset; then
100705 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
100706 with_gnu_ld=no
100708 with_gnu_ld=$ac_cv_prog_gnu_ld
100712 # Start by getting the version number. I think the libtool test already
100713 # does some of this, but throws away the result.
100714 if test x"$with_gnu_ld" = x"yes"; then
100715 echo "$as_me:$LINENO: checking for ld version" >&5
100716 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100718 ldver=`$LD --version 2>/dev/null | head -1 | \
100719 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
100721 glibcxx_gnu_ld_version=`echo $ldver | \
100722 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100723 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100724 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100727 # Set --gc-sections.
100728 glibcxx_gcsections_min_ld=21602
100729 if test x"$with_gnu_ld" = x"yes" &&
100730 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100732 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
100733 # NB: This flag only works reliably after 2.16.1. Configure tests
100734 # for this are difficult, so hard wire a value that should work.
100736 ac_test_CFLAGS="${CFLAGS+set}"
100737 ac_save_CFLAGS="$CFLAGS"
100738 CFLAGS='-Wl,--gc-sections'
100740 # Check for -Wl,--gc-sections
100741 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100742 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100743 if test x$gcc_no_link = xyes; then
100744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100746 { (exit 1); exit 1; }; }
100748 cat >conftest.$ac_ext <<_ACEOF
100749 /* confdefs.h. */
100750 _ACEOF
100751 cat confdefs.h >>conftest.$ac_ext
100752 cat >>conftest.$ac_ext <<_ACEOF
100753 /* end confdefs.h. */
100754 int one(void) { return 1; }
100755 int two(void) { return 2; }
100758 main ()
100760 two();
100762 return 0;
100764 _ACEOF
100765 rm -f conftest.$ac_objext conftest$ac_exeext
100766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100767 (eval $ac_link) 2>conftest.er1
100768 ac_status=$?
100769 grep -v '^ *+' conftest.er1 >conftest.err
100770 rm -f conftest.er1
100771 cat conftest.err >&5
100772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100773 (exit $ac_status); } &&
100774 { ac_try='test -z "$ac_c_werror_flag"
100775 || test ! -s conftest.err'
100776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100777 (eval $ac_try) 2>&5
100778 ac_status=$?
100779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100780 (exit $ac_status); }; } &&
100781 { ac_try='test -s conftest$ac_exeext'
100782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100783 (eval $ac_try) 2>&5
100784 ac_status=$?
100785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100786 (exit $ac_status); }; }; then
100787 ac_gcsections=yes
100789 echo "$as_me: failed program was:" >&5
100790 sed 's/^/| /' conftest.$ac_ext >&5
100792 ac_gcsections=no
100794 rm -f conftest.err conftest.$ac_objext \
100795 conftest$ac_exeext conftest.$ac_ext
100796 if test "$ac_gcsections" = "yes"; then
100797 rm -f conftest.c
100798 touch conftest.c
100799 if $CC -c conftest.c; then
100800 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100801 grep "Warning: gc-sections option ignored" > /dev/null; then
100802 ac_gcsections=no
100805 rm -f conftest.c conftest.o conftest
100807 if test "$ac_gcsections" = "yes"; then
100808 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100810 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100811 echo "${ECHO_T}$ac_gcsections" >&6
100813 if test "$ac_test_CFLAGS" = set; then
100814 CFLAGS="$ac_save_CFLAGS"
100816 # this is the suspicious part
100817 CFLAGS=''
100821 # Set -z,relro.
100822 # Note this is only for shared objects.
100823 ac_ld_relro=no
100824 if test x"$with_gnu_ld" = x"yes"; then
100825 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100826 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100827 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100828 if test -n "$cxx_z_relo"; then
100829 OPT_LDFLAGS="-Wl,-z,relro"
100830 ac_ld_relro=yes
100832 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100833 echo "${ECHO_T}$ac_ld_relro" >&6
100836 # Set linker optimization flags.
100837 if test x"$with_gnu_ld" = x"yes"; then
100838 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100846 echo "$as_me:$LINENO: checking for main in -lm" >&5
100847 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100848 if test "${ac_cv_lib_m_main+set}" = set; then
100849 echo $ECHO_N "(cached) $ECHO_C" >&6
100851 ac_check_lib_save_LIBS=$LIBS
100852 LIBS="-lm $LIBS"
100853 if test x$gcc_no_link = xyes; then
100854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100856 { (exit 1); exit 1; }; }
100858 cat >conftest.$ac_ext <<_ACEOF
100859 /* confdefs.h. */
100860 _ACEOF
100861 cat confdefs.h >>conftest.$ac_ext
100862 cat >>conftest.$ac_ext <<_ACEOF
100863 /* end confdefs.h. */
100867 main ()
100869 main ();
100871 return 0;
100873 _ACEOF
100874 rm -f conftest.$ac_objext conftest$ac_exeext
100875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100876 (eval $ac_link) 2>conftest.er1
100877 ac_status=$?
100878 grep -v '^ *+' conftest.er1 >conftest.err
100879 rm -f conftest.er1
100880 cat conftest.err >&5
100881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100882 (exit $ac_status); } &&
100883 { ac_try='test -z "$ac_c_werror_flag"
100884 || test ! -s conftest.err'
100885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100886 (eval $ac_try) 2>&5
100887 ac_status=$?
100888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100889 (exit $ac_status); }; } &&
100890 { ac_try='test -s conftest$ac_exeext'
100891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100892 (eval $ac_try) 2>&5
100893 ac_status=$?
100894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100895 (exit $ac_status); }; }; then
100896 ac_cv_lib_m_main=yes
100898 echo "$as_me: failed program was:" >&5
100899 sed 's/^/| /' conftest.$ac_ext >&5
100901 ac_cv_lib_m_main=no
100903 rm -f conftest.err conftest.$ac_objext \
100904 conftest$ac_exeext conftest.$ac_ext
100905 LIBS=$ac_check_lib_save_LIBS
100907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100908 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100909 if test $ac_cv_lib_m_main = yes; then
100910 cat >>confdefs.h <<_ACEOF
100911 #define HAVE_LIBM 1
100912 _ACEOF
100914 LIBS="-lm $LIBS"
100919 for ac_func in copysignf
100921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100922 echo "$as_me:$LINENO: checking for $ac_func" >&5
100923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100924 if eval "test \"\${$as_ac_var+set}\" = set"; then
100925 echo $ECHO_N "(cached) $ECHO_C" >&6
100927 if test x$gcc_no_link = xyes; then
100928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100930 { (exit 1); exit 1; }; }
100932 cat >conftest.$ac_ext <<_ACEOF
100933 /* confdefs.h. */
100934 _ACEOF
100935 cat confdefs.h >>conftest.$ac_ext
100936 cat >>conftest.$ac_ext <<_ACEOF
100937 /* end confdefs.h. */
100938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100940 #define $ac_func innocuous_$ac_func
100942 /* System header to define __stub macros and hopefully few prototypes,
100943 which can conflict with char $ac_func (); below.
100944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100945 <limits.h> exists even on freestanding compilers. */
100947 #ifdef __STDC__
100948 # include <limits.h>
100949 #else
100950 # include <assert.h>
100951 #endif
100953 #undef $ac_func
100955 /* Override any gcc2 internal prototype to avoid an error. */
100956 #ifdef __cplusplus
100957 extern "C"
100959 #endif
100960 /* We use char because int might match the return type of a gcc2
100961 builtin and then its argument prototype would still apply. */
100962 char $ac_func ();
100963 /* The GNU C library defines this for functions which it implements
100964 to always fail with ENOSYS. Some functions are actually named
100965 something starting with __ and the normal name is an alias. */
100966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100967 choke me
100968 #else
100969 char (*f) () = $ac_func;
100970 #endif
100971 #ifdef __cplusplus
100973 #endif
100976 main ()
100978 return f != $ac_func;
100980 return 0;
100982 _ACEOF
100983 rm -f conftest.$ac_objext conftest$ac_exeext
100984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100985 (eval $ac_link) 2>conftest.er1
100986 ac_status=$?
100987 grep -v '^ *+' conftest.er1 >conftest.err
100988 rm -f conftest.er1
100989 cat conftest.err >&5
100990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991 (exit $ac_status); } &&
100992 { ac_try='test -z "$ac_c_werror_flag"
100993 || test ! -s conftest.err'
100994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100995 (eval $ac_try) 2>&5
100996 ac_status=$?
100997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100998 (exit $ac_status); }; } &&
100999 { ac_try='test -s conftest$ac_exeext'
101000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101001 (eval $ac_try) 2>&5
101002 ac_status=$?
101003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101004 (exit $ac_status); }; }; then
101005 eval "$as_ac_var=yes"
101007 echo "$as_me: failed program was:" >&5
101008 sed 's/^/| /' conftest.$ac_ext >&5
101010 eval "$as_ac_var=no"
101012 rm -f conftest.err conftest.$ac_objext \
101013 conftest$ac_exeext conftest.$ac_ext
101015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101017 if test `eval echo '${'$as_ac_var'}'` = yes; then
101018 cat >>confdefs.h <<_ACEOF
101019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101020 _ACEOF
101023 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101029 for ac_func in __signbit
101031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101032 echo "$as_me:$LINENO: checking for $ac_func" >&5
101033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101034 if eval "test \"\${$as_ac_var+set}\" = set"; then
101035 echo $ECHO_N "(cached) $ECHO_C" >&6
101037 if test x$gcc_no_link = xyes; then
101038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101040 { (exit 1); exit 1; }; }
101042 cat >conftest.$ac_ext <<_ACEOF
101043 /* confdefs.h. */
101044 _ACEOF
101045 cat confdefs.h >>conftest.$ac_ext
101046 cat >>conftest.$ac_ext <<_ACEOF
101047 /* end confdefs.h. */
101048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101050 #define $ac_func innocuous_$ac_func
101052 /* System header to define __stub macros and hopefully few prototypes,
101053 which can conflict with char $ac_func (); below.
101054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101055 <limits.h> exists even on freestanding compilers. */
101057 #ifdef __STDC__
101058 # include <limits.h>
101059 #else
101060 # include <assert.h>
101061 #endif
101063 #undef $ac_func
101065 /* Override any gcc2 internal prototype to avoid an error. */
101066 #ifdef __cplusplus
101067 extern "C"
101069 #endif
101070 /* We use char because int might match the return type of a gcc2
101071 builtin and then its argument prototype would still apply. */
101072 char $ac_func ();
101073 /* The GNU C library defines this for functions which it implements
101074 to always fail with ENOSYS. Some functions are actually named
101075 something starting with __ and the normal name is an alias. */
101076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101077 choke me
101078 #else
101079 char (*f) () = $ac_func;
101080 #endif
101081 #ifdef __cplusplus
101083 #endif
101086 main ()
101088 return f != $ac_func;
101090 return 0;
101092 _ACEOF
101093 rm -f conftest.$ac_objext conftest$ac_exeext
101094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101095 (eval $ac_link) 2>conftest.er1
101096 ac_status=$?
101097 grep -v '^ *+' conftest.er1 >conftest.err
101098 rm -f conftest.er1
101099 cat conftest.err >&5
101100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101101 (exit $ac_status); } &&
101102 { ac_try='test -z "$ac_c_werror_flag"
101103 || test ! -s conftest.err'
101104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101105 (eval $ac_try) 2>&5
101106 ac_status=$?
101107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101108 (exit $ac_status); }; } &&
101109 { ac_try='test -s conftest$ac_exeext'
101110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101111 (eval $ac_try) 2>&5
101112 ac_status=$?
101113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101114 (exit $ac_status); }; }; then
101115 eval "$as_ac_var=yes"
101117 echo "$as_me: failed program was:" >&5
101118 sed 's/^/| /' conftest.$ac_ext >&5
101120 eval "$as_ac_var=no"
101122 rm -f conftest.err conftest.$ac_objext \
101123 conftest$ac_exeext conftest.$ac_ext
101125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101127 if test `eval echo '${'$as_ac_var'}'` = yes; then
101128 cat >>confdefs.h <<_ACEOF
101129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101130 _ACEOF
101133 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101139 for ac_func in __signbitf
101141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101142 echo "$as_me:$LINENO: checking for $ac_func" >&5
101143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101144 if eval "test \"\${$as_ac_var+set}\" = set"; then
101145 echo $ECHO_N "(cached) $ECHO_C" >&6
101147 if test x$gcc_no_link = xyes; then
101148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101150 { (exit 1); exit 1; }; }
101152 cat >conftest.$ac_ext <<_ACEOF
101153 /* confdefs.h. */
101154 _ACEOF
101155 cat confdefs.h >>conftest.$ac_ext
101156 cat >>conftest.$ac_ext <<_ACEOF
101157 /* end confdefs.h. */
101158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101160 #define $ac_func innocuous_$ac_func
101162 /* System header to define __stub macros and hopefully few prototypes,
101163 which can conflict with char $ac_func (); below.
101164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101165 <limits.h> exists even on freestanding compilers. */
101167 #ifdef __STDC__
101168 # include <limits.h>
101169 #else
101170 # include <assert.h>
101171 #endif
101173 #undef $ac_func
101175 /* Override any gcc2 internal prototype to avoid an error. */
101176 #ifdef __cplusplus
101177 extern "C"
101179 #endif
101180 /* We use char because int might match the return type of a gcc2
101181 builtin and then its argument prototype would still apply. */
101182 char $ac_func ();
101183 /* The GNU C library defines this for functions which it implements
101184 to always fail with ENOSYS. Some functions are actually named
101185 something starting with __ and the normal name is an alias. */
101186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101187 choke me
101188 #else
101189 char (*f) () = $ac_func;
101190 #endif
101191 #ifdef __cplusplus
101193 #endif
101196 main ()
101198 return f != $ac_func;
101200 return 0;
101202 _ACEOF
101203 rm -f conftest.$ac_objext conftest$ac_exeext
101204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101205 (eval $ac_link) 2>conftest.er1
101206 ac_status=$?
101207 grep -v '^ *+' conftest.er1 >conftest.err
101208 rm -f conftest.er1
101209 cat conftest.err >&5
101210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101211 (exit $ac_status); } &&
101212 { ac_try='test -z "$ac_c_werror_flag"
101213 || test ! -s conftest.err'
101214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101215 (eval $ac_try) 2>&5
101216 ac_status=$?
101217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101218 (exit $ac_status); }; } &&
101219 { ac_try='test -s conftest$ac_exeext'
101220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101221 (eval $ac_try) 2>&5
101222 ac_status=$?
101223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101224 (exit $ac_status); }; }; then
101225 eval "$as_ac_var=yes"
101227 echo "$as_me: failed program was:" >&5
101228 sed 's/^/| /' conftest.$ac_ext >&5
101230 eval "$as_ac_var=no"
101232 rm -f conftest.err conftest.$ac_objext \
101233 conftest$ac_exeext conftest.$ac_ext
101235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101237 if test `eval echo '${'$as_ac_var'}'` = yes; then
101238 cat >>confdefs.h <<_ACEOF
101239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101240 _ACEOF
101243 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101248 if test x$ac_cv_func_copysignl = x"yes"; then
101250 for ac_func in __signbitl
101252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101253 echo "$as_me:$LINENO: checking for $ac_func" >&5
101254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101255 if eval "test \"\${$as_ac_var+set}\" = set"; then
101256 echo $ECHO_N "(cached) $ECHO_C" >&6
101258 if test x$gcc_no_link = xyes; then
101259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101261 { (exit 1); exit 1; }; }
101263 cat >conftest.$ac_ext <<_ACEOF
101264 /* confdefs.h. */
101265 _ACEOF
101266 cat confdefs.h >>conftest.$ac_ext
101267 cat >>conftest.$ac_ext <<_ACEOF
101268 /* end confdefs.h. */
101269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101271 #define $ac_func innocuous_$ac_func
101273 /* System header to define __stub macros and hopefully few prototypes,
101274 which can conflict with char $ac_func (); below.
101275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101276 <limits.h> exists even on freestanding compilers. */
101278 #ifdef __STDC__
101279 # include <limits.h>
101280 #else
101281 # include <assert.h>
101282 #endif
101284 #undef $ac_func
101286 /* Override any gcc2 internal prototype to avoid an error. */
101287 #ifdef __cplusplus
101288 extern "C"
101290 #endif
101291 /* We use char because int might match the return type of a gcc2
101292 builtin and then its argument prototype would still apply. */
101293 char $ac_func ();
101294 /* The GNU C library defines this for functions which it implements
101295 to always fail with ENOSYS. Some functions are actually named
101296 something starting with __ and the normal name is an alias. */
101297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101298 choke me
101299 #else
101300 char (*f) () = $ac_func;
101301 #endif
101302 #ifdef __cplusplus
101304 #endif
101307 main ()
101309 return f != $ac_func;
101311 return 0;
101313 _ACEOF
101314 rm -f conftest.$ac_objext conftest$ac_exeext
101315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101316 (eval $ac_link) 2>conftest.er1
101317 ac_status=$?
101318 grep -v '^ *+' conftest.er1 >conftest.err
101319 rm -f conftest.er1
101320 cat conftest.err >&5
101321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101322 (exit $ac_status); } &&
101323 { ac_try='test -z "$ac_c_werror_flag"
101324 || test ! -s conftest.err'
101325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101326 (eval $ac_try) 2>&5
101327 ac_status=$?
101328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101329 (exit $ac_status); }; } &&
101330 { ac_try='test -s conftest$ac_exeext'
101331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101332 (eval $ac_try) 2>&5
101333 ac_status=$?
101334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101335 (exit $ac_status); }; }; then
101336 eval "$as_ac_var=yes"
101338 echo "$as_me: failed program was:" >&5
101339 sed 's/^/| /' conftest.$ac_ext >&5
101341 eval "$as_ac_var=no"
101343 rm -f conftest.err conftest.$ac_objext \
101344 conftest$ac_exeext conftest.$ac_ext
101346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101348 if test `eval echo '${'$as_ac_var'}'` = yes; then
101349 cat >>confdefs.h <<_ACEOF
101350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101351 _ACEOF
101354 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101360 # Used in libmath/Makefile.am.
101361 if test -n "$LIBMATHOBJS"; then
101362 need_libmath=yes
101367 *-netbsd*)
101380 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
101381 machine/endian.h machine/param.h sys/machine.h sys/types.h \
101382 fp.h locale.h float.h inttypes.h
101384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
101385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101386 echo "$as_me:$LINENO: checking for $ac_header" >&5
101387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101389 echo $ECHO_N "(cached) $ECHO_C" >&6
101391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101394 # Is the header compilable?
101395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
101396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
101397 cat >conftest.$ac_ext <<_ACEOF
101398 /* confdefs.h. */
101399 _ACEOF
101400 cat confdefs.h >>conftest.$ac_ext
101401 cat >>conftest.$ac_ext <<_ACEOF
101402 /* end confdefs.h. */
101403 $ac_includes_default
101404 #include <$ac_header>
101405 _ACEOF
101406 rm -f conftest.$ac_objext
101407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101408 (eval $ac_compile) 2>conftest.er1
101409 ac_status=$?
101410 grep -v '^ *+' conftest.er1 >conftest.err
101411 rm -f conftest.er1
101412 cat conftest.err >&5
101413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101414 (exit $ac_status); } &&
101415 { ac_try='test -z "$ac_c_werror_flag"
101416 || test ! -s conftest.err'
101417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101418 (eval $ac_try) 2>&5
101419 ac_status=$?
101420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101421 (exit $ac_status); }; } &&
101422 { ac_try='test -s conftest.$ac_objext'
101423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101424 (eval $ac_try) 2>&5
101425 ac_status=$?
101426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101427 (exit $ac_status); }; }; then
101428 ac_header_compiler=yes
101430 echo "$as_me: failed program was:" >&5
101431 sed 's/^/| /' conftest.$ac_ext >&5
101433 ac_header_compiler=no
101435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
101437 echo "${ECHO_T}$ac_header_compiler" >&6
101439 # Is the header present?
101440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
101441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
101442 cat >conftest.$ac_ext <<_ACEOF
101443 /* confdefs.h. */
101444 _ACEOF
101445 cat confdefs.h >>conftest.$ac_ext
101446 cat >>conftest.$ac_ext <<_ACEOF
101447 /* end confdefs.h. */
101448 #include <$ac_header>
101449 _ACEOF
101450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
101451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
101452 ac_status=$?
101453 grep -v '^ *+' conftest.er1 >conftest.err
101454 rm -f conftest.er1
101455 cat conftest.err >&5
101456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101457 (exit $ac_status); } >/dev/null; then
101458 if test -s conftest.err; then
101459 ac_cpp_err=$ac_c_preproc_warn_flag
101460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
101462 ac_cpp_err=
101465 ac_cpp_err=yes
101467 if test -z "$ac_cpp_err"; then
101468 ac_header_preproc=yes
101470 echo "$as_me: failed program was:" >&5
101471 sed 's/^/| /' conftest.$ac_ext >&5
101473 ac_header_preproc=no
101475 rm -f conftest.err conftest.$ac_ext
101476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
101477 echo "${ECHO_T}$ac_header_preproc" >&6
101479 # So? What about this header?
101480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
101481 yes:no: )
101482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
101483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
101484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
101485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
101486 ac_header_preproc=yes
101488 no:yes:* )
101489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
101490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
101491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
101492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
101493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
101494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
101495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
101496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
101497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
101498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
101499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
101500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
101502 cat <<\_ASBOX
101503 ## ----------------------------------------- ##
101504 ## Report this to the package-unused lists. ##
101505 ## ----------------------------------------- ##
101506 _ASBOX
101508 sed "s/^/$as_me: WARNING: /" >&2
101511 echo "$as_me:$LINENO: checking for $ac_header" >&5
101512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
101513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
101514 echo $ECHO_N "(cached) $ECHO_C" >&6
101516 eval "$as_ac_Header=\$ac_header_preproc"
101518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
101519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
101522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
101523 cat >>confdefs.h <<_ACEOF
101524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
101525 _ACEOF
101531 SECTION_FLAGS='-ffunction-sections -fdata-sections'
101534 # If we're not using GNU ld, then there's no point in even trying these
101535 # tests. Check for that first. We should have already tested for gld
101536 # by now (in libtool), but require it now just to be safe...
101537 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101538 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101542 # The name set by libtool depends on the version of libtool. Shame on us
101543 # for depending on an impl detail, but c'est la vie. Older versions used
101544 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101545 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101546 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
101547 # set (hence we're using an older libtool), then set it.
101548 if test x${with_gnu_ld+set} != xset; then
101549 if test x${ac_cv_prog_gnu_ld+set} != xset; then
101550 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
101551 with_gnu_ld=no
101553 with_gnu_ld=$ac_cv_prog_gnu_ld
101557 # Start by getting the version number. I think the libtool test already
101558 # does some of this, but throws away the result.
101559 if test x"$with_gnu_ld" = x"yes"; then
101560 echo "$as_me:$LINENO: checking for ld version" >&5
101561 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101563 ldver=`$LD --version 2>/dev/null | head -1 | \
101564 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
101566 glibcxx_gnu_ld_version=`echo $ldver | \
101567 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101568 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101569 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101572 # Set --gc-sections.
101573 glibcxx_gcsections_min_ld=21602
101574 if test x"$with_gnu_ld" = x"yes" &&
101575 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101577 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
101578 # NB: This flag only works reliably after 2.16.1. Configure tests
101579 # for this are difficult, so hard wire a value that should work.
101581 ac_test_CFLAGS="${CFLAGS+set}"
101582 ac_save_CFLAGS="$CFLAGS"
101583 CFLAGS='-Wl,--gc-sections'
101585 # Check for -Wl,--gc-sections
101586 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101587 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101588 if test x$gcc_no_link = xyes; then
101589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101591 { (exit 1); exit 1; }; }
101593 cat >conftest.$ac_ext <<_ACEOF
101594 /* confdefs.h. */
101595 _ACEOF
101596 cat confdefs.h >>conftest.$ac_ext
101597 cat >>conftest.$ac_ext <<_ACEOF
101598 /* end confdefs.h. */
101599 int one(void) { return 1; }
101600 int two(void) { return 2; }
101603 main ()
101605 two();
101607 return 0;
101609 _ACEOF
101610 rm -f conftest.$ac_objext conftest$ac_exeext
101611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101612 (eval $ac_link) 2>conftest.er1
101613 ac_status=$?
101614 grep -v '^ *+' conftest.er1 >conftest.err
101615 rm -f conftest.er1
101616 cat conftest.err >&5
101617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101618 (exit $ac_status); } &&
101619 { ac_try='test -z "$ac_c_werror_flag"
101620 || test ! -s conftest.err'
101621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101622 (eval $ac_try) 2>&5
101623 ac_status=$?
101624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101625 (exit $ac_status); }; } &&
101626 { ac_try='test -s conftest$ac_exeext'
101627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101628 (eval $ac_try) 2>&5
101629 ac_status=$?
101630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101631 (exit $ac_status); }; }; then
101632 ac_gcsections=yes
101634 echo "$as_me: failed program was:" >&5
101635 sed 's/^/| /' conftest.$ac_ext >&5
101637 ac_gcsections=no
101639 rm -f conftest.err conftest.$ac_objext \
101640 conftest$ac_exeext conftest.$ac_ext
101641 if test "$ac_gcsections" = "yes"; then
101642 rm -f conftest.c
101643 touch conftest.c
101644 if $CC -c conftest.c; then
101645 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101646 grep "Warning: gc-sections option ignored" > /dev/null; then
101647 ac_gcsections=no
101650 rm -f conftest.c conftest.o conftest
101652 if test "$ac_gcsections" = "yes"; then
101653 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101655 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101656 echo "${ECHO_T}$ac_gcsections" >&6
101658 if test "$ac_test_CFLAGS" = set; then
101659 CFLAGS="$ac_save_CFLAGS"
101661 # this is the suspicious part
101662 CFLAGS=''
101666 # Set -z,relro.
101667 # Note this is only for shared objects.
101668 ac_ld_relro=no
101669 if test x"$with_gnu_ld" = x"yes"; then
101670 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101671 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101672 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101673 if test -n "$cxx_z_relo"; then
101674 OPT_LDFLAGS="-Wl,-z,relro"
101675 ac_ld_relro=yes
101677 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101678 echo "${ECHO_T}$ac_ld_relro" >&6
101681 # Set linker optimization flags.
101682 if test x"$with_gnu_ld" = x"yes"; then
101683 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101691 echo "$as_me:$LINENO: checking for main in -lm" >&5
101692 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101693 if test "${ac_cv_lib_m_main+set}" = set; then
101694 echo $ECHO_N "(cached) $ECHO_C" >&6
101696 ac_check_lib_save_LIBS=$LIBS
101697 LIBS="-lm $LIBS"
101698 if test x$gcc_no_link = xyes; then
101699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101701 { (exit 1); exit 1; }; }
101703 cat >conftest.$ac_ext <<_ACEOF
101704 /* confdefs.h. */
101705 _ACEOF
101706 cat confdefs.h >>conftest.$ac_ext
101707 cat >>conftest.$ac_ext <<_ACEOF
101708 /* end confdefs.h. */
101712 main ()
101714 main ();
101716 return 0;
101718 _ACEOF
101719 rm -f conftest.$ac_objext conftest$ac_exeext
101720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101721 (eval $ac_link) 2>conftest.er1
101722 ac_status=$?
101723 grep -v '^ *+' conftest.er1 >conftest.err
101724 rm -f conftest.er1
101725 cat conftest.err >&5
101726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101727 (exit $ac_status); } &&
101728 { ac_try='test -z "$ac_c_werror_flag"
101729 || test ! -s conftest.err'
101730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101731 (eval $ac_try) 2>&5
101732 ac_status=$?
101733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101734 (exit $ac_status); }; } &&
101735 { ac_try='test -s conftest$ac_exeext'
101736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101737 (eval $ac_try) 2>&5
101738 ac_status=$?
101739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101740 (exit $ac_status); }; }; then
101741 ac_cv_lib_m_main=yes
101743 echo "$as_me: failed program was:" >&5
101744 sed 's/^/| /' conftest.$ac_ext >&5
101746 ac_cv_lib_m_main=no
101748 rm -f conftest.err conftest.$ac_objext \
101749 conftest$ac_exeext conftest.$ac_ext
101750 LIBS=$ac_check_lib_save_LIBS
101752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101753 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101754 if test $ac_cv_lib_m_main = yes; then
101755 cat >>confdefs.h <<_ACEOF
101756 #define HAVE_LIBM 1
101757 _ACEOF
101759 LIBS="-lm $LIBS"
101764 for ac_func in copysignf
101766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101767 echo "$as_me:$LINENO: checking for $ac_func" >&5
101768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101769 if eval "test \"\${$as_ac_var+set}\" = set"; then
101770 echo $ECHO_N "(cached) $ECHO_C" >&6
101772 if test x$gcc_no_link = xyes; then
101773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101775 { (exit 1); exit 1; }; }
101777 cat >conftest.$ac_ext <<_ACEOF
101778 /* confdefs.h. */
101779 _ACEOF
101780 cat confdefs.h >>conftest.$ac_ext
101781 cat >>conftest.$ac_ext <<_ACEOF
101782 /* end confdefs.h. */
101783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101785 #define $ac_func innocuous_$ac_func
101787 /* System header to define __stub macros and hopefully few prototypes,
101788 which can conflict with char $ac_func (); below.
101789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101790 <limits.h> exists even on freestanding compilers. */
101792 #ifdef __STDC__
101793 # include <limits.h>
101794 #else
101795 # include <assert.h>
101796 #endif
101798 #undef $ac_func
101800 /* Override any gcc2 internal prototype to avoid an error. */
101801 #ifdef __cplusplus
101802 extern "C"
101804 #endif
101805 /* We use char because int might match the return type of a gcc2
101806 builtin and then its argument prototype would still apply. */
101807 char $ac_func ();
101808 /* The GNU C library defines this for functions which it implements
101809 to always fail with ENOSYS. Some functions are actually named
101810 something starting with __ and the normal name is an alias. */
101811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101812 choke me
101813 #else
101814 char (*f) () = $ac_func;
101815 #endif
101816 #ifdef __cplusplus
101818 #endif
101821 main ()
101823 return f != $ac_func;
101825 return 0;
101827 _ACEOF
101828 rm -f conftest.$ac_objext conftest$ac_exeext
101829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101830 (eval $ac_link) 2>conftest.er1
101831 ac_status=$?
101832 grep -v '^ *+' conftest.er1 >conftest.err
101833 rm -f conftest.er1
101834 cat conftest.err >&5
101835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101836 (exit $ac_status); } &&
101837 { ac_try='test -z "$ac_c_werror_flag"
101838 || test ! -s conftest.err'
101839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101840 (eval $ac_try) 2>&5
101841 ac_status=$?
101842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101843 (exit $ac_status); }; } &&
101844 { ac_try='test -s conftest$ac_exeext'
101845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101846 (eval $ac_try) 2>&5
101847 ac_status=$?
101848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849 (exit $ac_status); }; }; then
101850 eval "$as_ac_var=yes"
101852 echo "$as_me: failed program was:" >&5
101853 sed 's/^/| /' conftest.$ac_ext >&5
101855 eval "$as_ac_var=no"
101857 rm -f conftest.err conftest.$ac_objext \
101858 conftest$ac_exeext conftest.$ac_ext
101860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101862 if test `eval echo '${'$as_ac_var'}'` = yes; then
101863 cat >>confdefs.h <<_ACEOF
101864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101865 _ACEOF
101868 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101874 for ac_func in __signbit
101876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101877 echo "$as_me:$LINENO: checking for $ac_func" >&5
101878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101879 if eval "test \"\${$as_ac_var+set}\" = set"; then
101880 echo $ECHO_N "(cached) $ECHO_C" >&6
101882 if test x$gcc_no_link = xyes; then
101883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101885 { (exit 1); exit 1; }; }
101887 cat >conftest.$ac_ext <<_ACEOF
101888 /* confdefs.h. */
101889 _ACEOF
101890 cat confdefs.h >>conftest.$ac_ext
101891 cat >>conftest.$ac_ext <<_ACEOF
101892 /* end confdefs.h. */
101893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101895 #define $ac_func innocuous_$ac_func
101897 /* System header to define __stub macros and hopefully few prototypes,
101898 which can conflict with char $ac_func (); below.
101899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101900 <limits.h> exists even on freestanding compilers. */
101902 #ifdef __STDC__
101903 # include <limits.h>
101904 #else
101905 # include <assert.h>
101906 #endif
101908 #undef $ac_func
101910 /* Override any gcc2 internal prototype to avoid an error. */
101911 #ifdef __cplusplus
101912 extern "C"
101914 #endif
101915 /* We use char because int might match the return type of a gcc2
101916 builtin and then its argument prototype would still apply. */
101917 char $ac_func ();
101918 /* The GNU C library defines this for functions which it implements
101919 to always fail with ENOSYS. Some functions are actually named
101920 something starting with __ and the normal name is an alias. */
101921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101922 choke me
101923 #else
101924 char (*f) () = $ac_func;
101925 #endif
101926 #ifdef __cplusplus
101928 #endif
101931 main ()
101933 return f != $ac_func;
101935 return 0;
101937 _ACEOF
101938 rm -f conftest.$ac_objext conftest$ac_exeext
101939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101940 (eval $ac_link) 2>conftest.er1
101941 ac_status=$?
101942 grep -v '^ *+' conftest.er1 >conftest.err
101943 rm -f conftest.er1
101944 cat conftest.err >&5
101945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101946 (exit $ac_status); } &&
101947 { ac_try='test -z "$ac_c_werror_flag"
101948 || test ! -s conftest.err'
101949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101950 (eval $ac_try) 2>&5
101951 ac_status=$?
101952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101953 (exit $ac_status); }; } &&
101954 { ac_try='test -s conftest$ac_exeext'
101955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101956 (eval $ac_try) 2>&5
101957 ac_status=$?
101958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101959 (exit $ac_status); }; }; then
101960 eval "$as_ac_var=yes"
101962 echo "$as_me: failed program was:" >&5
101963 sed 's/^/| /' conftest.$ac_ext >&5
101965 eval "$as_ac_var=no"
101967 rm -f conftest.err conftest.$ac_objext \
101968 conftest$ac_exeext conftest.$ac_ext
101970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101972 if test `eval echo '${'$as_ac_var'}'` = yes; then
101973 cat >>confdefs.h <<_ACEOF
101974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101975 _ACEOF
101978 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101984 for ac_func in __signbitf
101986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101987 echo "$as_me:$LINENO: checking for $ac_func" >&5
101988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101989 if eval "test \"\${$as_ac_var+set}\" = set"; then
101990 echo $ECHO_N "(cached) $ECHO_C" >&6
101992 if test x$gcc_no_link = xyes; then
101993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101995 { (exit 1); exit 1; }; }
101997 cat >conftest.$ac_ext <<_ACEOF
101998 /* confdefs.h. */
101999 _ACEOF
102000 cat confdefs.h >>conftest.$ac_ext
102001 cat >>conftest.$ac_ext <<_ACEOF
102002 /* end confdefs.h. */
102003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102005 #define $ac_func innocuous_$ac_func
102007 /* System header to define __stub macros and hopefully few prototypes,
102008 which can conflict with char $ac_func (); below.
102009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102010 <limits.h> exists even on freestanding compilers. */
102012 #ifdef __STDC__
102013 # include <limits.h>
102014 #else
102015 # include <assert.h>
102016 #endif
102018 #undef $ac_func
102020 /* Override any gcc2 internal prototype to avoid an error. */
102021 #ifdef __cplusplus
102022 extern "C"
102024 #endif
102025 /* We use char because int might match the return type of a gcc2
102026 builtin and then its argument prototype would still apply. */
102027 char $ac_func ();
102028 /* The GNU C library defines this for functions which it implements
102029 to always fail with ENOSYS. Some functions are actually named
102030 something starting with __ and the normal name is an alias. */
102031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102032 choke me
102033 #else
102034 char (*f) () = $ac_func;
102035 #endif
102036 #ifdef __cplusplus
102038 #endif
102041 main ()
102043 return f != $ac_func;
102045 return 0;
102047 _ACEOF
102048 rm -f conftest.$ac_objext conftest$ac_exeext
102049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102050 (eval $ac_link) 2>conftest.er1
102051 ac_status=$?
102052 grep -v '^ *+' conftest.er1 >conftest.err
102053 rm -f conftest.er1
102054 cat conftest.err >&5
102055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102056 (exit $ac_status); } &&
102057 { ac_try='test -z "$ac_c_werror_flag"
102058 || test ! -s conftest.err'
102059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102060 (eval $ac_try) 2>&5
102061 ac_status=$?
102062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102063 (exit $ac_status); }; } &&
102064 { ac_try='test -s conftest$ac_exeext'
102065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102066 (eval $ac_try) 2>&5
102067 ac_status=$?
102068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102069 (exit $ac_status); }; }; then
102070 eval "$as_ac_var=yes"
102072 echo "$as_me: failed program was:" >&5
102073 sed 's/^/| /' conftest.$ac_ext >&5
102075 eval "$as_ac_var=no"
102077 rm -f conftest.err conftest.$ac_objext \
102078 conftest$ac_exeext conftest.$ac_ext
102080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102082 if test `eval echo '${'$as_ac_var'}'` = yes; then
102083 cat >>confdefs.h <<_ACEOF
102084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102085 _ACEOF
102088 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102093 if test x$ac_cv_func_copysignl = x"yes"; then
102095 for ac_func in __signbitl
102097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102098 echo "$as_me:$LINENO: checking for $ac_func" >&5
102099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102100 if eval "test \"\${$as_ac_var+set}\" = set"; then
102101 echo $ECHO_N "(cached) $ECHO_C" >&6
102103 if test x$gcc_no_link = xyes; then
102104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102106 { (exit 1); exit 1; }; }
102108 cat >conftest.$ac_ext <<_ACEOF
102109 /* confdefs.h. */
102110 _ACEOF
102111 cat confdefs.h >>conftest.$ac_ext
102112 cat >>conftest.$ac_ext <<_ACEOF
102113 /* end confdefs.h. */
102114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102116 #define $ac_func innocuous_$ac_func
102118 /* System header to define __stub macros and hopefully few prototypes,
102119 which can conflict with char $ac_func (); below.
102120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102121 <limits.h> exists even on freestanding compilers. */
102123 #ifdef __STDC__
102124 # include <limits.h>
102125 #else
102126 # include <assert.h>
102127 #endif
102129 #undef $ac_func
102131 /* Override any gcc2 internal prototype to avoid an error. */
102132 #ifdef __cplusplus
102133 extern "C"
102135 #endif
102136 /* We use char because int might match the return type of a gcc2
102137 builtin and then its argument prototype would still apply. */
102138 char $ac_func ();
102139 /* The GNU C library defines this for functions which it implements
102140 to always fail with ENOSYS. Some functions are actually named
102141 something starting with __ and the normal name is an alias. */
102142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102143 choke me
102144 #else
102145 char (*f) () = $ac_func;
102146 #endif
102147 #ifdef __cplusplus
102149 #endif
102152 main ()
102154 return f != $ac_func;
102156 return 0;
102158 _ACEOF
102159 rm -f conftest.$ac_objext conftest$ac_exeext
102160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102161 (eval $ac_link) 2>conftest.er1
102162 ac_status=$?
102163 grep -v '^ *+' conftest.er1 >conftest.err
102164 rm -f conftest.er1
102165 cat conftest.err >&5
102166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102167 (exit $ac_status); } &&
102168 { ac_try='test -z "$ac_c_werror_flag"
102169 || test ! -s conftest.err'
102170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102171 (eval $ac_try) 2>&5
102172 ac_status=$?
102173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102174 (exit $ac_status); }; } &&
102175 { ac_try='test -s conftest$ac_exeext'
102176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102177 (eval $ac_try) 2>&5
102178 ac_status=$?
102179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102180 (exit $ac_status); }; }; then
102181 eval "$as_ac_var=yes"
102183 echo "$as_me: failed program was:" >&5
102184 sed 's/^/| /' conftest.$ac_ext >&5
102186 eval "$as_ac_var=no"
102188 rm -f conftest.err conftest.$ac_objext \
102189 conftest$ac_exeext conftest.$ac_ext
102191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102193 if test `eval echo '${'$as_ac_var'}'` = yes; then
102194 cat >>confdefs.h <<_ACEOF
102195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102196 _ACEOF
102199 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102205 # Used in libmath/Makefile.am.
102206 if test -n "$LIBMATHOBJS"; then
102207 need_libmath=yes
102213 enable_iconv=no
102214 # Only continue checking if the ISO C99 headers exist and support is on.
102215 if test x"$enable_wchar_t" = xyes; then
102217 # Use iconv for wchar_t to char conversions. As such, check for
102218 # X/Open Portability Guide, version 2 features (XPG2).
102219 if test "${ac_cv_header_iconv_h+set}" = set; then
102220 echo "$as_me:$LINENO: checking for iconv.h" >&5
102221 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102222 if test "${ac_cv_header_iconv_h+set}" = set; then
102223 echo $ECHO_N "(cached) $ECHO_C" >&6
102225 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102226 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102228 # Is the header compilable?
102229 echo "$as_me:$LINENO: checking iconv.h usability" >&5
102230 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
102231 cat >conftest.$ac_ext <<_ACEOF
102232 /* confdefs.h. */
102233 _ACEOF
102234 cat confdefs.h >>conftest.$ac_ext
102235 cat >>conftest.$ac_ext <<_ACEOF
102236 /* end confdefs.h. */
102237 $ac_includes_default
102238 #include <iconv.h>
102239 _ACEOF
102240 rm -f conftest.$ac_objext
102241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102242 (eval $ac_compile) 2>conftest.er1
102243 ac_status=$?
102244 grep -v '^ *+' conftest.er1 >conftest.err
102245 rm -f conftest.er1
102246 cat conftest.err >&5
102247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102248 (exit $ac_status); } &&
102249 { ac_try='test -z "$ac_c_werror_flag"
102250 || test ! -s conftest.err'
102251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102252 (eval $ac_try) 2>&5
102253 ac_status=$?
102254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102255 (exit $ac_status); }; } &&
102256 { ac_try='test -s conftest.$ac_objext'
102257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102258 (eval $ac_try) 2>&5
102259 ac_status=$?
102260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102261 (exit $ac_status); }; }; then
102262 ac_header_compiler=yes
102264 echo "$as_me: failed program was:" >&5
102265 sed 's/^/| /' conftest.$ac_ext >&5
102267 ac_header_compiler=no
102269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102271 echo "${ECHO_T}$ac_header_compiler" >&6
102273 # Is the header present?
102274 echo "$as_me:$LINENO: checking iconv.h presence" >&5
102275 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
102276 cat >conftest.$ac_ext <<_ACEOF
102277 /* confdefs.h. */
102278 _ACEOF
102279 cat confdefs.h >>conftest.$ac_ext
102280 cat >>conftest.$ac_ext <<_ACEOF
102281 /* end confdefs.h. */
102282 #include <iconv.h>
102283 _ACEOF
102284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102286 ac_status=$?
102287 grep -v '^ *+' conftest.er1 >conftest.err
102288 rm -f conftest.er1
102289 cat conftest.err >&5
102290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102291 (exit $ac_status); } >/dev/null; then
102292 if test -s conftest.err; then
102293 ac_cpp_err=$ac_c_preproc_warn_flag
102294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102296 ac_cpp_err=
102299 ac_cpp_err=yes
102301 if test -z "$ac_cpp_err"; then
102302 ac_header_preproc=yes
102304 echo "$as_me: failed program was:" >&5
102305 sed 's/^/| /' conftest.$ac_ext >&5
102307 ac_header_preproc=no
102309 rm -f conftest.err conftest.$ac_ext
102310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102311 echo "${ECHO_T}$ac_header_preproc" >&6
102313 # So? What about this header?
102314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102315 yes:no: )
102316 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
102317 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102318 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
102319 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
102320 ac_header_preproc=yes
102322 no:yes:* )
102323 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
102324 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
102325 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
102326 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
102327 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
102328 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
102329 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
102330 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
102331 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
102332 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
102333 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
102334 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
102336 cat <<\_ASBOX
102337 ## ----------------------------------------- ##
102338 ## Report this to the package-unused lists. ##
102339 ## ----------------------------------------- ##
102340 _ASBOX
102342 sed "s/^/$as_me: WARNING: /" >&2
102345 echo "$as_me:$LINENO: checking for iconv.h" >&5
102346 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
102347 if test "${ac_cv_header_iconv_h+set}" = set; then
102348 echo $ECHO_N "(cached) $ECHO_C" >&6
102350 ac_cv_header_iconv_h=$ac_header_preproc
102352 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
102353 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
102356 if test $ac_cv_header_iconv_h = yes; then
102357 ac_has_iconv_h=yes
102359 ac_has_iconv_h=no
102363 if test "${ac_cv_header_langinfo_h+set}" = set; then
102364 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102365 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102366 if test "${ac_cv_header_langinfo_h+set}" = set; then
102367 echo $ECHO_N "(cached) $ECHO_C" >&6
102369 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102370 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102372 # Is the header compilable?
102373 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
102374 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
102375 cat >conftest.$ac_ext <<_ACEOF
102376 /* confdefs.h. */
102377 _ACEOF
102378 cat confdefs.h >>conftest.$ac_ext
102379 cat >>conftest.$ac_ext <<_ACEOF
102380 /* end confdefs.h. */
102381 $ac_includes_default
102382 #include <langinfo.h>
102383 _ACEOF
102384 rm -f conftest.$ac_objext
102385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102386 (eval $ac_compile) 2>conftest.er1
102387 ac_status=$?
102388 grep -v '^ *+' conftest.er1 >conftest.err
102389 rm -f conftest.er1
102390 cat conftest.err >&5
102391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102392 (exit $ac_status); } &&
102393 { ac_try='test -z "$ac_c_werror_flag"
102394 || test ! -s conftest.err'
102395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102396 (eval $ac_try) 2>&5
102397 ac_status=$?
102398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102399 (exit $ac_status); }; } &&
102400 { ac_try='test -s conftest.$ac_objext'
102401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102402 (eval $ac_try) 2>&5
102403 ac_status=$?
102404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102405 (exit $ac_status); }; }; then
102406 ac_header_compiler=yes
102408 echo "$as_me: failed program was:" >&5
102409 sed 's/^/| /' conftest.$ac_ext >&5
102411 ac_header_compiler=no
102413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102415 echo "${ECHO_T}$ac_header_compiler" >&6
102417 # Is the header present?
102418 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
102419 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
102420 cat >conftest.$ac_ext <<_ACEOF
102421 /* confdefs.h. */
102422 _ACEOF
102423 cat confdefs.h >>conftest.$ac_ext
102424 cat >>conftest.$ac_ext <<_ACEOF
102425 /* end confdefs.h. */
102426 #include <langinfo.h>
102427 _ACEOF
102428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102430 ac_status=$?
102431 grep -v '^ *+' conftest.er1 >conftest.err
102432 rm -f conftest.er1
102433 cat conftest.err >&5
102434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102435 (exit $ac_status); } >/dev/null; then
102436 if test -s conftest.err; then
102437 ac_cpp_err=$ac_c_preproc_warn_flag
102438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102440 ac_cpp_err=
102443 ac_cpp_err=yes
102445 if test -z "$ac_cpp_err"; then
102446 ac_header_preproc=yes
102448 echo "$as_me: failed program was:" >&5
102449 sed 's/^/| /' conftest.$ac_ext >&5
102451 ac_header_preproc=no
102453 rm -f conftest.err conftest.$ac_ext
102454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102455 echo "${ECHO_T}$ac_header_preproc" >&6
102457 # So? What about this header?
102458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102459 yes:no: )
102460 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
102461 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
102462 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
102463 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
102464 ac_header_preproc=yes
102466 no:yes:* )
102467 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
102468 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
102469 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
102470 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
102471 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
102472 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
102473 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
102474 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
102475 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
102476 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
102477 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
102478 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
102480 cat <<\_ASBOX
102481 ## ----------------------------------------- ##
102482 ## Report this to the package-unused lists. ##
102483 ## ----------------------------------------- ##
102484 _ASBOX
102486 sed "s/^/$as_me: WARNING: /" >&2
102489 echo "$as_me:$LINENO: checking for langinfo.h" >&5
102490 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
102491 if test "${ac_cv_header_langinfo_h+set}" = set; then
102492 echo $ECHO_N "(cached) $ECHO_C" >&6
102494 ac_cv_header_langinfo_h=$ac_header_preproc
102496 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
102497 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
102500 if test $ac_cv_header_langinfo_h = yes; then
102501 ac_has_langinfo_h=yes
102503 ac_has_langinfo_h=no
102508 # Check for existence of libiconv.a providing XPG2 wchar_t support.
102509 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
102510 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
102511 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
102512 echo $ECHO_N "(cached) $ECHO_C" >&6
102514 ac_check_lib_save_LIBS=$LIBS
102515 LIBS="-liconv $LIBS"
102516 if test x$gcc_no_link = xyes; then
102517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102519 { (exit 1); exit 1; }; }
102521 cat >conftest.$ac_ext <<_ACEOF
102522 /* confdefs.h. */
102523 _ACEOF
102524 cat confdefs.h >>conftest.$ac_ext
102525 cat >>conftest.$ac_ext <<_ACEOF
102526 /* end confdefs.h. */
102528 /* Override any gcc2 internal prototype to avoid an error. */
102529 #ifdef __cplusplus
102530 extern "C"
102531 #endif
102532 /* We use char because int might match the return type of a gcc2
102533 builtin and then its argument prototype would still apply. */
102534 char iconv ();
102536 main ()
102538 iconv ();
102540 return 0;
102542 _ACEOF
102543 rm -f conftest.$ac_objext conftest$ac_exeext
102544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102545 (eval $ac_link) 2>conftest.er1
102546 ac_status=$?
102547 grep -v '^ *+' conftest.er1 >conftest.err
102548 rm -f conftest.er1
102549 cat conftest.err >&5
102550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102551 (exit $ac_status); } &&
102552 { ac_try='test -z "$ac_c_werror_flag"
102553 || test ! -s conftest.err'
102554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102555 (eval $ac_try) 2>&5
102556 ac_status=$?
102557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102558 (exit $ac_status); }; } &&
102559 { ac_try='test -s conftest$ac_exeext'
102560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102561 (eval $ac_try) 2>&5
102562 ac_status=$?
102563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102564 (exit $ac_status); }; }; then
102565 ac_cv_lib_iconv_iconv=yes
102567 echo "$as_me: failed program was:" >&5
102568 sed 's/^/| /' conftest.$ac_ext >&5
102570 ac_cv_lib_iconv_iconv=no
102572 rm -f conftest.err conftest.$ac_objext \
102573 conftest$ac_exeext conftest.$ac_ext
102574 LIBS=$ac_check_lib_save_LIBS
102576 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
102577 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
102578 if test $ac_cv_lib_iconv_iconv = yes; then
102579 LIBICONV="-liconv"
102582 ac_save_LIBS="$LIBS"
102583 LIBS="$LIBS $LIBICONV"
102590 for ac_func in iconv_open iconv_close iconv nl_langinfo
102592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102593 echo "$as_me:$LINENO: checking for $ac_func" >&5
102594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102595 if eval "test \"\${$as_ac_var+set}\" = set"; then
102596 echo $ECHO_N "(cached) $ECHO_C" >&6
102598 if test x$gcc_no_link = xyes; then
102599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102601 { (exit 1); exit 1; }; }
102603 cat >conftest.$ac_ext <<_ACEOF
102604 /* confdefs.h. */
102605 _ACEOF
102606 cat confdefs.h >>conftest.$ac_ext
102607 cat >>conftest.$ac_ext <<_ACEOF
102608 /* end confdefs.h. */
102609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102611 #define $ac_func innocuous_$ac_func
102613 /* System header to define __stub macros and hopefully few prototypes,
102614 which can conflict with char $ac_func (); below.
102615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102616 <limits.h> exists even on freestanding compilers. */
102618 #ifdef __STDC__
102619 # include <limits.h>
102620 #else
102621 # include <assert.h>
102622 #endif
102624 #undef $ac_func
102626 /* Override any gcc2 internal prototype to avoid an error. */
102627 #ifdef __cplusplus
102628 extern "C"
102630 #endif
102631 /* We use char because int might match the return type of a gcc2
102632 builtin and then its argument prototype would still apply. */
102633 char $ac_func ();
102634 /* The GNU C library defines this for functions which it implements
102635 to always fail with ENOSYS. Some functions are actually named
102636 something starting with __ and the normal name is an alias. */
102637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102638 choke me
102639 #else
102640 char (*f) () = $ac_func;
102641 #endif
102642 #ifdef __cplusplus
102644 #endif
102647 main ()
102649 return f != $ac_func;
102651 return 0;
102653 _ACEOF
102654 rm -f conftest.$ac_objext conftest$ac_exeext
102655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102656 (eval $ac_link) 2>conftest.er1
102657 ac_status=$?
102658 grep -v '^ *+' conftest.er1 >conftest.err
102659 rm -f conftest.er1
102660 cat conftest.err >&5
102661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102662 (exit $ac_status); } &&
102663 { ac_try='test -z "$ac_c_werror_flag"
102664 || test ! -s conftest.err'
102665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102666 (eval $ac_try) 2>&5
102667 ac_status=$?
102668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102669 (exit $ac_status); }; } &&
102670 { ac_try='test -s conftest$ac_exeext'
102671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102672 (eval $ac_try) 2>&5
102673 ac_status=$?
102674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102675 (exit $ac_status); }; }; then
102676 eval "$as_ac_var=yes"
102678 echo "$as_me: failed program was:" >&5
102679 sed 's/^/| /' conftest.$ac_ext >&5
102681 eval "$as_ac_var=no"
102683 rm -f conftest.err conftest.$ac_objext \
102684 conftest$ac_exeext conftest.$ac_ext
102686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102688 if test `eval echo '${'$as_ac_var'}'` = yes; then
102689 cat >>confdefs.h <<_ACEOF
102690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102691 _ACEOF
102692 ac_XPG2funcs=yes
102694 ac_XPG2funcs=no
102699 LIBS="$ac_save_LIBS"
102701 if test x"$ac_has_iconv_h" = xyes &&
102702 test x"$ac_has_langinfo_h" = xyes &&
102703 test x"$ac_XPG2funcs" = xyes;
102706 cat >>confdefs.h <<\_ACEOF
102707 #define _GLIBCXX_USE_ICONV 1
102708 _ACEOF
102710 enable_iconv=yes
102713 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
102714 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
102715 echo "$as_me:$LINENO: result: $enable_iconv" >&5
102716 echo "${ECHO_T}$enable_iconv" >&6
102718 cat >>confdefs.h <<\_ACEOF
102719 #define HAVE_COPYSIGN 1
102720 _ACEOF
102722 cat >>confdefs.h <<\_ACEOF
102723 #define HAVE_COPYSIGNF 1
102724 _ACEOF
102726 cat >>confdefs.h <<\_ACEOF
102727 #define HAVE_FINITEF 1
102728 _ACEOF
102730 cat >>confdefs.h <<\_ACEOF
102731 #define HAVE_FINITE 1
102732 _ACEOF
102734 cat >>confdefs.h <<\_ACEOF
102735 #define HAVE_FREXPF 1
102736 _ACEOF
102738 cat >>confdefs.h <<\_ACEOF
102739 #define HAVE_HYPOTF 1
102740 _ACEOF
102742 cat >>confdefs.h <<\_ACEOF
102743 #define HAVE_ISINF 1
102744 _ACEOF
102746 cat >>confdefs.h <<\_ACEOF
102747 #define HAVE_ISINFF 1
102748 _ACEOF
102750 cat >>confdefs.h <<\_ACEOF
102751 #define HAVE_ISNAN 1
102752 _ACEOF
102754 cat >>confdefs.h <<\_ACEOF
102755 #define HAVE_ISNANF 1
102756 _ACEOF
102758 if test x"long_double_math_on_this_cpu" = x"yes"; then
102759 cat >>confdefs.h <<\_ACEOF
102760 #define HAVE_FINITEL 1
102761 _ACEOF
102763 cat >>confdefs.h <<\_ACEOF
102764 #define HAVE_ISINFL 1
102765 _ACEOF
102767 cat >>confdefs.h <<\_ACEOF
102768 #define HAVE_ISNANL 1
102769 _ACEOF
102773 *-netware)
102782 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
102783 sys/types.h locale.h float.h inttypes.h
102785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
102786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102787 echo "$as_me:$LINENO: checking for $ac_header" >&5
102788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102790 echo $ECHO_N "(cached) $ECHO_C" >&6
102792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102795 # Is the header compilable?
102796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
102797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
102798 cat >conftest.$ac_ext <<_ACEOF
102799 /* confdefs.h. */
102800 _ACEOF
102801 cat confdefs.h >>conftest.$ac_ext
102802 cat >>conftest.$ac_ext <<_ACEOF
102803 /* end confdefs.h. */
102804 $ac_includes_default
102805 #include <$ac_header>
102806 _ACEOF
102807 rm -f conftest.$ac_objext
102808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102809 (eval $ac_compile) 2>conftest.er1
102810 ac_status=$?
102811 grep -v '^ *+' conftest.er1 >conftest.err
102812 rm -f conftest.er1
102813 cat conftest.err >&5
102814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102815 (exit $ac_status); } &&
102816 { ac_try='test -z "$ac_c_werror_flag"
102817 || test ! -s conftest.err'
102818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102819 (eval $ac_try) 2>&5
102820 ac_status=$?
102821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102822 (exit $ac_status); }; } &&
102823 { ac_try='test -s conftest.$ac_objext'
102824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102825 (eval $ac_try) 2>&5
102826 ac_status=$?
102827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102828 (exit $ac_status); }; }; then
102829 ac_header_compiler=yes
102831 echo "$as_me: failed program was:" >&5
102832 sed 's/^/| /' conftest.$ac_ext >&5
102834 ac_header_compiler=no
102836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
102838 echo "${ECHO_T}$ac_header_compiler" >&6
102840 # Is the header present?
102841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
102842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
102843 cat >conftest.$ac_ext <<_ACEOF
102844 /* confdefs.h. */
102845 _ACEOF
102846 cat confdefs.h >>conftest.$ac_ext
102847 cat >>conftest.$ac_ext <<_ACEOF
102848 /* end confdefs.h. */
102849 #include <$ac_header>
102850 _ACEOF
102851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
102852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
102853 ac_status=$?
102854 grep -v '^ *+' conftest.er1 >conftest.err
102855 rm -f conftest.er1
102856 cat conftest.err >&5
102857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102858 (exit $ac_status); } >/dev/null; then
102859 if test -s conftest.err; then
102860 ac_cpp_err=$ac_c_preproc_warn_flag
102861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
102863 ac_cpp_err=
102866 ac_cpp_err=yes
102868 if test -z "$ac_cpp_err"; then
102869 ac_header_preproc=yes
102871 echo "$as_me: failed program was:" >&5
102872 sed 's/^/| /' conftest.$ac_ext >&5
102874 ac_header_preproc=no
102876 rm -f conftest.err conftest.$ac_ext
102877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
102878 echo "${ECHO_T}$ac_header_preproc" >&6
102880 # So? What about this header?
102881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
102882 yes:no: )
102883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
102884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
102885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
102886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
102887 ac_header_preproc=yes
102889 no:yes:* )
102890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
102891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
102892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
102893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
102894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
102895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
102896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
102897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
102898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
102899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
102900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
102901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
102903 cat <<\_ASBOX
102904 ## ----------------------------------------- ##
102905 ## Report this to the package-unused lists. ##
102906 ## ----------------------------------------- ##
102907 _ASBOX
102909 sed "s/^/$as_me: WARNING: /" >&2
102912 echo "$as_me:$LINENO: checking for $ac_header" >&5
102913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
102914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
102915 echo $ECHO_N "(cached) $ECHO_C" >&6
102917 eval "$as_ac_Header=\$ac_header_preproc"
102919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
102920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
102923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
102924 cat >>confdefs.h <<_ACEOF
102925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
102926 _ACEOF
102932 SECTION_FLAGS='-ffunction-sections -fdata-sections'
102935 # If we're not using GNU ld, then there's no point in even trying these
102936 # tests. Check for that first. We should have already tested for gld
102937 # by now (in libtool), but require it now just to be safe...
102938 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102939 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102943 # The name set by libtool depends on the version of libtool. Shame on us
102944 # for depending on an impl detail, but c'est la vie. Older versions used
102945 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102946 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102947 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
102948 # set (hence we're using an older libtool), then set it.
102949 if test x${with_gnu_ld+set} != xset; then
102950 if test x${ac_cv_prog_gnu_ld+set} != xset; then
102951 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
102952 with_gnu_ld=no
102954 with_gnu_ld=$ac_cv_prog_gnu_ld
102958 # Start by getting the version number. I think the libtool test already
102959 # does some of this, but throws away the result.
102960 if test x"$with_gnu_ld" = x"yes"; then
102961 echo "$as_me:$LINENO: checking for ld version" >&5
102962 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102964 ldver=`$LD --version 2>/dev/null | head -1 | \
102965 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
102967 glibcxx_gnu_ld_version=`echo $ldver | \
102968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102969 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102970 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102973 # Set --gc-sections.
102974 glibcxx_gcsections_min_ld=21602
102975 if test x"$with_gnu_ld" = x"yes" &&
102976 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102978 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
102979 # NB: This flag only works reliably after 2.16.1. Configure tests
102980 # for this are difficult, so hard wire a value that should work.
102982 ac_test_CFLAGS="${CFLAGS+set}"
102983 ac_save_CFLAGS="$CFLAGS"
102984 CFLAGS='-Wl,--gc-sections'
102986 # Check for -Wl,--gc-sections
102987 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102988 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102989 if test x$gcc_no_link = xyes; then
102990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102992 { (exit 1); exit 1; }; }
102994 cat >conftest.$ac_ext <<_ACEOF
102995 /* confdefs.h. */
102996 _ACEOF
102997 cat confdefs.h >>conftest.$ac_ext
102998 cat >>conftest.$ac_ext <<_ACEOF
102999 /* end confdefs.h. */
103000 int one(void) { return 1; }
103001 int two(void) { return 2; }
103004 main ()
103006 two();
103008 return 0;
103010 _ACEOF
103011 rm -f conftest.$ac_objext conftest$ac_exeext
103012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103013 (eval $ac_link) 2>conftest.er1
103014 ac_status=$?
103015 grep -v '^ *+' conftest.er1 >conftest.err
103016 rm -f conftest.er1
103017 cat conftest.err >&5
103018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103019 (exit $ac_status); } &&
103020 { ac_try='test -z "$ac_c_werror_flag"
103021 || test ! -s conftest.err'
103022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103023 (eval $ac_try) 2>&5
103024 ac_status=$?
103025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103026 (exit $ac_status); }; } &&
103027 { ac_try='test -s conftest$ac_exeext'
103028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103029 (eval $ac_try) 2>&5
103030 ac_status=$?
103031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103032 (exit $ac_status); }; }; then
103033 ac_gcsections=yes
103035 echo "$as_me: failed program was:" >&5
103036 sed 's/^/| /' conftest.$ac_ext >&5
103038 ac_gcsections=no
103040 rm -f conftest.err conftest.$ac_objext \
103041 conftest$ac_exeext conftest.$ac_ext
103042 if test "$ac_gcsections" = "yes"; then
103043 rm -f conftest.c
103044 touch conftest.c
103045 if $CC -c conftest.c; then
103046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103047 grep "Warning: gc-sections option ignored" > /dev/null; then
103048 ac_gcsections=no
103051 rm -f conftest.c conftest.o conftest
103053 if test "$ac_gcsections" = "yes"; then
103054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103056 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103057 echo "${ECHO_T}$ac_gcsections" >&6
103059 if test "$ac_test_CFLAGS" = set; then
103060 CFLAGS="$ac_save_CFLAGS"
103062 # this is the suspicious part
103063 CFLAGS=''
103067 # Set -z,relro.
103068 # Note this is only for shared objects.
103069 ac_ld_relro=no
103070 if test x"$with_gnu_ld" = x"yes"; then
103071 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103072 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103074 if test -n "$cxx_z_relo"; then
103075 OPT_LDFLAGS="-Wl,-z,relro"
103076 ac_ld_relro=yes
103078 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103079 echo "${ECHO_T}$ac_ld_relro" >&6
103082 # Set linker optimization flags.
103083 if test x"$with_gnu_ld" = x"yes"; then
103084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103092 echo "$as_me:$LINENO: checking for main in -lm" >&5
103093 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103094 if test "${ac_cv_lib_m_main+set}" = set; then
103095 echo $ECHO_N "(cached) $ECHO_C" >&6
103097 ac_check_lib_save_LIBS=$LIBS
103098 LIBS="-lm $LIBS"
103099 if test x$gcc_no_link = xyes; then
103100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103102 { (exit 1); exit 1; }; }
103104 cat >conftest.$ac_ext <<_ACEOF
103105 /* confdefs.h. */
103106 _ACEOF
103107 cat confdefs.h >>conftest.$ac_ext
103108 cat >>conftest.$ac_ext <<_ACEOF
103109 /* end confdefs.h. */
103113 main ()
103115 main ();
103117 return 0;
103119 _ACEOF
103120 rm -f conftest.$ac_objext conftest$ac_exeext
103121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103122 (eval $ac_link) 2>conftest.er1
103123 ac_status=$?
103124 grep -v '^ *+' conftest.er1 >conftest.err
103125 rm -f conftest.er1
103126 cat conftest.err >&5
103127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103128 (exit $ac_status); } &&
103129 { ac_try='test -z "$ac_c_werror_flag"
103130 || test ! -s conftest.err'
103131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103132 (eval $ac_try) 2>&5
103133 ac_status=$?
103134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103135 (exit $ac_status); }; } &&
103136 { ac_try='test -s conftest$ac_exeext'
103137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103138 (eval $ac_try) 2>&5
103139 ac_status=$?
103140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103141 (exit $ac_status); }; }; then
103142 ac_cv_lib_m_main=yes
103144 echo "$as_me: failed program was:" >&5
103145 sed 's/^/| /' conftest.$ac_ext >&5
103147 ac_cv_lib_m_main=no
103149 rm -f conftest.err conftest.$ac_objext \
103150 conftest$ac_exeext conftest.$ac_ext
103151 LIBS=$ac_check_lib_save_LIBS
103153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103154 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103155 if test $ac_cv_lib_m_main = yes; then
103156 cat >>confdefs.h <<_ACEOF
103157 #define HAVE_LIBM 1
103158 _ACEOF
103160 LIBS="-lm $LIBS"
103165 for ac_func in copysignf
103167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103168 echo "$as_me:$LINENO: checking for $ac_func" >&5
103169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103170 if eval "test \"\${$as_ac_var+set}\" = set"; then
103171 echo $ECHO_N "(cached) $ECHO_C" >&6
103173 if test x$gcc_no_link = xyes; then
103174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103176 { (exit 1); exit 1; }; }
103178 cat >conftest.$ac_ext <<_ACEOF
103179 /* confdefs.h. */
103180 _ACEOF
103181 cat confdefs.h >>conftest.$ac_ext
103182 cat >>conftest.$ac_ext <<_ACEOF
103183 /* end confdefs.h. */
103184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103186 #define $ac_func innocuous_$ac_func
103188 /* System header to define __stub macros and hopefully few prototypes,
103189 which can conflict with char $ac_func (); below.
103190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103191 <limits.h> exists even on freestanding compilers. */
103193 #ifdef __STDC__
103194 # include <limits.h>
103195 #else
103196 # include <assert.h>
103197 #endif
103199 #undef $ac_func
103201 /* Override any gcc2 internal prototype to avoid an error. */
103202 #ifdef __cplusplus
103203 extern "C"
103205 #endif
103206 /* We use char because int might match the return type of a gcc2
103207 builtin and then its argument prototype would still apply. */
103208 char $ac_func ();
103209 /* The GNU C library defines this for functions which it implements
103210 to always fail with ENOSYS. Some functions are actually named
103211 something starting with __ and the normal name is an alias. */
103212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103213 choke me
103214 #else
103215 char (*f) () = $ac_func;
103216 #endif
103217 #ifdef __cplusplus
103219 #endif
103222 main ()
103224 return f != $ac_func;
103226 return 0;
103228 _ACEOF
103229 rm -f conftest.$ac_objext conftest$ac_exeext
103230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103231 (eval $ac_link) 2>conftest.er1
103232 ac_status=$?
103233 grep -v '^ *+' conftest.er1 >conftest.err
103234 rm -f conftest.er1
103235 cat conftest.err >&5
103236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103237 (exit $ac_status); } &&
103238 { ac_try='test -z "$ac_c_werror_flag"
103239 || test ! -s conftest.err'
103240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103241 (eval $ac_try) 2>&5
103242 ac_status=$?
103243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103244 (exit $ac_status); }; } &&
103245 { ac_try='test -s conftest$ac_exeext'
103246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103247 (eval $ac_try) 2>&5
103248 ac_status=$?
103249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103250 (exit $ac_status); }; }; then
103251 eval "$as_ac_var=yes"
103253 echo "$as_me: failed program was:" >&5
103254 sed 's/^/| /' conftest.$ac_ext >&5
103256 eval "$as_ac_var=no"
103258 rm -f conftest.err conftest.$ac_objext \
103259 conftest$ac_exeext conftest.$ac_ext
103261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103263 if test `eval echo '${'$as_ac_var'}'` = yes; then
103264 cat >>confdefs.h <<_ACEOF
103265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103266 _ACEOF
103269 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103275 for ac_func in __signbit
103277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103278 echo "$as_me:$LINENO: checking for $ac_func" >&5
103279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103280 if eval "test \"\${$as_ac_var+set}\" = set"; then
103281 echo $ECHO_N "(cached) $ECHO_C" >&6
103283 if test x$gcc_no_link = xyes; then
103284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103286 { (exit 1); exit 1; }; }
103288 cat >conftest.$ac_ext <<_ACEOF
103289 /* confdefs.h. */
103290 _ACEOF
103291 cat confdefs.h >>conftest.$ac_ext
103292 cat >>conftest.$ac_ext <<_ACEOF
103293 /* end confdefs.h. */
103294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103296 #define $ac_func innocuous_$ac_func
103298 /* System header to define __stub macros and hopefully few prototypes,
103299 which can conflict with char $ac_func (); below.
103300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103301 <limits.h> exists even on freestanding compilers. */
103303 #ifdef __STDC__
103304 # include <limits.h>
103305 #else
103306 # include <assert.h>
103307 #endif
103309 #undef $ac_func
103311 /* Override any gcc2 internal prototype to avoid an error. */
103312 #ifdef __cplusplus
103313 extern "C"
103315 #endif
103316 /* We use char because int might match the return type of a gcc2
103317 builtin and then its argument prototype would still apply. */
103318 char $ac_func ();
103319 /* The GNU C library defines this for functions which it implements
103320 to always fail with ENOSYS. Some functions are actually named
103321 something starting with __ and the normal name is an alias. */
103322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103323 choke me
103324 #else
103325 char (*f) () = $ac_func;
103326 #endif
103327 #ifdef __cplusplus
103329 #endif
103332 main ()
103334 return f != $ac_func;
103336 return 0;
103338 _ACEOF
103339 rm -f conftest.$ac_objext conftest$ac_exeext
103340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103341 (eval $ac_link) 2>conftest.er1
103342 ac_status=$?
103343 grep -v '^ *+' conftest.er1 >conftest.err
103344 rm -f conftest.er1
103345 cat conftest.err >&5
103346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103347 (exit $ac_status); } &&
103348 { ac_try='test -z "$ac_c_werror_flag"
103349 || test ! -s conftest.err'
103350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103351 (eval $ac_try) 2>&5
103352 ac_status=$?
103353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103354 (exit $ac_status); }; } &&
103355 { ac_try='test -s conftest$ac_exeext'
103356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103357 (eval $ac_try) 2>&5
103358 ac_status=$?
103359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103360 (exit $ac_status); }; }; then
103361 eval "$as_ac_var=yes"
103363 echo "$as_me: failed program was:" >&5
103364 sed 's/^/| /' conftest.$ac_ext >&5
103366 eval "$as_ac_var=no"
103368 rm -f conftest.err conftest.$ac_objext \
103369 conftest$ac_exeext conftest.$ac_ext
103371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103373 if test `eval echo '${'$as_ac_var'}'` = yes; then
103374 cat >>confdefs.h <<_ACEOF
103375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103376 _ACEOF
103379 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103385 for ac_func in __signbitf
103387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103388 echo "$as_me:$LINENO: checking for $ac_func" >&5
103389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103390 if eval "test \"\${$as_ac_var+set}\" = set"; then
103391 echo $ECHO_N "(cached) $ECHO_C" >&6
103393 if test x$gcc_no_link = xyes; then
103394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103396 { (exit 1); exit 1; }; }
103398 cat >conftest.$ac_ext <<_ACEOF
103399 /* confdefs.h. */
103400 _ACEOF
103401 cat confdefs.h >>conftest.$ac_ext
103402 cat >>conftest.$ac_ext <<_ACEOF
103403 /* end confdefs.h. */
103404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103406 #define $ac_func innocuous_$ac_func
103408 /* System header to define __stub macros and hopefully few prototypes,
103409 which can conflict with char $ac_func (); below.
103410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103411 <limits.h> exists even on freestanding compilers. */
103413 #ifdef __STDC__
103414 # include <limits.h>
103415 #else
103416 # include <assert.h>
103417 #endif
103419 #undef $ac_func
103421 /* Override any gcc2 internal prototype to avoid an error. */
103422 #ifdef __cplusplus
103423 extern "C"
103425 #endif
103426 /* We use char because int might match the return type of a gcc2
103427 builtin and then its argument prototype would still apply. */
103428 char $ac_func ();
103429 /* The GNU C library defines this for functions which it implements
103430 to always fail with ENOSYS. Some functions are actually named
103431 something starting with __ and the normal name is an alias. */
103432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103433 choke me
103434 #else
103435 char (*f) () = $ac_func;
103436 #endif
103437 #ifdef __cplusplus
103439 #endif
103442 main ()
103444 return f != $ac_func;
103446 return 0;
103448 _ACEOF
103449 rm -f conftest.$ac_objext conftest$ac_exeext
103450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103451 (eval $ac_link) 2>conftest.er1
103452 ac_status=$?
103453 grep -v '^ *+' conftest.er1 >conftest.err
103454 rm -f conftest.er1
103455 cat conftest.err >&5
103456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103457 (exit $ac_status); } &&
103458 { ac_try='test -z "$ac_c_werror_flag"
103459 || test ! -s conftest.err'
103460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103461 (eval $ac_try) 2>&5
103462 ac_status=$?
103463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103464 (exit $ac_status); }; } &&
103465 { ac_try='test -s conftest$ac_exeext'
103466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103467 (eval $ac_try) 2>&5
103468 ac_status=$?
103469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103470 (exit $ac_status); }; }; then
103471 eval "$as_ac_var=yes"
103473 echo "$as_me: failed program was:" >&5
103474 sed 's/^/| /' conftest.$ac_ext >&5
103476 eval "$as_ac_var=no"
103478 rm -f conftest.err conftest.$ac_objext \
103479 conftest$ac_exeext conftest.$ac_ext
103481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103483 if test `eval echo '${'$as_ac_var'}'` = yes; then
103484 cat >>confdefs.h <<_ACEOF
103485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103486 _ACEOF
103489 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103494 if test x$ac_cv_func_copysignl = x"yes"; then
103496 for ac_func in __signbitl
103498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103499 echo "$as_me:$LINENO: checking for $ac_func" >&5
103500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103501 if eval "test \"\${$as_ac_var+set}\" = set"; then
103502 echo $ECHO_N "(cached) $ECHO_C" >&6
103504 if test x$gcc_no_link = xyes; then
103505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103507 { (exit 1); exit 1; }; }
103509 cat >conftest.$ac_ext <<_ACEOF
103510 /* confdefs.h. */
103511 _ACEOF
103512 cat confdefs.h >>conftest.$ac_ext
103513 cat >>conftest.$ac_ext <<_ACEOF
103514 /* end confdefs.h. */
103515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103517 #define $ac_func innocuous_$ac_func
103519 /* System header to define __stub macros and hopefully few prototypes,
103520 which can conflict with char $ac_func (); below.
103521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103522 <limits.h> exists even on freestanding compilers. */
103524 #ifdef __STDC__
103525 # include <limits.h>
103526 #else
103527 # include <assert.h>
103528 #endif
103530 #undef $ac_func
103532 /* Override any gcc2 internal prototype to avoid an error. */
103533 #ifdef __cplusplus
103534 extern "C"
103536 #endif
103537 /* We use char because int might match the return type of a gcc2
103538 builtin and then its argument prototype would still apply. */
103539 char $ac_func ();
103540 /* The GNU C library defines this for functions which it implements
103541 to always fail with ENOSYS. Some functions are actually named
103542 something starting with __ and the normal name is an alias. */
103543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103544 choke me
103545 #else
103546 char (*f) () = $ac_func;
103547 #endif
103548 #ifdef __cplusplus
103550 #endif
103553 main ()
103555 return f != $ac_func;
103557 return 0;
103559 _ACEOF
103560 rm -f conftest.$ac_objext conftest$ac_exeext
103561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103562 (eval $ac_link) 2>conftest.er1
103563 ac_status=$?
103564 grep -v '^ *+' conftest.er1 >conftest.err
103565 rm -f conftest.er1
103566 cat conftest.err >&5
103567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103568 (exit $ac_status); } &&
103569 { ac_try='test -z "$ac_c_werror_flag"
103570 || test ! -s conftest.err'
103571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103572 (eval $ac_try) 2>&5
103573 ac_status=$?
103574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103575 (exit $ac_status); }; } &&
103576 { ac_try='test -s conftest$ac_exeext'
103577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103578 (eval $ac_try) 2>&5
103579 ac_status=$?
103580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103581 (exit $ac_status); }; }; then
103582 eval "$as_ac_var=yes"
103584 echo "$as_me: failed program was:" >&5
103585 sed 's/^/| /' conftest.$ac_ext >&5
103587 eval "$as_ac_var=no"
103589 rm -f conftest.err conftest.$ac_objext \
103590 conftest$ac_exeext conftest.$ac_ext
103592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103594 if test `eval echo '${'$as_ac_var'}'` = yes; then
103595 cat >>confdefs.h <<_ACEOF
103596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103597 _ACEOF
103600 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103606 # Used in libmath/Makefile.am.
103607 if test -n "$LIBMATHOBJS"; then
103608 need_libmath=yes
103614 enable_iconv=no
103615 # Only continue checking if the ISO C99 headers exist and support is on.
103616 if test x"$enable_wchar_t" = xyes; then
103618 # Use iconv for wchar_t to char conversions. As such, check for
103619 # X/Open Portability Guide, version 2 features (XPG2).
103620 if test "${ac_cv_header_iconv_h+set}" = set; then
103621 echo "$as_me:$LINENO: checking for iconv.h" >&5
103622 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103623 if test "${ac_cv_header_iconv_h+set}" = set; then
103624 echo $ECHO_N "(cached) $ECHO_C" >&6
103626 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103627 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103629 # Is the header compilable?
103630 echo "$as_me:$LINENO: checking iconv.h usability" >&5
103631 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
103632 cat >conftest.$ac_ext <<_ACEOF
103633 /* confdefs.h. */
103634 _ACEOF
103635 cat confdefs.h >>conftest.$ac_ext
103636 cat >>conftest.$ac_ext <<_ACEOF
103637 /* end confdefs.h. */
103638 $ac_includes_default
103639 #include <iconv.h>
103640 _ACEOF
103641 rm -f conftest.$ac_objext
103642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103643 (eval $ac_compile) 2>conftest.er1
103644 ac_status=$?
103645 grep -v '^ *+' conftest.er1 >conftest.err
103646 rm -f conftest.er1
103647 cat conftest.err >&5
103648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103649 (exit $ac_status); } &&
103650 { ac_try='test -z "$ac_c_werror_flag"
103651 || test ! -s conftest.err'
103652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103653 (eval $ac_try) 2>&5
103654 ac_status=$?
103655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103656 (exit $ac_status); }; } &&
103657 { ac_try='test -s conftest.$ac_objext'
103658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103659 (eval $ac_try) 2>&5
103660 ac_status=$?
103661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103662 (exit $ac_status); }; }; then
103663 ac_header_compiler=yes
103665 echo "$as_me: failed program was:" >&5
103666 sed 's/^/| /' conftest.$ac_ext >&5
103668 ac_header_compiler=no
103670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103672 echo "${ECHO_T}$ac_header_compiler" >&6
103674 # Is the header present?
103675 echo "$as_me:$LINENO: checking iconv.h presence" >&5
103676 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
103677 cat >conftest.$ac_ext <<_ACEOF
103678 /* confdefs.h. */
103679 _ACEOF
103680 cat confdefs.h >>conftest.$ac_ext
103681 cat >>conftest.$ac_ext <<_ACEOF
103682 /* end confdefs.h. */
103683 #include <iconv.h>
103684 _ACEOF
103685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103687 ac_status=$?
103688 grep -v '^ *+' conftest.er1 >conftest.err
103689 rm -f conftest.er1
103690 cat conftest.err >&5
103691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103692 (exit $ac_status); } >/dev/null; then
103693 if test -s conftest.err; then
103694 ac_cpp_err=$ac_c_preproc_warn_flag
103695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103697 ac_cpp_err=
103700 ac_cpp_err=yes
103702 if test -z "$ac_cpp_err"; then
103703 ac_header_preproc=yes
103705 echo "$as_me: failed program was:" >&5
103706 sed 's/^/| /' conftest.$ac_ext >&5
103708 ac_header_preproc=no
103710 rm -f conftest.err conftest.$ac_ext
103711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103712 echo "${ECHO_T}$ac_header_preproc" >&6
103714 # So? What about this header?
103715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103716 yes:no: )
103717 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
103718 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103719 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
103720 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
103721 ac_header_preproc=yes
103723 no:yes:* )
103724 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
103725 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
103726 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
103727 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
103728 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
103729 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
103730 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
103731 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
103732 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
103733 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
103734 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
103735 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
103737 cat <<\_ASBOX
103738 ## ----------------------------------------- ##
103739 ## Report this to the package-unused lists. ##
103740 ## ----------------------------------------- ##
103741 _ASBOX
103743 sed "s/^/$as_me: WARNING: /" >&2
103746 echo "$as_me:$LINENO: checking for iconv.h" >&5
103747 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
103748 if test "${ac_cv_header_iconv_h+set}" = set; then
103749 echo $ECHO_N "(cached) $ECHO_C" >&6
103751 ac_cv_header_iconv_h=$ac_header_preproc
103753 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
103754 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
103757 if test $ac_cv_header_iconv_h = yes; then
103758 ac_has_iconv_h=yes
103760 ac_has_iconv_h=no
103764 if test "${ac_cv_header_langinfo_h+set}" = set; then
103765 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103766 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103767 if test "${ac_cv_header_langinfo_h+set}" = set; then
103768 echo $ECHO_N "(cached) $ECHO_C" >&6
103770 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103771 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103773 # Is the header compilable?
103774 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
103775 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
103776 cat >conftest.$ac_ext <<_ACEOF
103777 /* confdefs.h. */
103778 _ACEOF
103779 cat confdefs.h >>conftest.$ac_ext
103780 cat >>conftest.$ac_ext <<_ACEOF
103781 /* end confdefs.h. */
103782 $ac_includes_default
103783 #include <langinfo.h>
103784 _ACEOF
103785 rm -f conftest.$ac_objext
103786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103787 (eval $ac_compile) 2>conftest.er1
103788 ac_status=$?
103789 grep -v '^ *+' conftest.er1 >conftest.err
103790 rm -f conftest.er1
103791 cat conftest.err >&5
103792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103793 (exit $ac_status); } &&
103794 { ac_try='test -z "$ac_c_werror_flag"
103795 || test ! -s conftest.err'
103796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103797 (eval $ac_try) 2>&5
103798 ac_status=$?
103799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800 (exit $ac_status); }; } &&
103801 { ac_try='test -s conftest.$ac_objext'
103802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803 (eval $ac_try) 2>&5
103804 ac_status=$?
103805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806 (exit $ac_status); }; }; then
103807 ac_header_compiler=yes
103809 echo "$as_me: failed program was:" >&5
103810 sed 's/^/| /' conftest.$ac_ext >&5
103812 ac_header_compiler=no
103814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
103816 echo "${ECHO_T}$ac_header_compiler" >&6
103818 # Is the header present?
103819 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
103820 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
103821 cat >conftest.$ac_ext <<_ACEOF
103822 /* confdefs.h. */
103823 _ACEOF
103824 cat confdefs.h >>conftest.$ac_ext
103825 cat >>conftest.$ac_ext <<_ACEOF
103826 /* end confdefs.h. */
103827 #include <langinfo.h>
103828 _ACEOF
103829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
103830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
103831 ac_status=$?
103832 grep -v '^ *+' conftest.er1 >conftest.err
103833 rm -f conftest.er1
103834 cat conftest.err >&5
103835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103836 (exit $ac_status); } >/dev/null; then
103837 if test -s conftest.err; then
103838 ac_cpp_err=$ac_c_preproc_warn_flag
103839 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
103841 ac_cpp_err=
103844 ac_cpp_err=yes
103846 if test -z "$ac_cpp_err"; then
103847 ac_header_preproc=yes
103849 echo "$as_me: failed program was:" >&5
103850 sed 's/^/| /' conftest.$ac_ext >&5
103852 ac_header_preproc=no
103854 rm -f conftest.err conftest.$ac_ext
103855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
103856 echo "${ECHO_T}$ac_header_preproc" >&6
103858 # So? What about this header?
103859 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
103860 yes:no: )
103861 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
103862 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
103863 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
103864 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
103865 ac_header_preproc=yes
103867 no:yes:* )
103868 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
103869 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
103870 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
103871 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
103872 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
103873 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
103874 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
103875 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
103876 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
103877 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
103878 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
103879 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
103881 cat <<\_ASBOX
103882 ## ----------------------------------------- ##
103883 ## Report this to the package-unused lists. ##
103884 ## ----------------------------------------- ##
103885 _ASBOX
103887 sed "s/^/$as_me: WARNING: /" >&2
103890 echo "$as_me:$LINENO: checking for langinfo.h" >&5
103891 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
103892 if test "${ac_cv_header_langinfo_h+set}" = set; then
103893 echo $ECHO_N "(cached) $ECHO_C" >&6
103895 ac_cv_header_langinfo_h=$ac_header_preproc
103897 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
103898 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
103901 if test $ac_cv_header_langinfo_h = yes; then
103902 ac_has_langinfo_h=yes
103904 ac_has_langinfo_h=no
103909 # Check for existence of libiconv.a providing XPG2 wchar_t support.
103910 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
103911 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
103912 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
103913 echo $ECHO_N "(cached) $ECHO_C" >&6
103915 ac_check_lib_save_LIBS=$LIBS
103916 LIBS="-liconv $LIBS"
103917 if test x$gcc_no_link = xyes; then
103918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103920 { (exit 1); exit 1; }; }
103922 cat >conftest.$ac_ext <<_ACEOF
103923 /* confdefs.h. */
103924 _ACEOF
103925 cat confdefs.h >>conftest.$ac_ext
103926 cat >>conftest.$ac_ext <<_ACEOF
103927 /* end confdefs.h. */
103929 /* Override any gcc2 internal prototype to avoid an error. */
103930 #ifdef __cplusplus
103931 extern "C"
103932 #endif
103933 /* We use char because int might match the return type of a gcc2
103934 builtin and then its argument prototype would still apply. */
103935 char iconv ();
103937 main ()
103939 iconv ();
103941 return 0;
103943 _ACEOF
103944 rm -f conftest.$ac_objext conftest$ac_exeext
103945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103946 (eval $ac_link) 2>conftest.er1
103947 ac_status=$?
103948 grep -v '^ *+' conftest.er1 >conftest.err
103949 rm -f conftest.er1
103950 cat conftest.err >&5
103951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103952 (exit $ac_status); } &&
103953 { ac_try='test -z "$ac_c_werror_flag"
103954 || test ! -s conftest.err'
103955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103956 (eval $ac_try) 2>&5
103957 ac_status=$?
103958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103959 (exit $ac_status); }; } &&
103960 { ac_try='test -s conftest$ac_exeext'
103961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103962 (eval $ac_try) 2>&5
103963 ac_status=$?
103964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103965 (exit $ac_status); }; }; then
103966 ac_cv_lib_iconv_iconv=yes
103968 echo "$as_me: failed program was:" >&5
103969 sed 's/^/| /' conftest.$ac_ext >&5
103971 ac_cv_lib_iconv_iconv=no
103973 rm -f conftest.err conftest.$ac_objext \
103974 conftest$ac_exeext conftest.$ac_ext
103975 LIBS=$ac_check_lib_save_LIBS
103977 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
103978 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
103979 if test $ac_cv_lib_iconv_iconv = yes; then
103980 LIBICONV="-liconv"
103983 ac_save_LIBS="$LIBS"
103984 LIBS="$LIBS $LIBICONV"
103991 for ac_func in iconv_open iconv_close iconv nl_langinfo
103993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103994 echo "$as_me:$LINENO: checking for $ac_func" >&5
103995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103996 if eval "test \"\${$as_ac_var+set}\" = set"; then
103997 echo $ECHO_N "(cached) $ECHO_C" >&6
103999 if test x$gcc_no_link = xyes; then
104000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104002 { (exit 1); exit 1; }; }
104004 cat >conftest.$ac_ext <<_ACEOF
104005 /* confdefs.h. */
104006 _ACEOF
104007 cat confdefs.h >>conftest.$ac_ext
104008 cat >>conftest.$ac_ext <<_ACEOF
104009 /* end confdefs.h. */
104010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104012 #define $ac_func innocuous_$ac_func
104014 /* System header to define __stub macros and hopefully few prototypes,
104015 which can conflict with char $ac_func (); below.
104016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104017 <limits.h> exists even on freestanding compilers. */
104019 #ifdef __STDC__
104020 # include <limits.h>
104021 #else
104022 # include <assert.h>
104023 #endif
104025 #undef $ac_func
104027 /* Override any gcc2 internal prototype to avoid an error. */
104028 #ifdef __cplusplus
104029 extern "C"
104031 #endif
104032 /* We use char because int might match the return type of a gcc2
104033 builtin and then its argument prototype would still apply. */
104034 char $ac_func ();
104035 /* The GNU C library defines this for functions which it implements
104036 to always fail with ENOSYS. Some functions are actually named
104037 something starting with __ and the normal name is an alias. */
104038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104039 choke me
104040 #else
104041 char (*f) () = $ac_func;
104042 #endif
104043 #ifdef __cplusplus
104045 #endif
104048 main ()
104050 return f != $ac_func;
104052 return 0;
104054 _ACEOF
104055 rm -f conftest.$ac_objext conftest$ac_exeext
104056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104057 (eval $ac_link) 2>conftest.er1
104058 ac_status=$?
104059 grep -v '^ *+' conftest.er1 >conftest.err
104060 rm -f conftest.er1
104061 cat conftest.err >&5
104062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104063 (exit $ac_status); } &&
104064 { ac_try='test -z "$ac_c_werror_flag"
104065 || test ! -s conftest.err'
104066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104067 (eval $ac_try) 2>&5
104068 ac_status=$?
104069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104070 (exit $ac_status); }; } &&
104071 { ac_try='test -s conftest$ac_exeext'
104072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104073 (eval $ac_try) 2>&5
104074 ac_status=$?
104075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104076 (exit $ac_status); }; }; then
104077 eval "$as_ac_var=yes"
104079 echo "$as_me: failed program was:" >&5
104080 sed 's/^/| /' conftest.$ac_ext >&5
104082 eval "$as_ac_var=no"
104084 rm -f conftest.err conftest.$ac_objext \
104085 conftest$ac_exeext conftest.$ac_ext
104087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104089 if test `eval echo '${'$as_ac_var'}'` = yes; then
104090 cat >>confdefs.h <<_ACEOF
104091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104092 _ACEOF
104093 ac_XPG2funcs=yes
104095 ac_XPG2funcs=no
104100 LIBS="$ac_save_LIBS"
104102 if test x"$ac_has_iconv_h" = xyes &&
104103 test x"$ac_has_langinfo_h" = xyes &&
104104 test x"$ac_XPG2funcs" = xyes;
104107 cat >>confdefs.h <<\_ACEOF
104108 #define _GLIBCXX_USE_ICONV 1
104109 _ACEOF
104111 enable_iconv=yes
104114 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
104115 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
104116 echo "$as_me:$LINENO: result: $enable_iconv" >&5
104117 echo "${ECHO_T}$enable_iconv" >&6
104119 cat >>confdefs.h <<\_ACEOF
104120 #define HAVE_HYPOT 1
104121 _ACEOF
104123 cat >>confdefs.h <<\_ACEOF
104124 #define HAVE_ISINF 1
104125 _ACEOF
104127 cat >>confdefs.h <<\_ACEOF
104128 #define HAVE_ISNAN 1
104129 _ACEOF
104132 # For showmanyc_helper().
104135 for ac_header in sys/ioctl.h sys/filio.h
104137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104139 echo "$as_me:$LINENO: checking for $ac_header" >&5
104140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104142 echo $ECHO_N "(cached) $ECHO_C" >&6
104144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104147 # Is the header compilable?
104148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104150 cat >conftest.$ac_ext <<_ACEOF
104151 /* confdefs.h. */
104152 _ACEOF
104153 cat confdefs.h >>conftest.$ac_ext
104154 cat >>conftest.$ac_ext <<_ACEOF
104155 /* end confdefs.h. */
104156 $ac_includes_default
104157 #include <$ac_header>
104158 _ACEOF
104159 rm -f conftest.$ac_objext
104160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104161 (eval $ac_compile) 2>conftest.er1
104162 ac_status=$?
104163 grep -v '^ *+' conftest.er1 >conftest.err
104164 rm -f conftest.er1
104165 cat conftest.err >&5
104166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104167 (exit $ac_status); } &&
104168 { ac_try='test -z "$ac_c_werror_flag"
104169 || test ! -s conftest.err'
104170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104171 (eval $ac_try) 2>&5
104172 ac_status=$?
104173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104174 (exit $ac_status); }; } &&
104175 { ac_try='test -s conftest.$ac_objext'
104176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104177 (eval $ac_try) 2>&5
104178 ac_status=$?
104179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104180 (exit $ac_status); }; }; then
104181 ac_header_compiler=yes
104183 echo "$as_me: failed program was:" >&5
104184 sed 's/^/| /' conftest.$ac_ext >&5
104186 ac_header_compiler=no
104188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104190 echo "${ECHO_T}$ac_header_compiler" >&6
104192 # Is the header present?
104193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104195 cat >conftest.$ac_ext <<_ACEOF
104196 /* confdefs.h. */
104197 _ACEOF
104198 cat confdefs.h >>conftest.$ac_ext
104199 cat >>conftest.$ac_ext <<_ACEOF
104200 /* end confdefs.h. */
104201 #include <$ac_header>
104202 _ACEOF
104203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104205 ac_status=$?
104206 grep -v '^ *+' conftest.er1 >conftest.err
104207 rm -f conftest.er1
104208 cat conftest.err >&5
104209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104210 (exit $ac_status); } >/dev/null; then
104211 if test -s conftest.err; then
104212 ac_cpp_err=$ac_c_preproc_warn_flag
104213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104215 ac_cpp_err=
104218 ac_cpp_err=yes
104220 if test -z "$ac_cpp_err"; then
104221 ac_header_preproc=yes
104223 echo "$as_me: failed program was:" >&5
104224 sed 's/^/| /' conftest.$ac_ext >&5
104226 ac_header_preproc=no
104228 rm -f conftest.err conftest.$ac_ext
104229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104230 echo "${ECHO_T}$ac_header_preproc" >&6
104232 # So? What about this header?
104233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104234 yes:no: )
104235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104239 ac_header_preproc=yes
104241 no:yes:* )
104242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104255 cat <<\_ASBOX
104256 ## ----------------------------------------- ##
104257 ## Report this to the package-unused lists. ##
104258 ## ----------------------------------------- ##
104259 _ASBOX
104261 sed "s/^/$as_me: WARNING: /" >&2
104264 echo "$as_me:$LINENO: checking for $ac_header" >&5
104265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104267 echo $ECHO_N "(cached) $ECHO_C" >&6
104269 eval "$as_ac_Header=\$ac_header_preproc"
104271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104276 cat >>confdefs.h <<_ACEOF
104277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104278 _ACEOF
104285 echo "$as_me:$LINENO: checking for poll" >&5
104286 echo $ECHO_N "checking for poll... $ECHO_C" >&6
104287 if test "${glibcxx_cv_POLL+set}" = set; then
104288 echo $ECHO_N "(cached) $ECHO_C" >&6
104291 if test x$gcc_no_link = xyes; then
104292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104294 { (exit 1); exit 1; }; }
104296 cat >conftest.$ac_ext <<_ACEOF
104297 /* confdefs.h. */
104298 _ACEOF
104299 cat confdefs.h >>conftest.$ac_ext
104300 cat >>conftest.$ac_ext <<_ACEOF
104301 /* end confdefs.h. */
104302 #include <poll.h>
104304 main ()
104306 struct pollfd pfd[1];
104307 pfd[0].events = POLLIN;
104308 poll(pfd, 1, 0);
104310 return 0;
104312 _ACEOF
104313 rm -f conftest.$ac_objext conftest$ac_exeext
104314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104315 (eval $ac_link) 2>conftest.er1
104316 ac_status=$?
104317 grep -v '^ *+' conftest.er1 >conftest.err
104318 rm -f conftest.er1
104319 cat conftest.err >&5
104320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104321 (exit $ac_status); } &&
104322 { ac_try='test -z "$ac_c_werror_flag"
104323 || test ! -s conftest.err'
104324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104325 (eval $ac_try) 2>&5
104326 ac_status=$?
104327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104328 (exit $ac_status); }; } &&
104329 { ac_try='test -s conftest$ac_exeext'
104330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104331 (eval $ac_try) 2>&5
104332 ac_status=$?
104333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104334 (exit $ac_status); }; }; then
104335 glibcxx_cv_POLL=yes
104337 echo "$as_me: failed program was:" >&5
104338 sed 's/^/| /' conftest.$ac_ext >&5
104340 glibcxx_cv_POLL=no
104342 rm -f conftest.err conftest.$ac_objext \
104343 conftest$ac_exeext conftest.$ac_ext
104347 if test $glibcxx_cv_POLL = yes; then
104349 cat >>confdefs.h <<\_ACEOF
104350 #define HAVE_POLL 1
104351 _ACEOF
104354 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
104355 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
104358 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
104359 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
104360 if test "${glibcxx_cv_S_ISREG+set}" = set; then
104361 echo $ECHO_N "(cached) $ECHO_C" >&6
104364 if test x$gcc_no_link = xyes; then
104365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104367 { (exit 1); exit 1; }; }
104369 cat >conftest.$ac_ext <<_ACEOF
104370 /* confdefs.h. */
104371 _ACEOF
104372 cat confdefs.h >>conftest.$ac_ext
104373 cat >>conftest.$ac_ext <<_ACEOF
104374 /* end confdefs.h. */
104375 #include <sys/stat.h>
104377 main ()
104379 struct stat buffer;
104380 fstat(0, &buffer);
104381 S_ISREG(buffer.st_mode);
104383 return 0;
104385 _ACEOF
104386 rm -f conftest.$ac_objext conftest$ac_exeext
104387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104388 (eval $ac_link) 2>conftest.er1
104389 ac_status=$?
104390 grep -v '^ *+' conftest.er1 >conftest.err
104391 rm -f conftest.er1
104392 cat conftest.err >&5
104393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104394 (exit $ac_status); } &&
104395 { ac_try='test -z "$ac_c_werror_flag"
104396 || test ! -s conftest.err'
104397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104398 (eval $ac_try) 2>&5
104399 ac_status=$?
104400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104401 (exit $ac_status); }; } &&
104402 { ac_try='test -s conftest$ac_exeext'
104403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104404 (eval $ac_try) 2>&5
104405 ac_status=$?
104406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104407 (exit $ac_status); }; }; then
104408 glibcxx_cv_S_ISREG=yes
104410 echo "$as_me: failed program was:" >&5
104411 sed 's/^/| /' conftest.$ac_ext >&5
104413 glibcxx_cv_S_ISREG=no
104415 rm -f conftest.err conftest.$ac_objext \
104416 conftest$ac_exeext conftest.$ac_ext
104420 if test "${glibcxx_cv_S_IFREG+set}" = set; then
104421 echo $ECHO_N "(cached) $ECHO_C" >&6
104424 if test x$gcc_no_link = xyes; then
104425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104427 { (exit 1); exit 1; }; }
104429 cat >conftest.$ac_ext <<_ACEOF
104430 /* confdefs.h. */
104431 _ACEOF
104432 cat confdefs.h >>conftest.$ac_ext
104433 cat >>conftest.$ac_ext <<_ACEOF
104434 /* end confdefs.h. */
104435 #include <sys/stat.h>
104437 main ()
104439 struct stat buffer;
104440 fstat(0, &buffer);
104441 S_IFREG & buffer.st_mode;
104443 return 0;
104445 _ACEOF
104446 rm -f conftest.$ac_objext conftest$ac_exeext
104447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104448 (eval $ac_link) 2>conftest.er1
104449 ac_status=$?
104450 grep -v '^ *+' conftest.er1 >conftest.err
104451 rm -f conftest.er1
104452 cat conftest.err >&5
104453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104454 (exit $ac_status); } &&
104455 { ac_try='test -z "$ac_c_werror_flag"
104456 || test ! -s conftest.err'
104457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104458 (eval $ac_try) 2>&5
104459 ac_status=$?
104460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104461 (exit $ac_status); }; } &&
104462 { ac_try='test -s conftest$ac_exeext'
104463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104464 (eval $ac_try) 2>&5
104465 ac_status=$?
104466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104467 (exit $ac_status); }; }; then
104468 glibcxx_cv_S_IFREG=yes
104470 echo "$as_me: failed program was:" >&5
104471 sed 's/^/| /' conftest.$ac_ext >&5
104473 glibcxx_cv_S_IFREG=no
104475 rm -f conftest.err conftest.$ac_objext \
104476 conftest$ac_exeext conftest.$ac_ext
104480 res=no
104481 if test $glibcxx_cv_S_ISREG = yes; then
104483 cat >>confdefs.h <<\_ACEOF
104484 #define HAVE_S_ISREG 1
104485 _ACEOF
104487 res=S_ISREG
104488 elif test $glibcxx_cv_S_IFREG = yes; then
104490 cat >>confdefs.h <<\_ACEOF
104491 #define HAVE_S_IFREG 1
104492 _ACEOF
104494 res=S_IFREG
104496 echo "$as_me:$LINENO: result: $res" >&5
104497 echo "${ECHO_T}$res" >&6
104500 # For xsputn_2().
104502 for ac_header in sys/uio.h
104504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
104505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104506 echo "$as_me:$LINENO: checking for $ac_header" >&5
104507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104509 echo $ECHO_N "(cached) $ECHO_C" >&6
104511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104514 # Is the header compilable?
104515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
104516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
104517 cat >conftest.$ac_ext <<_ACEOF
104518 /* confdefs.h. */
104519 _ACEOF
104520 cat confdefs.h >>conftest.$ac_ext
104521 cat >>conftest.$ac_ext <<_ACEOF
104522 /* end confdefs.h. */
104523 $ac_includes_default
104524 #include <$ac_header>
104525 _ACEOF
104526 rm -f conftest.$ac_objext
104527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104528 (eval $ac_compile) 2>conftest.er1
104529 ac_status=$?
104530 grep -v '^ *+' conftest.er1 >conftest.err
104531 rm -f conftest.er1
104532 cat conftest.err >&5
104533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104534 (exit $ac_status); } &&
104535 { ac_try='test -z "$ac_c_werror_flag"
104536 || test ! -s conftest.err'
104537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104538 (eval $ac_try) 2>&5
104539 ac_status=$?
104540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104541 (exit $ac_status); }; } &&
104542 { ac_try='test -s conftest.$ac_objext'
104543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104544 (eval $ac_try) 2>&5
104545 ac_status=$?
104546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104547 (exit $ac_status); }; }; then
104548 ac_header_compiler=yes
104550 echo "$as_me: failed program was:" >&5
104551 sed 's/^/| /' conftest.$ac_ext >&5
104553 ac_header_compiler=no
104555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
104557 echo "${ECHO_T}$ac_header_compiler" >&6
104559 # Is the header present?
104560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
104561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
104562 cat >conftest.$ac_ext <<_ACEOF
104563 /* confdefs.h. */
104564 _ACEOF
104565 cat confdefs.h >>conftest.$ac_ext
104566 cat >>conftest.$ac_ext <<_ACEOF
104567 /* end confdefs.h. */
104568 #include <$ac_header>
104569 _ACEOF
104570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
104571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
104572 ac_status=$?
104573 grep -v '^ *+' conftest.er1 >conftest.err
104574 rm -f conftest.er1
104575 cat conftest.err >&5
104576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104577 (exit $ac_status); } >/dev/null; then
104578 if test -s conftest.err; then
104579 ac_cpp_err=$ac_c_preproc_warn_flag
104580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
104582 ac_cpp_err=
104585 ac_cpp_err=yes
104587 if test -z "$ac_cpp_err"; then
104588 ac_header_preproc=yes
104590 echo "$as_me: failed program was:" >&5
104591 sed 's/^/| /' conftest.$ac_ext >&5
104593 ac_header_preproc=no
104595 rm -f conftest.err conftest.$ac_ext
104596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
104597 echo "${ECHO_T}$ac_header_preproc" >&6
104599 # So? What about this header?
104600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
104601 yes:no: )
104602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
104603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
104604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
104605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
104606 ac_header_preproc=yes
104608 no:yes:* )
104609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
104610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
104611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
104612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
104613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
104614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
104615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
104616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
104617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
104618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
104619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
104620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
104622 cat <<\_ASBOX
104623 ## ----------------------------------------- ##
104624 ## Report this to the package-unused lists. ##
104625 ## ----------------------------------------- ##
104626 _ASBOX
104628 sed "s/^/$as_me: WARNING: /" >&2
104631 echo "$as_me:$LINENO: checking for $ac_header" >&5
104632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
104633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
104634 echo $ECHO_N "(cached) $ECHO_C" >&6
104636 eval "$as_ac_Header=\$ac_header_preproc"
104638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
104639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
104642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
104643 cat >>confdefs.h <<_ACEOF
104644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
104645 _ACEOF
104652 echo "$as_me:$LINENO: checking for writev" >&5
104653 echo $ECHO_N "checking for writev... $ECHO_C" >&6
104654 if test "${glibcxx_cv_WRITEV+set}" = set; then
104655 echo $ECHO_N "(cached) $ECHO_C" >&6
104658 if test x$gcc_no_link = xyes; then
104659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104661 { (exit 1); exit 1; }; }
104663 cat >conftest.$ac_ext <<_ACEOF
104664 /* confdefs.h. */
104665 _ACEOF
104666 cat confdefs.h >>conftest.$ac_ext
104667 cat >>conftest.$ac_ext <<_ACEOF
104668 /* end confdefs.h. */
104669 #include <sys/uio.h>
104671 main ()
104673 struct iovec iov[2];
104674 writev(0, iov, 0);
104676 return 0;
104678 _ACEOF
104679 rm -f conftest.$ac_objext conftest$ac_exeext
104680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104681 (eval $ac_link) 2>conftest.er1
104682 ac_status=$?
104683 grep -v '^ *+' conftest.er1 >conftest.err
104684 rm -f conftest.er1
104685 cat conftest.err >&5
104686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104687 (exit $ac_status); } &&
104688 { ac_try='test -z "$ac_c_werror_flag"
104689 || test ! -s conftest.err'
104690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104691 (eval $ac_try) 2>&5
104692 ac_status=$?
104693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104694 (exit $ac_status); }; } &&
104695 { ac_try='test -s conftest$ac_exeext'
104696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104697 (eval $ac_try) 2>&5
104698 ac_status=$?
104699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104700 (exit $ac_status); }; }; then
104701 glibcxx_cv_WRITEV=yes
104703 echo "$as_me: failed program was:" >&5
104704 sed 's/^/| /' conftest.$ac_ext >&5
104706 glibcxx_cv_WRITEV=no
104708 rm -f conftest.err conftest.$ac_objext \
104709 conftest$ac_exeext conftest.$ac_ext
104713 if test $glibcxx_cv_WRITEV = yes; then
104715 cat >>confdefs.h <<\_ACEOF
104716 #define HAVE_WRITEV 1
104717 _ACEOF
104720 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
104721 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
104724 *-qnx6.1* | *-qnx6.2*)
104725 SECTION_FLAGS='-ffunction-sections -fdata-sections'
104728 # If we're not using GNU ld, then there's no point in even trying these
104729 # tests. Check for that first. We should have already tested for gld
104730 # by now (in libtool), but require it now just to be safe...
104731 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104732 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104736 # The name set by libtool depends on the version of libtool. Shame on us
104737 # for depending on an impl detail, but c'est la vie. Older versions used
104738 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104739 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104740 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
104741 # set (hence we're using an older libtool), then set it.
104742 if test x${with_gnu_ld+set} != xset; then
104743 if test x${ac_cv_prog_gnu_ld+set} != xset; then
104744 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
104745 with_gnu_ld=no
104747 with_gnu_ld=$ac_cv_prog_gnu_ld
104751 # Start by getting the version number. I think the libtool test already
104752 # does some of this, but throws away the result.
104753 if test x"$with_gnu_ld" = x"yes"; then
104754 echo "$as_me:$LINENO: checking for ld version" >&5
104755 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104757 ldver=`$LD --version 2>/dev/null | head -1 | \
104758 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
104760 glibcxx_gnu_ld_version=`echo $ldver | \
104761 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104762 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104763 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104766 # Set --gc-sections.
104767 glibcxx_gcsections_min_ld=21602
104768 if test x"$with_gnu_ld" = x"yes" &&
104769 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104771 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
104772 # NB: This flag only works reliably after 2.16.1. Configure tests
104773 # for this are difficult, so hard wire a value that should work.
104775 ac_test_CFLAGS="${CFLAGS+set}"
104776 ac_save_CFLAGS="$CFLAGS"
104777 CFLAGS='-Wl,--gc-sections'
104779 # Check for -Wl,--gc-sections
104780 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104781 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
104782 if test x$gcc_no_link = xyes; then
104783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104785 { (exit 1); exit 1; }; }
104787 cat >conftest.$ac_ext <<_ACEOF
104788 /* confdefs.h. */
104789 _ACEOF
104790 cat confdefs.h >>conftest.$ac_ext
104791 cat >>conftest.$ac_ext <<_ACEOF
104792 /* end confdefs.h. */
104793 int one(void) { return 1; }
104794 int two(void) { return 2; }
104797 main ()
104799 two();
104801 return 0;
104803 _ACEOF
104804 rm -f conftest.$ac_objext conftest$ac_exeext
104805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104806 (eval $ac_link) 2>conftest.er1
104807 ac_status=$?
104808 grep -v '^ *+' conftest.er1 >conftest.err
104809 rm -f conftest.er1
104810 cat conftest.err >&5
104811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104812 (exit $ac_status); } &&
104813 { ac_try='test -z "$ac_c_werror_flag"
104814 || test ! -s conftest.err'
104815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104816 (eval $ac_try) 2>&5
104817 ac_status=$?
104818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104819 (exit $ac_status); }; } &&
104820 { ac_try='test -s conftest$ac_exeext'
104821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104822 (eval $ac_try) 2>&5
104823 ac_status=$?
104824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104825 (exit $ac_status); }; }; then
104826 ac_gcsections=yes
104828 echo "$as_me: failed program was:" >&5
104829 sed 's/^/| /' conftest.$ac_ext >&5
104831 ac_gcsections=no
104833 rm -f conftest.err conftest.$ac_objext \
104834 conftest$ac_exeext conftest.$ac_ext
104835 if test "$ac_gcsections" = "yes"; then
104836 rm -f conftest.c
104837 touch conftest.c
104838 if $CC -c conftest.c; then
104839 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104840 grep "Warning: gc-sections option ignored" > /dev/null; then
104841 ac_gcsections=no
104844 rm -f conftest.c conftest.o conftest
104846 if test "$ac_gcsections" = "yes"; then
104847 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104849 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104850 echo "${ECHO_T}$ac_gcsections" >&6
104852 if test "$ac_test_CFLAGS" = set; then
104853 CFLAGS="$ac_save_CFLAGS"
104855 # this is the suspicious part
104856 CFLAGS=''
104860 # Set -z,relro.
104861 # Note this is only for shared objects.
104862 ac_ld_relro=no
104863 if test x"$with_gnu_ld" = x"yes"; then
104864 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104865 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
104866 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104867 if test -n "$cxx_z_relo"; then
104868 OPT_LDFLAGS="-Wl,-z,relro"
104869 ac_ld_relro=yes
104871 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104872 echo "${ECHO_T}$ac_ld_relro" >&6
104875 # Set linker optimization flags.
104876 if test x"$with_gnu_ld" = x"yes"; then
104877 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104885 echo "$as_me:$LINENO: checking for main in -lm" >&5
104886 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
104887 if test "${ac_cv_lib_m_main+set}" = set; then
104888 echo $ECHO_N "(cached) $ECHO_C" >&6
104890 ac_check_lib_save_LIBS=$LIBS
104891 LIBS="-lm $LIBS"
104892 if test x$gcc_no_link = xyes; then
104893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104895 { (exit 1); exit 1; }; }
104897 cat >conftest.$ac_ext <<_ACEOF
104898 /* confdefs.h. */
104899 _ACEOF
104900 cat confdefs.h >>conftest.$ac_ext
104901 cat >>conftest.$ac_ext <<_ACEOF
104902 /* end confdefs.h. */
104906 main ()
104908 main ();
104910 return 0;
104912 _ACEOF
104913 rm -f conftest.$ac_objext conftest$ac_exeext
104914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104915 (eval $ac_link) 2>conftest.er1
104916 ac_status=$?
104917 grep -v '^ *+' conftest.er1 >conftest.err
104918 rm -f conftest.er1
104919 cat conftest.err >&5
104920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104921 (exit $ac_status); } &&
104922 { ac_try='test -z "$ac_c_werror_flag"
104923 || test ! -s conftest.err'
104924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104925 (eval $ac_try) 2>&5
104926 ac_status=$?
104927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104928 (exit $ac_status); }; } &&
104929 { ac_try='test -s conftest$ac_exeext'
104930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104931 (eval $ac_try) 2>&5
104932 ac_status=$?
104933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104934 (exit $ac_status); }; }; then
104935 ac_cv_lib_m_main=yes
104937 echo "$as_me: failed program was:" >&5
104938 sed 's/^/| /' conftest.$ac_ext >&5
104940 ac_cv_lib_m_main=no
104942 rm -f conftest.err conftest.$ac_objext \
104943 conftest$ac_exeext conftest.$ac_ext
104944 LIBS=$ac_check_lib_save_LIBS
104946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104947 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
104948 if test $ac_cv_lib_m_main = yes; then
104949 cat >>confdefs.h <<_ACEOF
104950 #define HAVE_LIBM 1
104951 _ACEOF
104953 LIBS="-lm $LIBS"
104958 for ac_func in copysignf
104960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104961 echo "$as_me:$LINENO: checking for $ac_func" >&5
104962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104963 if eval "test \"\${$as_ac_var+set}\" = set"; then
104964 echo $ECHO_N "(cached) $ECHO_C" >&6
104966 if test x$gcc_no_link = xyes; then
104967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104969 { (exit 1); exit 1; }; }
104971 cat >conftest.$ac_ext <<_ACEOF
104972 /* confdefs.h. */
104973 _ACEOF
104974 cat confdefs.h >>conftest.$ac_ext
104975 cat >>conftest.$ac_ext <<_ACEOF
104976 /* end confdefs.h. */
104977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104979 #define $ac_func innocuous_$ac_func
104981 /* System header to define __stub macros and hopefully few prototypes,
104982 which can conflict with char $ac_func (); below.
104983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104984 <limits.h> exists even on freestanding compilers. */
104986 #ifdef __STDC__
104987 # include <limits.h>
104988 #else
104989 # include <assert.h>
104990 #endif
104992 #undef $ac_func
104994 /* Override any gcc2 internal prototype to avoid an error. */
104995 #ifdef __cplusplus
104996 extern "C"
104998 #endif
104999 /* We use char because int might match the return type of a gcc2
105000 builtin and then its argument prototype would still apply. */
105001 char $ac_func ();
105002 /* The GNU C library defines this for functions which it implements
105003 to always fail with ENOSYS. Some functions are actually named
105004 something starting with __ and the normal name is an alias. */
105005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105006 choke me
105007 #else
105008 char (*f) () = $ac_func;
105009 #endif
105010 #ifdef __cplusplus
105012 #endif
105015 main ()
105017 return f != $ac_func;
105019 return 0;
105021 _ACEOF
105022 rm -f conftest.$ac_objext conftest$ac_exeext
105023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105024 (eval $ac_link) 2>conftest.er1
105025 ac_status=$?
105026 grep -v '^ *+' conftest.er1 >conftest.err
105027 rm -f conftest.er1
105028 cat conftest.err >&5
105029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105030 (exit $ac_status); } &&
105031 { ac_try='test -z "$ac_c_werror_flag"
105032 || test ! -s conftest.err'
105033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105034 (eval $ac_try) 2>&5
105035 ac_status=$?
105036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105037 (exit $ac_status); }; } &&
105038 { ac_try='test -s conftest$ac_exeext'
105039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105040 (eval $ac_try) 2>&5
105041 ac_status=$?
105042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043 (exit $ac_status); }; }; then
105044 eval "$as_ac_var=yes"
105046 echo "$as_me: failed program was:" >&5
105047 sed 's/^/| /' conftest.$ac_ext >&5
105049 eval "$as_ac_var=no"
105051 rm -f conftest.err conftest.$ac_objext \
105052 conftest$ac_exeext conftest.$ac_ext
105054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105056 if test `eval echo '${'$as_ac_var'}'` = yes; then
105057 cat >>confdefs.h <<_ACEOF
105058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105059 _ACEOF
105062 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
105068 for ac_func in __signbit
105070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105071 echo "$as_me:$LINENO: checking for $ac_func" >&5
105072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105073 if eval "test \"\${$as_ac_var+set}\" = set"; then
105074 echo $ECHO_N "(cached) $ECHO_C" >&6
105076 if test x$gcc_no_link = xyes; then
105077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105079 { (exit 1); exit 1; }; }
105081 cat >conftest.$ac_ext <<_ACEOF
105082 /* confdefs.h. */
105083 _ACEOF
105084 cat confdefs.h >>conftest.$ac_ext
105085 cat >>conftest.$ac_ext <<_ACEOF
105086 /* end confdefs.h. */
105087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105089 #define $ac_func innocuous_$ac_func
105091 /* System header to define __stub macros and hopefully few prototypes,
105092 which can conflict with char $ac_func (); below.
105093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105094 <limits.h> exists even on freestanding compilers. */
105096 #ifdef __STDC__
105097 # include <limits.h>
105098 #else
105099 # include <assert.h>
105100 #endif
105102 #undef $ac_func
105104 /* Override any gcc2 internal prototype to avoid an error. */
105105 #ifdef __cplusplus
105106 extern "C"
105108 #endif
105109 /* We use char because int might match the return type of a gcc2
105110 builtin and then its argument prototype would still apply. */
105111 char $ac_func ();
105112 /* The GNU C library defines this for functions which it implements
105113 to always fail with ENOSYS. Some functions are actually named
105114 something starting with __ and the normal name is an alias. */
105115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105116 choke me
105117 #else
105118 char (*f) () = $ac_func;
105119 #endif
105120 #ifdef __cplusplus
105122 #endif
105125 main ()
105127 return f != $ac_func;
105129 return 0;
105131 _ACEOF
105132 rm -f conftest.$ac_objext conftest$ac_exeext
105133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105134 (eval $ac_link) 2>conftest.er1
105135 ac_status=$?
105136 grep -v '^ *+' conftest.er1 >conftest.err
105137 rm -f conftest.er1
105138 cat conftest.err >&5
105139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105140 (exit $ac_status); } &&
105141 { ac_try='test -z "$ac_c_werror_flag"
105142 || test ! -s conftest.err'
105143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105144 (eval $ac_try) 2>&5
105145 ac_status=$?
105146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105147 (exit $ac_status); }; } &&
105148 { ac_try='test -s conftest$ac_exeext'
105149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105150 (eval $ac_try) 2>&5
105151 ac_status=$?
105152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105153 (exit $ac_status); }; }; then
105154 eval "$as_ac_var=yes"
105156 echo "$as_me: failed program was:" >&5
105157 sed 's/^/| /' conftest.$ac_ext >&5
105159 eval "$as_ac_var=no"
105161 rm -f conftest.err conftest.$ac_objext \
105162 conftest$ac_exeext conftest.$ac_ext
105164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105166 if test `eval echo '${'$as_ac_var'}'` = yes; then
105167 cat >>confdefs.h <<_ACEOF
105168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105169 _ACEOF
105172 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
105178 for ac_func in __signbitf
105180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105181 echo "$as_me:$LINENO: checking for $ac_func" >&5
105182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105183 if eval "test \"\${$as_ac_var+set}\" = set"; then
105184 echo $ECHO_N "(cached) $ECHO_C" >&6
105186 if test x$gcc_no_link = xyes; then
105187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105189 { (exit 1); exit 1; }; }
105191 cat >conftest.$ac_ext <<_ACEOF
105192 /* confdefs.h. */
105193 _ACEOF
105194 cat confdefs.h >>conftest.$ac_ext
105195 cat >>conftest.$ac_ext <<_ACEOF
105196 /* end confdefs.h. */
105197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105199 #define $ac_func innocuous_$ac_func
105201 /* System header to define __stub macros and hopefully few prototypes,
105202 which can conflict with char $ac_func (); below.
105203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105204 <limits.h> exists even on freestanding compilers. */
105206 #ifdef __STDC__
105207 # include <limits.h>
105208 #else
105209 # include <assert.h>
105210 #endif
105212 #undef $ac_func
105214 /* Override any gcc2 internal prototype to avoid an error. */
105215 #ifdef __cplusplus
105216 extern "C"
105218 #endif
105219 /* We use char because int might match the return type of a gcc2
105220 builtin and then its argument prototype would still apply. */
105221 char $ac_func ();
105222 /* The GNU C library defines this for functions which it implements
105223 to always fail with ENOSYS. Some functions are actually named
105224 something starting with __ and the normal name is an alias. */
105225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105226 choke me
105227 #else
105228 char (*f) () = $ac_func;
105229 #endif
105230 #ifdef __cplusplus
105232 #endif
105235 main ()
105237 return f != $ac_func;
105239 return 0;
105241 _ACEOF
105242 rm -f conftest.$ac_objext conftest$ac_exeext
105243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105244 (eval $ac_link) 2>conftest.er1
105245 ac_status=$?
105246 grep -v '^ *+' conftest.er1 >conftest.err
105247 rm -f conftest.er1
105248 cat conftest.err >&5
105249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105250 (exit $ac_status); } &&
105251 { ac_try='test -z "$ac_c_werror_flag"
105252 || test ! -s conftest.err'
105253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105254 (eval $ac_try) 2>&5
105255 ac_status=$?
105256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105257 (exit $ac_status); }; } &&
105258 { ac_try='test -s conftest$ac_exeext'
105259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105260 (eval $ac_try) 2>&5
105261 ac_status=$?
105262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105263 (exit $ac_status); }; }; then
105264 eval "$as_ac_var=yes"
105266 echo "$as_me: failed program was:" >&5
105267 sed 's/^/| /' conftest.$ac_ext >&5
105269 eval "$as_ac_var=no"
105271 rm -f conftest.err conftest.$ac_objext \
105272 conftest$ac_exeext conftest.$ac_ext
105274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105276 if test `eval echo '${'$as_ac_var'}'` = yes; then
105277 cat >>confdefs.h <<_ACEOF
105278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105279 _ACEOF
105282 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
105287 if test x$ac_cv_func_copysignl = x"yes"; then
105289 for ac_func in __signbitl
105291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105292 echo "$as_me:$LINENO: checking for $ac_func" >&5
105293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105294 if eval "test \"\${$as_ac_var+set}\" = set"; then
105295 echo $ECHO_N "(cached) $ECHO_C" >&6
105297 if test x$gcc_no_link = xyes; then
105298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105300 { (exit 1); exit 1; }; }
105302 cat >conftest.$ac_ext <<_ACEOF
105303 /* confdefs.h. */
105304 _ACEOF
105305 cat confdefs.h >>conftest.$ac_ext
105306 cat >>conftest.$ac_ext <<_ACEOF
105307 /* end confdefs.h. */
105308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105310 #define $ac_func innocuous_$ac_func
105312 /* System header to define __stub macros and hopefully few prototypes,
105313 which can conflict with char $ac_func (); below.
105314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105315 <limits.h> exists even on freestanding compilers. */
105317 #ifdef __STDC__
105318 # include <limits.h>
105319 #else
105320 # include <assert.h>
105321 #endif
105323 #undef $ac_func
105325 /* Override any gcc2 internal prototype to avoid an error. */
105326 #ifdef __cplusplus
105327 extern "C"
105329 #endif
105330 /* We use char because int might match the return type of a gcc2
105331 builtin and then its argument prototype would still apply. */
105332 char $ac_func ();
105333 /* The GNU C library defines this for functions which it implements
105334 to always fail with ENOSYS. Some functions are actually named
105335 something starting with __ and the normal name is an alias. */
105336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105337 choke me
105338 #else
105339 char (*f) () = $ac_func;
105340 #endif
105341 #ifdef __cplusplus
105343 #endif
105346 main ()
105348 return f != $ac_func;
105350 return 0;
105352 _ACEOF
105353 rm -f conftest.$ac_objext conftest$ac_exeext
105354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105355 (eval $ac_link) 2>conftest.er1
105356 ac_status=$?
105357 grep -v '^ *+' conftest.er1 >conftest.err
105358 rm -f conftest.er1
105359 cat conftest.err >&5
105360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105361 (exit $ac_status); } &&
105362 { ac_try='test -z "$ac_c_werror_flag"
105363 || test ! -s conftest.err'
105364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105365 (eval $ac_try) 2>&5
105366 ac_status=$?
105367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105368 (exit $ac_status); }; } &&
105369 { ac_try='test -s conftest$ac_exeext'
105370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105371 (eval $ac_try) 2>&5
105372 ac_status=$?
105373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105374 (exit $ac_status); }; }; then
105375 eval "$as_ac_var=yes"
105377 echo "$as_me: failed program was:" >&5
105378 sed 's/^/| /' conftest.$ac_ext >&5
105380 eval "$as_ac_var=no"
105382 rm -f conftest.err conftest.$ac_objext \
105383 conftest$ac_exeext conftest.$ac_ext
105385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105387 if test `eval echo '${'$as_ac_var'}'` = yes; then
105388 cat >>confdefs.h <<_ACEOF
105389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105390 _ACEOF
105393 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
105399 # Used in libmath/Makefile.am.
105400 if test -n "$LIBMATHOBJS"; then
105401 need_libmath=yes
105407 enable_iconv=no
105408 # Only continue checking if the ISO C99 headers exist and support is on.
105409 if test x"$enable_wchar_t" = xyes; then
105411 # Use iconv for wchar_t to char conversions. As such, check for
105412 # X/Open Portability Guide, version 2 features (XPG2).
105413 if test "${ac_cv_header_iconv_h+set}" = set; then
105414 echo "$as_me:$LINENO: checking for iconv.h" >&5
105415 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105416 if test "${ac_cv_header_iconv_h+set}" = set; then
105417 echo $ECHO_N "(cached) $ECHO_C" >&6
105419 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105420 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105422 # Is the header compilable?
105423 echo "$as_me:$LINENO: checking iconv.h usability" >&5
105424 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
105425 cat >conftest.$ac_ext <<_ACEOF
105426 /* confdefs.h. */
105427 _ACEOF
105428 cat confdefs.h >>conftest.$ac_ext
105429 cat >>conftest.$ac_ext <<_ACEOF
105430 /* end confdefs.h. */
105431 $ac_includes_default
105432 #include <iconv.h>
105433 _ACEOF
105434 rm -f conftest.$ac_objext
105435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105436 (eval $ac_compile) 2>conftest.er1
105437 ac_status=$?
105438 grep -v '^ *+' conftest.er1 >conftest.err
105439 rm -f conftest.er1
105440 cat conftest.err >&5
105441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105442 (exit $ac_status); } &&
105443 { ac_try='test -z "$ac_c_werror_flag"
105444 || test ! -s conftest.err'
105445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105446 (eval $ac_try) 2>&5
105447 ac_status=$?
105448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105449 (exit $ac_status); }; } &&
105450 { ac_try='test -s conftest.$ac_objext'
105451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105452 (eval $ac_try) 2>&5
105453 ac_status=$?
105454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105455 (exit $ac_status); }; }; then
105456 ac_header_compiler=yes
105458 echo "$as_me: failed program was:" >&5
105459 sed 's/^/| /' conftest.$ac_ext >&5
105461 ac_header_compiler=no
105463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105465 echo "${ECHO_T}$ac_header_compiler" >&6
105467 # Is the header present?
105468 echo "$as_me:$LINENO: checking iconv.h presence" >&5
105469 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
105470 cat >conftest.$ac_ext <<_ACEOF
105471 /* confdefs.h. */
105472 _ACEOF
105473 cat confdefs.h >>conftest.$ac_ext
105474 cat >>conftest.$ac_ext <<_ACEOF
105475 /* end confdefs.h. */
105476 #include <iconv.h>
105477 _ACEOF
105478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105480 ac_status=$?
105481 grep -v '^ *+' conftest.er1 >conftest.err
105482 rm -f conftest.er1
105483 cat conftest.err >&5
105484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105485 (exit $ac_status); } >/dev/null; then
105486 if test -s conftest.err; then
105487 ac_cpp_err=$ac_c_preproc_warn_flag
105488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105490 ac_cpp_err=
105493 ac_cpp_err=yes
105495 if test -z "$ac_cpp_err"; then
105496 ac_header_preproc=yes
105498 echo "$as_me: failed program was:" >&5
105499 sed 's/^/| /' conftest.$ac_ext >&5
105501 ac_header_preproc=no
105503 rm -f conftest.err conftest.$ac_ext
105504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105505 echo "${ECHO_T}$ac_header_preproc" >&6
105507 # So? What about this header?
105508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105509 yes:no: )
105510 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
105511 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105512 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
105513 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
105514 ac_header_preproc=yes
105516 no:yes:* )
105517 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
105518 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
105519 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
105520 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
105521 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
105522 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
105523 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
105524 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
105525 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
105526 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
105527 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
105528 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
105530 cat <<\_ASBOX
105531 ## ----------------------------------------- ##
105532 ## Report this to the package-unused lists. ##
105533 ## ----------------------------------------- ##
105534 _ASBOX
105536 sed "s/^/$as_me: WARNING: /" >&2
105539 echo "$as_me:$LINENO: checking for iconv.h" >&5
105540 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
105541 if test "${ac_cv_header_iconv_h+set}" = set; then
105542 echo $ECHO_N "(cached) $ECHO_C" >&6
105544 ac_cv_header_iconv_h=$ac_header_preproc
105546 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
105547 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
105550 if test $ac_cv_header_iconv_h = yes; then
105551 ac_has_iconv_h=yes
105553 ac_has_iconv_h=no
105557 if test "${ac_cv_header_langinfo_h+set}" = set; then
105558 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105559 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105560 if test "${ac_cv_header_langinfo_h+set}" = set; then
105561 echo $ECHO_N "(cached) $ECHO_C" >&6
105563 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105564 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105566 # Is the header compilable?
105567 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
105568 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
105569 cat >conftest.$ac_ext <<_ACEOF
105570 /* confdefs.h. */
105571 _ACEOF
105572 cat confdefs.h >>conftest.$ac_ext
105573 cat >>conftest.$ac_ext <<_ACEOF
105574 /* end confdefs.h. */
105575 $ac_includes_default
105576 #include <langinfo.h>
105577 _ACEOF
105578 rm -f conftest.$ac_objext
105579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105580 (eval $ac_compile) 2>conftest.er1
105581 ac_status=$?
105582 grep -v '^ *+' conftest.er1 >conftest.err
105583 rm -f conftest.er1
105584 cat conftest.err >&5
105585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105586 (exit $ac_status); } &&
105587 { ac_try='test -z "$ac_c_werror_flag"
105588 || test ! -s conftest.err'
105589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105590 (eval $ac_try) 2>&5
105591 ac_status=$?
105592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105593 (exit $ac_status); }; } &&
105594 { ac_try='test -s conftest.$ac_objext'
105595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105596 (eval $ac_try) 2>&5
105597 ac_status=$?
105598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105599 (exit $ac_status); }; }; then
105600 ac_header_compiler=yes
105602 echo "$as_me: failed program was:" >&5
105603 sed 's/^/| /' conftest.$ac_ext >&5
105605 ac_header_compiler=no
105607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
105609 echo "${ECHO_T}$ac_header_compiler" >&6
105611 # Is the header present?
105612 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
105613 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
105614 cat >conftest.$ac_ext <<_ACEOF
105615 /* confdefs.h. */
105616 _ACEOF
105617 cat confdefs.h >>conftest.$ac_ext
105618 cat >>conftest.$ac_ext <<_ACEOF
105619 /* end confdefs.h. */
105620 #include <langinfo.h>
105621 _ACEOF
105622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
105623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
105624 ac_status=$?
105625 grep -v '^ *+' conftest.er1 >conftest.err
105626 rm -f conftest.er1
105627 cat conftest.err >&5
105628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105629 (exit $ac_status); } >/dev/null; then
105630 if test -s conftest.err; then
105631 ac_cpp_err=$ac_c_preproc_warn_flag
105632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
105634 ac_cpp_err=
105637 ac_cpp_err=yes
105639 if test -z "$ac_cpp_err"; then
105640 ac_header_preproc=yes
105642 echo "$as_me: failed program was:" >&5
105643 sed 's/^/| /' conftest.$ac_ext >&5
105645 ac_header_preproc=no
105647 rm -f conftest.err conftest.$ac_ext
105648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
105649 echo "${ECHO_T}$ac_header_preproc" >&6
105651 # So? What about this header?
105652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
105653 yes:no: )
105654 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
105655 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
105656 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
105657 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
105658 ac_header_preproc=yes
105660 no:yes:* )
105661 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
105662 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
105663 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
105664 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
105665 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
105666 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
105667 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
105668 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
105669 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
105670 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
105671 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
105672 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
105674 cat <<\_ASBOX
105675 ## ----------------------------------------- ##
105676 ## Report this to the package-unused lists. ##
105677 ## ----------------------------------------- ##
105678 _ASBOX
105680 sed "s/^/$as_me: WARNING: /" >&2
105683 echo "$as_me:$LINENO: checking for langinfo.h" >&5
105684 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
105685 if test "${ac_cv_header_langinfo_h+set}" = set; then
105686 echo $ECHO_N "(cached) $ECHO_C" >&6
105688 ac_cv_header_langinfo_h=$ac_header_preproc
105690 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
105691 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
105694 if test $ac_cv_header_langinfo_h = yes; then
105695 ac_has_langinfo_h=yes
105697 ac_has_langinfo_h=no
105702 # Check for existence of libiconv.a providing XPG2 wchar_t support.
105703 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
105704 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
105705 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
105706 echo $ECHO_N "(cached) $ECHO_C" >&6
105708 ac_check_lib_save_LIBS=$LIBS
105709 LIBS="-liconv $LIBS"
105710 if test x$gcc_no_link = xyes; then
105711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105713 { (exit 1); exit 1; }; }
105715 cat >conftest.$ac_ext <<_ACEOF
105716 /* confdefs.h. */
105717 _ACEOF
105718 cat confdefs.h >>conftest.$ac_ext
105719 cat >>conftest.$ac_ext <<_ACEOF
105720 /* end confdefs.h. */
105722 /* Override any gcc2 internal prototype to avoid an error. */
105723 #ifdef __cplusplus
105724 extern "C"
105725 #endif
105726 /* We use char because int might match the return type of a gcc2
105727 builtin and then its argument prototype would still apply. */
105728 char iconv ();
105730 main ()
105732 iconv ();
105734 return 0;
105736 _ACEOF
105737 rm -f conftest.$ac_objext conftest$ac_exeext
105738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105739 (eval $ac_link) 2>conftest.er1
105740 ac_status=$?
105741 grep -v '^ *+' conftest.er1 >conftest.err
105742 rm -f conftest.er1
105743 cat conftest.err >&5
105744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105745 (exit $ac_status); } &&
105746 { ac_try='test -z "$ac_c_werror_flag"
105747 || test ! -s conftest.err'
105748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105749 (eval $ac_try) 2>&5
105750 ac_status=$?
105751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105752 (exit $ac_status); }; } &&
105753 { ac_try='test -s conftest$ac_exeext'
105754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105755 (eval $ac_try) 2>&5
105756 ac_status=$?
105757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105758 (exit $ac_status); }; }; then
105759 ac_cv_lib_iconv_iconv=yes
105761 echo "$as_me: failed program was:" >&5
105762 sed 's/^/| /' conftest.$ac_ext >&5
105764 ac_cv_lib_iconv_iconv=no
105766 rm -f conftest.err conftest.$ac_objext \
105767 conftest$ac_exeext conftest.$ac_ext
105768 LIBS=$ac_check_lib_save_LIBS
105770 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
105771 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
105772 if test $ac_cv_lib_iconv_iconv = yes; then
105773 LIBICONV="-liconv"
105776 ac_save_LIBS="$LIBS"
105777 LIBS="$LIBS $LIBICONV"
105784 for ac_func in iconv_open iconv_close iconv nl_langinfo
105786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105787 echo "$as_me:$LINENO: checking for $ac_func" >&5
105788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105789 if eval "test \"\${$as_ac_var+set}\" = set"; then
105790 echo $ECHO_N "(cached) $ECHO_C" >&6
105792 if test x$gcc_no_link = xyes; then
105793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105795 { (exit 1); exit 1; }; }
105797 cat >conftest.$ac_ext <<_ACEOF
105798 /* confdefs.h. */
105799 _ACEOF
105800 cat confdefs.h >>conftest.$ac_ext
105801 cat >>conftest.$ac_ext <<_ACEOF
105802 /* end confdefs.h. */
105803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105805 #define $ac_func innocuous_$ac_func
105807 /* System header to define __stub macros and hopefully few prototypes,
105808 which can conflict with char $ac_func (); below.
105809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105810 <limits.h> exists even on freestanding compilers. */
105812 #ifdef __STDC__
105813 # include <limits.h>
105814 #else
105815 # include <assert.h>
105816 #endif
105818 #undef $ac_func
105820 /* Override any gcc2 internal prototype to avoid an error. */
105821 #ifdef __cplusplus
105822 extern "C"
105824 #endif
105825 /* We use char because int might match the return type of a gcc2
105826 builtin and then its argument prototype would still apply. */
105827 char $ac_func ();
105828 /* The GNU C library defines this for functions which it implements
105829 to always fail with ENOSYS. Some functions are actually named
105830 something starting with __ and the normal name is an alias. */
105831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105832 choke me
105833 #else
105834 char (*f) () = $ac_func;
105835 #endif
105836 #ifdef __cplusplus
105838 #endif
105841 main ()
105843 return f != $ac_func;
105845 return 0;
105847 _ACEOF
105848 rm -f conftest.$ac_objext conftest$ac_exeext
105849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105850 (eval $ac_link) 2>conftest.er1
105851 ac_status=$?
105852 grep -v '^ *+' conftest.er1 >conftest.err
105853 rm -f conftest.er1
105854 cat conftest.err >&5
105855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105856 (exit $ac_status); } &&
105857 { ac_try='test -z "$ac_c_werror_flag"
105858 || test ! -s conftest.err'
105859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105860 (eval $ac_try) 2>&5
105861 ac_status=$?
105862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105863 (exit $ac_status); }; } &&
105864 { ac_try='test -s conftest$ac_exeext'
105865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105866 (eval $ac_try) 2>&5
105867 ac_status=$?
105868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105869 (exit $ac_status); }; }; then
105870 eval "$as_ac_var=yes"
105872 echo "$as_me: failed program was:" >&5
105873 sed 's/^/| /' conftest.$ac_ext >&5
105875 eval "$as_ac_var=no"
105877 rm -f conftest.err conftest.$ac_objext \
105878 conftest$ac_exeext conftest.$ac_ext
105880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105882 if test `eval echo '${'$as_ac_var'}'` = yes; then
105883 cat >>confdefs.h <<_ACEOF
105884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105885 _ACEOF
105886 ac_XPG2funcs=yes
105888 ac_XPG2funcs=no
105893 LIBS="$ac_save_LIBS"
105895 if test x"$ac_has_iconv_h" = xyes &&
105896 test x"$ac_has_langinfo_h" = xyes &&
105897 test x"$ac_XPG2funcs" = xyes;
105900 cat >>confdefs.h <<\_ACEOF
105901 #define _GLIBCXX_USE_ICONV 1
105902 _ACEOF
105904 enable_iconv=yes
105907 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
105908 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
105909 echo "$as_me:$LINENO: result: $enable_iconv" >&5
105910 echo "${ECHO_T}$enable_iconv" >&6
105912 cat >>confdefs.h <<\_ACEOF
105913 #define HAVE_COSF 1
105914 _ACEOF
105916 cat >>confdefs.h <<\_ACEOF
105917 #define HAVE_COSL 1
105918 _ACEOF
105920 cat >>confdefs.h <<\_ACEOF
105921 #define HAVE_COSHF 1
105922 _ACEOF
105924 cat >>confdefs.h <<\_ACEOF
105925 #define HAVE_COSHL 1
105926 _ACEOF
105928 cat >>confdefs.h <<\_ACEOF
105929 #define HAVE_LOGF 1
105930 _ACEOF
105932 cat >>confdefs.h <<\_ACEOF
105933 #define HAVE_LOGL 1
105934 _ACEOF
105936 cat >>confdefs.h <<\_ACEOF
105937 #define HAVE_LOG10F 1
105938 _ACEOF
105940 cat >>confdefs.h <<\_ACEOF
105941 #define HAVE_LOG10L 1
105942 _ACEOF
105944 cat >>confdefs.h <<\_ACEOF
105945 #define HAVE_SINF 1
105946 _ACEOF
105948 cat >>confdefs.h <<\_ACEOF
105949 #define HAVE_SINL 1
105950 _ACEOF
105952 cat >>confdefs.h <<\_ACEOF
105953 #define HAVE_SINHF 1
105954 _ACEOF
105956 cat >>confdefs.h <<\_ACEOF
105957 #define HAVE_SINHL 1
105958 _ACEOF
105961 *-solaris*)
105962 case "$target" in
105963 # *-solaris2.5)
105964 # os_include_dir="os/solaris/solaris2.5"
105966 # *-solaris2.6)
105967 # os_include_dir="os/solaris/solaris2.6"
105969 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
105971 # If we're not using GNU ld, then there's no point in even trying these
105972 # tests. Check for that first. We should have already tested for gld
105973 # by now (in libtool), but require it now just to be safe...
105974 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
105975 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
105979 # The name set by libtool depends on the version of libtool. Shame on us
105980 # for depending on an impl detail, but c'est la vie. Older versions used
105981 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
105982 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
105983 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
105984 # set (hence we're using an older libtool), then set it.
105985 if test x${with_gnu_ld+set} != xset; then
105986 if test x${ac_cv_prog_gnu_ld+set} != xset; then
105987 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
105988 with_gnu_ld=no
105990 with_gnu_ld=$ac_cv_prog_gnu_ld
105994 # Start by getting the version number. I think the libtool test already
105995 # does some of this, but throws away the result.
105996 if test x"$with_gnu_ld" = x"yes"; then
105997 echo "$as_me:$LINENO: checking for ld version" >&5
105998 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
106000 ldver=`$LD --version 2>/dev/null | head -1 | \
106001 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
106003 glibcxx_gnu_ld_version=`echo $ldver | \
106004 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
106005 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
106006 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
106009 # Set --gc-sections.
106010 glibcxx_gcsections_min_ld=21602
106011 if test x"$with_gnu_ld" = x"yes" &&
106012 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
106014 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
106015 # NB: This flag only works reliably after 2.16.1. Configure tests
106016 # for this are difficult, so hard wire a value that should work.
106018 ac_test_CFLAGS="${CFLAGS+set}"
106019 ac_save_CFLAGS="$CFLAGS"
106020 CFLAGS='-Wl,--gc-sections'
106022 # Check for -Wl,--gc-sections
106023 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
106024 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
106025 if test x$gcc_no_link = xyes; then
106026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106028 { (exit 1); exit 1; }; }
106030 cat >conftest.$ac_ext <<_ACEOF
106031 /* confdefs.h. */
106032 _ACEOF
106033 cat confdefs.h >>conftest.$ac_ext
106034 cat >>conftest.$ac_ext <<_ACEOF
106035 /* end confdefs.h. */
106036 int one(void) { return 1; }
106037 int two(void) { return 2; }
106040 main ()
106042 two();
106044 return 0;
106046 _ACEOF
106047 rm -f conftest.$ac_objext conftest$ac_exeext
106048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106049 (eval $ac_link) 2>conftest.er1
106050 ac_status=$?
106051 grep -v '^ *+' conftest.er1 >conftest.err
106052 rm -f conftest.er1
106053 cat conftest.err >&5
106054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106055 (exit $ac_status); } &&
106056 { ac_try='test -z "$ac_c_werror_flag"
106057 || test ! -s conftest.err'
106058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106059 (eval $ac_try) 2>&5
106060 ac_status=$?
106061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106062 (exit $ac_status); }; } &&
106063 { ac_try='test -s conftest$ac_exeext'
106064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106065 (eval $ac_try) 2>&5
106066 ac_status=$?
106067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106068 (exit $ac_status); }; }; then
106069 ac_gcsections=yes
106071 echo "$as_me: failed program was:" >&5
106072 sed 's/^/| /' conftest.$ac_ext >&5
106074 ac_gcsections=no
106076 rm -f conftest.err conftest.$ac_objext \
106077 conftest$ac_exeext conftest.$ac_ext
106078 if test "$ac_gcsections" = "yes"; then
106079 rm -f conftest.c
106080 touch conftest.c
106081 if $CC -c conftest.c; then
106082 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
106083 grep "Warning: gc-sections option ignored" > /dev/null; then
106084 ac_gcsections=no
106087 rm -f conftest.c conftest.o conftest
106089 if test "$ac_gcsections" = "yes"; then
106090 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
106092 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
106093 echo "${ECHO_T}$ac_gcsections" >&6
106095 if test "$ac_test_CFLAGS" = set; then
106096 CFLAGS="$ac_save_CFLAGS"
106098 # this is the suspicious part
106099 CFLAGS=''
106103 # Set -z,relro.
106104 # Note this is only for shared objects.
106105 ac_ld_relro=no
106106 if test x"$with_gnu_ld" = x"yes"; then
106107 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
106108 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
106109 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
106110 if test -n "$cxx_z_relo"; then
106111 OPT_LDFLAGS="-Wl,-z,relro"
106112 ac_ld_relro=yes
106114 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
106115 echo "${ECHO_T}$ac_ld_relro" >&6
106118 # Set linker optimization flags.
106119 if test x"$with_gnu_ld" = x"yes"; then
106120 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
106126 cat >>confdefs.h <<\_ACEOF
106127 #define HAVE_GETPAGESIZE 1
106128 _ACEOF
106130 cat >>confdefs.h <<\_ACEOF
106131 #define HAVE_SIGSETJMP 1
106132 _ACEOF
106134 cat >>confdefs.h <<\_ACEOF
106135 #define HAVE_MBSTATE_T 1
106136 _ACEOF
106138 cat >>confdefs.h <<\_ACEOF
106139 #define HAVE_POLL 1
106140 _ACEOF
106142 cat >>confdefs.h <<\_ACEOF
106143 #define HAVE_S_ISREG 1
106144 _ACEOF
106146 cat >>confdefs.h <<\_ACEOF
106147 #define HAVE_LC_MESSAGES 1
106148 _ACEOF
106150 cat >>confdefs.h <<\_ACEOF
106151 #define HAVE_FINITE 1
106152 _ACEOF
106154 cat >>confdefs.h <<\_ACEOF
106155 #define HAVE_FPCLASS 1
106156 _ACEOF
106158 cat >>confdefs.h <<\_ACEOF
106159 #define HAVE_GETPAGESIZE 1
106160 _ACEOF
106162 cat >>confdefs.h <<\_ACEOF
106163 #define HAVE_NL_LANGINFO 1
106164 _ACEOF
106166 cat >>confdefs.h <<\_ACEOF
106167 #define HAVE_ICONV 1
106168 _ACEOF
106170 cat >>confdefs.h <<\_ACEOF
106171 #define HAVE_ICONV_CLOSE 1
106172 _ACEOF
106174 cat >>confdefs.h <<\_ACEOF
106175 #define HAVE_ICONV_OPEN 1
106176 _ACEOF
106178 # Look for the pieces required for wchar_t support in order to
106179 # get all the right HAVE_* macros defined.
106182 enable_iconv=no
106183 # Only continue checking if the ISO C99 headers exist and support is on.
106184 if test x"$enable_wchar_t" = xyes; then
106186 # Use iconv for wchar_t to char conversions. As such, check for
106187 # X/Open Portability Guide, version 2 features (XPG2).
106188 if test "${ac_cv_header_iconv_h+set}" = set; then
106189 echo "$as_me:$LINENO: checking for iconv.h" >&5
106190 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106191 if test "${ac_cv_header_iconv_h+set}" = set; then
106192 echo $ECHO_N "(cached) $ECHO_C" >&6
106194 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106195 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106197 # Is the header compilable?
106198 echo "$as_me:$LINENO: checking iconv.h usability" >&5
106199 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
106200 cat >conftest.$ac_ext <<_ACEOF
106201 /* confdefs.h. */
106202 _ACEOF
106203 cat confdefs.h >>conftest.$ac_ext
106204 cat >>conftest.$ac_ext <<_ACEOF
106205 /* end confdefs.h. */
106206 $ac_includes_default
106207 #include <iconv.h>
106208 _ACEOF
106209 rm -f conftest.$ac_objext
106210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106211 (eval $ac_compile) 2>conftest.er1
106212 ac_status=$?
106213 grep -v '^ *+' conftest.er1 >conftest.err
106214 rm -f conftest.er1
106215 cat conftest.err >&5
106216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106217 (exit $ac_status); } &&
106218 { ac_try='test -z "$ac_c_werror_flag"
106219 || test ! -s conftest.err'
106220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106221 (eval $ac_try) 2>&5
106222 ac_status=$?
106223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106224 (exit $ac_status); }; } &&
106225 { ac_try='test -s conftest.$ac_objext'
106226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106227 (eval $ac_try) 2>&5
106228 ac_status=$?
106229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106230 (exit $ac_status); }; }; then
106231 ac_header_compiler=yes
106233 echo "$as_me: failed program was:" >&5
106234 sed 's/^/| /' conftest.$ac_ext >&5
106236 ac_header_compiler=no
106238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106240 echo "${ECHO_T}$ac_header_compiler" >&6
106242 # Is the header present?
106243 echo "$as_me:$LINENO: checking iconv.h presence" >&5
106244 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
106245 cat >conftest.$ac_ext <<_ACEOF
106246 /* confdefs.h. */
106247 _ACEOF
106248 cat confdefs.h >>conftest.$ac_ext
106249 cat >>conftest.$ac_ext <<_ACEOF
106250 /* end confdefs.h. */
106251 #include <iconv.h>
106252 _ACEOF
106253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106255 ac_status=$?
106256 grep -v '^ *+' conftest.er1 >conftest.err
106257 rm -f conftest.er1
106258 cat conftest.err >&5
106259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106260 (exit $ac_status); } >/dev/null; then
106261 if test -s conftest.err; then
106262 ac_cpp_err=$ac_c_preproc_warn_flag
106263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106265 ac_cpp_err=
106268 ac_cpp_err=yes
106270 if test -z "$ac_cpp_err"; then
106271 ac_header_preproc=yes
106273 echo "$as_me: failed program was:" >&5
106274 sed 's/^/| /' conftest.$ac_ext >&5
106276 ac_header_preproc=no
106278 rm -f conftest.err conftest.$ac_ext
106279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106280 echo "${ECHO_T}$ac_header_preproc" >&6
106282 # So? What about this header?
106283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106284 yes:no: )
106285 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
106286 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106287 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
106288 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
106289 ac_header_preproc=yes
106291 no:yes:* )
106292 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
106293 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
106294 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
106295 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
106296 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
106297 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
106298 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
106299 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
106300 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
106301 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
106302 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
106303 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
106305 cat <<\_ASBOX
106306 ## ----------------------------------------- ##
106307 ## Report this to the package-unused lists. ##
106308 ## ----------------------------------------- ##
106309 _ASBOX
106311 sed "s/^/$as_me: WARNING: /" >&2
106314 echo "$as_me:$LINENO: checking for iconv.h" >&5
106315 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
106316 if test "${ac_cv_header_iconv_h+set}" = set; then
106317 echo $ECHO_N "(cached) $ECHO_C" >&6
106319 ac_cv_header_iconv_h=$ac_header_preproc
106321 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
106322 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
106325 if test $ac_cv_header_iconv_h = yes; then
106326 ac_has_iconv_h=yes
106328 ac_has_iconv_h=no
106332 if test "${ac_cv_header_langinfo_h+set}" = set; then
106333 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106334 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106335 if test "${ac_cv_header_langinfo_h+set}" = set; then
106336 echo $ECHO_N "(cached) $ECHO_C" >&6
106338 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106339 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106341 # Is the header compilable?
106342 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
106343 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
106344 cat >conftest.$ac_ext <<_ACEOF
106345 /* confdefs.h. */
106346 _ACEOF
106347 cat confdefs.h >>conftest.$ac_ext
106348 cat >>conftest.$ac_ext <<_ACEOF
106349 /* end confdefs.h. */
106350 $ac_includes_default
106351 #include <langinfo.h>
106352 _ACEOF
106353 rm -f conftest.$ac_objext
106354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106355 (eval $ac_compile) 2>conftest.er1
106356 ac_status=$?
106357 grep -v '^ *+' conftest.er1 >conftest.err
106358 rm -f conftest.er1
106359 cat conftest.err >&5
106360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106361 (exit $ac_status); } &&
106362 { ac_try='test -z "$ac_c_werror_flag"
106363 || test ! -s conftest.err'
106364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106365 (eval $ac_try) 2>&5
106366 ac_status=$?
106367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106368 (exit $ac_status); }; } &&
106369 { ac_try='test -s conftest.$ac_objext'
106370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106371 (eval $ac_try) 2>&5
106372 ac_status=$?
106373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106374 (exit $ac_status); }; }; then
106375 ac_header_compiler=yes
106377 echo "$as_me: failed program was:" >&5
106378 sed 's/^/| /' conftest.$ac_ext >&5
106380 ac_header_compiler=no
106382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106384 echo "${ECHO_T}$ac_header_compiler" >&6
106386 # Is the header present?
106387 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
106388 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
106389 cat >conftest.$ac_ext <<_ACEOF
106390 /* confdefs.h. */
106391 _ACEOF
106392 cat confdefs.h >>conftest.$ac_ext
106393 cat >>conftest.$ac_ext <<_ACEOF
106394 /* end confdefs.h. */
106395 #include <langinfo.h>
106396 _ACEOF
106397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106399 ac_status=$?
106400 grep -v '^ *+' conftest.er1 >conftest.err
106401 rm -f conftest.er1
106402 cat conftest.err >&5
106403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106404 (exit $ac_status); } >/dev/null; then
106405 if test -s conftest.err; then
106406 ac_cpp_err=$ac_c_preproc_warn_flag
106407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106409 ac_cpp_err=
106412 ac_cpp_err=yes
106414 if test -z "$ac_cpp_err"; then
106415 ac_header_preproc=yes
106417 echo "$as_me: failed program was:" >&5
106418 sed 's/^/| /' conftest.$ac_ext >&5
106420 ac_header_preproc=no
106422 rm -f conftest.err conftest.$ac_ext
106423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106424 echo "${ECHO_T}$ac_header_preproc" >&6
106426 # So? What about this header?
106427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106428 yes:no: )
106429 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
106430 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
106431 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
106432 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
106433 ac_header_preproc=yes
106435 no:yes:* )
106436 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
106437 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
106438 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
106439 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
106440 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
106441 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
106442 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
106443 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
106444 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
106445 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
106446 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
106447 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
106449 cat <<\_ASBOX
106450 ## ----------------------------------------- ##
106451 ## Report this to the package-unused lists. ##
106452 ## ----------------------------------------- ##
106453 _ASBOX
106455 sed "s/^/$as_me: WARNING: /" >&2
106458 echo "$as_me:$LINENO: checking for langinfo.h" >&5
106459 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
106460 if test "${ac_cv_header_langinfo_h+set}" = set; then
106461 echo $ECHO_N "(cached) $ECHO_C" >&6
106463 ac_cv_header_langinfo_h=$ac_header_preproc
106465 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
106466 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
106469 if test $ac_cv_header_langinfo_h = yes; then
106470 ac_has_langinfo_h=yes
106472 ac_has_langinfo_h=no
106477 # Check for existence of libiconv.a providing XPG2 wchar_t support.
106478 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
106479 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
106480 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
106481 echo $ECHO_N "(cached) $ECHO_C" >&6
106483 ac_check_lib_save_LIBS=$LIBS
106484 LIBS="-liconv $LIBS"
106485 if test x$gcc_no_link = xyes; then
106486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106488 { (exit 1); exit 1; }; }
106490 cat >conftest.$ac_ext <<_ACEOF
106491 /* confdefs.h. */
106492 _ACEOF
106493 cat confdefs.h >>conftest.$ac_ext
106494 cat >>conftest.$ac_ext <<_ACEOF
106495 /* end confdefs.h. */
106497 /* Override any gcc2 internal prototype to avoid an error. */
106498 #ifdef __cplusplus
106499 extern "C"
106500 #endif
106501 /* We use char because int might match the return type of a gcc2
106502 builtin and then its argument prototype would still apply. */
106503 char iconv ();
106505 main ()
106507 iconv ();
106509 return 0;
106511 _ACEOF
106512 rm -f conftest.$ac_objext conftest$ac_exeext
106513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106514 (eval $ac_link) 2>conftest.er1
106515 ac_status=$?
106516 grep -v '^ *+' conftest.er1 >conftest.err
106517 rm -f conftest.er1
106518 cat conftest.err >&5
106519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106520 (exit $ac_status); } &&
106521 { ac_try='test -z "$ac_c_werror_flag"
106522 || test ! -s conftest.err'
106523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106524 (eval $ac_try) 2>&5
106525 ac_status=$?
106526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106527 (exit $ac_status); }; } &&
106528 { ac_try='test -s conftest$ac_exeext'
106529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106530 (eval $ac_try) 2>&5
106531 ac_status=$?
106532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106533 (exit $ac_status); }; }; then
106534 ac_cv_lib_iconv_iconv=yes
106536 echo "$as_me: failed program was:" >&5
106537 sed 's/^/| /' conftest.$ac_ext >&5
106539 ac_cv_lib_iconv_iconv=no
106541 rm -f conftest.err conftest.$ac_objext \
106542 conftest$ac_exeext conftest.$ac_ext
106543 LIBS=$ac_check_lib_save_LIBS
106545 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
106546 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
106547 if test $ac_cv_lib_iconv_iconv = yes; then
106548 LIBICONV="-liconv"
106551 ac_save_LIBS="$LIBS"
106552 LIBS="$LIBS $LIBICONV"
106559 for ac_func in iconv_open iconv_close iconv nl_langinfo
106561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106562 echo "$as_me:$LINENO: checking for $ac_func" >&5
106563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106564 if eval "test \"\${$as_ac_var+set}\" = set"; then
106565 echo $ECHO_N "(cached) $ECHO_C" >&6
106567 if test x$gcc_no_link = xyes; then
106568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106570 { (exit 1); exit 1; }; }
106572 cat >conftest.$ac_ext <<_ACEOF
106573 /* confdefs.h. */
106574 _ACEOF
106575 cat confdefs.h >>conftest.$ac_ext
106576 cat >>conftest.$ac_ext <<_ACEOF
106577 /* end confdefs.h. */
106578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106580 #define $ac_func innocuous_$ac_func
106582 /* System header to define __stub macros and hopefully few prototypes,
106583 which can conflict with char $ac_func (); below.
106584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106585 <limits.h> exists even on freestanding compilers. */
106587 #ifdef __STDC__
106588 # include <limits.h>
106589 #else
106590 # include <assert.h>
106591 #endif
106593 #undef $ac_func
106595 /* Override any gcc2 internal prototype to avoid an error. */
106596 #ifdef __cplusplus
106597 extern "C"
106599 #endif
106600 /* We use char because int might match the return type of a gcc2
106601 builtin and then its argument prototype would still apply. */
106602 char $ac_func ();
106603 /* The GNU C library defines this for functions which it implements
106604 to always fail with ENOSYS. Some functions are actually named
106605 something starting with __ and the normal name is an alias. */
106606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106607 choke me
106608 #else
106609 char (*f) () = $ac_func;
106610 #endif
106611 #ifdef __cplusplus
106613 #endif
106616 main ()
106618 return f != $ac_func;
106620 return 0;
106622 _ACEOF
106623 rm -f conftest.$ac_objext conftest$ac_exeext
106624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106625 (eval $ac_link) 2>conftest.er1
106626 ac_status=$?
106627 grep -v '^ *+' conftest.er1 >conftest.err
106628 rm -f conftest.er1
106629 cat conftest.err >&5
106630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106631 (exit $ac_status); } &&
106632 { ac_try='test -z "$ac_c_werror_flag"
106633 || test ! -s conftest.err'
106634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106635 (eval $ac_try) 2>&5
106636 ac_status=$?
106637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106638 (exit $ac_status); }; } &&
106639 { ac_try='test -s conftest$ac_exeext'
106640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106641 (eval $ac_try) 2>&5
106642 ac_status=$?
106643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106644 (exit $ac_status); }; }; then
106645 eval "$as_ac_var=yes"
106647 echo "$as_me: failed program was:" >&5
106648 sed 's/^/| /' conftest.$ac_ext >&5
106650 eval "$as_ac_var=no"
106652 rm -f conftest.err conftest.$ac_objext \
106653 conftest$ac_exeext conftest.$ac_ext
106655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106657 if test `eval echo '${'$as_ac_var'}'` = yes; then
106658 cat >>confdefs.h <<_ACEOF
106659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106660 _ACEOF
106661 ac_XPG2funcs=yes
106663 ac_XPG2funcs=no
106668 LIBS="$ac_save_LIBS"
106670 if test x"$ac_has_iconv_h" = xyes &&
106671 test x"$ac_has_langinfo_h" = xyes &&
106672 test x"$ac_XPG2funcs" = xyes;
106675 cat >>confdefs.h <<\_ACEOF
106676 #define _GLIBCXX_USE_ICONV 1
106677 _ACEOF
106679 enable_iconv=yes
106682 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
106683 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
106684 echo "$as_me:$LINENO: result: $enable_iconv" >&5
106685 echo "${ECHO_T}$enable_iconv" >&6
106687 # All of the dependencies for wide character support are here, so
106688 # turn it on. This requires some syncronization with the
106689 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
106690 cat >>confdefs.h <<\_ACEOF
106691 #define _GLIBCXX_USE_WCHAR_T 1
106692 _ACEOF
106694 # Are these tested for even when cross?
106695 cat >>confdefs.h <<\_ACEOF
106696 #define HAVE_FLOAT_H 1
106697 _ACEOF
106699 cat >>confdefs.h <<\_ACEOF
106700 #define HAVE_IEEEFP_H 1
106701 _ACEOF
106703 cat >>confdefs.h <<\_ACEOF
106704 #define HAVE_INTTYPES_H 1
106705 _ACEOF
106707 cat >>confdefs.h <<\_ACEOF
106708 #define HAVE_LOCALE_H 1
106709 _ACEOF
106711 cat >>confdefs.h <<\_ACEOF
106712 #define HAVE_NAN_H 1
106713 _ACEOF
106715 cat >>confdefs.h <<\_ACEOF
106716 #define HAVE_SYS_FILIO_H 1
106717 _ACEOF
106719 cat >>confdefs.h <<\_ACEOF
106720 #define HAVE_SYS_IOCTL_H 1
106721 _ACEOF
106723 cat >>confdefs.h <<\_ACEOF
106724 #define HAVE_SYS_ISA_DEFS_H 1
106725 _ACEOF
106727 cat >>confdefs.h <<\_ACEOF
106728 #define HAVE_SYS_RESOURCE_H 1
106729 _ACEOF
106731 cat >>confdefs.h <<\_ACEOF
106732 #define HAVE_SYS_TIME_H 1
106733 _ACEOF
106735 cat >>confdefs.h <<\_ACEOF
106736 #define HAVE_SYS_TYPES_H 1
106737 _ACEOF
106739 cat >>confdefs.h <<\_ACEOF
106740 #define HAVE_UNISTD_H 1
106741 _ACEOF
106743 cat >>confdefs.h <<\_ACEOF
106744 #define HAVE_WCHAR_H 1
106745 _ACEOF
106747 cat >>confdefs.h <<\_ACEOF
106748 #define HAVE_WCTYPE_H 1
106749 _ACEOF
106751 cat >>confdefs.h <<\_ACEOF
106752 #define HAVE_LIBM 1
106753 _ACEOF
106757 case "$target" in
106758 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
106759 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
106760 cat >>confdefs.h <<\_ACEOF
106761 #define HAVE___BUILTIN_ABS 1
106762 _ACEOF
106764 cat >>confdefs.h <<\_ACEOF
106765 #define HAVE___BUILTIN_LABS 1
106766 _ACEOF
106768 cat >>confdefs.h <<\_ACEOF
106769 #define HAVE___BUILTIN_FABS 1
106770 _ACEOF
106772 cat >>confdefs.h <<\_ACEOF
106773 #define HAVE___BUILTIN_FABSF 1
106774 _ACEOF
106776 cat >>confdefs.h <<\_ACEOF
106777 #define HAVE___BUILTIN_FABSL 1
106778 _ACEOF
106780 cat >>confdefs.h <<\_ACEOF
106781 #define HAVE___BUILTIN_COS 1
106782 _ACEOF
106784 cat >>confdefs.h <<\_ACEOF
106785 #define HAVE___BUILTIN_COSF 1
106786 _ACEOF
106788 cat >>confdefs.h <<\_ACEOF
106789 #define HAVE___BUILTIN_SIN 1
106790 _ACEOF
106792 cat >>confdefs.h <<\_ACEOF
106793 #define HAVE___BUILTIN_SINF 1
106794 _ACEOF
106798 case "$target" in
106799 *-*-solaris2.10)
106800 # These two C99 functions are present only in Solaris >= 10
106801 cat >>confdefs.h <<\_ACEOF
106802 #define HAVE_STRTOF 1
106803 _ACEOF
106805 cat >>confdefs.h <<\_ACEOF
106806 #define HAVE_STRTOLD 1
106807 _ACEOF
106811 cat >>confdefs.h <<\_ACEOF
106812 #define HAVE_MMAP 1
106813 _ACEOF
106815 cat >>confdefs.h <<\_ACEOF
106816 #define HAVE_COPYSIGN 1
106817 _ACEOF
106819 cat >>confdefs.h <<\_ACEOF
106820 #define HAVE_ISNAN 1
106821 _ACEOF
106823 cat >>confdefs.h <<\_ACEOF
106824 #define HAVE_ISNANF 1
106825 _ACEOF
106827 cat >>confdefs.h <<\_ACEOF
106828 #define HAVE_MODFF 1
106829 _ACEOF
106831 cat >>confdefs.h <<\_ACEOF
106832 #define HAVE_HYPOT 1
106833 _ACEOF
106836 *-tpf)
106845 for ac_header in nan.h endian.h machine/endian.h \
106846 sys/param.h sys/types.h locale.h float.h inttypes.h
106848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106850 echo "$as_me:$LINENO: checking for $ac_header" >&5
106851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106853 echo $ECHO_N "(cached) $ECHO_C" >&6
106855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106858 # Is the header compilable?
106859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106861 cat >conftest.$ac_ext <<_ACEOF
106862 /* confdefs.h. */
106863 _ACEOF
106864 cat confdefs.h >>conftest.$ac_ext
106865 cat >>conftest.$ac_ext <<_ACEOF
106866 /* end confdefs.h. */
106867 $ac_includes_default
106868 #include <$ac_header>
106869 _ACEOF
106870 rm -f conftest.$ac_objext
106871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106872 (eval $ac_compile) 2>conftest.er1
106873 ac_status=$?
106874 grep -v '^ *+' conftest.er1 >conftest.err
106875 rm -f conftest.er1
106876 cat conftest.err >&5
106877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106878 (exit $ac_status); } &&
106879 { ac_try='test -z "$ac_c_werror_flag"
106880 || test ! -s conftest.err'
106881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106882 (eval $ac_try) 2>&5
106883 ac_status=$?
106884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106885 (exit $ac_status); }; } &&
106886 { ac_try='test -s conftest.$ac_objext'
106887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106888 (eval $ac_try) 2>&5
106889 ac_status=$?
106890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106891 (exit $ac_status); }; }; then
106892 ac_header_compiler=yes
106894 echo "$as_me: failed program was:" >&5
106895 sed 's/^/| /' conftest.$ac_ext >&5
106897 ac_header_compiler=no
106899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
106901 echo "${ECHO_T}$ac_header_compiler" >&6
106903 # Is the header present?
106904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
106905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
106906 cat >conftest.$ac_ext <<_ACEOF
106907 /* confdefs.h. */
106908 _ACEOF
106909 cat confdefs.h >>conftest.$ac_ext
106910 cat >>conftest.$ac_ext <<_ACEOF
106911 /* end confdefs.h. */
106912 #include <$ac_header>
106913 _ACEOF
106914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
106915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
106916 ac_status=$?
106917 grep -v '^ *+' conftest.er1 >conftest.err
106918 rm -f conftest.er1
106919 cat conftest.err >&5
106920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106921 (exit $ac_status); } >/dev/null; then
106922 if test -s conftest.err; then
106923 ac_cpp_err=$ac_c_preproc_warn_flag
106924 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
106926 ac_cpp_err=
106929 ac_cpp_err=yes
106931 if test -z "$ac_cpp_err"; then
106932 ac_header_preproc=yes
106934 echo "$as_me: failed program was:" >&5
106935 sed 's/^/| /' conftest.$ac_ext >&5
106937 ac_header_preproc=no
106939 rm -f conftest.err conftest.$ac_ext
106940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
106941 echo "${ECHO_T}$ac_header_preproc" >&6
106943 # So? What about this header?
106944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
106945 yes:no: )
106946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
106947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
106948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
106949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
106950 ac_header_preproc=yes
106952 no:yes:* )
106953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
106954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
106955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
106956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
106957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
106958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
106959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
106960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
106961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
106962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
106963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
106964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
106966 cat <<\_ASBOX
106967 ## ----------------------------------------- ##
106968 ## Report this to the package-unused lists. ##
106969 ## ----------------------------------------- ##
106970 _ASBOX
106972 sed "s/^/$as_me: WARNING: /" >&2
106975 echo "$as_me:$LINENO: checking for $ac_header" >&5
106976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106978 echo $ECHO_N "(cached) $ECHO_C" >&6
106980 eval "$as_ac_Header=\$ac_header_preproc"
106982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
106987 cat >>confdefs.h <<_ACEOF
106988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
106989 _ACEOF
106995 SECTION_FLAGS='-ffunction-sections -fdata-sections'
106998 # If we're not using GNU ld, then there's no point in even trying these
106999 # tests. Check for that first. We should have already tested for gld
107000 # by now (in libtool), but require it now just to be safe...
107001 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
107002 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
107006 # The name set by libtool depends on the version of libtool. Shame on us
107007 # for depending on an impl detail, but c'est la vie. Older versions used
107008 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
107009 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
107010 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
107011 # set (hence we're using an older libtool), then set it.
107012 if test x${with_gnu_ld+set} != xset; then
107013 if test x${ac_cv_prog_gnu_ld+set} != xset; then
107014 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
107015 with_gnu_ld=no
107017 with_gnu_ld=$ac_cv_prog_gnu_ld
107021 # Start by getting the version number. I think the libtool test already
107022 # does some of this, but throws away the result.
107023 if test x"$with_gnu_ld" = x"yes"; then
107024 echo "$as_me:$LINENO: checking for ld version" >&5
107025 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
107027 ldver=`$LD --version 2>/dev/null | head -1 | \
107028 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
107030 glibcxx_gnu_ld_version=`echo $ldver | \
107031 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
107032 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
107033 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
107036 # Set --gc-sections.
107037 glibcxx_gcsections_min_ld=21602
107038 if test x"$with_gnu_ld" = x"yes" &&
107039 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
107041 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
107042 # NB: This flag only works reliably after 2.16.1. Configure tests
107043 # for this are difficult, so hard wire a value that should work.
107045 ac_test_CFLAGS="${CFLAGS+set}"
107046 ac_save_CFLAGS="$CFLAGS"
107047 CFLAGS='-Wl,--gc-sections'
107049 # Check for -Wl,--gc-sections
107050 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
107051 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
107052 if test x$gcc_no_link = xyes; then
107053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107055 { (exit 1); exit 1; }; }
107057 cat >conftest.$ac_ext <<_ACEOF
107058 /* confdefs.h. */
107059 _ACEOF
107060 cat confdefs.h >>conftest.$ac_ext
107061 cat >>conftest.$ac_ext <<_ACEOF
107062 /* end confdefs.h. */
107063 int one(void) { return 1; }
107064 int two(void) { return 2; }
107067 main ()
107069 two();
107071 return 0;
107073 _ACEOF
107074 rm -f conftest.$ac_objext conftest$ac_exeext
107075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107076 (eval $ac_link) 2>conftest.er1
107077 ac_status=$?
107078 grep -v '^ *+' conftest.er1 >conftest.err
107079 rm -f conftest.er1
107080 cat conftest.err >&5
107081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107082 (exit $ac_status); } &&
107083 { ac_try='test -z "$ac_c_werror_flag"
107084 || test ! -s conftest.err'
107085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107086 (eval $ac_try) 2>&5
107087 ac_status=$?
107088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107089 (exit $ac_status); }; } &&
107090 { ac_try='test -s conftest$ac_exeext'
107091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107092 (eval $ac_try) 2>&5
107093 ac_status=$?
107094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107095 (exit $ac_status); }; }; then
107096 ac_gcsections=yes
107098 echo "$as_me: failed program was:" >&5
107099 sed 's/^/| /' conftest.$ac_ext >&5
107101 ac_gcsections=no
107103 rm -f conftest.err conftest.$ac_objext \
107104 conftest$ac_exeext conftest.$ac_ext
107105 if test "$ac_gcsections" = "yes"; then
107106 rm -f conftest.c
107107 touch conftest.c
107108 if $CC -c conftest.c; then
107109 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
107110 grep "Warning: gc-sections option ignored" > /dev/null; then
107111 ac_gcsections=no
107114 rm -f conftest.c conftest.o conftest
107116 if test "$ac_gcsections" = "yes"; then
107117 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
107119 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
107120 echo "${ECHO_T}$ac_gcsections" >&6
107122 if test "$ac_test_CFLAGS" = set; then
107123 CFLAGS="$ac_save_CFLAGS"
107125 # this is the suspicious part
107126 CFLAGS=''
107130 # Set -z,relro.
107131 # Note this is only for shared objects.
107132 ac_ld_relro=no
107133 if test x"$with_gnu_ld" = x"yes"; then
107134 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
107135 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
107136 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
107137 if test -n "$cxx_z_relo"; then
107138 OPT_LDFLAGS="-Wl,-z,relro"
107139 ac_ld_relro=yes
107141 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
107142 echo "${ECHO_T}$ac_ld_relro" >&6
107145 # Set linker optimization flags.
107146 if test x"$with_gnu_ld" = x"yes"; then
107147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
107155 echo "$as_me:$LINENO: checking for main in -lm" >&5
107156 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107157 if test "${ac_cv_lib_m_main+set}" = set; then
107158 echo $ECHO_N "(cached) $ECHO_C" >&6
107160 ac_check_lib_save_LIBS=$LIBS
107161 LIBS="-lm $LIBS"
107162 if test x$gcc_no_link = xyes; then
107163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107165 { (exit 1); exit 1; }; }
107167 cat >conftest.$ac_ext <<_ACEOF
107168 /* confdefs.h. */
107169 _ACEOF
107170 cat confdefs.h >>conftest.$ac_ext
107171 cat >>conftest.$ac_ext <<_ACEOF
107172 /* end confdefs.h. */
107176 main ()
107178 main ();
107180 return 0;
107182 _ACEOF
107183 rm -f conftest.$ac_objext conftest$ac_exeext
107184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107185 (eval $ac_link) 2>conftest.er1
107186 ac_status=$?
107187 grep -v '^ *+' conftest.er1 >conftest.err
107188 rm -f conftest.er1
107189 cat conftest.err >&5
107190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107191 (exit $ac_status); } &&
107192 { ac_try='test -z "$ac_c_werror_flag"
107193 || test ! -s conftest.err'
107194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107195 (eval $ac_try) 2>&5
107196 ac_status=$?
107197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107198 (exit $ac_status); }; } &&
107199 { ac_try='test -s conftest$ac_exeext'
107200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107201 (eval $ac_try) 2>&5
107202 ac_status=$?
107203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107204 (exit $ac_status); }; }; then
107205 ac_cv_lib_m_main=yes
107207 echo "$as_me: failed program was:" >&5
107208 sed 's/^/| /' conftest.$ac_ext >&5
107210 ac_cv_lib_m_main=no
107212 rm -f conftest.err conftest.$ac_objext \
107213 conftest$ac_exeext conftest.$ac_ext
107214 LIBS=$ac_check_lib_save_LIBS
107216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107217 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107218 if test $ac_cv_lib_m_main = yes; then
107219 cat >>confdefs.h <<_ACEOF
107220 #define HAVE_LIBM 1
107221 _ACEOF
107223 LIBS="-lm $LIBS"
107228 for ac_func in copysignf
107230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107231 echo "$as_me:$LINENO: checking for $ac_func" >&5
107232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107233 if eval "test \"\${$as_ac_var+set}\" = set"; then
107234 echo $ECHO_N "(cached) $ECHO_C" >&6
107236 if test x$gcc_no_link = xyes; then
107237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107239 { (exit 1); exit 1; }; }
107241 cat >conftest.$ac_ext <<_ACEOF
107242 /* confdefs.h. */
107243 _ACEOF
107244 cat confdefs.h >>conftest.$ac_ext
107245 cat >>conftest.$ac_ext <<_ACEOF
107246 /* end confdefs.h. */
107247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107249 #define $ac_func innocuous_$ac_func
107251 /* System header to define __stub macros and hopefully few prototypes,
107252 which can conflict with char $ac_func (); below.
107253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107254 <limits.h> exists even on freestanding compilers. */
107256 #ifdef __STDC__
107257 # include <limits.h>
107258 #else
107259 # include <assert.h>
107260 #endif
107262 #undef $ac_func
107264 /* Override any gcc2 internal prototype to avoid an error. */
107265 #ifdef __cplusplus
107266 extern "C"
107268 #endif
107269 /* We use char because int might match the return type of a gcc2
107270 builtin and then its argument prototype would still apply. */
107271 char $ac_func ();
107272 /* The GNU C library defines this for functions which it implements
107273 to always fail with ENOSYS. Some functions are actually named
107274 something starting with __ and the normal name is an alias. */
107275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107276 choke me
107277 #else
107278 char (*f) () = $ac_func;
107279 #endif
107280 #ifdef __cplusplus
107282 #endif
107285 main ()
107287 return f != $ac_func;
107289 return 0;
107291 _ACEOF
107292 rm -f conftest.$ac_objext conftest$ac_exeext
107293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107294 (eval $ac_link) 2>conftest.er1
107295 ac_status=$?
107296 grep -v '^ *+' conftest.er1 >conftest.err
107297 rm -f conftest.er1
107298 cat conftest.err >&5
107299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107300 (exit $ac_status); } &&
107301 { ac_try='test -z "$ac_c_werror_flag"
107302 || test ! -s conftest.err'
107303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107304 (eval $ac_try) 2>&5
107305 ac_status=$?
107306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107307 (exit $ac_status); }; } &&
107308 { ac_try='test -s conftest$ac_exeext'
107309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107310 (eval $ac_try) 2>&5
107311 ac_status=$?
107312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107313 (exit $ac_status); }; }; then
107314 eval "$as_ac_var=yes"
107316 echo "$as_me: failed program was:" >&5
107317 sed 's/^/| /' conftest.$ac_ext >&5
107319 eval "$as_ac_var=no"
107321 rm -f conftest.err conftest.$ac_objext \
107322 conftest$ac_exeext conftest.$ac_ext
107324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107326 if test `eval echo '${'$as_ac_var'}'` = yes; then
107327 cat >>confdefs.h <<_ACEOF
107328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107329 _ACEOF
107332 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107338 for ac_func in __signbit
107340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107341 echo "$as_me:$LINENO: checking for $ac_func" >&5
107342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107343 if eval "test \"\${$as_ac_var+set}\" = set"; then
107344 echo $ECHO_N "(cached) $ECHO_C" >&6
107346 if test x$gcc_no_link = xyes; then
107347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107349 { (exit 1); exit 1; }; }
107351 cat >conftest.$ac_ext <<_ACEOF
107352 /* confdefs.h. */
107353 _ACEOF
107354 cat confdefs.h >>conftest.$ac_ext
107355 cat >>conftest.$ac_ext <<_ACEOF
107356 /* end confdefs.h. */
107357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107359 #define $ac_func innocuous_$ac_func
107361 /* System header to define __stub macros and hopefully few prototypes,
107362 which can conflict with char $ac_func (); below.
107363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107364 <limits.h> exists even on freestanding compilers. */
107366 #ifdef __STDC__
107367 # include <limits.h>
107368 #else
107369 # include <assert.h>
107370 #endif
107372 #undef $ac_func
107374 /* Override any gcc2 internal prototype to avoid an error. */
107375 #ifdef __cplusplus
107376 extern "C"
107378 #endif
107379 /* We use char because int might match the return type of a gcc2
107380 builtin and then its argument prototype would still apply. */
107381 char $ac_func ();
107382 /* The GNU C library defines this for functions which it implements
107383 to always fail with ENOSYS. Some functions are actually named
107384 something starting with __ and the normal name is an alias. */
107385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107386 choke me
107387 #else
107388 char (*f) () = $ac_func;
107389 #endif
107390 #ifdef __cplusplus
107392 #endif
107395 main ()
107397 return f != $ac_func;
107399 return 0;
107401 _ACEOF
107402 rm -f conftest.$ac_objext conftest$ac_exeext
107403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107404 (eval $ac_link) 2>conftest.er1
107405 ac_status=$?
107406 grep -v '^ *+' conftest.er1 >conftest.err
107407 rm -f conftest.er1
107408 cat conftest.err >&5
107409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107410 (exit $ac_status); } &&
107411 { ac_try='test -z "$ac_c_werror_flag"
107412 || test ! -s conftest.err'
107413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107414 (eval $ac_try) 2>&5
107415 ac_status=$?
107416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107417 (exit $ac_status); }; } &&
107418 { ac_try='test -s conftest$ac_exeext'
107419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107420 (eval $ac_try) 2>&5
107421 ac_status=$?
107422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107423 (exit $ac_status); }; }; then
107424 eval "$as_ac_var=yes"
107426 echo "$as_me: failed program was:" >&5
107427 sed 's/^/| /' conftest.$ac_ext >&5
107429 eval "$as_ac_var=no"
107431 rm -f conftest.err conftest.$ac_objext \
107432 conftest$ac_exeext conftest.$ac_ext
107434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107436 if test `eval echo '${'$as_ac_var'}'` = yes; then
107437 cat >>confdefs.h <<_ACEOF
107438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107439 _ACEOF
107442 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107448 for ac_func in __signbitf
107450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107451 echo "$as_me:$LINENO: checking for $ac_func" >&5
107452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107453 if eval "test \"\${$as_ac_var+set}\" = set"; then
107454 echo $ECHO_N "(cached) $ECHO_C" >&6
107456 if test x$gcc_no_link = xyes; then
107457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107459 { (exit 1); exit 1; }; }
107461 cat >conftest.$ac_ext <<_ACEOF
107462 /* confdefs.h. */
107463 _ACEOF
107464 cat confdefs.h >>conftest.$ac_ext
107465 cat >>conftest.$ac_ext <<_ACEOF
107466 /* end confdefs.h. */
107467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107469 #define $ac_func innocuous_$ac_func
107471 /* System header to define __stub macros and hopefully few prototypes,
107472 which can conflict with char $ac_func (); below.
107473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107474 <limits.h> exists even on freestanding compilers. */
107476 #ifdef __STDC__
107477 # include <limits.h>
107478 #else
107479 # include <assert.h>
107480 #endif
107482 #undef $ac_func
107484 /* Override any gcc2 internal prototype to avoid an error. */
107485 #ifdef __cplusplus
107486 extern "C"
107488 #endif
107489 /* We use char because int might match the return type of a gcc2
107490 builtin and then its argument prototype would still apply. */
107491 char $ac_func ();
107492 /* The GNU C library defines this for functions which it implements
107493 to always fail with ENOSYS. Some functions are actually named
107494 something starting with __ and the normal name is an alias. */
107495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107496 choke me
107497 #else
107498 char (*f) () = $ac_func;
107499 #endif
107500 #ifdef __cplusplus
107502 #endif
107505 main ()
107507 return f != $ac_func;
107509 return 0;
107511 _ACEOF
107512 rm -f conftest.$ac_objext conftest$ac_exeext
107513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107514 (eval $ac_link) 2>conftest.er1
107515 ac_status=$?
107516 grep -v '^ *+' conftest.er1 >conftest.err
107517 rm -f conftest.er1
107518 cat conftest.err >&5
107519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107520 (exit $ac_status); } &&
107521 { ac_try='test -z "$ac_c_werror_flag"
107522 || test ! -s conftest.err'
107523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107524 (eval $ac_try) 2>&5
107525 ac_status=$?
107526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107527 (exit $ac_status); }; } &&
107528 { ac_try='test -s conftest$ac_exeext'
107529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107530 (eval $ac_try) 2>&5
107531 ac_status=$?
107532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107533 (exit $ac_status); }; }; then
107534 eval "$as_ac_var=yes"
107536 echo "$as_me: failed program was:" >&5
107537 sed 's/^/| /' conftest.$ac_ext >&5
107539 eval "$as_ac_var=no"
107541 rm -f conftest.err conftest.$ac_objext \
107542 conftest$ac_exeext conftest.$ac_ext
107544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107546 if test `eval echo '${'$as_ac_var'}'` = yes; then
107547 cat >>confdefs.h <<_ACEOF
107548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107549 _ACEOF
107552 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107557 if test x$ac_cv_func_copysignl = x"yes"; then
107559 for ac_func in __signbitl
107561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107562 echo "$as_me:$LINENO: checking for $ac_func" >&5
107563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107564 if eval "test \"\${$as_ac_var+set}\" = set"; then
107565 echo $ECHO_N "(cached) $ECHO_C" >&6
107567 if test x$gcc_no_link = xyes; then
107568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107570 { (exit 1); exit 1; }; }
107572 cat >conftest.$ac_ext <<_ACEOF
107573 /* confdefs.h. */
107574 _ACEOF
107575 cat confdefs.h >>conftest.$ac_ext
107576 cat >>conftest.$ac_ext <<_ACEOF
107577 /* end confdefs.h. */
107578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107580 #define $ac_func innocuous_$ac_func
107582 /* System header to define __stub macros and hopefully few prototypes,
107583 which can conflict with char $ac_func (); below.
107584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107585 <limits.h> exists even on freestanding compilers. */
107587 #ifdef __STDC__
107588 # include <limits.h>
107589 #else
107590 # include <assert.h>
107591 #endif
107593 #undef $ac_func
107595 /* Override any gcc2 internal prototype to avoid an error. */
107596 #ifdef __cplusplus
107597 extern "C"
107599 #endif
107600 /* We use char because int might match the return type of a gcc2
107601 builtin and then its argument prototype would still apply. */
107602 char $ac_func ();
107603 /* The GNU C library defines this for functions which it implements
107604 to always fail with ENOSYS. Some functions are actually named
107605 something starting with __ and the normal name is an alias. */
107606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107607 choke me
107608 #else
107609 char (*f) () = $ac_func;
107610 #endif
107611 #ifdef __cplusplus
107613 #endif
107616 main ()
107618 return f != $ac_func;
107620 return 0;
107622 _ACEOF
107623 rm -f conftest.$ac_objext conftest$ac_exeext
107624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107625 (eval $ac_link) 2>conftest.er1
107626 ac_status=$?
107627 grep -v '^ *+' conftest.er1 >conftest.err
107628 rm -f conftest.er1
107629 cat conftest.err >&5
107630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107631 (exit $ac_status); } &&
107632 { ac_try='test -z "$ac_c_werror_flag"
107633 || test ! -s conftest.err'
107634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107635 (eval $ac_try) 2>&5
107636 ac_status=$?
107637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107638 (exit $ac_status); }; } &&
107639 { ac_try='test -s conftest$ac_exeext'
107640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107641 (eval $ac_try) 2>&5
107642 ac_status=$?
107643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107644 (exit $ac_status); }; }; then
107645 eval "$as_ac_var=yes"
107647 echo "$as_me: failed program was:" >&5
107648 sed 's/^/| /' conftest.$ac_ext >&5
107650 eval "$as_ac_var=no"
107652 rm -f conftest.err conftest.$ac_objext \
107653 conftest$ac_exeext conftest.$ac_ext
107655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107657 if test `eval echo '${'$as_ac_var'}'` = yes; then
107658 cat >>confdefs.h <<_ACEOF
107659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107660 _ACEOF
107663 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107669 # Used in libmath/Makefile.am.
107670 if test -n "$LIBMATHOBJS"; then
107671 need_libmath=yes
107677 enable_iconv=no
107678 # Only continue checking if the ISO C99 headers exist and support is on.
107679 if test x"$enable_wchar_t" = xyes; then
107681 # Use iconv for wchar_t to char conversions. As such, check for
107682 # X/Open Portability Guide, version 2 features (XPG2).
107683 if test "${ac_cv_header_iconv_h+set}" = set; then
107684 echo "$as_me:$LINENO: checking for iconv.h" >&5
107685 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107686 if test "${ac_cv_header_iconv_h+set}" = set; then
107687 echo $ECHO_N "(cached) $ECHO_C" >&6
107689 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107690 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107692 # Is the header compilable?
107693 echo "$as_me:$LINENO: checking iconv.h usability" >&5
107694 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
107695 cat >conftest.$ac_ext <<_ACEOF
107696 /* confdefs.h. */
107697 _ACEOF
107698 cat confdefs.h >>conftest.$ac_ext
107699 cat >>conftest.$ac_ext <<_ACEOF
107700 /* end confdefs.h. */
107701 $ac_includes_default
107702 #include <iconv.h>
107703 _ACEOF
107704 rm -f conftest.$ac_objext
107705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107706 (eval $ac_compile) 2>conftest.er1
107707 ac_status=$?
107708 grep -v '^ *+' conftest.er1 >conftest.err
107709 rm -f conftest.er1
107710 cat conftest.err >&5
107711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107712 (exit $ac_status); } &&
107713 { ac_try='test -z "$ac_c_werror_flag"
107714 || test ! -s conftest.err'
107715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107716 (eval $ac_try) 2>&5
107717 ac_status=$?
107718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107719 (exit $ac_status); }; } &&
107720 { ac_try='test -s conftest.$ac_objext'
107721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107722 (eval $ac_try) 2>&5
107723 ac_status=$?
107724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107725 (exit $ac_status); }; }; then
107726 ac_header_compiler=yes
107728 echo "$as_me: failed program was:" >&5
107729 sed 's/^/| /' conftest.$ac_ext >&5
107731 ac_header_compiler=no
107733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107735 echo "${ECHO_T}$ac_header_compiler" >&6
107737 # Is the header present?
107738 echo "$as_me:$LINENO: checking iconv.h presence" >&5
107739 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
107740 cat >conftest.$ac_ext <<_ACEOF
107741 /* confdefs.h. */
107742 _ACEOF
107743 cat confdefs.h >>conftest.$ac_ext
107744 cat >>conftest.$ac_ext <<_ACEOF
107745 /* end confdefs.h. */
107746 #include <iconv.h>
107747 _ACEOF
107748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107750 ac_status=$?
107751 grep -v '^ *+' conftest.er1 >conftest.err
107752 rm -f conftest.er1
107753 cat conftest.err >&5
107754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107755 (exit $ac_status); } >/dev/null; then
107756 if test -s conftest.err; then
107757 ac_cpp_err=$ac_c_preproc_warn_flag
107758 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107760 ac_cpp_err=
107763 ac_cpp_err=yes
107765 if test -z "$ac_cpp_err"; then
107766 ac_header_preproc=yes
107768 echo "$as_me: failed program was:" >&5
107769 sed 's/^/| /' conftest.$ac_ext >&5
107771 ac_header_preproc=no
107773 rm -f conftest.err conftest.$ac_ext
107774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107775 echo "${ECHO_T}$ac_header_preproc" >&6
107777 # So? What about this header?
107778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107779 yes:no: )
107780 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
107781 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107782 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
107783 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
107784 ac_header_preproc=yes
107786 no:yes:* )
107787 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
107788 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
107789 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
107790 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
107791 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
107792 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
107793 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
107794 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
107795 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
107796 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
107797 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
107798 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
107800 cat <<\_ASBOX
107801 ## ----------------------------------------- ##
107802 ## Report this to the package-unused lists. ##
107803 ## ----------------------------------------- ##
107804 _ASBOX
107806 sed "s/^/$as_me: WARNING: /" >&2
107809 echo "$as_me:$LINENO: checking for iconv.h" >&5
107810 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
107811 if test "${ac_cv_header_iconv_h+set}" = set; then
107812 echo $ECHO_N "(cached) $ECHO_C" >&6
107814 ac_cv_header_iconv_h=$ac_header_preproc
107816 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
107817 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
107820 if test $ac_cv_header_iconv_h = yes; then
107821 ac_has_iconv_h=yes
107823 ac_has_iconv_h=no
107827 if test "${ac_cv_header_langinfo_h+set}" = set; then
107828 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107829 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107830 if test "${ac_cv_header_langinfo_h+set}" = set; then
107831 echo $ECHO_N "(cached) $ECHO_C" >&6
107833 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107834 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107836 # Is the header compilable?
107837 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
107838 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
107839 cat >conftest.$ac_ext <<_ACEOF
107840 /* confdefs.h. */
107841 _ACEOF
107842 cat confdefs.h >>conftest.$ac_ext
107843 cat >>conftest.$ac_ext <<_ACEOF
107844 /* end confdefs.h. */
107845 $ac_includes_default
107846 #include <langinfo.h>
107847 _ACEOF
107848 rm -f conftest.$ac_objext
107849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107850 (eval $ac_compile) 2>conftest.er1
107851 ac_status=$?
107852 grep -v '^ *+' conftest.er1 >conftest.err
107853 rm -f conftest.er1
107854 cat conftest.err >&5
107855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107856 (exit $ac_status); } &&
107857 { ac_try='test -z "$ac_c_werror_flag"
107858 || test ! -s conftest.err'
107859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107860 (eval $ac_try) 2>&5
107861 ac_status=$?
107862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107863 (exit $ac_status); }; } &&
107864 { ac_try='test -s conftest.$ac_objext'
107865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107866 (eval $ac_try) 2>&5
107867 ac_status=$?
107868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107869 (exit $ac_status); }; }; then
107870 ac_header_compiler=yes
107872 echo "$as_me: failed program was:" >&5
107873 sed 's/^/| /' conftest.$ac_ext >&5
107875 ac_header_compiler=no
107877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107879 echo "${ECHO_T}$ac_header_compiler" >&6
107881 # Is the header present?
107882 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
107883 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
107884 cat >conftest.$ac_ext <<_ACEOF
107885 /* confdefs.h. */
107886 _ACEOF
107887 cat confdefs.h >>conftest.$ac_ext
107888 cat >>conftest.$ac_ext <<_ACEOF
107889 /* end confdefs.h. */
107890 #include <langinfo.h>
107891 _ACEOF
107892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107894 ac_status=$?
107895 grep -v '^ *+' conftest.er1 >conftest.err
107896 rm -f conftest.er1
107897 cat conftest.err >&5
107898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107899 (exit $ac_status); } >/dev/null; then
107900 if test -s conftest.err; then
107901 ac_cpp_err=$ac_c_preproc_warn_flag
107902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107904 ac_cpp_err=
107907 ac_cpp_err=yes
107909 if test -z "$ac_cpp_err"; then
107910 ac_header_preproc=yes
107912 echo "$as_me: failed program was:" >&5
107913 sed 's/^/| /' conftest.$ac_ext >&5
107915 ac_header_preproc=no
107917 rm -f conftest.err conftest.$ac_ext
107918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107919 echo "${ECHO_T}$ac_header_preproc" >&6
107921 # So? What about this header?
107922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107923 yes:no: )
107924 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
107925 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
107926 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
107927 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
107928 ac_header_preproc=yes
107930 no:yes:* )
107931 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
107932 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
107933 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
107934 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
107935 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
107936 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
107937 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
107938 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
107939 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
107940 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
107941 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
107942 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
107944 cat <<\_ASBOX
107945 ## ----------------------------------------- ##
107946 ## Report this to the package-unused lists. ##
107947 ## ----------------------------------------- ##
107948 _ASBOX
107950 sed "s/^/$as_me: WARNING: /" >&2
107953 echo "$as_me:$LINENO: checking for langinfo.h" >&5
107954 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
107955 if test "${ac_cv_header_langinfo_h+set}" = set; then
107956 echo $ECHO_N "(cached) $ECHO_C" >&6
107958 ac_cv_header_langinfo_h=$ac_header_preproc
107960 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
107961 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
107964 if test $ac_cv_header_langinfo_h = yes; then
107965 ac_has_langinfo_h=yes
107967 ac_has_langinfo_h=no
107972 # Check for existence of libiconv.a providing XPG2 wchar_t support.
107973 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
107974 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
107975 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
107976 echo $ECHO_N "(cached) $ECHO_C" >&6
107978 ac_check_lib_save_LIBS=$LIBS
107979 LIBS="-liconv $LIBS"
107980 if test x$gcc_no_link = xyes; then
107981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107983 { (exit 1); exit 1; }; }
107985 cat >conftest.$ac_ext <<_ACEOF
107986 /* confdefs.h. */
107987 _ACEOF
107988 cat confdefs.h >>conftest.$ac_ext
107989 cat >>conftest.$ac_ext <<_ACEOF
107990 /* end confdefs.h. */
107992 /* Override any gcc2 internal prototype to avoid an error. */
107993 #ifdef __cplusplus
107994 extern "C"
107995 #endif
107996 /* We use char because int might match the return type of a gcc2
107997 builtin and then its argument prototype would still apply. */
107998 char iconv ();
108000 main ()
108002 iconv ();
108004 return 0;
108006 _ACEOF
108007 rm -f conftest.$ac_objext conftest$ac_exeext
108008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108009 (eval $ac_link) 2>conftest.er1
108010 ac_status=$?
108011 grep -v '^ *+' conftest.er1 >conftest.err
108012 rm -f conftest.er1
108013 cat conftest.err >&5
108014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108015 (exit $ac_status); } &&
108016 { ac_try='test -z "$ac_c_werror_flag"
108017 || test ! -s conftest.err'
108018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108019 (eval $ac_try) 2>&5
108020 ac_status=$?
108021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108022 (exit $ac_status); }; } &&
108023 { ac_try='test -s conftest$ac_exeext'
108024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108025 (eval $ac_try) 2>&5
108026 ac_status=$?
108027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108028 (exit $ac_status); }; }; then
108029 ac_cv_lib_iconv_iconv=yes
108031 echo "$as_me: failed program was:" >&5
108032 sed 's/^/| /' conftest.$ac_ext >&5
108034 ac_cv_lib_iconv_iconv=no
108036 rm -f conftest.err conftest.$ac_objext \
108037 conftest$ac_exeext conftest.$ac_ext
108038 LIBS=$ac_check_lib_save_LIBS
108040 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
108041 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
108042 if test $ac_cv_lib_iconv_iconv = yes; then
108043 LIBICONV="-liconv"
108046 ac_save_LIBS="$LIBS"
108047 LIBS="$LIBS $LIBICONV"
108054 for ac_func in iconv_open iconv_close iconv nl_langinfo
108056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108057 echo "$as_me:$LINENO: checking for $ac_func" >&5
108058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108059 if eval "test \"\${$as_ac_var+set}\" = set"; then
108060 echo $ECHO_N "(cached) $ECHO_C" >&6
108062 if test x$gcc_no_link = xyes; then
108063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108065 { (exit 1); exit 1; }; }
108067 cat >conftest.$ac_ext <<_ACEOF
108068 /* confdefs.h. */
108069 _ACEOF
108070 cat confdefs.h >>conftest.$ac_ext
108071 cat >>conftest.$ac_ext <<_ACEOF
108072 /* end confdefs.h. */
108073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108075 #define $ac_func innocuous_$ac_func
108077 /* System header to define __stub macros and hopefully few prototypes,
108078 which can conflict with char $ac_func (); below.
108079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108080 <limits.h> exists even on freestanding compilers. */
108082 #ifdef __STDC__
108083 # include <limits.h>
108084 #else
108085 # include <assert.h>
108086 #endif
108088 #undef $ac_func
108090 /* Override any gcc2 internal prototype to avoid an error. */
108091 #ifdef __cplusplus
108092 extern "C"
108094 #endif
108095 /* We use char because int might match the return type of a gcc2
108096 builtin and then its argument prototype would still apply. */
108097 char $ac_func ();
108098 /* The GNU C library defines this for functions which it implements
108099 to always fail with ENOSYS. Some functions are actually named
108100 something starting with __ and the normal name is an alias. */
108101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108102 choke me
108103 #else
108104 char (*f) () = $ac_func;
108105 #endif
108106 #ifdef __cplusplus
108108 #endif
108111 main ()
108113 return f != $ac_func;
108115 return 0;
108117 _ACEOF
108118 rm -f conftest.$ac_objext conftest$ac_exeext
108119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108120 (eval $ac_link) 2>conftest.er1
108121 ac_status=$?
108122 grep -v '^ *+' conftest.er1 >conftest.err
108123 rm -f conftest.er1
108124 cat conftest.err >&5
108125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108126 (exit $ac_status); } &&
108127 { ac_try='test -z "$ac_c_werror_flag"
108128 || test ! -s conftest.err'
108129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108130 (eval $ac_try) 2>&5
108131 ac_status=$?
108132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108133 (exit $ac_status); }; } &&
108134 { ac_try='test -s conftest$ac_exeext'
108135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108136 (eval $ac_try) 2>&5
108137 ac_status=$?
108138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108139 (exit $ac_status); }; }; then
108140 eval "$as_ac_var=yes"
108142 echo "$as_me: failed program was:" >&5
108143 sed 's/^/| /' conftest.$ac_ext >&5
108145 eval "$as_ac_var=no"
108147 rm -f conftest.err conftest.$ac_objext \
108148 conftest$ac_exeext conftest.$ac_ext
108150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108152 if test `eval echo '${'$as_ac_var'}'` = yes; then
108153 cat >>confdefs.h <<_ACEOF
108154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108155 _ACEOF
108156 ac_XPG2funcs=yes
108158 ac_XPG2funcs=no
108163 LIBS="$ac_save_LIBS"
108165 if test x"$ac_has_iconv_h" = xyes &&
108166 test x"$ac_has_langinfo_h" = xyes &&
108167 test x"$ac_XPG2funcs" = xyes;
108170 cat >>confdefs.h <<\_ACEOF
108171 #define _GLIBCXX_USE_ICONV 1
108172 _ACEOF
108174 enable_iconv=yes
108177 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
108178 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
108179 echo "$as_me:$LINENO: result: $enable_iconv" >&5
108180 echo "${ECHO_T}$enable_iconv" >&6
108182 cat >>confdefs.h <<\_ACEOF
108183 #define HAVE_COPYSIGN 1
108184 _ACEOF
108186 cat >>confdefs.h <<\_ACEOF
108187 #define HAVE_COPYSIGNF 1
108188 _ACEOF
108190 cat >>confdefs.h <<\_ACEOF
108191 #define HAVE_FINITE 1
108192 _ACEOF
108194 cat >>confdefs.h <<\_ACEOF
108195 #define HAVE_FINITEF 1
108196 _ACEOF
108198 cat >>confdefs.h <<\_ACEOF
108199 #define HAVE_FREXPF 1
108200 _ACEOF
108202 cat >>confdefs.h <<\_ACEOF
108203 #define HAVE_HYPOTF 1
108204 _ACEOF
108206 cat >>confdefs.h <<\_ACEOF
108207 #define HAVE_ISINF 1
108208 _ACEOF
108210 cat >>confdefs.h <<\_ACEOF
108211 #define HAVE_ISINFF 1
108212 _ACEOF
108214 cat >>confdefs.h <<\_ACEOF
108215 #define HAVE_ISNAN 1
108216 _ACEOF
108218 cat >>confdefs.h <<\_ACEOF
108219 #define HAVE_ISNANF 1
108220 _ACEOF
108222 cat >>confdefs.h <<\_ACEOF
108223 #define HAVE_SINCOS 1
108224 _ACEOF
108226 cat >>confdefs.h <<\_ACEOF
108227 #define HAVE_SINCOSF 1
108228 _ACEOF
108230 if test x"long_double_math_on_this_cpu" = x"yes"; then
108231 cat >>confdefs.h <<\_ACEOF
108232 #define HAVE_FINITEL 1
108233 _ACEOF
108235 cat >>confdefs.h <<\_ACEOF
108236 #define HAVE_HYPOTL 1
108237 _ACEOF
108239 cat >>confdefs.h <<\_ACEOF
108240 #define HAVE_ISINFL 1
108241 _ACEOF
108243 cat >>confdefs.h <<\_ACEOF
108244 #define HAVE_ISNANL 1
108245 _ACEOF
108249 *-vxworks)
108250 cat >>confdefs.h <<\_ACEOF
108251 #define HAVE_MMAP 1
108252 _ACEOF
108254 cat >>confdefs.h <<\_ACEOF
108255 #define HAVE_ACOSF 1
108256 _ACEOF
108258 cat >>confdefs.h <<\_ACEOF
108259 #define HAVE_ASINF 1
108260 _ACEOF
108262 cat >>confdefs.h <<\_ACEOF
108263 #define HAVE_ATAN2F 1
108264 _ACEOF
108266 cat >>confdefs.h <<\_ACEOF
108267 #define HAVE_ATANF 1
108268 _ACEOF
108270 cat >>confdefs.h <<\_ACEOF
108271 #define HAVE_CEILF 1
108272 _ACEOF
108274 cat >>confdefs.h <<\_ACEOF
108275 #define HAVE_COSF 1
108276 _ACEOF
108278 cat >>confdefs.h <<\_ACEOF
108279 #define HAVE_COSHF 1
108280 _ACEOF
108282 cat >>confdefs.h <<\_ACEOF
108283 #define HAVE_EXPF 1
108284 _ACEOF
108286 cat >>confdefs.h <<\_ACEOF
108287 #define HAVE_FABSF 1
108288 _ACEOF
108290 cat >>confdefs.h <<\_ACEOF
108291 #define HAVE_FLOORF 1
108292 _ACEOF
108294 cat >>confdefs.h <<\_ACEOF
108295 #define HAVE_FMODF 1
108296 _ACEOF
108298 cat >>confdefs.h <<\_ACEOF
108299 #define HAVE_HYPOT 1
108300 _ACEOF
108302 cat >>confdefs.h <<\_ACEOF
108303 #define HAVE_LOG10F 1
108304 _ACEOF
108306 cat >>confdefs.h <<\_ACEOF
108307 #define HAVE_LOGF 1
108308 _ACEOF
108310 cat >>confdefs.h <<\_ACEOF
108311 #define HAVE_POWF 1
108312 _ACEOF
108314 cat >>confdefs.h <<\_ACEOF
108315 #define HAVE_SINF 1
108316 _ACEOF
108318 cat >>confdefs.h <<\_ACEOF
108319 #define HAVE_SINHF 1
108320 _ACEOF
108322 cat >>confdefs.h <<\_ACEOF
108323 #define HAVE_SQRTF 1
108324 _ACEOF
108326 cat >>confdefs.h <<\_ACEOF
108327 #define HAVE_TANF 1
108328 _ACEOF
108330 cat >>confdefs.h <<\_ACEOF
108331 #define HAVE_TANHF 1
108332 _ACEOF
108335 *-windiss*)
108336 cat >>confdefs.h <<\_ACEOF
108337 #define HAVE_ACOSF 1
108338 _ACEOF
108340 cat >>confdefs.h <<\_ACEOF
108341 #define HAVE_ACOSL 1
108342 _ACEOF
108344 cat >>confdefs.h <<\_ACEOF
108345 #define HAVE_ASINF 1
108346 _ACEOF
108348 cat >>confdefs.h <<\_ACEOF
108349 #define HAVE_ASINL 1
108350 _ACEOF
108352 cat >>confdefs.h <<\_ACEOF
108353 #define HAVE_ATAN2F 1
108354 _ACEOF
108356 cat >>confdefs.h <<\_ACEOF
108357 #define HAVE_ATAN2L 1
108358 _ACEOF
108360 cat >>confdefs.h <<\_ACEOF
108361 #define HAVE_ATANF 1
108362 _ACEOF
108364 cat >>confdefs.h <<\_ACEOF
108365 #define HAVE_ATANL 1
108366 _ACEOF
108368 cat >>confdefs.h <<\_ACEOF
108369 #define HAVE_CEILF 1
108370 _ACEOF
108372 cat >>confdefs.h <<\_ACEOF
108373 #define HAVE_CEILL 1
108374 _ACEOF
108376 cat >>confdefs.h <<\_ACEOF
108377 #define HAVE_COPYSIGN 1
108378 _ACEOF
108380 cat >>confdefs.h <<\_ACEOF
108381 #define HAVE_COPYSIGNF 1
108382 _ACEOF
108384 cat >>confdefs.h <<\_ACEOF
108385 #define HAVE_COSF 1
108386 _ACEOF
108388 cat >>confdefs.h <<\_ACEOF
108389 #define HAVE_COSL 1
108390 _ACEOF
108392 cat >>confdefs.h <<\_ACEOF
108393 #define HAVE_COSHF 1
108394 _ACEOF
108396 cat >>confdefs.h <<\_ACEOF
108397 #define HAVE_COSHL 1
108398 _ACEOF
108400 cat >>confdefs.h <<\_ACEOF
108401 #define HAVE_EXPF 1
108402 _ACEOF
108404 cat >>confdefs.h <<\_ACEOF
108405 #define HAVE_EXPL 1
108406 _ACEOF
108408 cat >>confdefs.h <<\_ACEOF
108409 #define HAVE_FABSF 1
108410 _ACEOF
108412 cat >>confdefs.h <<\_ACEOF
108413 #define HAVE_FABSL 1
108414 _ACEOF
108416 cat >>confdefs.h <<\_ACEOF
108417 #define HAVE_FLOORF 1
108418 _ACEOF
108420 cat >>confdefs.h <<\_ACEOF
108421 #define HAVE_FLOORL 1
108422 _ACEOF
108424 cat >>confdefs.h <<\_ACEOF
108425 #define HAVE_FMODF 1
108426 _ACEOF
108428 cat >>confdefs.h <<\_ACEOF
108429 #define HAVE_FMODL 1
108430 _ACEOF
108432 cat >>confdefs.h <<\_ACEOF
108433 #define HAVE_FREXPF 1
108434 _ACEOF
108436 cat >>confdefs.h <<\_ACEOF
108437 #define HAVE_FREXPL 1
108438 _ACEOF
108440 cat >>confdefs.h <<\_ACEOF
108441 #define HAVE_LDEXPF 1
108442 _ACEOF
108444 cat >>confdefs.h <<\_ACEOF
108445 #define HAVE_LDEXPL 1
108446 _ACEOF
108448 cat >>confdefs.h <<\_ACEOF
108449 #define HAVE_LOG10F 1
108450 _ACEOF
108452 cat >>confdefs.h <<\_ACEOF
108453 #define HAVE_LOG10L 1
108454 _ACEOF
108456 cat >>confdefs.h <<\_ACEOF
108457 #define HAVE_LOGF 1
108458 _ACEOF
108460 cat >>confdefs.h <<\_ACEOF
108461 #define HAVE_MODFF 1
108462 _ACEOF
108464 cat >>confdefs.h <<\_ACEOF
108465 #define HAVE_MODFL 1
108466 _ACEOF
108468 cat >>confdefs.h <<\_ACEOF
108469 #define HAVE_POWF 1
108470 _ACEOF
108472 cat >>confdefs.h <<\_ACEOF
108473 #define HAVE_POWL 1
108474 _ACEOF
108476 cat >>confdefs.h <<\_ACEOF
108477 #define HAVE_SINF 1
108478 _ACEOF
108480 cat >>confdefs.h <<\_ACEOF
108481 #define HAVE_SINL 1
108482 _ACEOF
108484 cat >>confdefs.h <<\_ACEOF
108485 #define HAVE_SINHF 1
108486 _ACEOF
108488 cat >>confdefs.h <<\_ACEOF
108489 #define HAVE_SINHL 1
108490 _ACEOF
108492 cat >>confdefs.h <<\_ACEOF
108493 #define HAVE_SQRTF 1
108494 _ACEOF
108496 cat >>confdefs.h <<\_ACEOF
108497 #define HAVE_SQRTL 1
108498 _ACEOF
108500 cat >>confdefs.h <<\_ACEOF
108501 #define HAVE_TANF 1
108502 _ACEOF
108504 cat >>confdefs.h <<\_ACEOF
108505 #define HAVE_TANL 1
108506 _ACEOF
108508 cat >>confdefs.h <<\_ACEOF
108509 #define HAVE_TANHF 1
108510 _ACEOF
108512 cat >>confdefs.h <<\_ACEOF
108513 #define HAVE_TANHL 1
108514 _ACEOF
108518 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
108519 echo "$as_me: error: No support for this host/target combination." >&2;}
108520 { (exit 1); exit 1; }; }
108526 # At some point, we should differentiate between architectures
108527 # like x86, which have long double versions, and alpha/powerpc/etc.,
108528 # which don't. For the time being, punt.
108529 if test x"long_double_math_on_this_cpu" = x"yes"; then
108530 cat >>confdefs.h <<\_ACEOF
108531 #define HAVE_ACOSL 1
108532 _ACEOF
108534 cat >>confdefs.h <<\_ACEOF
108535 #define HAVE_ASINL 1
108536 _ACEOF
108538 cat >>confdefs.h <<\_ACEOF
108539 #define HAVE_ATAN2L 1
108540 _ACEOF
108542 cat >>confdefs.h <<\_ACEOF
108543 #define HAVE_ATANL 1
108544 _ACEOF
108546 cat >>confdefs.h <<\_ACEOF
108547 #define HAVE_CEILL 1
108548 _ACEOF
108550 cat >>confdefs.h <<\_ACEOF
108551 #define HAVE_COPYSIGNL 1
108552 _ACEOF
108554 cat >>confdefs.h <<\_ACEOF
108555 #define HAVE_COSL 1
108556 _ACEOF
108558 cat >>confdefs.h <<\_ACEOF
108559 #define HAVE_COSHL 1
108560 _ACEOF
108562 cat >>confdefs.h <<\_ACEOF
108563 #define HAVE_EXPL 1
108564 _ACEOF
108566 cat >>confdefs.h <<\_ACEOF
108567 #define HAVE_FABSL 1
108568 _ACEOF
108570 cat >>confdefs.h <<\_ACEOF
108571 #define HAVE_FLOORL 1
108572 _ACEOF
108574 cat >>confdefs.h <<\_ACEOF
108575 #define HAVE_FMODL 1
108576 _ACEOF
108578 cat >>confdefs.h <<\_ACEOF
108579 #define HAVE_FREXPL 1
108580 _ACEOF
108582 cat >>confdefs.h <<\_ACEOF
108583 #define HAVE_LDEXPL 1
108584 _ACEOF
108586 cat >>confdefs.h <<\_ACEOF
108587 #define HAVE_LOG10L 1
108588 _ACEOF
108590 cat >>confdefs.h <<\_ACEOF
108591 #define HAVE_LOGL 1
108592 _ACEOF
108594 cat >>confdefs.h <<\_ACEOF
108595 #define HAVE_MODFL 1
108596 _ACEOF
108598 cat >>confdefs.h <<\_ACEOF
108599 #define HAVE_POWL 1
108600 _ACEOF
108602 cat >>confdefs.h <<\_ACEOF
108603 #define HAVE_SINCOSL 1
108604 _ACEOF
108606 cat >>confdefs.h <<\_ACEOF
108607 #define HAVE_SINL 1
108608 _ACEOF
108610 cat >>confdefs.h <<\_ACEOF
108611 #define HAVE_SINHL 1
108612 _ACEOF
108614 cat >>confdefs.h <<\_ACEOF
108615 #define HAVE_SQRTL 1
108616 _ACEOF
108618 cat >>confdefs.h <<\_ACEOF
108619 #define HAVE_TANL 1
108620 _ACEOF
108622 cat >>confdefs.h <<\_ACEOF
108623 #define HAVE_TANHL 1
108624 _ACEOF
108628 # Assume we have _Unwind_GetIPInfo for cross-compiles.
108629 cat >>confdefs.h <<\_ACEOF
108630 #define HAVE_GETIPINFO 1
108631 _ACEOF
108636 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108639 # Check whether --enable-symvers or --disable-symvers was given.
108640 if test "${enable_symvers+set}" = set; then
108641 enableval="$enable_symvers"
108643 case "$enableval" in
108644 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108645 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108646 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108647 { (exit 1); exit 1; }; } ;;
108651 enable_symvers=yes
108655 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108656 # don't know enough about $LD to do tricks...
108659 # Turn a 'yes' into a suitable default.
108660 if test x$enable_symvers = xyes ; then
108661 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
108662 enable_symvers=no
108664 if test $with_gnu_ld = yes ; then
108665 enable_symvers=gnu
108667 case ${target_os} in
108668 darwin*)
108669 enable_symvers=darwin ;;
108671 enable_symvers=no ;;
108677 # Check to see if 'darwin' or 'darwin-export' can win.
108678 if test x$enable_symvers = xdarwin-export ; then
108679 enable_symvers=darwin
108682 # Check to see if 'gnu' can win.
108683 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108684 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108685 echo "$as_me:$LINENO: checking for shared libgcc" >&5
108686 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108687 ac_save_CFLAGS="$CFLAGS"
108688 CFLAGS=' -lgcc_s'
108689 if test x$gcc_no_link = xyes; then
108690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108692 { (exit 1); exit 1; }; }
108694 cat >conftest.$ac_ext <<_ACEOF
108695 /* confdefs.h. */
108696 _ACEOF
108697 cat confdefs.h >>conftest.$ac_ext
108698 cat >>conftest.$ac_ext <<_ACEOF
108699 /* end confdefs.h. */
108702 main ()
108704 return 0;
108706 return 0;
108708 _ACEOF
108709 rm -f conftest.$ac_objext conftest$ac_exeext
108710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108711 (eval $ac_link) 2>conftest.er1
108712 ac_status=$?
108713 grep -v '^ *+' conftest.er1 >conftest.err
108714 rm -f conftest.er1
108715 cat conftest.err >&5
108716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108717 (exit $ac_status); } &&
108718 { ac_try='test -z "$ac_c_werror_flag"
108719 || test ! -s conftest.err'
108720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108721 (eval $ac_try) 2>&5
108722 ac_status=$?
108723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108724 (exit $ac_status); }; } &&
108725 { ac_try='test -s conftest$ac_exeext'
108726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108727 (eval $ac_try) 2>&5
108728 ac_status=$?
108729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108730 (exit $ac_status); }; }; then
108731 glibcxx_shared_libgcc=yes
108733 echo "$as_me: failed program was:" >&5
108734 sed 's/^/| /' conftest.$ac_ext >&5
108736 glibcxx_shared_libgcc=no
108738 rm -f conftest.err conftest.$ac_objext \
108739 conftest$ac_exeext conftest.$ac_ext
108740 CFLAGS="$ac_save_CFLAGS"
108741 if test $glibcxx_shared_libgcc = no; then
108742 cat > conftest.c <<EOF
108743 int main (void) { return 0; }
108745 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108746 -shared -shared-libgcc -o conftest.so \
108747 conftest.c -v 2>&1 >/dev/null \
108748 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108749 rm -f conftest.c conftest.so
108750 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108751 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108752 if test x$gcc_no_link = xyes; then
108753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108755 { (exit 1); exit 1; }; }
108757 cat >conftest.$ac_ext <<_ACEOF
108758 /* confdefs.h. */
108759 _ACEOF
108760 cat confdefs.h >>conftest.$ac_ext
108761 cat >>conftest.$ac_ext <<_ACEOF
108762 /* end confdefs.h. */
108765 main ()
108767 return 0;
108769 return 0;
108771 _ACEOF
108772 rm -f conftest.$ac_objext conftest$ac_exeext
108773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108774 (eval $ac_link) 2>conftest.er1
108775 ac_status=$?
108776 grep -v '^ *+' conftest.er1 >conftest.err
108777 rm -f conftest.er1
108778 cat conftest.err >&5
108779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108780 (exit $ac_status); } &&
108781 { ac_try='test -z "$ac_c_werror_flag"
108782 || test ! -s conftest.err'
108783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108784 (eval $ac_try) 2>&5
108785 ac_status=$?
108786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108787 (exit $ac_status); }; } &&
108788 { ac_try='test -s conftest$ac_exeext'
108789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108790 (eval $ac_try) 2>&5
108791 ac_status=$?
108792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108793 (exit $ac_status); }; }; then
108794 glibcxx_shared_libgcc=yes
108796 echo "$as_me: failed program was:" >&5
108797 sed 's/^/| /' conftest.$ac_ext >&5
108800 rm -f conftest.err conftest.$ac_objext \
108801 conftest$ac_exeext conftest.$ac_ext
108802 CFLAGS="$ac_save_CFLAGS"
108805 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108806 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108808 # For GNU ld, we need at least this version. The format is described in
108809 # GLIBCXX_CHECK_LINKER_FEATURES above.
108810 glibcxx_min_gnu_ld_version=21400
108812 # If no shared libgcc, can't win.
108813 if test $glibcxx_shared_libgcc != yes; then
108814 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108815 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108816 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108817 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108818 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108819 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108820 enable_symvers=no
108821 elif test $with_gnu_ld != yes ; then
108822 # just fail for now
108823 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108824 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108825 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108826 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108827 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108828 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108829 enable_symvers=no
108830 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108831 # The right tools, the right setup, but too old. Fallbacks?
108832 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108833 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108834 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108835 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108836 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108837 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108838 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108839 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108840 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108841 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108842 enable_symvers=no
108846 # Everything parsed; figure out what file to use.
108847 case $enable_symvers in
108849 SYMVER_FILE=config/abi/pre/none.ver
108852 SYMVER_FILE=config/abi/pre/gnu.ver
108854 cat >>confdefs.h <<\_ACEOF
108855 #define _GLIBCXX_SYMVER_GNU 1
108856 _ACEOF
108859 gnu-versioned-namespace)
108860 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108862 cat >>confdefs.h <<\_ACEOF
108863 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108864 _ACEOF
108867 darwin)
108868 SYMVER_FILE=config/abi/pre/gnu.ver
108870 cat >>confdefs.h <<\_ACEOF
108871 #define _GLIBCXX_SYMVER_DARWIN 1
108872 _ACEOF
108877 if test x$enable_symvers != xno ; then
108879 cat >>confdefs.h <<\_ACEOF
108880 #define _GLIBCXX_SYMVER 1
108881 _ACEOF
108891 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108892 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108894 # Now, set up compatibility support, if any.
108895 # In addition, need this to deal with std::size_t mangling in
108896 # src/compatibility.cc. In a perfect world, could use
108897 # typeid(std::size_t).name()[0] to do direct substitution.
108898 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108899 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108900 ac_save_CFLAGS="$CFLAGS"
108901 CFLAGS="-Werror"
108902 cat >conftest.$ac_ext <<_ACEOF
108903 /* confdefs.h. */
108904 _ACEOF
108905 cat confdefs.h >>conftest.$ac_ext
108906 cat >>conftest.$ac_ext <<_ACEOF
108907 /* end confdefs.h. */
108910 main ()
108912 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108914 return 0;
108916 _ACEOF
108917 rm -f conftest.$ac_objext
108918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108919 (eval $ac_compile) 2>conftest.er1
108920 ac_status=$?
108921 grep -v '^ *+' conftest.er1 >conftest.err
108922 rm -f conftest.er1
108923 cat conftest.err >&5
108924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108925 (exit $ac_status); } &&
108926 { ac_try='test -z "$ac_c_werror_flag"
108927 || test ! -s conftest.err'
108928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108929 (eval $ac_try) 2>&5
108930 ac_status=$?
108931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108932 (exit $ac_status); }; } &&
108933 { ac_try='test -s conftest.$ac_objext'
108934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108935 (eval $ac_try) 2>&5
108936 ac_status=$?
108937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108938 (exit $ac_status); }; }; then
108939 glibcxx_size_t_is_i=yes
108941 echo "$as_me: failed program was:" >&5
108942 sed 's/^/| /' conftest.$ac_ext >&5
108944 glibcxx_size_t_is_i=no
108946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108947 CFLAGS=$ac_save_CFLAGS
108948 if test "$glibcxx_size_t_is_i" = yes; then
108950 cat >>confdefs.h <<\_ACEOF
108951 #define _GLIBCXX_SIZE_T_IS_UINT 1
108952 _ACEOF
108955 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
108956 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
108958 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
108959 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
108960 ac_save_CFLAGS="$CFLAGS"
108961 CFLAGS="-Werror"
108962 cat >conftest.$ac_ext <<_ACEOF
108963 /* confdefs.h. */
108964 _ACEOF
108965 cat confdefs.h >>conftest.$ac_ext
108966 cat >>conftest.$ac_ext <<_ACEOF
108967 /* end confdefs.h. */
108970 main ()
108972 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
108974 return 0;
108976 _ACEOF
108977 rm -f conftest.$ac_objext
108978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108979 (eval $ac_compile) 2>conftest.er1
108980 ac_status=$?
108981 grep -v '^ *+' conftest.er1 >conftest.err
108982 rm -f conftest.er1
108983 cat conftest.err >&5
108984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108985 (exit $ac_status); } &&
108986 { ac_try='test -z "$ac_c_werror_flag"
108987 || test ! -s conftest.err'
108988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108989 (eval $ac_try) 2>&5
108990 ac_status=$?
108991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108992 (exit $ac_status); }; } &&
108993 { ac_try='test -s conftest.$ac_objext'
108994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108995 (eval $ac_try) 2>&5
108996 ac_status=$?
108997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108998 (exit $ac_status); }; }; then
108999 glibcxx_ptrdiff_t_is_i=yes
109001 echo "$as_me: failed program was:" >&5
109002 sed 's/^/| /' conftest.$ac_ext >&5
109004 glibcxx_ptrdiff_t_is_i=no
109006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109007 CFLAGS=$ac_save_CFLAGS
109008 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
109010 cat >>confdefs.h <<\_ACEOF
109011 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
109012 _ACEOF
109015 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
109016 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
109019 # Check whether --enable-visibility or --disable-visibility was given.
109020 if test "${enable_visibility+set}" = set; then
109021 enableval="$enable_visibility"
109023 case "$enableval" in
109024 yes|no) ;;
109025 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
109026 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
109027 { (exit 1); exit 1; }; } ;;
109031 enable_visibility=yes
109035 if test x$enable_visibility = xyes ; then
109036 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
109037 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
109038 if test "${have_attribute_visibility+set}" = set; then
109039 echo $ECHO_N "(cached) $ECHO_C" >&6
109042 save_CFLAGS="$CFLAGS"
109043 CFLAGS="$CFLAGS -Werror"
109044 cat >conftest.$ac_ext <<_ACEOF
109045 /* confdefs.h. */
109046 _ACEOF
109047 cat confdefs.h >>conftest.$ac_ext
109048 cat >>conftest.$ac_ext <<_ACEOF
109049 /* end confdefs.h. */
109050 void __attribute__((visibility("hidden"))) foo(void) { }
109052 main ()
109056 return 0;
109058 _ACEOF
109059 rm -f conftest.$ac_objext
109060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109061 (eval $ac_compile) 2>conftest.er1
109062 ac_status=$?
109063 grep -v '^ *+' conftest.er1 >conftest.err
109064 rm -f conftest.er1
109065 cat conftest.err >&5
109066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109067 (exit $ac_status); } &&
109068 { ac_try='test -z "$ac_c_werror_flag"
109069 || test ! -s conftest.err'
109070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109071 (eval $ac_try) 2>&5
109072 ac_status=$?
109073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109074 (exit $ac_status); }; } &&
109075 { ac_try='test -s conftest.$ac_objext'
109076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109077 (eval $ac_try) 2>&5
109078 ac_status=$?
109079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109080 (exit $ac_status); }; }; then
109081 have_attribute_visibility=yes
109083 echo "$as_me: failed program was:" >&5
109084 sed 's/^/| /' conftest.$ac_ext >&5
109086 have_attribute_visibility=no
109088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109089 CFLAGS="$save_CFLAGS"
109091 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
109092 echo "${ECHO_T}$have_attribute_visibility" >&6
109093 if test $have_attribute_visibility = no; then
109094 enable_visibility=no
109099 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
109100 echo "$as_me: visibility supported: $enable_visibility" >&6;}
109103 ac_ldbl_compat=no
109104 case "$target" in
109105 powerpc*-*-*gnu* | \
109106 sparc*-*-linux* | \
109107 s390*-*-linux* | \
109108 alpha*-*-linux*)
109109 cat >conftest.$ac_ext <<_ACEOF
109110 /* confdefs.h. */
109111 _ACEOF
109112 cat confdefs.h >>conftest.$ac_ext
109113 cat >>conftest.$ac_ext <<_ACEOF
109114 /* end confdefs.h. */
109117 main ()
109120 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
109121 #error no need for long double compatibility
109122 #endif
109125 return 0;
109127 _ACEOF
109128 rm -f conftest.$ac_objext
109129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109130 (eval $ac_compile) 2>conftest.er1
109131 ac_status=$?
109132 grep -v '^ *+' conftest.er1 >conftest.err
109133 rm -f conftest.er1
109134 cat conftest.err >&5
109135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109136 (exit $ac_status); } &&
109137 { ac_try='test -z "$ac_c_werror_flag"
109138 || test ! -s conftest.err'
109139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109140 (eval $ac_try) 2>&5
109141 ac_status=$?
109142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109143 (exit $ac_status); }; } &&
109144 { ac_try='test -s conftest.$ac_objext'
109145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109146 (eval $ac_try) 2>&5
109147 ac_status=$?
109148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109149 (exit $ac_status); }; }; then
109150 ac_ldbl_compat=yes
109152 echo "$as_me: failed program was:" >&5
109153 sed 's/^/| /' conftest.$ac_ext >&5
109155 ac_ldbl_compat=no
109157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109158 if test "$ac_ldbl_compat" = yes; then
109160 cat >>confdefs.h <<\_ACEOF
109161 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
109162 _ACEOF
109164 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
109169 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
109171 if $GLIBCXX_IS_NATIVE ; then
109172 # Do checks for resource limit functions.
109174 setrlimit_have_headers=yes
109178 for ac_header in unistd.h sys/time.h sys/resource.h
109180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109182 echo "$as_me:$LINENO: checking for $ac_header" >&5
109183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109185 echo $ECHO_N "(cached) $ECHO_C" >&6
109187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109190 # Is the header compilable?
109191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109193 cat >conftest.$ac_ext <<_ACEOF
109194 /* confdefs.h. */
109195 _ACEOF
109196 cat confdefs.h >>conftest.$ac_ext
109197 cat >>conftest.$ac_ext <<_ACEOF
109198 /* end confdefs.h. */
109199 $ac_includes_default
109200 #include <$ac_header>
109201 _ACEOF
109202 rm -f conftest.$ac_objext
109203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109204 (eval $ac_compile) 2>conftest.er1
109205 ac_status=$?
109206 grep -v '^ *+' conftest.er1 >conftest.err
109207 rm -f conftest.er1
109208 cat conftest.err >&5
109209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109210 (exit $ac_status); } &&
109211 { ac_try='test -z "$ac_c_werror_flag"
109212 || test ! -s conftest.err'
109213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109214 (eval $ac_try) 2>&5
109215 ac_status=$?
109216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109217 (exit $ac_status); }; } &&
109218 { ac_try='test -s conftest.$ac_objext'
109219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109220 (eval $ac_try) 2>&5
109221 ac_status=$?
109222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109223 (exit $ac_status); }; }; then
109224 ac_header_compiler=yes
109226 echo "$as_me: failed program was:" >&5
109227 sed 's/^/| /' conftest.$ac_ext >&5
109229 ac_header_compiler=no
109231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109233 echo "${ECHO_T}$ac_header_compiler" >&6
109235 # Is the header present?
109236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109238 cat >conftest.$ac_ext <<_ACEOF
109239 /* confdefs.h. */
109240 _ACEOF
109241 cat confdefs.h >>conftest.$ac_ext
109242 cat >>conftest.$ac_ext <<_ACEOF
109243 /* end confdefs.h. */
109244 #include <$ac_header>
109245 _ACEOF
109246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109248 ac_status=$?
109249 grep -v '^ *+' conftest.er1 >conftest.err
109250 rm -f conftest.er1
109251 cat conftest.err >&5
109252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109253 (exit $ac_status); } >/dev/null; then
109254 if test -s conftest.err; then
109255 ac_cpp_err=$ac_c_preproc_warn_flag
109256 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109258 ac_cpp_err=
109261 ac_cpp_err=yes
109263 if test -z "$ac_cpp_err"; then
109264 ac_header_preproc=yes
109266 echo "$as_me: failed program was:" >&5
109267 sed 's/^/| /' conftest.$ac_ext >&5
109269 ac_header_preproc=no
109271 rm -f conftest.err conftest.$ac_ext
109272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109273 echo "${ECHO_T}$ac_header_preproc" >&6
109275 # So? What about this header?
109276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109277 yes:no: )
109278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109282 ac_header_preproc=yes
109284 no:yes:* )
109285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109298 cat <<\_ASBOX
109299 ## ----------------------------------------- ##
109300 ## Report this to the package-unused lists. ##
109301 ## ----------------------------------------- ##
109302 _ASBOX
109304 sed "s/^/$as_me: WARNING: /" >&2
109307 echo "$as_me:$LINENO: checking for $ac_header" >&5
109308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109310 echo $ECHO_N "(cached) $ECHO_C" >&6
109312 eval "$as_ac_Header=\$ac_header_preproc"
109314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109319 cat >>confdefs.h <<_ACEOF
109320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109321 _ACEOF
109324 setrlimit_have_headers=no
109329 # If don't have the headers, then we can't run the tests now, and we
109330 # won't be seeing any of these during testsuite compilation.
109331 if test $setrlimit_have_headers = yes; then
109332 # Can't do these in a loop, else the resulting syntax is wrong.
109334 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
109335 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
109336 cat >conftest.$ac_ext <<_ACEOF
109337 /* confdefs.h. */
109338 _ACEOF
109339 cat confdefs.h >>conftest.$ac_ext
109340 cat >>conftest.$ac_ext <<_ACEOF
109341 /* end confdefs.h. */
109342 #include <unistd.h>
109343 #include <sys/time.h>
109344 #include <sys/resource.h>
109347 main ()
109349 int f = RLIMIT_DATA ;
109351 return 0;
109353 _ACEOF
109354 rm -f conftest.$ac_objext
109355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109356 (eval $ac_compile) 2>conftest.er1
109357 ac_status=$?
109358 grep -v '^ *+' conftest.er1 >conftest.err
109359 rm -f conftest.er1
109360 cat conftest.err >&5
109361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109362 (exit $ac_status); } &&
109363 { ac_try='test -z "$ac_c_werror_flag"
109364 || test ! -s conftest.err'
109365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109366 (eval $ac_try) 2>&5
109367 ac_status=$?
109368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109369 (exit $ac_status); }; } &&
109370 { ac_try='test -s conftest.$ac_objext'
109371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109372 (eval $ac_try) 2>&5
109373 ac_status=$?
109374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109375 (exit $ac_status); }; }; then
109376 glibcxx_mresult=1
109378 echo "$as_me: failed program was:" >&5
109379 sed 's/^/| /' conftest.$ac_ext >&5
109381 glibcxx_mresult=0
109383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109385 cat >>confdefs.h <<_ACEOF
109386 #define HAVE_LIMIT_DATA $glibcxx_mresult
109387 _ACEOF
109389 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109390 echo "$as_me:$LINENO: result: $res" >&5
109391 echo "${ECHO_T}$res" >&6
109394 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
109395 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
109396 cat >conftest.$ac_ext <<_ACEOF
109397 /* confdefs.h. */
109398 _ACEOF
109399 cat confdefs.h >>conftest.$ac_ext
109400 cat >>conftest.$ac_ext <<_ACEOF
109401 /* end confdefs.h. */
109402 #include <unistd.h>
109403 #include <sys/time.h>
109404 #include <sys/resource.h>
109407 main ()
109409 int f = RLIMIT_RSS ;
109411 return 0;
109413 _ACEOF
109414 rm -f conftest.$ac_objext
109415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109416 (eval $ac_compile) 2>conftest.er1
109417 ac_status=$?
109418 grep -v '^ *+' conftest.er1 >conftest.err
109419 rm -f conftest.er1
109420 cat conftest.err >&5
109421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109422 (exit $ac_status); } &&
109423 { ac_try='test -z "$ac_c_werror_flag"
109424 || test ! -s conftest.err'
109425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109426 (eval $ac_try) 2>&5
109427 ac_status=$?
109428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109429 (exit $ac_status); }; } &&
109430 { ac_try='test -s conftest.$ac_objext'
109431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109432 (eval $ac_try) 2>&5
109433 ac_status=$?
109434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109435 (exit $ac_status); }; }; then
109436 glibcxx_mresult=1
109438 echo "$as_me: failed program was:" >&5
109439 sed 's/^/| /' conftest.$ac_ext >&5
109441 glibcxx_mresult=0
109443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109445 cat >>confdefs.h <<_ACEOF
109446 #define HAVE_LIMIT_RSS $glibcxx_mresult
109447 _ACEOF
109449 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109450 echo "$as_me:$LINENO: result: $res" >&5
109451 echo "${ECHO_T}$res" >&6
109454 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109455 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109456 cat >conftest.$ac_ext <<_ACEOF
109457 /* confdefs.h. */
109458 _ACEOF
109459 cat confdefs.h >>conftest.$ac_ext
109460 cat >>conftest.$ac_ext <<_ACEOF
109461 /* end confdefs.h. */
109462 #include <unistd.h>
109463 #include <sys/time.h>
109464 #include <sys/resource.h>
109467 main ()
109469 int f = RLIMIT_VMEM ;
109471 return 0;
109473 _ACEOF
109474 rm -f conftest.$ac_objext
109475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109476 (eval $ac_compile) 2>conftest.er1
109477 ac_status=$?
109478 grep -v '^ *+' conftest.er1 >conftest.err
109479 rm -f conftest.er1
109480 cat conftest.err >&5
109481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109482 (exit $ac_status); } &&
109483 { ac_try='test -z "$ac_c_werror_flag"
109484 || test ! -s conftest.err'
109485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109486 (eval $ac_try) 2>&5
109487 ac_status=$?
109488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109489 (exit $ac_status); }; } &&
109490 { ac_try='test -s conftest.$ac_objext'
109491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109492 (eval $ac_try) 2>&5
109493 ac_status=$?
109494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109495 (exit $ac_status); }; }; then
109496 glibcxx_mresult=1
109498 echo "$as_me: failed program was:" >&5
109499 sed 's/^/| /' conftest.$ac_ext >&5
109501 glibcxx_mresult=0
109503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109505 cat >>confdefs.h <<_ACEOF
109506 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109507 _ACEOF
109509 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109510 echo "$as_me:$LINENO: result: $res" >&5
109511 echo "${ECHO_T}$res" >&6
109514 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109515 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109516 cat >conftest.$ac_ext <<_ACEOF
109517 /* confdefs.h. */
109518 _ACEOF
109519 cat confdefs.h >>conftest.$ac_ext
109520 cat >>conftest.$ac_ext <<_ACEOF
109521 /* end confdefs.h. */
109522 #include <unistd.h>
109523 #include <sys/time.h>
109524 #include <sys/resource.h>
109527 main ()
109529 int f = RLIMIT_AS ;
109531 return 0;
109533 _ACEOF
109534 rm -f conftest.$ac_objext
109535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109536 (eval $ac_compile) 2>conftest.er1
109537 ac_status=$?
109538 grep -v '^ *+' conftest.er1 >conftest.err
109539 rm -f conftest.er1
109540 cat conftest.err >&5
109541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109542 (exit $ac_status); } &&
109543 { ac_try='test -z "$ac_c_werror_flag"
109544 || test ! -s conftest.err'
109545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109546 (eval $ac_try) 2>&5
109547 ac_status=$?
109548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109549 (exit $ac_status); }; } &&
109550 { ac_try='test -s conftest.$ac_objext'
109551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109552 (eval $ac_try) 2>&5
109553 ac_status=$?
109554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109555 (exit $ac_status); }; }; then
109556 glibcxx_mresult=1
109558 echo "$as_me: failed program was:" >&5
109559 sed 's/^/| /' conftest.$ac_ext >&5
109561 glibcxx_mresult=0
109563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109565 cat >>confdefs.h <<_ACEOF
109566 #define HAVE_LIMIT_AS $glibcxx_mresult
109567 _ACEOF
109569 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109570 echo "$as_me:$LINENO: result: $res" >&5
109571 echo "${ECHO_T}$res" >&6
109574 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109575 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109576 cat >conftest.$ac_ext <<_ACEOF
109577 /* confdefs.h. */
109578 _ACEOF
109579 cat confdefs.h >>conftest.$ac_ext
109580 cat >>conftest.$ac_ext <<_ACEOF
109581 /* end confdefs.h. */
109582 #include <unistd.h>
109583 #include <sys/time.h>
109584 #include <sys/resource.h>
109587 main ()
109589 int f = RLIMIT_FSIZE ;
109591 return 0;
109593 _ACEOF
109594 rm -f conftest.$ac_objext
109595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109596 (eval $ac_compile) 2>conftest.er1
109597 ac_status=$?
109598 grep -v '^ *+' conftest.er1 >conftest.err
109599 rm -f conftest.er1
109600 cat conftest.err >&5
109601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109602 (exit $ac_status); } &&
109603 { ac_try='test -z "$ac_c_werror_flag"
109604 || test ! -s conftest.err'
109605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109606 (eval $ac_try) 2>&5
109607 ac_status=$?
109608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109609 (exit $ac_status); }; } &&
109610 { ac_try='test -s conftest.$ac_objext'
109611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109612 (eval $ac_try) 2>&5
109613 ac_status=$?
109614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109615 (exit $ac_status); }; }; then
109616 glibcxx_mresult=1
109618 echo "$as_me: failed program was:" >&5
109619 sed 's/^/| /' conftest.$ac_ext >&5
109621 glibcxx_mresult=0
109623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109625 cat >>confdefs.h <<_ACEOF
109626 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109627 _ACEOF
109629 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109630 echo "$as_me:$LINENO: result: $res" >&5
109631 echo "${ECHO_T}$res" >&6
109634 # Check for rlimit, setrlimit.
109635 if test "${ac_setrlimit+set}" = set; then
109636 echo $ECHO_N "(cached) $ECHO_C" >&6
109639 cat >conftest.$ac_ext <<_ACEOF
109640 /* confdefs.h. */
109641 _ACEOF
109642 cat confdefs.h >>conftest.$ac_ext
109643 cat >>conftest.$ac_ext <<_ACEOF
109644 /* end confdefs.h. */
109645 #include <unistd.h>
109646 #include <sys/time.h>
109647 #include <sys/resource.h>
109650 main ()
109652 struct rlimit r;
109653 setrlimit(0, &r);
109655 return 0;
109657 _ACEOF
109658 rm -f conftest.$ac_objext
109659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109660 (eval $ac_compile) 2>conftest.er1
109661 ac_status=$?
109662 grep -v '^ *+' conftest.er1 >conftest.err
109663 rm -f conftest.er1
109664 cat conftest.err >&5
109665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109666 (exit $ac_status); } &&
109667 { ac_try='test -z "$ac_c_werror_flag"
109668 || test ! -s conftest.err'
109669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109670 (eval $ac_try) 2>&5
109671 ac_status=$?
109672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109673 (exit $ac_status); }; } &&
109674 { ac_try='test -s conftest.$ac_objext'
109675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109676 (eval $ac_try) 2>&5
109677 ac_status=$?
109678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109679 (exit $ac_status); }; }; then
109680 ac_setrlimit=yes
109682 echo "$as_me: failed program was:" >&5
109683 sed 's/^/| /' conftest.$ac_ext >&5
109685 ac_setrlimit=no
109687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109693 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109694 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109695 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
109696 ac_res_limits=yes
109698 cat >>confdefs.h <<\_ACEOF
109699 #define _GLIBCXX_RES_LIMITS 1
109700 _ACEOF
109703 ac_res_limits=no
109705 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109706 echo "${ECHO_T}$ac_res_limits" >&6
109709 # Look for setenv, so that extended locale tests can be performed.
109711 echo "$as_me:$LINENO: checking for setenv declaration" >&5
109712 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109713 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109714 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109715 echo $ECHO_N "(cached) $ECHO_C" >&6
109720 ac_ext=cc
109721 ac_cpp='$CXXCPP $CPPFLAGS'
109722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109726 cat >conftest.$ac_ext <<_ACEOF
109727 /* confdefs.h. */
109728 _ACEOF
109729 cat confdefs.h >>conftest.$ac_ext
109730 cat >>conftest.$ac_ext <<_ACEOF
109731 /* end confdefs.h. */
109732 #include <stdlib.h>
109734 main ()
109736 setenv(0, 0, 0);
109738 return 0;
109740 _ACEOF
109741 rm -f conftest.$ac_objext
109742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109743 (eval $ac_compile) 2>conftest.er1
109744 ac_status=$?
109745 grep -v '^ *+' conftest.er1 >conftest.err
109746 rm -f conftest.er1
109747 cat conftest.err >&5
109748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109749 (exit $ac_status); } &&
109750 { ac_try='test -z "$ac_cxx_werror_flag"
109751 || test ! -s conftest.err'
109752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109753 (eval $ac_try) 2>&5
109754 ac_status=$?
109755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109756 (exit $ac_status); }; } &&
109757 { ac_try='test -s conftest.$ac_objext'
109758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109759 (eval $ac_try) 2>&5
109760 ac_status=$?
109761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109762 (exit $ac_status); }; }; then
109763 glibcxx_cv_func_setenv_use=yes
109765 echo "$as_me: failed program was:" >&5
109766 sed 's/^/| /' conftest.$ac_ext >&5
109768 glibcxx_cv_func_setenv_use=no
109770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109771 ac_ext=c
109772 ac_cpp='$CPP $CPPFLAGS'
109773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109782 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109783 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109785 for ac_func in setenv
109787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109788 echo "$as_me:$LINENO: checking for $ac_func" >&5
109789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109790 if eval "test \"\${$as_ac_var+set}\" = set"; then
109791 echo $ECHO_N "(cached) $ECHO_C" >&6
109793 if test x$gcc_no_link = xyes; then
109794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109796 { (exit 1); exit 1; }; }
109798 cat >conftest.$ac_ext <<_ACEOF
109799 /* confdefs.h. */
109800 _ACEOF
109801 cat confdefs.h >>conftest.$ac_ext
109802 cat >>conftest.$ac_ext <<_ACEOF
109803 /* end confdefs.h. */
109804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109806 #define $ac_func innocuous_$ac_func
109808 /* System header to define __stub macros and hopefully few prototypes,
109809 which can conflict with char $ac_func (); below.
109810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109811 <limits.h> exists even on freestanding compilers. */
109813 #ifdef __STDC__
109814 # include <limits.h>
109815 #else
109816 # include <assert.h>
109817 #endif
109819 #undef $ac_func
109821 /* Override any gcc2 internal prototype to avoid an error. */
109822 #ifdef __cplusplus
109823 extern "C"
109825 #endif
109826 /* We use char because int might match the return type of a gcc2
109827 builtin and then its argument prototype would still apply. */
109828 char $ac_func ();
109829 /* The GNU C library defines this for functions which it implements
109830 to always fail with ENOSYS. Some functions are actually named
109831 something starting with __ and the normal name is an alias. */
109832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109833 choke me
109834 #else
109835 char (*f) () = $ac_func;
109836 #endif
109837 #ifdef __cplusplus
109839 #endif
109842 main ()
109844 return f != $ac_func;
109846 return 0;
109848 _ACEOF
109849 rm -f conftest.$ac_objext conftest$ac_exeext
109850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109851 (eval $ac_link) 2>conftest.er1
109852 ac_status=$?
109853 grep -v '^ *+' conftest.er1 >conftest.err
109854 rm -f conftest.er1
109855 cat conftest.err >&5
109856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109857 (exit $ac_status); } &&
109858 { ac_try='test -z "$ac_c_werror_flag"
109859 || test ! -s conftest.err'
109860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109861 (eval $ac_try) 2>&5
109862 ac_status=$?
109863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109864 (exit $ac_status); }; } &&
109865 { ac_try='test -s conftest$ac_exeext'
109866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109867 (eval $ac_try) 2>&5
109868 ac_status=$?
109869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109870 (exit $ac_status); }; }; then
109871 eval "$as_ac_var=yes"
109873 echo "$as_me: failed program was:" >&5
109874 sed 's/^/| /' conftest.$ac_ext >&5
109876 eval "$as_ac_var=no"
109878 rm -f conftest.err conftest.$ac_objext \
109879 conftest$ac_exeext conftest.$ac_ext
109881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109883 if test `eval echo '${'$as_ac_var'}'` = yes; then
109884 cat >>confdefs.h <<_ACEOF
109885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109886 _ACEOF
109895 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109896 test $enable_symvers != no; then
109897 case "$host" in
109898 *-*-cygwin*)
109899 enable_abi_check=no ;;
109901 enable_abi_check=yes ;;
109904 # Only build this as native, since automake does not understand
109905 # CXX_FOR_BUILD.
109906 enable_abi_check=no
109909 # Export file names for ABI checking.
109910 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109914 # Propagate the target-specific source directories through the build chain.
109915 ATOMICITY_SRCDIR=config/${atomicity_dir}
109916 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109917 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109918 OS_INC_SRCDIR=config/${os_include_dir}
109919 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109927 # Determine cross-compile flags and AM_CONDITIONALs.
109928 #AC_SUBST(GLIBCXX_IS_NATIVE)
109929 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109930 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109931 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
109934 if test $is_hosted = yes; then
109935 GLIBCXX_HOSTED_TRUE=
109936 GLIBCXX_HOSTED_FALSE='#'
109938 GLIBCXX_HOSTED_TRUE='#'
109939 GLIBCXX_HOSTED_FALSE=
109945 if test $enable_libstdcxx_pch = yes; then
109946 GLIBCXX_BUILD_PCH_TRUE=
109947 GLIBCXX_BUILD_PCH_FALSE='#'
109949 GLIBCXX_BUILD_PCH_TRUE='#'
109950 GLIBCXX_BUILD_PCH_FALSE=
109956 if test $enable_cheaders = c; then
109957 GLIBCXX_C_HEADERS_C_TRUE=
109958 GLIBCXX_C_HEADERS_C_FALSE='#'
109960 GLIBCXX_C_HEADERS_C_TRUE='#'
109961 GLIBCXX_C_HEADERS_C_FALSE=
109967 if test $enable_cheaders = c_std; then
109968 GLIBCXX_C_HEADERS_C_STD_TRUE=
109969 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109971 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109972 GLIBCXX_C_HEADERS_C_STD_FALSE=
109978 if test $c_compatibility = yes; then
109979 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109980 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109982 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109983 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109989 if test $enable_libstdcxx_debug = yes; then
109990 GLIBCXX_BUILD_DEBUG_TRUE=
109991 GLIBCXX_BUILD_DEBUG_FALSE='#'
109993 GLIBCXX_BUILD_DEBUG_TRUE='#'
109994 GLIBCXX_BUILD_DEBUG_FALSE=
110000 if test $enable_symvers != no; then
110001 ENABLE_SYMVERS_TRUE=
110002 ENABLE_SYMVERS_FALSE='#'
110004 ENABLE_SYMVERS_TRUE='#'
110005 ENABLE_SYMVERS_FALSE=
110011 if test $enable_symvers = gnu; then
110012 ENABLE_SYMVERS_GNU_TRUE=
110013 ENABLE_SYMVERS_GNU_FALSE='#'
110015 ENABLE_SYMVERS_GNU_TRUE='#'
110016 ENABLE_SYMVERS_GNU_FALSE=
110022 if test $enable_symvers = gnu-versioned-namespace; then
110023 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
110024 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
110026 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
110027 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
110033 if test $enable_symvers = darwin; then
110034 ENABLE_SYMVERS_DARWIN_TRUE=
110035 ENABLE_SYMVERS_DARWIN_FALSE='#'
110037 ENABLE_SYMVERS_DARWIN_TRUE='#'
110038 ENABLE_SYMVERS_DARWIN_FALSE=
110044 if test $enable_visibility = yes; then
110045 ENABLE_VISIBILITY_TRUE=
110046 ENABLE_VISIBILITY_FALSE='#'
110048 ENABLE_VISIBILITY_TRUE='#'
110049 ENABLE_VISIBILITY_FALSE=
110055 if test $ac_ldbl_compat = yes; then
110056 GLIBCXX_LDBL_COMPAT_TRUE=
110057 GLIBCXX_LDBL_COMPAT_FALSE='#'
110059 GLIBCXX_LDBL_COMPAT_TRUE='#'
110060 GLIBCXX_LDBL_COMPAT_FALSE=
110066 cat >confcache <<\_ACEOF
110067 # This file is a shell script that caches the results of configure
110068 # tests run on this system so they can be shared between configure
110069 # scripts and configure runs, see configure's option --config-cache.
110070 # It is not useful on other systems. If it contains results you don't
110071 # want to keep, you may remove or edit it.
110073 # config.status only pays attention to the cache file if you give it
110074 # the --recheck option to rerun configure.
110076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110078 # following values.
110080 _ACEOF
110082 # The following way of writing the cache mishandles newlines in values,
110083 # but we know of no workaround that is simple, portable, and efficient.
110084 # So, don't put newlines in cache variables' values.
110085 # Ultrix sh set writes to stderr and can't be redirected directly,
110086 # and sets the high bit in the cache file unless we assign to the vars.
110088 (set) 2>&1 |
110089 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110090 *ac_space=\ *)
110091 # `set' does not quote correctly, so add quotes (double-quote
110092 # substitution turns \\\\ into \\, and sed turns \\ into \).
110093 sed -n \
110094 "s/'/'\\\\''/g;
110095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110098 # `set' quotes correctly as required by POSIX, so do not add quotes.
110099 sed -n \
110100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110102 esac;
110104 sed '
110105 t clear
110106 : clear
110107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110108 t end
110109 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110110 : end' >>confcache
110111 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110112 if test -w $cache_file; then
110113 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110114 cat confcache >$cache_file
110116 echo "not updating unwritable cache $cache_file"
110119 rm -f confcache
110121 if test ${multilib} = yes; then
110122 multilib_arg="--enable-multilib"
110124 multilib_arg=
110127 # Export all the install information.
110129 glibcxx_toolexecdir=no
110130 glibcxx_toolexeclibdir=no
110131 glibcxx_prefixdir=$prefix
110133 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
110134 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
110136 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
110137 if test "${with_gxx_include_dir+set}" = set; then
110138 withval="$with_gxx_include_dir"
110139 case "$withval" in
110140 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
110141 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
110142 { (exit 1); exit 1; }; } ;;
110143 no) gxx_include_dir=no ;;
110144 *) gxx_include_dir=$withval ;;
110147 gxx_include_dir=no
110149 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110150 echo "${ECHO_T}$gxx_include_dir" >&6
110152 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
110153 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
110154 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
110155 if test "${enable_version_specific_runtime_libs+set}" = set; then
110156 enableval="$enable_version_specific_runtime_libs"
110157 case "$enableval" in
110158 yes) version_specific_libs=yes ;;
110159 no) version_specific_libs=no ;;
110160 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
110161 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
110162 { (exit 1); exit 1; }; };;
110165 version_specific_libs=no
110167 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
110168 echo "${ECHO_T}$version_specific_libs" >&6
110170 # Default case for install directory for include files.
110171 if test $version_specific_libs = no && test $gxx_include_dir = no; then
110172 gxx_include_dir='include/c++/${gcc_version}'
110173 if test -n "$with_cross_host" &&
110174 test x"$with_cross_host" != x"no"; then
110175 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
110177 gxx_include_dir='${prefix}/'"$gxx_include_dir"
110181 # Version-specific runtime libs processing.
110182 if test $version_specific_libs = yes; then
110183 # Need the gcc compiler version to know where to install libraries
110184 # and header files if --enable-version-specific-runtime-libs option
110185 # is selected. FIXME: these variables are misnamed, there are
110186 # no executables installed in _toolexecdir or _toolexeclibdir.
110187 if test x"$gxx_include_dir" = x"no"; then
110188 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
110190 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110191 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
110194 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
110195 # Install a library built with a cross compiler in tooldir, not libdir.
110196 if test x"$glibcxx_toolexecdir" = x"no"; then
110197 if test -n "$with_cross_host" &&
110198 test x"$with_cross_host" != x"no"; then
110199 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
110200 glibcxx_toolexeclibdir='${toolexecdir}/lib'
110202 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
110203 glibcxx_toolexeclibdir='${libdir}'
110205 multi_os_directory=`$CXX -print-multi-os-directory`
110206 case $multi_os_directory in
110207 .) ;; # Avoid trailing /.
110208 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
110212 echo "$as_me:$LINENO: checking for install location" >&5
110213 echo $ECHO_N "checking for install location... $ECHO_C" >&6
110214 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
110215 echo "${ECHO_T}$gxx_include_dir" >&6
110223 # Export all the include and flag information to Makefiles.
110225 # Used for every C++ compile we perform.
110226 GLIBCXX_INCLUDES="\
110227 -I$glibcxx_builddir/include/$host_alias \
110228 -I$glibcxx_builddir/include \
110229 -I$glibcxx_srcdir/libsupc++"
110231 # For Canadian crosses, pick this up too.
110232 if test $CANADIAN = yes; then
110233 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
110236 # Stuff in the actual top level. Currently only used by libsupc++ to
110237 # get unwind* headers from the gcc dir.
110238 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
110239 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
110241 # Now, export this to all the little Makefiles....
110246 # Optimization flags that are probably a good idea for thrill-seekers. Just
110247 # uncomment the lines below and make, everything else is ready to go...
110248 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
110249 OPTIMIZE_CXXFLAGS=
110252 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
110256 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
110257 grep "enable shared" > /dev/null;
110259 LIBSUPCXX_PICFLAGS=-prefer-pic
110261 LIBSUPCXX_PICFLAGS=
110265 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
110267 ac_config_files="$ac_config_files scripts/testsuite_flags"
110270 ac_config_commands="$ac_config_commands default"
110273 cat >confcache <<\_ACEOF
110274 # This file is a shell script that caches the results of configure
110275 # tests run on this system so they can be shared between configure
110276 # scripts and configure runs, see configure's option --config-cache.
110277 # It is not useful on other systems. If it contains results you don't
110278 # want to keep, you may remove or edit it.
110280 # config.status only pays attention to the cache file if you give it
110281 # the --recheck option to rerun configure.
110283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
110284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
110285 # following values.
110287 _ACEOF
110289 # The following way of writing the cache mishandles newlines in values,
110290 # but we know of no workaround that is simple, portable, and efficient.
110291 # So, don't put newlines in cache variables' values.
110292 # Ultrix sh set writes to stderr and can't be redirected directly,
110293 # and sets the high bit in the cache file unless we assign to the vars.
110295 (set) 2>&1 |
110296 case `(ac_space=' '; set | grep ac_space) 2>&1` in
110297 *ac_space=\ *)
110298 # `set' does not quote correctly, so add quotes (double-quote
110299 # substitution turns \\\\ into \\, and sed turns \\ into \).
110300 sed -n \
110301 "s/'/'\\\\''/g;
110302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
110305 # `set' quotes correctly as required by POSIX, so do not add quotes.
110306 sed -n \
110307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
110309 esac;
110311 sed '
110312 t clear
110313 : clear
110314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
110315 t end
110316 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
110317 : end' >>confcache
110318 if diff $cache_file confcache >/dev/null 2>&1; then :; else
110319 if test -w $cache_file; then
110320 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
110321 cat confcache >$cache_file
110323 echo "not updating unwritable cache $cache_file"
110326 rm -f confcache
110328 test "x$prefix" = xNONE && prefix=$ac_default_prefix
110329 # Let make expand exec_prefix.
110330 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
110332 # VPATH may cause trouble with some makes, so we remove $(srcdir),
110333 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
110334 # trailing colons and then remove the whole line if VPATH becomes empty
110335 # (actually we leave an empty line to preserve line numbers).
110336 if test "x$srcdir" = x.; then
110337 ac_vpsub='/^[ ]*VPATH[ ]*=/{
110338 s/:*\$(srcdir):*/:/;
110339 s/:*\${srcdir}:*/:/;
110340 s/:*@srcdir@:*/:/;
110341 s/^\([^=]*=[ ]*\):*/\1/;
110342 s/:*$//;
110343 s/^[^=]*=[ ]*$//;
110347 DEFS=-DHAVE_CONFIG_H
110349 ac_libobjs=
110350 ac_ltlibobjs=
110351 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
110352 # 1. Remove the extension, and $U if already installed.
110353 ac_i=`echo "$ac_i" |
110354 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
110355 # 2. Add them.
110356 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
110357 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
110359 LIBOBJS=$ac_libobjs
110361 LTLIBOBJS=$ac_ltlibobjs
110364 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
110365 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
110366 Usually this means the macro was only invoked conditionally." >&5
110367 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110368 Usually this means the macro was only invoked conditionally." >&2;}
110369 { (exit 1); exit 1; }; }
110371 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110372 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110373 Usually this means the macro was only invoked conditionally." >&5
110374 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110375 Usually this means the macro was only invoked conditionally." >&2;}
110376 { (exit 1); exit 1; }; }
110378 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110379 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110380 Usually this means the macro was only invoked conditionally." >&5
110381 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110382 Usually this means the macro was only invoked conditionally." >&2;}
110383 { (exit 1); exit 1; }; }
110385 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110386 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110387 Usually this means the macro was only invoked conditionally." >&5
110388 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110389 Usually this means the macro was only invoked conditionally." >&2;}
110390 { (exit 1); exit 1; }; }
110392 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110393 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110394 Usually this means the macro was only invoked conditionally." >&5
110395 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110396 Usually this means the macro was only invoked conditionally." >&2;}
110397 { (exit 1); exit 1; }; }
110399 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110400 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110401 Usually this means the macro was only invoked conditionally." >&5
110402 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110403 Usually this means the macro was only invoked conditionally." >&2;}
110404 { (exit 1); exit 1; }; }
110406 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110407 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110408 Usually this means the macro was only invoked conditionally." >&5
110409 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110410 Usually this means the macro was only invoked conditionally." >&2;}
110411 { (exit 1); exit 1; }; }
110413 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110414 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110415 Usually this means the macro was only invoked conditionally." >&5
110416 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110417 Usually this means the macro was only invoked conditionally." >&2;}
110418 { (exit 1); exit 1; }; }
110420 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110421 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110422 Usually this means the macro was only invoked conditionally." >&5
110423 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110424 Usually this means the macro was only invoked conditionally." >&2;}
110425 { (exit 1); exit 1; }; }
110427 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110428 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110429 Usually this means the macro was only invoked conditionally." >&5
110430 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110431 Usually this means the macro was only invoked conditionally." >&2;}
110432 { (exit 1); exit 1; }; }
110434 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110435 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110436 Usually this means the macro was only invoked conditionally." >&5
110437 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110438 Usually this means the macro was only invoked conditionally." >&2;}
110439 { (exit 1); exit 1; }; }
110441 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110442 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110443 Usually this means the macro was only invoked conditionally." >&5
110444 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110445 Usually this means the macro was only invoked conditionally." >&2;}
110446 { (exit 1); exit 1; }; }
110448 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110449 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110450 Usually this means the macro was only invoked conditionally." >&5
110451 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110452 Usually this means the macro was only invoked conditionally." >&2;}
110453 { (exit 1); exit 1; }; }
110456 : ${CONFIG_STATUS=./config.status}
110457 ac_clean_files_save=$ac_clean_files
110458 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110459 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110460 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110461 cat >$CONFIG_STATUS <<_ACEOF
110462 #! $SHELL
110463 # Generated by $as_me.
110464 # Run this file to recreate the current configuration.
110465 # Compiler output produced by configure, useful for debugging
110466 # configure, is in config.log if it exists.
110468 debug=false
110469 ac_cs_recheck=false
110470 ac_cs_silent=false
110471 SHELL=\${CONFIG_SHELL-$SHELL}
110472 _ACEOF
110474 cat >>$CONFIG_STATUS <<\_ACEOF
110475 ## --------------------- ##
110476 ## M4sh Initialization. ##
110477 ## --------------------- ##
110479 # Be Bourne compatible
110480 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110481 emulate sh
110482 NULLCMD=:
110483 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110484 # is contrary to our usage. Disable this feature.
110485 alias -g '${1+"$@"}'='"$@"'
110486 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110487 set -o posix
110489 DUALCASE=1; export DUALCASE # for MKS sh
110491 # Support unset when possible.
110492 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110493 as_unset=unset
110495 as_unset=false
110499 # Work around bugs in pre-3.0 UWIN ksh.
110500 $as_unset ENV MAIL MAILPATH
110501 PS1='$ '
110502 PS2='> '
110503 PS4='+ '
110505 # NLS nuisances.
110506 for as_var in \
110507 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110508 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110509 LC_TELEPHONE LC_TIME
110511 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110512 eval $as_var=C; export $as_var
110514 $as_unset $as_var
110518 # Required to use basename.
110519 if expr a : '\(a\)' >/dev/null 2>&1; then
110520 as_expr=expr
110522 as_expr=false
110525 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110526 as_basename=basename
110528 as_basename=false
110532 # Name of the executable.
110533 as_me=`$as_basename "$0" ||
110534 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110535 X"$0" : 'X\(//\)$' \| \
110536 X"$0" : 'X\(/\)$' \| \
110537 . : '\(.\)' 2>/dev/null ||
110538 echo X/"$0" |
110539 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110540 /^X\/\(\/\/\)$/{ s//\1/; q; }
110541 /^X\/\(\/\).*/{ s//\1/; q; }
110542 s/.*/./; q'`
110545 # PATH needs CR, and LINENO needs CR and PATH.
110546 # Avoid depending upon Character Ranges.
110547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110550 as_cr_digits='0123456789'
110551 as_cr_alnum=$as_cr_Letters$as_cr_digits
110553 # The user is always right.
110554 if test "${PATH_SEPARATOR+set}" != set; then
110555 echo "#! /bin/sh" >conf$$.sh
110556 echo "exit 0" >>conf$$.sh
110557 chmod +x conf$$.sh
110558 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110559 PATH_SEPARATOR=';'
110561 PATH_SEPARATOR=:
110563 rm -f conf$$.sh
110567 as_lineno_1=$LINENO
110568 as_lineno_2=$LINENO
110569 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110570 test "x$as_lineno_1" != "x$as_lineno_2" &&
110571 test "x$as_lineno_3" = "x$as_lineno_2" || {
110572 # Find who we are. Look in the path if we contain no path at all
110573 # relative or not.
110574 case $0 in
110575 *[\\/]* ) as_myself=$0 ;;
110576 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110577 for as_dir in $PATH
110579 IFS=$as_save_IFS
110580 test -z "$as_dir" && as_dir=.
110581 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110586 # We did not find ourselves, most probably we were run as `sh COMMAND'
110587 # in which case we are not to be found in the path.
110588 if test "x$as_myself" = x; then
110589 as_myself=$0
110591 if test ! -f "$as_myself"; then
110592 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110593 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110594 { (exit 1); exit 1; }; }
110596 case $CONFIG_SHELL in
110598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110599 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110601 IFS=$as_save_IFS
110602 test -z "$as_dir" && as_dir=.
110603 for as_base in sh bash ksh sh5; do
110604 case $as_dir in
110606 if ("$as_dir/$as_base" -c '
110607 as_lineno_1=$LINENO
110608 as_lineno_2=$LINENO
110609 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110610 test "x$as_lineno_1" != "x$as_lineno_2" &&
110611 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
110612 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110613 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110614 CONFIG_SHELL=$as_dir/$as_base
110615 export CONFIG_SHELL
110616 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110624 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110625 # uniformly replaced by the line number. The first 'sed' inserts a
110626 # line-number line before each line; the second 'sed' does the real
110627 # work. The second script uses 'N' to pair each line-number line
110628 # with the numbered line, and appends trailing '-' during
110629 # substitution so that $LINENO is not a special case at line end.
110630 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110631 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
110632 sed '=' <$as_myself |
110633 sed '
110635 s,$,-,
110636 : loop
110637 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110638 t loop
110639 s,-$,,
110640 s,^['$as_cr_digits']*\n,,
110641 ' >$as_me.lineno &&
110642 chmod +x $as_me.lineno ||
110643 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110644 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110645 { (exit 1); exit 1; }; }
110647 # Don't try to exec as it changes $[0], causing all sort of problems
110648 # (the dirname of $[0] is not the place where we might find the
110649 # original and so on. Autoconf is especially sensible to this).
110650 . ./$as_me.lineno
110651 # Exit status is that of the last command.
110656 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110657 *c*,-n*) ECHO_N= ECHO_C='
110658 ' ECHO_T=' ' ;;
110659 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110660 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
110663 if expr a : '\(a\)' >/dev/null 2>&1; then
110664 as_expr=expr
110666 as_expr=false
110669 rm -f conf$$ conf$$.exe conf$$.file
110670 echo >conf$$.file
110671 if ln -s conf$$.file conf$$ 2>/dev/null; then
110672 # We could just check for DJGPP; but this test a) works b) is more generic
110673 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110674 if test -f conf$$.exe; then
110675 # Don't use ln at all; we don't have any links
110676 as_ln_s='cp -p'
110678 as_ln_s='ln -s'
110680 elif ln conf$$.file conf$$ 2>/dev/null; then
110681 as_ln_s=ln
110683 as_ln_s='cp -p'
110685 rm -f conf$$ conf$$.exe conf$$.file
110687 if mkdir -p . 2>/dev/null; then
110688 as_mkdir_p=:
110690 test -d ./-p && rmdir ./-p
110691 as_mkdir_p=false
110694 as_executable_p="test -f"
110696 # Sed expression to map a string onto a valid CPP name.
110697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110699 # Sed expression to map a string onto a valid variable name.
110700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110703 # IFS
110704 # We need space, tab and new line, in precisely that order.
110705 as_nl='
110707 IFS=" $as_nl"
110709 # CDPATH.
110710 $as_unset CDPATH
110712 exec 6>&1
110714 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110715 # report actual input values of CONFIG_FILES etc. instead of their
110716 # values after options handling. Logging --version etc. is OK.
110717 exec 5>>config.log
110720 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110721 ## Running $as_me. ##
110722 _ASBOX
110723 } >&5
110724 cat >&5 <<_CSEOF
110726 This file was extended by package-unused $as_me version-unused, which was
110727 generated by GNU Autoconf 2.59. Invocation command line was
110729 CONFIG_FILES = $CONFIG_FILES
110730 CONFIG_HEADERS = $CONFIG_HEADERS
110731 CONFIG_LINKS = $CONFIG_LINKS
110732 CONFIG_COMMANDS = $CONFIG_COMMANDS
110733 $ $0 $@
110735 _CSEOF
110736 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110737 echo >&5
110738 _ACEOF
110740 # Files that config.status was made for.
110741 if test -n "$ac_config_files"; then
110742 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110745 if test -n "$ac_config_headers"; then
110746 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110749 if test -n "$ac_config_links"; then
110750 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110753 if test -n "$ac_config_commands"; then
110754 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110757 cat >>$CONFIG_STATUS <<\_ACEOF
110759 ac_cs_usage="\
110760 \`$as_me' instantiates files from templates according to the
110761 current configuration.
110763 Usage: $0 [OPTIONS] [FILE]...
110765 -h, --help print this help, then exit
110766 -V, --version print version number, then exit
110767 -q, --quiet do not print progress messages
110768 -d, --debug don't remove temporary files
110769 --recheck update $as_me by reconfiguring in the same conditions
110770 --file=FILE[:TEMPLATE]
110771 instantiate the configuration file FILE
110772 --header=FILE[:TEMPLATE]
110773 instantiate the configuration header FILE
110775 Configuration files:
110776 $config_files
110778 Configuration headers:
110779 $config_headers
110781 Configuration commands:
110782 $config_commands
110784 Report bugs to <bug-autoconf@gnu.org>."
110785 _ACEOF
110787 cat >>$CONFIG_STATUS <<_ACEOF
110788 ac_cs_version="\\
110789 package-unused config.status version-unused
110790 configured by $0, generated by GNU Autoconf 2.59,
110791 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110793 Copyright (C) 2003 Free Software Foundation, Inc.
110794 This config.status script is free software; the Free Software Foundation
110795 gives unlimited permission to copy, distribute and modify it."
110796 srcdir=$srcdir
110797 INSTALL="$INSTALL"
110798 _ACEOF
110800 cat >>$CONFIG_STATUS <<\_ACEOF
110801 # If no file are specified by the user, then we need to provide default
110802 # value. By we need to know if files were specified by the user.
110803 ac_need_defaults=:
110804 while test $# != 0
110806 case $1 in
110807 --*=*)
110808 ac_option=`expr "x$1" : 'x\([^=]*\)='`
110809 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110810 ac_shift=:
110813 ac_option=$1
110814 ac_optarg=$2
110815 ac_shift=shift
110817 *) # This is not an option, so the user has probably given explicit
110818 # arguments.
110819 ac_option=$1
110820 ac_need_defaults=false;;
110823 case $ac_option in
110824 # Handling of the options.
110825 _ACEOF
110826 cat >>$CONFIG_STATUS <<\_ACEOF
110827 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110828 ac_cs_recheck=: ;;
110829 --version | --vers* | -V )
110830 echo "$ac_cs_version"; exit 0 ;;
110831 --he | --h)
110832 # Conflict between --help and --header
110833 { { echo "$as_me:$LINENO: error: ambiguous option: $1
110834 Try \`$0 --help' for more information." >&5
110835 echo "$as_me: error: ambiguous option: $1
110836 Try \`$0 --help' for more information." >&2;}
110837 { (exit 1); exit 1; }; };;
110838 --help | --hel | -h )
110839 echo "$ac_cs_usage"; exit 0 ;;
110840 --debug | --d* | -d )
110841 debug=: ;;
110842 --file | --fil | --fi | --f )
110843 $ac_shift
110844 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110845 ac_need_defaults=false;;
110846 --header | --heade | --head | --hea )
110847 $ac_shift
110848 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110849 ac_need_defaults=false;;
110850 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110851 | -silent | --silent | --silen | --sile | --sil | --si | --s)
110852 ac_cs_silent=: ;;
110854 # This is an error.
110855 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110856 Try \`$0 --help' for more information." >&5
110857 echo "$as_me: error: unrecognized option: $1
110858 Try \`$0 --help' for more information." >&2;}
110859 { (exit 1); exit 1; }; } ;;
110861 *) ac_config_targets="$ac_config_targets $1" ;;
110864 shift
110867 ac_configure_extra_args=
110869 if $ac_cs_silent; then
110870 exec 6>/dev/null
110871 ac_configure_extra_args="$ac_configure_extra_args --silent"
110874 _ACEOF
110875 cat >>$CONFIG_STATUS <<_ACEOF
110876 if \$ac_cs_recheck; then
110877 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110878 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110881 _ACEOF
110883 cat >>$CONFIG_STATUS <<_ACEOF
110885 # INIT-COMMANDS section.
110889 srcdir="$srcdir"
110890 host="$host"
110891 target="$target"
110892 with_multisubdir="$with_multisubdir"
110893 with_multisrctop="$with_multisrctop"
110894 with_target_subdir="$with_target_subdir"
110895 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110896 multi_basedir="$multi_basedir"
110897 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110898 CC="$CC"
110900 # Variables needed in config.status (file generation) which aren't already
110901 # passed by autoconf.
110902 SUBDIRS="$SUBDIRS"
110905 _ACEOF
110909 cat >>$CONFIG_STATUS <<\_ACEOF
110910 for ac_config_target in $ac_config_targets
110912 case "$ac_config_target" in
110913 # Handling of arguments.
110914 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110915 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110916 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110917 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110918 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110919 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110920 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110921 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110922 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110923 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110924 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110925 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110926 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110927 { (exit 1); exit 1; }; };;
110931 # If the user did not use the arguments to specify the items to instantiate,
110932 # then the envvar interface is used. Set only those that are not.
110933 # We use the long form for the default assignment because of an extremely
110934 # bizarre bug on SunOS 4.1.3.
110935 if $ac_need_defaults; then
110936 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110937 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110938 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110941 # Have a temporary directory for convenience. Make it in the build tree
110942 # simply because there is no reason to put it here, and in addition,
110943 # creating and moving files from /tmp can sometimes cause problems.
110944 # Create a temporary directory, and hook for its removal unless debugging.
110945 $debug ||
110947 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110948 trap '{ (exit 1); exit 1; }' 1 2 13 15
110951 # Create a (secure) tmp directory for tmp files.
110954 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110955 test -n "$tmp" && test -d "$tmp"
110958 tmp=./confstat$$-$RANDOM
110959 (umask 077 && mkdir $tmp)
110962 echo "$me: cannot create a temporary directory in ." >&2
110963 { (exit 1); exit 1; }
110966 _ACEOF
110968 cat >>$CONFIG_STATUS <<_ACEOF
110971 # CONFIG_FILES section.
110974 # No need to generate the scripts if there are no CONFIG_FILES.
110975 # This happens for instance when ./config.status config.h
110976 if test -n "\$CONFIG_FILES"; then
110977 # Protect against being on the right side of a sed subst in config.status.
110978 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
110979 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
110980 s,@SHELL@,$SHELL,;t t
110981 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
110982 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
110983 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
110984 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
110985 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
110986 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
110987 s,@exec_prefix@,$exec_prefix,;t t
110988 s,@prefix@,$prefix,;t t
110989 s,@program_transform_name@,$program_transform_name,;t t
110990 s,@bindir@,$bindir,;t t
110991 s,@sbindir@,$sbindir,;t t
110992 s,@libexecdir@,$libexecdir,;t t
110993 s,@datadir@,$datadir,;t t
110994 s,@sysconfdir@,$sysconfdir,;t t
110995 s,@sharedstatedir@,$sharedstatedir,;t t
110996 s,@localstatedir@,$localstatedir,;t t
110997 s,@libdir@,$libdir,;t t
110998 s,@includedir@,$includedir,;t t
110999 s,@oldincludedir@,$oldincludedir,;t t
111000 s,@infodir@,$infodir,;t t
111001 s,@mandir@,$mandir,;t t
111002 s,@build_alias@,$build_alias,;t t
111003 s,@host_alias@,$host_alias,;t t
111004 s,@target_alias@,$target_alias,;t t
111005 s,@DEFS@,$DEFS,;t t
111006 s,@ECHO_C@,$ECHO_C,;t t
111007 s,@ECHO_N@,$ECHO_N,;t t
111008 s,@ECHO_T@,$ECHO_T,;t t
111009 s,@LIBS@,$LIBS,;t t
111010 s,@libtool_VERSION@,$libtool_VERSION,;t t
111011 s,@multi_basedir@,$multi_basedir,;t t
111012 s,@build@,$build,;t t
111013 s,@build_cpu@,$build_cpu,;t t
111014 s,@build_vendor@,$build_vendor,;t t
111015 s,@build_os@,$build_os,;t t
111016 s,@host@,$host,;t t
111017 s,@host_cpu@,$host_cpu,;t t
111018 s,@host_vendor@,$host_vendor,;t t
111019 s,@host_os@,$host_os,;t t
111020 s,@target@,$target,;t t
111021 s,@target_cpu@,$target_cpu,;t t
111022 s,@target_vendor@,$target_vendor,;t t
111023 s,@target_os@,$target_os,;t t
111024 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111025 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111026 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111027 s,@CYGPATH_W@,$CYGPATH_W,;t t
111028 s,@PACKAGE@,$PACKAGE,;t t
111029 s,@VERSION@,$VERSION,;t t
111030 s,@ACLOCAL@,$ACLOCAL,;t t
111031 s,@AUTOCONF@,$AUTOCONF,;t t
111032 s,@AUTOMAKE@,$AUTOMAKE,;t t
111033 s,@AUTOHEADER@,$AUTOHEADER,;t t
111034 s,@MAKEINFO@,$MAKEINFO,;t t
111035 s,@install_sh@,$install_sh,;t t
111036 s,@STRIP@,$STRIP,;t t
111037 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111038 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111039 s,@mkdir_p@,$mkdir_p,;t t
111040 s,@AWK@,$AWK,;t t
111041 s,@SET_MAKE@,$SET_MAKE,;t t
111042 s,@am__leading_dot@,$am__leading_dot,;t t
111043 s,@AMTAR@,$AMTAR,;t t
111044 s,@am__tar@,$am__tar,;t t
111045 s,@am__untar@,$am__untar,;t t
111046 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111047 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111048 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111049 s,@CC@,$CC,;t t
111050 s,@ac_ct_CC@,$ac_ct_CC,;t t
111051 s,@EXEEXT@,$EXEEXT,;t t
111052 s,@OBJEXT@,$OBJEXT,;t t
111053 s,@CXX@,$CXX,;t t
111054 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111055 s,@CFLAGS@,$CFLAGS,;t t
111056 s,@CXXFLAGS@,$CXXFLAGS,;t t
111057 s,@LN_S@,$LN_S,;t t
111058 s,@AS@,$AS,;t t
111059 s,@ac_ct_AS@,$ac_ct_AS,;t t
111060 s,@AR@,$AR,;t t
111061 s,@ac_ct_AR@,$ac_ct_AR,;t t
111062 s,@RANLIB@,$RANLIB,;t t
111063 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111064 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111065 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111066 s,@MAINT@,$MAINT,;t t
111067 s,@CPP@,$CPP,;t t
111068 s,@CPPFLAGS@,$CPPFLAGS,;t t
111069 s,@EGREP@,$EGREP,;t t
111070 s,@LIBTOOL@,$LIBTOOL,;t t
111071 s,@CXXCPP@,$CXXCPP,;t t
111072 s,@enable_shared@,$enable_shared,;t t
111073 s,@enable_static@,$enable_static,;t t
111074 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111075 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111076 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111077 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111078 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111079 s,@CSTDIO_H@,$CSTDIO_H,;t t
111080 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111081 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111082 s,@check_msgfmt@,$check_msgfmt,;t t
111083 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111084 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111085 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111086 s,@USE_NLS@,$USE_NLS,;t t
111087 s,@CLOCALE_H@,$CLOCALE_H,;t t
111088 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111089 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111090 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111091 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111092 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111093 s,@CMONEY_CC@,$CMONEY_CC,;t t
111094 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111095 s,@CTIME_H@,$CTIME_H,;t t
111096 s,@CTIME_CC@,$CTIME_CC,;t t
111097 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111098 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111099 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111100 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111101 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111102 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111103 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111104 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111105 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111106 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111107 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111108 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111109 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111110 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111111 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111112 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111113 s,@WERROR@,$WERROR,;t t
111114 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111115 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111116 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111117 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111118 s,@LIBICONV@,$LIBICONV,;t t
111119 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111120 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111121 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111122 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111123 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111124 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111125 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111126 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111127 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111128 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111129 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
111130 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
111131 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111132 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111133 s,@baseline_dir@,$baseline_dir,;t t
111134 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111135 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111136 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111137 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111138 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111139 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111140 s,@gxx_include_dir@,$gxx_include_dir,;t t
111141 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111142 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111143 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111144 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111145 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111146 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111147 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111148 s,@LIBOBJS@,$LIBOBJS,;t t
111149 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111152 _ACEOF
111154 cat >>$CONFIG_STATUS <<\_ACEOF
111155 # Split the substitutions into bite-sized pieces for seds with
111156 # small command number limits, like on Digital OSF/1 and HP-UX.
111157 ac_max_sed_lines=48
111158 ac_sed_frag=1 # Number of current file.
111159 ac_beg=1 # First line for current file.
111160 ac_end=$ac_max_sed_lines # Line after last line for current file.
111161 ac_more_lines=:
111162 ac_sed_cmds=
111163 while $ac_more_lines; do
111164 if test $ac_beg -gt 1; then
111165 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111167 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111169 if test ! -s $tmp/subs.frag; then
111170 ac_more_lines=false
111172 # The purpose of the label and of the branching condition is to
111173 # speed up the sed processing (if there are no `@' at all, there
111174 # is no need to browse any of the substitutions).
111175 # These are the two extra sed commands mentioned above.
111176 (echo ':t
111177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111178 if test -z "$ac_sed_cmds"; then
111179 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111181 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111183 ac_sed_frag=`expr $ac_sed_frag + 1`
111184 ac_beg=$ac_end
111185 ac_end=`expr $ac_end + $ac_max_sed_lines`
111188 if test -z "$ac_sed_cmds"; then
111189 ac_sed_cmds=cat
111191 fi # test -n "$CONFIG_FILES"
111193 _ACEOF
111194 cat >>$CONFIG_STATUS <<\_ACEOF
111195 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111196 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111197 case $ac_file in
111198 - | *:- | *:-:* ) # input from stdin
111199 cat >$tmp/stdin
111200 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111201 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111202 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111203 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111204 * ) ac_file_in=$ac_file.in ;;
111207 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111208 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111209 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111210 X"$ac_file" : 'X\(//\)[^/]' \| \
111211 X"$ac_file" : 'X\(//\)$' \| \
111212 X"$ac_file" : 'X\(/\)' \| \
111213 . : '\(.\)' 2>/dev/null ||
111214 echo X"$ac_file" |
111215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111217 /^X\(\/\/\)$/{ s//\1/; q; }
111218 /^X\(\/\).*/{ s//\1/; q; }
111219 s/.*/./; q'`
111220 { if $as_mkdir_p; then
111221 mkdir -p "$ac_dir"
111223 as_dir="$ac_dir"
111224 as_dirs=
111225 while test ! -d "$as_dir"; do
111226 as_dirs="$as_dir $as_dirs"
111227 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111229 X"$as_dir" : 'X\(//\)[^/]' \| \
111230 X"$as_dir" : 'X\(//\)$' \| \
111231 X"$as_dir" : 'X\(/\)' \| \
111232 . : '\(.\)' 2>/dev/null ||
111233 echo X"$as_dir" |
111234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111235 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111236 /^X\(\/\/\)$/{ s//\1/; q; }
111237 /^X\(\/\).*/{ s//\1/; q; }
111238 s/.*/./; q'`
111240 test ! -n "$as_dirs" || mkdir $as_dirs
111241 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111242 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111243 { (exit 1); exit 1; }; }; }
111245 ac_builddir=.
111247 if test "$ac_dir" != .; then
111248 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111249 # A "../" for each directory in $ac_dir_suffix.
111250 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111252 ac_dir_suffix= ac_top_builddir=
111255 case $srcdir in
111256 .) # No --srcdir option. We are building in place.
111257 ac_srcdir=.
111258 if test -z "$ac_top_builddir"; then
111259 ac_top_srcdir=.
111261 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111262 fi ;;
111263 [\\/]* | ?:[\\/]* ) # Absolute path.
111264 ac_srcdir=$srcdir$ac_dir_suffix;
111265 ac_top_srcdir=$srcdir ;;
111266 *) # Relative path.
111267 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111268 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111271 # Do not use `cd foo && pwd` to compute absolute paths, because
111272 # the directories may not exist.
111273 case `pwd` in
111274 .) ac_abs_builddir="$ac_dir";;
111276 case "$ac_dir" in
111277 .) ac_abs_builddir=`pwd`;;
111278 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111279 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111280 esac;;
111282 case $ac_abs_builddir in
111283 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111285 case ${ac_top_builddir}. in
111286 .) ac_abs_top_builddir=$ac_abs_builddir;;
111287 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111288 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111289 esac;;
111291 case $ac_abs_builddir in
111292 .) ac_abs_srcdir=$ac_srcdir;;
111294 case $ac_srcdir in
111295 .) ac_abs_srcdir=$ac_abs_builddir;;
111296 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111297 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111298 esac;;
111300 case $ac_abs_builddir in
111301 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111303 case $ac_top_srcdir in
111304 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111305 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111306 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111307 esac;;
111311 case $INSTALL in
111312 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111313 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111316 if test x"$ac_file" != x-; then
111317 { echo "$as_me:$LINENO: creating $ac_file" >&5
111318 echo "$as_me: creating $ac_file" >&6;}
111319 rm -f "$ac_file"
111321 # Let's still pretend it is `configure' which instantiates (i.e., don't
111322 # use $as_me), people would be surprised to read:
111323 # /* config.h. Generated by config.status. */
111324 if test x"$ac_file" = x-; then
111325 configure_input=
111327 configure_input="$ac_file. "
111329 configure_input=$configure_input"Generated from `echo $ac_file_in |
111330 sed 's,.*/,,'` by configure."
111332 # First look for the input files in the build tree, otherwise in the
111333 # src tree.
111334 ac_file_inputs=`IFS=:
111335 for f in $ac_file_in; do
111336 case $f in
111337 -) echo $tmp/stdin ;;
111338 [\\/$]*)
111339 # Absolute (can't be DOS-style, as IFS=:)
111340 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111341 echo "$as_me: error: cannot find input file: $f" >&2;}
111342 { (exit 1); exit 1; }; }
111343 echo "$f";;
111344 *) # Relative
111345 if test -f "$f"; then
111346 # Build tree
111347 echo "$f"
111348 elif test -f "$srcdir/$f"; then
111349 # Source tree
111350 echo "$srcdir/$f"
111352 # /dev/null tree
111353 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111354 echo "$as_me: error: cannot find input file: $f" >&2;}
111355 { (exit 1); exit 1; }; }
111358 done` || { (exit 1); exit 1; }
111359 _ACEOF
111360 cat >>$CONFIG_STATUS <<_ACEOF
111361 sed "$ac_vpsub
111362 $extrasub
111363 _ACEOF
111364 cat >>$CONFIG_STATUS <<\_ACEOF
111366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111367 s,@configure_input@,$configure_input,;t t
111368 s,@srcdir@,$ac_srcdir,;t t
111369 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111370 s,@top_srcdir@,$ac_top_srcdir,;t t
111371 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111372 s,@builddir@,$ac_builddir,;t t
111373 s,@abs_builddir@,$ac_abs_builddir,;t t
111374 s,@top_builddir@,$ac_top_builddir,;t t
111375 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111376 s,@INSTALL@,$ac_INSTALL,;t t
111377 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111378 rm -f $tmp/stdin
111379 if test x"$ac_file" != x-; then
111380 mv $tmp/out $ac_file
111382 cat $tmp/out
111383 rm -f $tmp/out
111386 # Run the commands associated with the file.
111387 case $ac_file in
111388 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111391 _ACEOF
111392 cat >>$CONFIG_STATUS <<\_ACEOF
111395 # CONFIG_HEADER section.
111398 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111399 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111401 # ac_d sets the value in "#define NAME VALUE" lines.
111402 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
111403 ac_dB='[ ].*$,\1#\2'
111404 ac_dC=' '
111405 ac_dD=',;t'
111406 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111407 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
111408 ac_uB='$,\1#\2define\3'
111409 ac_uC=' '
111410 ac_uD=',;t'
111412 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111413 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111414 case $ac_file in
111415 - | *:- | *:-:* ) # input from stdin
111416 cat >$tmp/stdin
111417 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111418 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111419 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111420 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111421 * ) ac_file_in=$ac_file.in ;;
111424 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111425 echo "$as_me: creating $ac_file" >&6;}
111427 # First look for the input files in the build tree, otherwise in the
111428 # src tree.
111429 ac_file_inputs=`IFS=:
111430 for f in $ac_file_in; do
111431 case $f in
111432 -) echo $tmp/stdin ;;
111433 [\\/$]*)
111434 # Absolute (can't be DOS-style, as IFS=:)
111435 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111436 echo "$as_me: error: cannot find input file: $f" >&2;}
111437 { (exit 1); exit 1; }; }
111438 # Do quote $f, to prevent DOS paths from being IFS'd.
111439 echo "$f";;
111440 *) # Relative
111441 if test -f "$f"; then
111442 # Build tree
111443 echo "$f"
111444 elif test -f "$srcdir/$f"; then
111445 # Source tree
111446 echo "$srcdir/$f"
111448 # /dev/null tree
111449 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111450 echo "$as_me: error: cannot find input file: $f" >&2;}
111451 { (exit 1); exit 1; }; }
111454 done` || { (exit 1); exit 1; }
111455 # Remove the trailing spaces.
111456 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
111458 _ACEOF
111460 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111461 # `conftest.undefs', that substitutes the proper values into
111462 # config.h.in to produce config.h. The first handles `#define'
111463 # templates, and the second `#undef' templates.
111464 # And first: Protect against being on the right side of a sed subst in
111465 # config.status. Protect against being in an unquoted here document
111466 # in config.status.
111467 rm -f conftest.defines conftest.undefs
111468 # Using a here document instead of a string reduces the quoting nightmare.
111469 # Putting comments in sed scripts is not portable.
111471 # `end' is used to avoid that the second main sed command (meant for
111472 # 0-ary CPP macros) applies to n-ary macro definitions.
111473 # See the Autoconf documentation for `clear'.
111474 cat >confdef2sed.sed <<\_ACEOF
111475 s/[\\&,]/\\&/g
111476 s,[\\$`],\\&,g
111477 t clear
111478 : clear
111479 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111480 t end
111481 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111482 : end
111483 _ACEOF
111484 # If some macros were called several times there might be several times
111485 # the same #defines, which is useless. Nevertheless, we may not want to
111486 # sort them, since we want the *last* AC-DEFINE to be honored.
111487 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111488 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111489 rm -f confdef2sed.sed
111491 # This sed command replaces #undef with comments. This is necessary, for
111492 # example, in the case of _POSIX_SOURCE, which is predefined and required
111493 # on some systems where configure will not decide to define it.
111494 cat >>conftest.undefs <<\_ACEOF
111495 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111496 _ACEOF
111498 # Break up conftest.defines because some shells have a limit on the size
111499 # of here documents, and old seds have small limits too (100 cmds).
111500 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111501 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111502 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111503 echo ' :' >>$CONFIG_STATUS
111504 rm -f conftest.tail
111505 while grep . conftest.defines >/dev/null
111507 # Write a limited-size here document to $tmp/defines.sed.
111508 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111509 # Speed up: don't consider the non `#define' lines.
111510 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
111511 # Work around the forget-to-reset-the-flag bug.
111512 echo 't clr' >>$CONFIG_STATUS
111513 echo ': clr' >>$CONFIG_STATUS
111514 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111515 echo 'CEOF
111516 sed -f $tmp/defines.sed $tmp/in >$tmp/out
111517 rm -f $tmp/in
111518 mv $tmp/out $tmp/in
111519 ' >>$CONFIG_STATUS
111520 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111521 rm -f conftest.defines
111522 mv conftest.tail conftest.defines
111524 rm -f conftest.defines
111525 echo ' fi # grep' >>$CONFIG_STATUS
111526 echo >>$CONFIG_STATUS
111528 # Break up conftest.undefs because some shells have a limit on the size
111529 # of here documents, and old seds have small limits too (100 cmds).
111530 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
111531 rm -f conftest.tail
111532 while grep . conftest.undefs >/dev/null
111534 # Write a limited-size here document to $tmp/undefs.sed.
111535 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111536 # Speed up: don't consider the non `#undef'
111537 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
111538 # Work around the forget-to-reset-the-flag bug.
111539 echo 't clr' >>$CONFIG_STATUS
111540 echo ': clr' >>$CONFIG_STATUS
111541 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111542 echo 'CEOF
111543 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111544 rm -f $tmp/in
111545 mv $tmp/out $tmp/in
111546 ' >>$CONFIG_STATUS
111547 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111548 rm -f conftest.undefs
111549 mv conftest.tail conftest.undefs
111551 rm -f conftest.undefs
111553 cat >>$CONFIG_STATUS <<\_ACEOF
111554 # Let's still pretend it is `configure' which instantiates (i.e., don't
111555 # use $as_me), people would be surprised to read:
111556 # /* config.h. Generated by config.status. */
111557 if test x"$ac_file" = x-; then
111558 echo "/* Generated by configure. */" >$tmp/config.h
111560 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
111562 cat $tmp/in >>$tmp/config.h
111563 rm -f $tmp/in
111564 if test x"$ac_file" != x-; then
111565 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111566 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111567 echo "$as_me: $ac_file is unchanged" >&6;}
111569 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111570 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111571 X"$ac_file" : 'X\(//\)[^/]' \| \
111572 X"$ac_file" : 'X\(//\)$' \| \
111573 X"$ac_file" : 'X\(/\)' \| \
111574 . : '\(.\)' 2>/dev/null ||
111575 echo X"$ac_file" |
111576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111577 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111578 /^X\(\/\/\)$/{ s//\1/; q; }
111579 /^X\(\/\).*/{ s//\1/; q; }
111580 s/.*/./; q'`
111581 { if $as_mkdir_p; then
111582 mkdir -p "$ac_dir"
111584 as_dir="$ac_dir"
111585 as_dirs=
111586 while test ! -d "$as_dir"; do
111587 as_dirs="$as_dir $as_dirs"
111588 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111589 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111590 X"$as_dir" : 'X\(//\)[^/]' \| \
111591 X"$as_dir" : 'X\(//\)$' \| \
111592 X"$as_dir" : 'X\(/\)' \| \
111593 . : '\(.\)' 2>/dev/null ||
111594 echo X"$as_dir" |
111595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111596 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111597 /^X\(\/\/\)$/{ s//\1/; q; }
111598 /^X\(\/\).*/{ s//\1/; q; }
111599 s/.*/./; q'`
111601 test ! -n "$as_dirs" || mkdir $as_dirs
111602 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111603 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111604 { (exit 1); exit 1; }; }; }
111606 rm -f $ac_file
111607 mv $tmp/config.h $ac_file
111610 cat $tmp/config.h
111611 rm -f $tmp/config.h
111613 # Compute $ac_file's index in $config_headers.
111614 _am_stamp_count=1
111615 for _am_header in $config_headers :; do
111616 case $_am_header in
111617 $ac_file | $ac_file:* )
111618 break ;;
111620 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111623 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111624 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111625 X$ac_file : 'X\(//\)[^/]' \| \
111626 X$ac_file : 'X\(//\)$' \| \
111627 X$ac_file : 'X\(/\)' \| \
111628 . : '\(.\)' 2>/dev/null ||
111629 echo X$ac_file |
111630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111632 /^X\(\/\/\)$/{ s//\1/; q; }
111633 /^X\(\/\).*/{ s//\1/; q; }
111634 s/.*/./; q'`/stamp-h$_am_stamp_count
111636 _ACEOF
111637 cat >>$CONFIG_STATUS <<\_ACEOF
111640 # CONFIG_COMMANDS section.
111642 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111643 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111644 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111645 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111646 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111647 X"$ac_dest" : 'X\(//\)[^/]' \| \
111648 X"$ac_dest" : 'X\(//\)$' \| \
111649 X"$ac_dest" : 'X\(/\)' \| \
111650 . : '\(.\)' 2>/dev/null ||
111651 echo X"$ac_dest" |
111652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111654 /^X\(\/\/\)$/{ s//\1/; q; }
111655 /^X\(\/\).*/{ s//\1/; q; }
111656 s/.*/./; q'`
111657 { if $as_mkdir_p; then
111658 mkdir -p "$ac_dir"
111660 as_dir="$ac_dir"
111661 as_dirs=
111662 while test ! -d "$as_dir"; do
111663 as_dirs="$as_dir $as_dirs"
111664 as_dir=`(dirname "$as_dir") 2>/dev/null ||
111665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111666 X"$as_dir" : 'X\(//\)[^/]' \| \
111667 X"$as_dir" : 'X\(//\)$' \| \
111668 X"$as_dir" : 'X\(/\)' \| \
111669 . : '\(.\)' 2>/dev/null ||
111670 echo X"$as_dir" |
111671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111673 /^X\(\/\/\)$/{ s//\1/; q; }
111674 /^X\(\/\).*/{ s//\1/; q; }
111675 s/.*/./; q'`
111677 test ! -n "$as_dirs" || mkdir $as_dirs
111678 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111679 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111680 { (exit 1); exit 1; }; }; }
111682 ac_builddir=.
111684 if test "$ac_dir" != .; then
111685 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111686 # A "../" for each directory in $ac_dir_suffix.
111687 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111689 ac_dir_suffix= ac_top_builddir=
111692 case $srcdir in
111693 .) # No --srcdir option. We are building in place.
111694 ac_srcdir=.
111695 if test -z "$ac_top_builddir"; then
111696 ac_top_srcdir=.
111698 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111699 fi ;;
111700 [\\/]* | ?:[\\/]* ) # Absolute path.
111701 ac_srcdir=$srcdir$ac_dir_suffix;
111702 ac_top_srcdir=$srcdir ;;
111703 *) # Relative path.
111704 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111705 ac_top_srcdir=$ac_top_builddir$srcdir ;;
111708 # Do not use `cd foo && pwd` to compute absolute paths, because
111709 # the directories may not exist.
111710 case `pwd` in
111711 .) ac_abs_builddir="$ac_dir";;
111713 case "$ac_dir" in
111714 .) ac_abs_builddir=`pwd`;;
111715 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111716 *) ac_abs_builddir=`pwd`/"$ac_dir";;
111717 esac;;
111719 case $ac_abs_builddir in
111720 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111722 case ${ac_top_builddir}. in
111723 .) ac_abs_top_builddir=$ac_abs_builddir;;
111724 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111725 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111726 esac;;
111728 case $ac_abs_builddir in
111729 .) ac_abs_srcdir=$ac_srcdir;;
111731 case $ac_srcdir in
111732 .) ac_abs_srcdir=$ac_abs_builddir;;
111733 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111734 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111735 esac;;
111737 case $ac_abs_builddir in
111738 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111740 case $ac_top_srcdir in
111741 .) ac_abs_top_srcdir=$ac_abs_builddir;;
111742 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111743 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111744 esac;;
111748 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111749 echo "$as_me: executing $ac_dest commands" >&6;}
111750 case $ac_dest in
111751 default-1 )
111752 # Only add multilib support code if we just rebuilt the top-level
111753 # Makefile.
111754 case " $CONFIG_FILES " in
111755 *" Makefile "*)
111756 ac_file=Makefile . ${multi_basedir}/config-ml.in
111758 esac ;;
111759 default ) if test -n "$CONFIG_FILES"; then
111760 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111761 # that multilib installs will end up installed in the correct place.
111762 # The testsuite needs it for multilib-aware ABI baseline files.
111763 # To work around this not being passed down from config-ml.in ->
111764 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111765 # append it here. Only modify Makefiles that have just been created.
111767 # Also, get rid of this simulated-VPATH thing that automake does.
111768 cat > vpsed << \_EOF
111769 s!`test -f '$<' || echo '$(srcdir)/'`!!
111771 for i in $SUBDIRS; do
111772 case $CONFIG_FILES in
111773 *${i}/Makefile*)
111774 #echo "Adding MULTISUBDIR to $i/Makefile"
111775 sed -f vpsed $i/Makefile > tmp
111776 grep '^MULTISUBDIR =' Makefile >> tmp
111777 mv tmp $i/Makefile
111781 rm vpsed
111783 (cd include && ${MAKE-make})
111787 _ACEOF
111789 cat >>$CONFIG_STATUS <<\_ACEOF
111791 { (exit 0); exit 0; }
111792 _ACEOF
111793 chmod +x $CONFIG_STATUS
111794 ac_clean_files=$ac_clean_files_save
111797 # configure is writing to config.log, and then calls config.status.
111798 # config.status does its own redirection, appending to config.log.
111799 # Unfortunately, on DOS this fails, as config.log is still kept open
111800 # by configure, so config.status won't be able to write to it; its
111801 # output is simply discarded. So we exec the FD to /dev/null,
111802 # effectively closing config.log, so it can be properly (re)opened and
111803 # appended to by config.status. When coming back to configure, we
111804 # need to make the FD available again.
111805 if test "$no_create" != yes; then
111806 ac_cs_success=:
111807 ac_config_status_args=
111808 test "$silent" = yes &&
111809 ac_config_status_args="$ac_config_status_args --quiet"
111810 exec 5>/dev/null
111811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111812 exec 5>>config.log
111813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111814 # would make configure fail if this is the last instruction.
111815 $ac_cs_success || { (exit 1); exit 1; }